Jump to content
  • 0

Requesting Gold room warper


AinsLord

Question


  • Group:  Members
  • Topic Count:  257
  • Topics Per Day:  0.08
  • Content Count:  737
  • Reputation:   18
  • Joined:  11/21/15
  • Last Seen:  

instead of asking zeny it will ask for an item like 50pcs tcg card to enter something like that
and it has a random letters to show and you need to enter it

its like anti bot

thnx in advance

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  374
  • Reputation:   46
  • Joined:  03/27/13
  • Last Seen:  

instead of asking zeny it will ask for an item like 50pcs tcg card to enter something like that

and it has a random letters to show and you need to enter it

its like anti bot

thnx in advance

 

https://rathena.org/board/topic/80855-need-script-gold-room-password/

https://eathena.ws/board/index.php?showtopic=266139

Edited by Scylla
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  257
  • Topics Per Day:  0.08
  • Content Count:  737
  • Reputation:   18
  • Joined:  11/21/15
  • Last Seen:  

how will i able to add this or how to put the scrip

sorry totally newbie

after inputting the correct password nothing happens

and how will i able to change the cost its zeny i want TCG to be the cost to enter

thnx for helping

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  80
  • Reputation:   1
  • Joined:  10/08/13
  • Last Seen:  

MAPNAME,x,y,5	script	Gold Room Warper	108,{
mes "[Gold Room Warper]";
mes "Your Password Is ..";
next;
set .@A,rand(234);
set .@B,rand(12);
mes "If A = "+.@A+"   B = "+.@B;
switch( rand(4) ){
    Case 0:
        set .@Answer,.@A + .@B;
        mes "How many is A + B ?";
        break;
    Case 1:
        set .@Answer,.@A - .@B;
        mes "How many is A - B ?";
        break;
    Case 2:
        set .@Answer,.@A * .@B;
        mes "How many is A * B ?";
        break;
    Case 3:
        set .@Answer,.@A / .@B;
        mes "How many is A / B ?";
        break;
}
input .@Input;
if( .@Input != .@Answer ){
    mes "Wrong";
    atcommand "@kick "+strcharinfo(0);
}
next;
if(countitem(7227) < 50) {
	mes "You do not have enough TCG cards to enter.";
	close;
	}
else
delitem 7227,50;
warp "MAPNAME",x,y;
close;
}

Edited the script posted by Scylla to fit what you were asking and tested it on my server. Just add the map you want the npc to be and your gold room map.

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