Jump to content

Connecting to client over network. (4.6)


reepblue
 Share

Recommended Posts

Hello,

Is it possible to do a direct connection to another computer without Steam, or do both machines need Steam installed with their own accounts? I would like to test my net code within the same location to see if the right data is sending/receiving but the dependency with Steam kind of makes me uncertain.

Thanks.

Cyclone - Ultra Game System - Component PreprocessorTex2TGA - Darkness Awaits Template (Leadwerks)

If you like my work, consider supporting me on Patreon!

Link to comment
Share on other sites

To clarify, with "behind a router", I would have the two machines plugged into a router. Do you mean that I can't do this or you're just restating connecting to another PC on the internet is not possible without the aid of Steam? I simply just want to connect to another room in the house.

I just want to understand what I'm getting myself into. :)

Cyclone - Ultra Game System - Component PreprocessorTex2TGA - Darkness Awaits Template (Leadwerks)

If you like my work, consider supporting me on Patreon!

Link to comment
Share on other sites

no it means they are on another router across internet to you router will not work.

you setup is both on the same side of router is just a normal lan network

  • Thanks 1

Asus ROG STRIX B350-F GAMMING

AMD Ryzen 7 1700x

32 gb ddr4

15 TB raid 5 HD

Nvidia EVGA 1060GTX

Win10 64bit

Link to comment
Share on other sites

Just did a test with the default template. It seems like the PC without Steam was unable to create a Lobby. From what I understand the P2P class is Steam dependent but nothing suggests the Lobby is.

It looks like I'd have to write my own system using the base client/server classes, which in that case I'll just use Turbo which as them as I'm interested in just sending packets over my network. Luckily, the Parameters for the P2P/Lobby is similar to the Client/Server.

Cyclone - Ultra Game System - Component PreprocessorTex2TGA - Darkness Awaits Template (Leadwerks)

If you like my work, consider supporting me on Patreon!

Link to comment
Share on other sites

We might in the future. The number of people making a multiplayer game is a niche and the number of people who want to do that outside of Steam is a smaller group.

  • Like 1

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

I personally just want a client/server soultion in which the application hosts a server localy and then creates a client to connect to the server; kind of what Source does.

I have to experiment to see if it's practical. I still only wish to make Single player games, but I don't want to be limited. Having a system like described above will make any game multiplayer with a flip of a switch.

 

Cyclone - Ultra Game System - Component PreprocessorTex2TGA - Darkness Awaits Template (Leadwerks)

If you like my work, consider supporting me on Patreon!

Link to comment
Share on other sites

2 hours ago, Josh said:

We might in the future. The number of people making a multiplayer game is a niche and the number of people who want to do that outside of Steam is a smaller group.

Seems like that's true.  Multiplayer is definitely another level of challenge, with interpolation/prediction and whatnot stepping up the difficulty.  A few weeks ago I tested my dungeon game with a friend online and it was fairly smooth with 1 enemy.  Add 10 more and the client is unplayably laggy.  But this is with no interpolation or prediction so there's hope... if I can figure out how to do it.

Link to comment
Share on other sites

50 minutes ago, gamecreator said:

Seems like that's true.  Multiplayer is definitely another level of challenge, with interpolation/prediction and whatnot stepping up the difficulty.  A few weeks ago I tested my dungeon game with a friend online and it was fairly smooth with 1 enemy.  Add 10 more and the client is unplayably laggy.  But this is with no interpolation or prediction so there's hope... if I can figure out how to do it.

One suggestion would be to pack all those different enemies into one single message. There's no reason that would be any slower than just one.

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...