Jump to content

Recommended Posts

Posted

Probably a stupid question, I'm a bit of a newb(post 3 hurray!)

 

How well does the leadwerks networking module work? Would you say well enough for an rts with hundreds of units(and no client side predicting)

 

thx :)

5c8e5100fc6df22c8938ce77ed686a42.png = OpenGL
Posted

Yes, it works. The capacity depends on your bandwidth, what information you are passing, and how frequently you are sending it. I'm afraid I can't tell you a precise number of units it can handle, because that will vary a lot from game to game.

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

Posted

You can't create a Linux host for LE2. LE3 will *probably* support Linux, and supports a no-render mode, so you can write a dedicated server that doesn't require a GPU.

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

Posted

When you use SDL_net for networking, you can write a simple server program for Linux without using LE on the server.

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Posted

Probably a stupid question, I'm a bit of a newb(post 3 hurray!)

 

How well does the leadwerks networking module work? Would you say well enough for an rts with hundreds of units(and no client side predicting)

 

thx :)

 

Hi, funnyben.

I don't think you'd even need/want to use any client side prediction with an rts.

 

Wouldn't you want to use the reliable TCP protocol and only transmit the user interactions (button clicks)?

Syncing all the unit positions is way too inefficient and inaccurate...

Posted

Wouldn't you want to use the reliable TCP protocol and only transmit the user interactions (button clicks)?

Syncing all the unit positions is way too inefficient and inaccurate...

 

I would think you would need to do that. If the client is just sending user input to the server, then the server controls all unit information and would have to send that data back to the clients to sync.

Posted

I would think you would need to do that. If the client is just sending user input to the server, then the server controls all unit information and would have to send that data back to the clients to sync.

 

What Rick said. Would be awfully inconvenient if clicks would be sent to the other peer and both clients would do their own pathfinding :)

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.

×
×
  • Create New...