Author Topic: megaglest, unfair multiplayer xml-setup  (Read 2704 times)

mictes

  • Guest
megaglest, unfair multiplayer xml-setup
« on: 21 March 2010, 10:58:41 »
I just saw it is possible to easily cheat in multiplayer:
If player1 has for example an Archmage with the standart attack power coming up with glest,
but player2 is such clever that he increased it in his xml's, both are still able to play together over the network.
The effect is that player1 ist heavily disadvantaged!
« Last Edit: 21 March 2010, 11:25:45 by titi »

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
Re: megaglest "little" bug
« Reply #1 on: 21 March 2010, 11:22:07 »
This should not be possible with version 3.3.1! The game would not start!
It checks both sides for the same data .
Did you test this, or do you just think it will happen? If this would be possible the game will quickly get out of sync and crash, because server and client play different games.

( please try to be a little bit more specific in your topic titles, I changed it to something useful now )
« Last Edit: 21 March 2010, 11:27:00 by titi »
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

mictes

  • Guest
Re: megaglest, unfair multiplayer xml-setup
« Reply #2 on: 21 March 2010, 11:38:15 »
I experienced it by happenstance, it was 3.3.1, I didn't use the installer.
We had definitely different xml's!

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: megaglest, unfair multiplayer xml-setup
« Reply #3 on: 21 March 2010, 13:42:24 »
This is possible if you have the glest.ini setting:

NetworkConsistencyChecks=false

Is that what you had? (the installer would have set it to true)

mictes

  • Guest
Re: megaglest, unfair multiplayer xml-setup
« Reply #4 on: 21 March 2010, 15:28:27 »
None of booth:
Quote
NetworkConsistencyChecks=1

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
Re: megaglest, unfair multiplayer xml-setup
« Reply #5 on: 21 March 2010, 17:24:23 »
I have tried this too and I have NetworkConsistencyChecks=1 in my glest.ini .
I get a proper error saying "Checksum error, you don't have the same data as the server"

Tested in linux32bit I rised the archmages attack-strenght on the client:
<attack-strenght value="480"/>

Can you please double verify again that NetworkConsistencyChecks=1 is set on the client and that you are both using megaglest 3.3.1  .

Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios