Crossfire Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

cheating and suid



Inge Berg Fenstad wrote : 

> Make yourself a HUGE weapon...like +10+10+10+10+10

Of course, if you cheat, the game is really easy to win... you can also add a ring imune 65535, and the spells large icestorm, dragonbreath and hellfire to your character sheet...

Here, we have always played with the non-client/server game with suid bit : crossfire's character sheets are -rw-rw-rw. That's too easy to cheat. We have suppressed it !

 Could you explain me how you reach 30 in all stats without modifying your player file ? I know there is this bug that increases your stats when you die if you are at least level 14 but that's not enough.

We had implemented this for the previous version : each night, a cron copy the whole player directory in a player.backup directory. If you die, your .pl file is deleted... So, the cron looks for difference between the player dir and the player.backup dir. If a player has died, he is in the second one and not in the first one. Then its whole equipment and known spells are deleted and the player his restored in the player dir (it will appear in a map-church). But stats and exp are not modified... I think it was a good system.
Of course, if you die, you will only be able to play the following day... and you will get your character as it was the previous day. You will be more carefull next time !

But I think current system is quite good too... if you don't cheat

Laurent