Jump to content
  • 0

R> Gold Room that picks gold


elmucho

Question


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.01
  • Content Count:  32
  • Reputation:   0
  • Joined:  05/27/17
  • Last Seen:  

Can i request a gold room that you need to pick the gold bar to it ? thank you! 

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  1137
  • Reputation:   290
  • Joined:  04/29/13
  • Last Seen:  

try searching around, there is plenty of similar scripts existing already 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.01
  • Content Count:  32
  • Reputation:   0
  • Joined:  05/27/17
  • Last Seen:  

//*********************************************************************************************************************************************************************************
//*********************************************************************************************************************************************************************************
//***-- Script by :
//***-- Syllabear
//***
//*********************************************************************************************************************************************************************************
//*********************************************************************************************************************************************************************************
//***-- Messages :
//***-- 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.
//***
//*********************************************************************************************************************************************************************************

//-------------------------MONSTER DATABASE [ REPLACE it in Your MOB_DB.txt ]  --------------------------------------------------------------------
//-------------------------NPC [ Warper + Exchanger  ]  --------------------------------------------------------------------
belagio,72,61,7	script	Gold Room	452,{
mes "[ Gold Room Manager ]";
mes "Hello, ";
mes "How may i serve for you ?";
mes "I can warp you to a Gold Mine.";
mes "Would you like to go there try to get some gold ?";
mes "You could be get rich if you lucky enough.";
next;
switch(select("Hunt Now:Later")) {
	Case 1:
	mes "[ Gold Room Manager ]";
	mes "Okay, here you go";
	next;
	mes "[ Gold Room Manager ]";
	mes "Enjoy !";
	close2;  
	warp "bat_c01",0,0;
	end;
	Case 2:
	mes "[ Gold Room Manager ]";
	mes "Okay, I'll wait you.";
	close;
	Case 3:
	mes "[ Gold Room Manager ]";
	mes "Do you wish to change it into ";
	mes "^0000FFBronze Coin^000000?";
	next;
	switch(select("Exchange:Not yet")) {
	case 1:
		mes "[ Gold Room Manager ]";
		mes "you have ";
		mes "- "+countitem(969)+" x ^008800 Golds^000000";
		mes "- "+countitem(7444)+" x ^008800 Treasure Boxes^000000";
		next;
		switch(select("Gold to Bronze Coin:Treasure Box to Coin")) {
			Case 1:
			mes "[ Gold Room Manager ]";
			if(countitem(969)<100){
				mes "You dont have enough gold with you.";
				close;
			}
			if(countitem(969)>100){
				mes "Okay there you go.";
				mes "100 Gold has been changed to 10 Bronze Coin";
				delitem 969,100;
				getitem 673,10;
				close;
				end;
			}
			Case 2:
			mes "[ Gold Room Manager ]";
			if(countitem(7444)<100){
				mes "You dont have enough treasure box with you.";
				close;
			}
			if(countitem(969)>100){
				mes "Okay there you go.";
				mes "100 Treasure Box has been changed to 10 Bronze Coin";
				delitem 7444,100;
				getitem 673,10;
				close;
				end;
			}
		}
	}
}
}

//-------------------------MONSTER SPAWN--------------------------------------------------------------------

bat_c01,0,0,0,0	monster	Gold Room Angel	1852,80,0,0,0
bat_c01,0,0,0,0	monster	Gold Room Devil	1853,80,0,0,0
bat_c01,0,0,0,0	monster	Gold Room Guardian	2071,1,0,0,0

