Currently Online

Latest Posts

Topic: I've discovered a cheater

WorldSavior
Avatar
Topic Opener
Joined: 2016-10-15, 04:10
Posts: 2091
OS: Linux
Version: Recent tournament version
Ranking
One Elder of Players
Location: Germany
Posted at: 2020-09-21, 20:28

the-x cheated in some matches during the last days. He manipulated files so he gets a decent bonus of gold, iron and coal after 5 minutes (the match desyncs then and has to be reloaded).

Here are two replays which prove it.

Edited: 2020-09-21, 20:32

Attachment:
replaysShowCheating.zip (1.6 MB)

Wanted to save the world, then I got widetracked

Top Quote
the-x
Avatar
Joined: 2019-01-19, 13:23
Posts: 967
Ranking
One Elder of Players
Posted at: 2020-09-21, 21:44

World Savior you have some issues with losing a game.

Nice try for posting 2 replays when we were testing the new balance system. We spoke about it before and during the game.

The real fact is that you have issues with losing, if you lose a game you are raging - and try to blame others. If we come to real cheating, i am remembering you on the "trading outpost" game on Wisente where you clearly cheatet, didnt communicate and even asked me if we want to rank it ...

In my eyes this is childish behaviour and has no place in a public forum.


Top Quote
hessenfarmer
Avatar
Joined: 2014-12-11, 23:16
Posts: 2646
Ranking
One Elder of Players
Location: Bavaria
Posted at: 2020-09-21, 21:57

Well, from a neutral point the replays show a significant increase of wares for frisians (the-x) after around 5 to 6 minutes. and it crashes exactly when iron in HQ reaches 0. So far this supports WorldSavior's claim.
At least the game which I watched until the end was won by WorldSavior regardless. This somehow is not supporting the theory of revenge for a lost game.
Just neutral observations. May everybody make his own mind about this.


Top Quote
the-x
Avatar
Joined: 2019-01-19, 13:23
Posts: 967
Ranking
One Elder of Players
Posted at: 2020-09-21, 22:07

The main ironic point is world savior calling someone else a cheater.

Why should someone cheat on a normal game and why wouldnt he only use it at ranked games @World Savior or where it counts?

When we played the game ws at the end raged and did not even say good bye when we lost the headquarter. The next game I told him to doing some tests with balance as you can see here https://www.widelands.org/forum/post/34683/ - now hes raging, behaving like a child, i read this the last 2 years often when he loses. Its childish "I am the best".


Top Quote
kaputtnik
Avatar
Joined: 2013-02-18, 20:48
Posts: 2433
OS: Archlinux
Version: current master
Ranking
One Elder of Players
Location: Germany
Posted at: 2020-09-21, 22:29

@the-x: Maybe WorldSavior can't accept loosing a game, but you didn't argue against the facts hessenfarmer postet.


Fight simulator for Widelands:
https://wide-fighter.netlify.app/

Top Quote
the-x
Avatar
Joined: 2019-01-19, 13:23
Posts: 967
Ranking
One Elder of Players
Posted at: 2020-09-21, 22:36

To the facts in this game: I told world savior that I was testing with the starting conditions aiming at making a balanced game. Then we played, you can see the replay above. I changed iron, coal and gold about +8. I did not ask for ranking the game or calling it a competitive game.


Top Quote
the-x
Avatar
Joined: 2019-01-19, 13:23
Posts: 967
Ranking
One Elder of Players
Posted at: 2020-09-21, 22:45

We had something like this before when we played on Wisente Valley. In this game the exact same thing happend, vice versa. World Savior played Barbarian and was given around +35 Coal, Iron and some gold which I didnt know. I was only given 10 Iron and Coal by his starting conditions. I was playing a honest game and did not know this till I watched the replay. Probably it had some thing to do with trading post start, but world savior called this one a competitive 1v1


Top Quote
ektor
Avatar
Joined: 2016-06-16, 09:41
Posts: 98
Ranking
Likes to be here
Posted at: 2020-09-22, 04:16

What I understand from this rather unpleasant discussion is that there is the possibility for players with programming skills to change the amount of resources stocks during the game...

Am I right ?


Top Quote
SirVer

Joined: 2009-02-19, 15:18
Posts: 1445
Ranking
One Elder of Players
Location: Germany - Munich
Posted at: 2020-09-22, 07:08

I do not really understand what is going on here from an interpersonal level, however I feel I can add to the technicalities and at least add an explanation the last question:

What I understand from this rather unpleasant discussion is that there is the possibility for players with programming skills to change the amount of resources stocks during the game...

