Jump to content
  • 0
Sign in to follow this  
minx123

Gold room twice a day lock by ID

Question

hi. i need some help to change this script

 

1 - player can enter twice a day to gold room lock by ID not char.

2- player can farm with time limit 15min.

//*********************************************************************************************************************************************************************************
  //***--Topic Link :		***\( ^ ~ ^ )/***
  //***
  //***
  //*********************************************************************************************************************************************************************************
  //***-- Script by :		***\( ^ ~ ^ )/***
  //***-- Emistry
  //***
  //*********************************************************************************************************************************************************************************
  //***-- Contact Info :	***\( ^ ~ ^ )/***
  //***-- My Email : [email protected]
  //***
  //*********************************************************************************************************************************************************************************
  //***-- Messages :		***\( ^ ~ ^ )/***
  //***-- Drop me a private message or email if you are looking for my helps ^^.
  //***-- Beside that, I am looking for a Server to work with ^^ .  
  //***-- I will do my best to help you ^^.
  //***-- More Details ? PM Me ^^.
  //***
  //*********************************************************************************************************************************************************************************
  //***Although these scripts might not suit or follow with what you have requested completely. But i still wish you can give it a try before reject the works.
  //***
  //*********************************************************************************************************************************************************************************



  //-------------------------NPC [ Warper + Exchanger  ]  --------------------------------------------------------------------

  prontera,150,164,3	script	Gold Room Manager	100,{
  
  	mes "[ Gold Room Manager ]";
  	mes "How may I serve for you ?";
  	mes "I can warp you to a Gold Mine.";
  	next;
  	mes "[ Gold Room Manager ]";
  	mes "I need you to give me";
  	mes "100,000 Zeny to Enter.";
  	next;
  	switch(select("Enter to Gold Room:Cancel")) {
  case 1:
  	if(Zeny < 10000) goto nomoney;
  	set .@a,rand(50);
  	set .@b,rand(50);
  	mes "[Gold Room]";
  	mes "Before you enter, you need to answer the question  ";
  	mes "for security check.";
  	mes "If A = "+.@a+"   B = "+.@b;
  	switch( rand(1) ){
  	set .@answer,.@a + .@b;
  	mes "How many is A + B ?";
  			next;
  			input .@input;	
  			next;
  		if( .@input!=.@answer ) {
  		atcommand "@kick " + strcharinfo(0);
  		close;
  		break;
  		}
  		else if (.@input==.@answer) {
  			set Zeny,Zeny-10000;		
  			warp "ordeal_3-2",0,0; 	
  			close;
  			}
  		end;
  		}
  case 2:
  			mes "[ Gold Room Manager ]";	
  			mes "Owh....";
  			mes "Nevermind..since it is your decision.";
  			mes "It is all up to you.";
  			mes "Come back to me if you changed your mind.";
  			close;
  	}
  	nomoney:
  		mes "[Gold Room Manager]";
  		mes "Sorry you need 100,000z to enter";
  		close;
  }
  //-------------------------MONSTER SPAWN--------------------------------------------------------------------


  // Duplicados Warps v1.0
  ordeal_3-2.gat,130,193,0	warp	goldroomwrp#1	3,3,ordeal_3-2.gat,154,154
  ordeal_3-2.gat,106,154,0	warp	goldroomwrp#2	3,3,ordeal_3-2.gat,154,154
  ordeal_3-2.gat,201,129,0	warp	goldroomwrp#3	3,3,ordeal_3-2.gat,154,154
  ordeal_3-2.gat,177,193,0	warp	goldroomwrp#4	3,3,ordeal_3-2.gat,154,154
  //ordeal_3-2,24,228,0	warp	prontera	1,1,prontera,156,172;
  //ordeal_3-2,25,58,0	warp	prontera	1,1,prontera,156,172;
  //ordeal_3-2,289,130,0	warp	prontera	1,1,prontera,156,172;
  //ordeal_3-2,283,230,0	warp	prontera	1,1,prontera,156,172;
  //ordeal_3-2,210,203,0	warp	prontera	1,1,prontera,156,172;

  // Natural Monsters v1.0
  ordeal_3-2,154,154,0,0	monster	Gold Savage	1840,15,0,0,0
  ordeal_3-2,0,0,0,0	monster	Gold Savage	1840,50,0,0,0
  ordeal_3-2,0,0,0,0	monster	Gold Savage	1840,50,0,0,0
  ordeal_3-2,0,0,0,0	monster	Gold Savage	1840,50,0,0,0

  // Map Flags v1.0
  ordeal_3-2	mapflag	nowarp
  ordeal_3-2	mapflag	nobranch
  ordeal_3-2	mapflag	nomemo
  ordeal_3-2	mapflag	nowarpto
  ordeal_3-2	mapflag	nopenalty
  ordeal_3-2	mapflag	pvp_noparty
  ordeal_3-2	mapflag	noskill
  ordeal_3-2	mapflag	nosave
  ordeal_3-2	mapflag	novending
  ordeal_3-2	mapflag	noteleport

 

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.