Official Soldat Forums

Server Talk => Scripting Discussions and Help => Topic started by: sckme on November 11, 2008, 03:48:36 pm

Title: Reputation Script
Post by: sckme on November 11, 2008, 03:48:36 pm
Hello!
I have a new proposal for a script. Its name would be "Reputation". What is it going to be about? Let's say, that when one player types a command eg. "!rep player's nick" then the chosen player is going to get one reputation point on the server. Those points could be checked on the players' list, which would be generated by command eg. !replist. Who would wrote the script? Cheers.
Title: Re: Reputation Script
Post by: Norbo on November 12, 2008, 10:45:00 am
ill see what i can do, but not now, like tomorow, if i find time
Title: Re: Reputation Script
Post by: ~Niko~ on November 12, 2008, 10:47:07 am
But make sure nobody can give rep points to himself, or opening 2 soldats and using other nickname :P
Title: Re: Reputation Script
Post by: Norbo on November 12, 2008, 11:34:36 am
But make sure nobody can give rep points to himself, or opening 2 soldats and using other nickname :P
Ip check will do :P
Title: Re: Reputation Script
Post by: ~Niko~ on November 12, 2008, 12:43:15 pm
But make sure nobody can give rep points to himself, or opening 2 soldats and using other nickname :P
Ip check will do :P
great then
Title: Re: Reputation Script
Post by: shantec on November 12, 2008, 02:05:06 pm
Darn... there should be some sort of 'serial number' in every soldat, in case of dynamic-ip'rs
Title: Re: Reputation Script
Post by: sckme on November 12, 2008, 03:00:19 pm
ill see what i can do, but not now, like tomorow, if i find time

thx ^^
Title: Re: Reputation Script
Post by: Rampage_Terranius on November 12, 2008, 04:25:34 pm
one thing you can do to stop ppl multi logging is save a value to the file like Logged=1 etc.... so that if someone else trys to login it will say someone is already logged etc... the only problem with this is that if the script crashes or some1 recompiles they cant login to their file anymore :-\
Title: Re: Reputation Script
Post by: danmer on November 13, 2008, 12:41:45 pm
one thing you can do to stop ppl multi logging is save a value to the file like Logged=1 etc.... so that if someone else trys to login it will say someone is already logged etc... the only problem with this is that if the script crashes or some1 recompiles they cant login to their file anymore :-\
thats why you store a timestamp there as well and make a funky checking system