This statement is not correct. Let me explain: Widelands works on the concept of parallel execution verified by hashing, i.e. all computers in networked games have all the information at any point in time. All computers drive the simulation forward independently and they exchange hashes of the current game state with each other. So all calculations on all machines must be exactly equal, otherwise the hashes become different. These hashes must be the same at all points, otherwise the computers have different opinions of the current game state, i.e. the game has desynced.

This means you generally cannot cheat by scripting, i.e. by executing some code by typing for example in the debug console or changing a script only on your computer: the scripts are not shared over the network, i.e. they only execute on one machine and hence their effects only affect the game state on this one machine. If the things you changed (for example adding wares to your warehouse) ever affect the state of the game the network game will desync. The only meaningful cheat I can think of is to give you full vision, i.e. uncover the map: This will not affect the game state (unless you are using scouts and I think ships, which base decisions on the players visibility).

Similarly, if one player alters starting conditions while the other does not, the game will desync (since the changed starting conditions will execute only on one machine). Same argument if map scripts are altered, the game should descync unless the modified map is shared with all players.

So to summarize: To cheat in a game, you would need to either alter the scripts on both machines (maybe by changing the code in a branch and get the other player to play this branch) or you'd need to alter the map on both machines, for example by sending a modified map around and make sure everybody is using exactly this version - otherwise you will see a desync in the game. As a disclaimer: most desyncs are just bugs and not somebody trying to cheat of course.

Looking at the attached data in this thread, the save files claim to be generated by Widelands b21 Release (though that could have been falsified and scripting files could have been altered in the released version) and the maps in the savegames do not contain any .lua files. This indicates that the map was not modified on both machines, but could have been on the machine that this savegame was not on. What remains as potential explanations is that a player changed the starting conditions on their computer, but not on the other players computer - and this should lead to desyncs as soon as state-altering logic is executed on one machine. Resyncing happens through loading one of the savegames - either from computer 1 (no script executed, i.e. no added wares) or from computer 2 (with added wares) and in fact modified game state could be shared that way. The game can then be continued on, since the states have been resynced.

I will not judge if what happened here was cheating or testing, malicious or in good nature, but generally speaking a player with programming skills cannot cheat without it leading to desyncs. If testing of new starting conditions was the aim here, care should be taken that both sides execute the same scripts, otherwise the game will always desync.


Top Quote
WorldSavior
Avatar
Topic Opener
Joined: 2016-10-15, 04:10
Posts: 2091
OS: Linux
Version: Recent tournament version
Ranking
One Elder of Players
Location: Germany
Posted at: 2020-09-22, 18:16

SirVer wrote:

I do not really understand what is going on here from an interpersonal level

I'm angry and disappointed because he cheated, and I want to inform the community about the behavior.

the-x wrote:

To the facts in this game: I told world savior that I was testing with the starting conditions aiming at making a balanced game.

That's a lie. If this would be the case: Why didn't you simply take a savegame for testing instead of a cheating script?

If hessenfarmer is right about "as soon as iron runs out, the bonus occurs" this is not even a starting condition, it's just cheating.

And why does Elefantenrennen confirm that you cheat? You cheated also against him.

the-x wrote:

We had something like this before when we played on Wisente Valley.

No, that was different.

In this game the exact same thing happend, vice versa.

No

World Savior played Barbarian and was given around +35 Coal, Iron and some gold which I didnt know.

Well, you challenged me to a match were trading outpost plays against trading outpost. Every trading outpost gets frequently bonusses of coal, iron ore and gold. I didn't cheat, I just played regularly.

I was only given 10 Iron and Coal by his starting conditions.

"His" starting conditions? It was regular trading outpost.

I was playing a honest game

Me too

kaputtnik wrote:

@the-x: Maybe WorldSavior can't accept loosing a game,

I lose dozens of chess games every week. If I couldn't accept losing, why would I play chess?

but you didn't argue against the facts hessenfarmer postet.

For simple reasons.

the-x wrote:

Nice try for posting 2 replays when we were testing the new balance system.

As I said, we didn't do that.

We spoke about it before and during the game.

That's a lie

The real fact is that you have issues with losing, if you lose a game you are raging - and try to blame others.

What loss are you talking about?

If we come to real cheating, i am remembering you on the "trading outpost" game on Wisente where you clearly cheatet, didnt communicate

As explained above, I didn't cheat

and even asked me if we want to rank it ...

another lie


Wanted to save the world, then I got widetracked

Top Quote