Topic: Search Mod (saved score)
Hello modders,
I search a Mod, that read the 'name' , 'clan' , 'kills', 'deaths' , 'wins' , 'loses', 'score' from the game. That should write into a textdocument like "stats.txt". I think to read out 'name' and 'clan' should be easy, kills and death maybe too. But I don't know about wins and loses. So I mean: If you win a game (DM, CTF, TDM) your counter get higher. I make an example:
//Example//
____________________________________________________
id: '1' name: Fight clan: [neo] kills: 74 deaths: 30 wins: 4 loses: 1 score:124
id: '2' name: Preme clan: AI kills: 12 deaths: 11 wins: 2 loses: 1 score: 58
id: '3' name: Lucky clan: sad kills: 5 deaths: 28 wins: 1 loses: 3 score:12
____________________________________________________
//Example//
But now, I guess it gonna be hard. I would like that the scores of the ids be saved indirect, so imagine: I'm 'Fight' and play again. But in textdocument are already my score. My score get overwrite if I play again.
I hope you can follow me.
So thats the clue that you scores get overwritten by name (or id, don't know if ids would be better).
//Optional additions//
==If you have the highest score you get the title "[First]"==
==Direct code for PHP==
! If someone might do that please send a mail to TeeWorldsTV@gmx.de !