ScoreSave mutator
Posted: Tue Jun 01, 2010 12:59 am
ScoreSave mutator.
RC_5 added fix to prevent score/deaths values from being lost if player respawned too quickly.
added players current health to list of variables being saved.
added the Pawn stat variables DieCount, ItemCount, KillCount, SecretCount & Spree to save list.
added config variable SSDelay. Controls rate at which the mutator saves current variable data.
RC_4 added fix for spectators. Thanks iloveut99 !
v2.3 added StartTime back to the list of saved variables.
v2.2 update rewritten to use timer.
v2.0 update has minor code change to eliminate possible accessed none warnings.
Server only mutator that will preserve players scores on disconnect.
Had a request last week from one of the regulars on my servers who connects
via dialup. He is way out in rural Northern canada, and the modem disconnects
on him quite often.... He plays extremely well, and I can only imagine how
frustrating it is when you get the score reset from 1st or 2nd place too zero
sometimes several times in a match. Probably my oldest regular player on the
MooCow servers. At least 7-8 years this has been going on.....
2 days ago he asks : "Why cant the server save my score when I get disconnected ?"
"Thats a good question." I responded....
Did a few searches, and asked somebody* who knows about even more UT mutators than
I do, but found no trace of a mutator that would accomplish this.
It rained today so I couldn't go ride my dirtbike as scheduled, so a few hours
ago I decided to see if I could fix this issue.
Not only does this solve that problem, but now I can connect to one of my other
servers to check on things, then go back to the game I was playing without
losing my score. I can also start playing a game on the pc in my kitchen, then
shut it down, and go finish the match on a different pc in the basement or wherever
without losing my score.
Get it here: http://ecoop.ucoz.com/load/ or download attached
RC_5 added fix to prevent score/deaths values from being lost if player respawned too quickly.
added players current health to list of variables being saved.
added the Pawn stat variables DieCount, ItemCount, KillCount, SecretCount & Spree to save list.
added config variable SSDelay. Controls rate at which the mutator saves current variable data.
RC_4 added fix for spectators. Thanks iloveut99 !
v2.3 added StartTime back to the list of saved variables.
v2.2 update rewritten to use timer.
v2.0 update has minor code change to eliminate possible accessed none warnings.
Server only mutator that will preserve players scores on disconnect.
Had a request last week from one of the regulars on my servers who connects
via dialup. He is way out in rural Northern canada, and the modem disconnects
on him quite often.... He plays extremely well, and I can only imagine how
frustrating it is when you get the score reset from 1st or 2nd place too zero
sometimes several times in a match. Probably my oldest regular player on the
MooCow servers. At least 7-8 years this has been going on.....
2 days ago he asks : "Why cant the server save my score when I get disconnected ?"
"Thats a good question." I responded....
Did a few searches, and asked somebody* who knows about even more UT mutators than
I do, but found no trace of a mutator that would accomplish this.
It rained today so I couldn't go ride my dirtbike as scheduled, so a few hours
ago I decided to see if I could fix this issue.
Not only does this solve that problem, but now I can connect to one of my other
servers to check on things, then go back to the game I was playing without
losing my score. I can also start playing a game on the pc in my kitchen, then
shut it down, and go finish the match on a different pc in the basement or wherever
without losing my score.
Get it here: http://ecoop.ucoz.com/load/ or download attached