Originally posted by Iron_Cross
Dedalos, this is what I'm talking about. The way you are thinking it works, can not work. Even if the task group was a single mesh,(witch it isn't) the server will still need to update the current location to all client machines with every packet.
ok, the problem is that I gave people too match credit I guess. Is that what you mean about updating? Keeping track of the coordinates? Updating an X and Y is too match for the server? Sending the update to the clients in every packet is just dumb. You send the initial location when a guy logs in, the way points, the way point changes, and then you may want to sync once in a while. The speed of the CV is constant right? Your FE knows its location speed and destination. You really think the server needs to send an update on every packet?
Now, lets assume that for some reason this server was designed by students and it does send updates on every packet for the CV. You understand that it does do that for the planes then too right? So, with your logic, the server can keep track and update locations and transmit information for lets say 200 planes but not for 200 plus 6 CVs?
Here is some more bad news for you. The server is sending information using multicast. It makes no difference if there is 1 client connected or 5,000. The server sends 1 packet and every one gets it. The problems you may see with location of CV for example is that UDP is not reliable and therefore a packet that contains information about its location could be lost. Eventually, the server will sync the position and the CV finds its right location. I think that kind of proves my point since if the server was sending an update on every packet about the position of the CVs you would never have this problem.
You think I would make a bad game developer, Dedalos? I was coding up games when sprite graphics were the top of the line. You were probably pooping your diapers back then, if you were born at all. I've got 25 years experience writing programs, so don't tell me I'm making something out to be more complicated than it needs to be.
What, you think you'd be the first clueless programmer with 20 years experience that I would have to send home?
Sounds like you may have drawn some pretty pictures for a game. Don't confuse your self though. That has nothing to do with programing servers.