Jump to content
  • 0

[ ASK ] Over Stats Scripts


Yugosh

Question


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  65
  • Reputation:   0
  • Joined:  05/09/12
  • Last Seen:  


- script AntiCheat -1,{

OnPCLoginEvent:

if(getgmlevel() <= 50){ //GM Excemption

readparam(bStr);

readparam(bAgi);

readparam(bVit);

readparam(bInt);

readparam(bDex);

readparam(bLuk);

if (readparam(bStr) > 99 || readparam(bAgi) > 99 || readparam(bVit) > 99 || readparam(bInt) > 99 || readparam(Dex) > 99 || readparam(bLuk) > 99){

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 8000; //5 Seconds delay

atcommand "@block "+strcharinfo(0)+"";

announce strcharinfo(0) +" , You have been banned for having edited stats. Thank you for playing Medan Ragnarok Online.",0;

end;

}

}

}

hmmm Is anyone able to help me?

I was dizzy with all the new character in the block without overstats.

anyone can help thanks...
Edited by Yugosh
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  764
  • Reputation:   220
  • Joined:  11/14/11
  • Last Seen:  

Dunno what your problem may be, but at least there is a missing end; and because you're using mes you have to finalize the dialog with close;.

-	script	AntiCheat	-1,{

OnPCLoginEvent:
	if(getgmlevel() > 50) //GM Excemption
		end;
	
	if (readparam(bStr) > 99 || readparam(bAgi) > 99 || readparam(bVit) > 99 || readparam(bInt) > 99 || readparam(bDex) > 99 || readparam(bLuk) > 99){
		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 8000; // 8 Seconds delay
		atcommand "@block "+strcharinfo(0);
		announce strcharinfo(0) + " , You have been banned for having edited stats. Thank you for playing Medan Ragnarok Online.",0;
		close;
	} 
	end;
}
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  65
  • Reputation:   0
  • Joined:  05/09/12
  • Last Seen:  

Worked !

thanks Kenpachi  /no1

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...