But its not working no item drop :(

Edited by elmucho
Link to comment
Share on other sites

  • 0

  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1677
  • Reputation:   703
  • Joined:  12/21/14
  • Last Seen:  


 

3 hours ago, elmucho said:

no item drop

you need to edit the monster it self to drop the items you want it's not from the npc

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  235
  • Reputation:   55
  • Joined:  12/02/11
  • Last Seen:  

9 hours ago, elmucho said:

Can i request a gold room that you need to pick the gold bar to it ? thank you! 

 

Added: Multiple Item support.
Every 5 Seconds .i1 and .i2 will be dropped on the ground.
See OnInit:

-	script	F_DropGoldPickUp	-1,{
	end;
OnInit:
	.qty = 2;		// Amount Item Dropped
	.i1 = 969;			// Item ID 1
	.i2 = 7444;			// Item ID 2
	.map$ = "pvpwait";	// Your Map
	initnpctimer;
	end;

OnTimer5000: //Every 5 Seconds
stopnpctimer;
	while ( .@size < .qty ) {
		do {
			.@x = rand(1,500);
			.@y = rand(1,500);
			} while ( !checkcell(.map$,.@x,.@y,cell_chkpass ));
			.@ran = rand(2);
		makeitem .@ran?.i1:.i2,1,.map$,.@x,.@y;
		.@size = .@size += 1;
	}
	.@size = 0;
	initnpctimer;
	end;
}

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.01
  • Content Count:  32
  • Reputation:   0
  • Joined:  05/27/17
  • Last Seen:  

19 hours ago, sader1992 said:


 

you need to edit the monster it self to drop the items you want it's not from the npc

how can i add item drop ?

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.01
  • Content Count:  32
  • Reputation:   0
  • Joined:  05/27/17
  • Last Seen:  

New script but its not dropping gold and not working when added on the item db 

  //*********************************************************************************************************************************************************************************
  //***--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.
  //***
  //*********************************************************************************************************************************************************************************


  //-------------------------MONSTER DATABASE [ REPLACE it in Your MOB_DB.txt ]  --------------------------------------------------------------------

  //1852,G_EM_ANGELING,Angeling,Angeling,99,120,0,0,0,1,60,71,100,99,1,17,80,80,126,20,10,12,0,8,66,0x37B5,300,1288,288,384,0,0,0,0,0,0,969,5000,969,10000,969,8000,969,1000,0,0,0,0,0,0,0,0,0,0,0,0,0,0
  //1853,G_EM_DEVILING,Deviling,Deviling,99,120,0,0,0,1,60,71,100,99,1,17,80,80,126,20,10,12,0,8,66,0x37B5,300,1288,288,384,0,0,0,0,0,0,7444,5000,7444,10000,7444,5000,969,10000,969,5000,0,0,0,0,0,0,0,0,0,0,0,0



  //-------------------------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 "1,000,000 Zeny to Enter.";
  	next;
  	switch(select("Enter to Gold Room:Cancel")) {
  case 1:
  	if(Zeny < 1000000) 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-1000000;		
  			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 1,000,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 Peco Peco	3003,15,0,0,0
  ordeal_3-2,0,0,0,0	monster	Gold Peco Peco	3003,50,0,0,0
  ordeal_3-2,0,0,0,0	monster	Gold Peco Peco	3003,50,0,0,0
  ordeal_3-2,0,0,0,0	monster	Gold Peco Peco	3003,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

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  1137
  • Reputation:   290
  • Joined:  04/29/13
  • Last Seen:  

11 hours ago, elmucho said:

New script but its not dropping gold and not working when added on the item db 


  //*********************************************************************************************************************************************************************************
  //***--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.
  //***
  //*********************************************************************************************************************************************************************************


  //-------------------------MONSTER DATABASE [ REPLACE it in Your MOB_DB.txt ]  --------------------------------------------------------------------

  //1852,G_EM_ANGELING,Angeling,Angeling,99,120,0,0,0,1,60,71,100,99,1,17,80,80,126,20,10,12,0,8,66,0x37B5,300,1288,288,384,0,0,0,0,0,0,969,5000,969,10000,969,8000,969,1000,0,0,0,0,0,0,0,0,0,0,0,0,0,0
  //1853,G_EM_DEVILING,Deviling,Deviling,99,120,0,0,0,1,60,71,100,99,1,17,80,80,126,20,10,12,0,8,66,0x37B5,300,1288,288,384,0,0,0,0,0,0,7444,5000,7444,10000,7444,5000,969,10000,969,5000,0,0,0,0,0,0,0,0,0,0,0,0



  //-------------------------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 "1,000,000 Zeny to Enter.";
  	next;
  	switch(select("Enter to Gold Room:Cancel")) {
  case 1:
  	if(Zeny < 1000000) 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-1000000;		
  			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 1,000,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 Peco Peco	3003,15,0,0,0
  ordeal_3-2,0,0,0,0	monster	Gold Peco Peco	3003,50,0,0,0
  ordeal_3-2,0,0,0,0	monster	Gold Peco Peco	3003,50,0,0,0
  ordeal_3-2,0,0,0,0	monster	Gold Peco Peco	3003,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

 

 

 

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