Important Testing Announcement

Discussion in 'Archive' started by Krenzo, May 7, 2007.

  1. Krenzo

    Krenzo Administrator

    Messages:
    3,771
    Likes Received:
    0
    Trophy Points:
    0
    I coded it with preventing hacks in mind, but I can't think of everything. If it doesn't create massive performance improvements, I will disable it.
     
  2. ViroMan

    ViroMan Black Hole (*sniff*) Bully

    Messages:
    8,382
    Likes Received:
    4
    Trophy Points:
    0
    I was thinking krenzo.. you might want to add in the option for the client side checking. As in... have the client do a calculation test to see how fast it could do it. Then if needed it would ask the server to take on that responsibility if the clients computer is too lame. I am sure the server wouldn't need to do too many ppls calculations as I suspect there are plenty of midrange and up out there.

    As for security... you could always have the server randomly double check someones movements for a few seconds at a time and move on to the next person to make sure no weird crap is going on. The client would never know if it is getting checked. After all.. the client simply tells the server (position)(height)(direction)(speed)(facing) before your change and after your change too im guessing.
     
  3. HappyHardcore

    HappyHardcore Member

    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    0
    I find the idea good, but can it be that the upload bandwith from client side is to low?? I donĀ“t know because i have never tested wich amount of capacity empires of my bandwith uses.
     
  4. Krenzo

    Krenzo Administrator

    Messages:
    3,771
    Likes Received:
    0
    Trophy Points:
    0
    I already have checking in place to make sure the clients aren't cheating. Client-side movement adds 12 bytes to a client's upload bandwidth. Who can't spare 12 bytes?
     
  5. Onea

    Onea Member

    Messages:
    59
    Likes Received:
    0
    Trophy Points:
    0
    12 bytes!? I have a 2400 baud modem you ignorant clod!
     
  6. Niarbeht

    Niarbeht Member

    Messages:
    2,010
    Likes Received:
    0
    Trophy Points:
    0
    I can spare 12 bytes per ?cmd thingy?

    EDIT:

    That's 300 bytes/sec at my favored cmdrate of 25.

    I've got 2800 bytes/sec of upload at the absolute maximum.

    So yeah. I've still got some room.
     
    Last edited: May 8, 2007
  7. Chahk

    Chahk Member

    Messages:
    1,390
    Likes Received:
    0
    Trophy Points:
    0
    If this feature doesn't pan out and you have to disable it, will we get our 12 bytes back? :p

    Anywho, in all seriousness, you might be opening up a can of worms with moving player/vehicle movement tracking to the client.

    The only MMO I know of where this sort of client/server communication really matters is PlanetSide. There (unlike in the myriad of MMORPGs out there) this sort of a thing really matters, since bullets/missiles travel at speeds several orders of magnitude faster than players, so a player position being a even a second out of date can mean life or death. I wonder if they use client- or server-side player tracking.
     
  8. Beerdude26

    Beerdude26 OnThink(){ IsDownYet(); }

    Messages:
    7,243
    Likes Received:
    13
    Trophy Points:
    0
    Remember that Krenzo would like to get 64-player servers up. Some heavy optimizing (especially server-side) might be in order if we'd like to reach that quota.
     
  9. MOOtant

    MOOtant Member

    Messages:
    4,047
    Likes Received:
    0
    Trophy Points:
    0
    At the moment 32 vehicles at one server can almost kill it. So whatever you do to reduce CPU use on server is great.
     
  10. eth0

    eth0 Member

    Messages:
    248
    Likes Received:
    0
    Trophy Points:
    0
    Generally my Linux boxen you can happily spawn run a 24 player server on larger maps where the action is more spread out but maps like district and money can lag heavily with just 12 players, and i'm taking about CPU usage.

    For those that know linux, i've seen load averages of >50 for emp_money when a full compliment of turrets and artys are in full swing!
     
  11. eth0

    eth0 Member

    Messages:
    248
    Likes Received:
    0
    Trophy Points:
    0
    Wow, there are at least 64 people that play empires to warrant this feature?
     
  12. arklansman

    arklansman Member

    Messages:
    5,365
    Likes Received:
    0
    Trophy Points:
    0
    Which is why you need 4 regular servers. :P
     
  13. Doobie

    Doobie Ancient Tester

    Messages:
    245
    Likes Received:
    0
    Trophy Points:
    0
    Krenzo, can you include the new versions of escort and cdr canyon in this patch? for some reason all the boxes in escort are missing. Can you check the post i made in the dev forum about this?
     
  14. Jcw87

    Jcw87 Member

    Messages:
    1,676
    Likes Received:
    0
    Trophy Points:
    0
    I believe the boxes are missing to prevent certain exploits
     
  15. Simon

    Simon Banned

    Messages:
    638
    Likes Received:
    0
    Trophy Points:
    0
    I'm sure the mapper wouldn't know the reason the boxes are missing.
     
  16. Jcw87

    Jcw87 Member

    Messages:
    1,676
    Likes Received:
    0
    Trophy Points:
    0
    Sounds like he didn't know to me. People tend to edit other people's maps in a dev team. Take district for example. Someone made it, I don't know who, but Solokiller took over the job of maintaining that map.
     
  17. Simon

    Simon Banned

    Messages:
    638
    Likes Received:
    0
    Trophy Points:
    0
    I doubt it because the only other changes make it easier to ninja.
     
  18. dizzyone

    dizzyone I've been drinking, heavily

    Messages:
    5,771
    Likes Received:
    0
    Trophy Points:
    0
    Nah, its all the same kind of crate thats been missing, all over the map.
     
  19. Solokiller

    Solokiller Member

    Messages:
    4,861
    Likes Received:
    7
    Trophy Points:
    0
    Duke made district, i optimized it and added in stuff, i also fix exploits.
    The missing crate may be fixed by first checking the compile log for missing models or wrong entities used for models.
     

Share This Page