Jump to content
  • 0

Can I request to add more secure with this simple antihack


Question

Posted (edited)

http://rathena.org/board/files/file/2918-simple-hack-security/

 

 

Can I request how to add berserk to a GM level above 0 or with frost to avoid warping.. etc



/*
 * HACK SECURITY V1
 * SimplyNice
 * Contact: [email protected]
*/

-	script	HackerDetector	-1,{

OnPCLoginEvent:
	if (getgroupid() > 0){
		set @grpid,getgroupid();
		atcommand "@adjgroup 25";
		set @password$,"iamnotahacker";
		mes "Please input the secret password:";
		input @nothacker$;
		if(@nothacker$ != @password$){
			atcommand "@kick "+strcharinfo(0);
			end;
		} else {
			mes "Good day";
			atcommand "@adjgroup "+@grpid+"";
			close;
		}
	}
}



bump anyone?

Edited by zhen

4 answers to this question

Recommended Posts

Posted

Added sc_start sc_berserk, 1000000000, 1; and sc_end sc_berserk; on your script

-    script    HackerDetector    -1,{


OnPCLoginEvent:
    if (getgroupid() > 0){
        set @grpid,getgroupid();
        atcommand "@adjgroup 25";
        set @password$,"iamnotahacker";
        sc_start sc_berserk, 1000000000, 1;
        mes "Please input the secret password:";
        input @nothacker$;
        if(@nothacker$ != @password$){
            atcommand "@kick "+strcharinfo(0);
            end;
        } else {
            sc_end sc_berserk;
            mes "Good day";
            atcommand "@adjgroup "+@grpid+"";
            close;
        }
    }
}

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...