-
Apprentice
[HELP] Help to make max resets in my server
Hey friends,
I use STMP web packet, and i wanna ask how i can make max resets, some script in the reset.php in the site, or some script in the MSSQL? Or how ?
-Thank you in advance.
-
-
Apprentice
Re: [HELP] Help to make max resets in my server
wtf, no one can help ?> :(
-
Alpha Member
Re: [HELP] Help to make max resets in my server
sqlserver you can see it in Guide By HurryPoker Dude :P
-
Member
Re: [HELP] Help to make max resets in my server
sorry. duplicate dpost. Please delete this one.
-
Member
Re: [HELP] Help to make max resets in my server
put a validation in the script that process the resets. something like:
$result = $db->Execute("Select Resets From Character where Name=?",array($charactername));
$row = $result->fetchrow();
$maxResets = 3000;
if ($row[0] < $maxResets){
//proced with reset action
}else{
//show a message to user informing that he has reached the maximun reset number
}
* Assuming that $db is your connection with the DB.