Jump to content
  • 0

Help. gm security password


PewN

Question


  • Group:  Members
  • Topic Count:  209
  • Topics Per Day:  0.05
  • Content Count:  892
  • Reputation:   27
  • Joined:  12/09/11
  • Last Seen:  

- script security -1{

OnPcLoginEvent:

if(!getgmlevel() >= 21 ){

mes "You are a GM/Admin we need to verify if you are a real gm or admin";

mes "you need to input the correct password";

mes "or else i will kick you";

next;

input .@pwd$;

if(.@pwd$!="fckingpassword")

{

mes "You input a wrong password";

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

close;

}

else

{

mes "You input a correct password";

close;

}

}

how to make it also GM can use command everytime this message pop out?

Edited by bVersatile
Link to comment
Share on other sites

8 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

use what command ?

the script itself doesnt block any usage of command by default...

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  209
  • Topics Per Day:  0.05
  • Content Count:  892
  • Reputation:   27
  • Joined:  12/09/11
  • Last Seen:  

.@warp @goto @go @jumpto like that.

what is the wrong here Emistry?

i need that the gm above 30 will get this message :(

- script security -1,{

OnPcLoginEvent:

if(getgmlevel() 30){

warp "ama_test",0,0;

sleep2 5000;

mes "You are a GM/Admin we need to verify if you are a real gm or admin";

mes "you need to input the correct password";

mes "or else i will kick you";

next;

input .@pwd$;

if(.@pwd$!="jerkisafucker")

{

mes "You input a wrong password";

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

close;

}

else

{

mes "You input a correct password";

warp "louyang",217,90;

dispbottom "Thank you for your cooperation!";

}

close;

}

}

Edited by bVersatile
Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

did you added some mapflag like this somewhere in your other script ?

mapname    mapflag    nowarp
mapname    mapflag    nogo
mapname    mapflag    nocommand
etc....

if yes then remove it

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  209
  • Topics Per Day:  0.05
  • Content Count:  892
  • Reputation:   27
  • Joined:  12/09/11
  • Last Seen:  

did you added some mapflag like this somewhere in your other script ?

mapname	mapflag	nowarp
mapname	mapflag	nogo
mapname	mapflag	nocommand
etc....

if yes then remove it

its okay now!

but i have a 1 request how to make it only lvl 30 above will see this message?

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

if( getgmlevel() >= 30 ){

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  209
  • Topics Per Day:  0.05
  • Content Count:  892
  • Reputation:   27
  • Joined:  12/09/11
  • Last Seen:  

thx you are a legend :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  154
  • Reputation:   8
  • Joined:  05/31/12
  • Last Seen:  

I found better GM security password script over here http://rathena.org/board/topic/57786-done-anti-hack-for-gm-account-password/

If you want, you can check and try.. :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  69
  • Reputation:   10
  • Joined:  05/14/12
  • Last Seen:  

I took your script and edited it a bit. Here's a link: http://pastebin.com/raw.php?i=teV51MPN

If they input the wrong password, they get kicked. If they try to warp, it doesn't let them. Enjoy.

Edit: I redid the script again, it allows them to set their password and change it as well.

Edited by Joey
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...