- script AntiCheat -1,{
OnPCLoginEvent:
if(getgroupid() <= 3){ //GM Excemption
readparam(bStr);
readparam(bAgi);
readparam(bVit);
readparam(bInt);
readparam(bDex);
readparam(bLuk);
if (readparam(bStr) > 199 && readparam(bAgi) > 199 && readparam(bVit) > 199 && readparam(bInt) > 199 && readparam(Dex) > 199 && readparam(bLuk) > 199){{
mes "[^FF0000Anti Cheat System^000000]";
mes "We have detected you having stats over the limit. You will be disconnected shortly. If this is an error please contact the Game Master immediately.";
sleep2 5000; //5 Seconds delay
atcommand "@kick "+strcharinfo(0);
announce strcharinfo(0) +" , You have been kicked for having edited stats.",0;
end;
}
}
}
}
but I doesn't work.
Can anyone tell me how? or, what should I do, to modify that script to:
= if player got more than 2 max status (120), got kicked =
eg : str 120 agi 120 vit 120 and then, got kicked.
Question
DJFUNK
Hi rA
I'm currently using r17214
and I dont know its a bug or not, because some of my players got a 120 base all status.
I set 120 max status on my server.
I use this statpoint on my server:
statpoint.txt
at past, I set 125 max status on my server, and I want to change it. 120 max stats is enough I think.
so, I reset all player status using this script:
is there something wrong with my statpoint or my resetstatus script? that cause a bug.
I dunno how the bug work, that can make some of my player got 120 base all status.
btw, I've read this topic and I put this script:
but I doesn't work.
Can anyone tell me how? or, what should I do, to modify that script to:
= if player got more than 2 max status (120), got kicked =
eg : str 120 agi 120 vit 120 and then, got kicked.
thanks in advance,
and sorry for my bad english
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.