Jump to content
  • 0

Daily Gold Room


Question

Posted

Hi rAthena,

Does anyone have the 'Daily Gold Room' Script please? 'Cause the one at eAthena seems to be dead. If anyone that's so kind, please share it to me :)

Thanks!

I badly need it pleaseee :/

BUMP!

12 answers to this question

Recommended Posts

  • 0
Posted

Hi @Emistry i found this somewhere but im not able to spawn the monsters :( when i change the  angeling and develing on my db its not working. can u check this please 


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

phtownall,209,163,3	script	Gold Room Manager	4_M_EINMINER,{
	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

 

Posted (edited)

emistry how to edit it and change it to everysecond not daily. tnx a lot. and add a tcg card to the drop so the drops will be tcg card and gold tnx.

TRY THIS

FOR THE EVERY SECOND:

Replace this:


addtimer 5000,strnpcinfo(0)+"::OnTimeLimit";

with this:



addtimer 1000,strnpcinfo(0)+"::OnTimeLimit";

FOR THE TCG DROP:

replace this:


if( getmapusers("poring_c01") )
	makeitem 969,1,"poring_c01",rand(87,119),rand(86,115);

with this:



if( getmapusers("poring_c01") )
	makeitem 969,1,"poring_c01",rand(87,119),rand(86,115);

	makeitem 7227,1,"poring_c01",rand(87,119),rand(86,115);

Edited by stydianx
  • Upvote 1
Posted (edited)

emistry how to edit it and change it to everysecond not daily. tnx a lot. and add a tcg card to the drop so the drops will be tcg card and gold tnx.

remove the variable assign and checking.....

and add another makeitem to allow tcg to drop in the map.

if( getmapusers("poring_c01") ){
 makeitem 969,1,"poring_c01",rand(87,119),rand(86,115);
 makeitem 7227,1,"poring_c01",rand(87,119),rand(86,115);
}

@stydianx

LOL....your method is wrong....Addtimer 1 second ? LOL.....

the player wont even have chances to peek on the gold room after they get warped...

they will straight trigger the even and warped outside the gold room.

and....the second part.....you need to use braces when your statement have more than 1 lines.

Edited by Emistry
Posted (edited)

emistry how to edit it and change it to everysecond not daily. tnx a lot. and add a tcg card to the drop so the drops will be tcg card and gold tnx.

remove the variable assign and checking.....

and add another makeitem to allow tcg to drop in the map.

like this Master Emistry?


prontera,155,181,5	script	Sample	757,{
	set gettime(5);
	addtimer 1000,strnpcinfo(0)+"::OnTimeLimit";
	warp "poring_c01",100,100
}
close;

OnTimeLimit:
message strcharinfo(0),"Time's Up.";
sleep2 3000;
warp "SavePoint",0,0;
end;

OnInit:
while( 1 ){
if( getmapusers("poring_c01") )
	makeitem 969,1,"poring_c01",rand(87,119),rand(86,115);
	makeitem 7227,1,"poring_c01",rand(87,119).rand(86,115)
sleep 100;
}
end;
}

emistry how to edit it and change it to everysecond not daily. tnx a lot. and add a tcg card to the drop so the drops will be tcg card and gold tnx.

remove the variable assign and checking.....

and add another makeitem to allow tcg to drop in the map.

if( getmapusers("poring_c01") ){
 makeitem 969,1,"poring_c01",rand(87,119),rand(86,115);
 makeitem 7227,1,"poring_c01",rand(87,119),rand(86,115);
}

@stydianx

LOL....your method is wrong....Addtimer 1 second ? LOL.....

the player wont even have chances to peek on the gold room after they get warped...

they will straight trigger the even and warped outside the gold room.

and....the second part.....you need to use braces when your statement have more than 1 lines.

hey said he wanted it everysecond, buy not daily..

Edited by stydianx
  • Upvote 2
Posted

addtimer 5000,strnpcinfo(0)+"::OnTimeLimit";
.....
OnTimeLimit:
   message strcharinfo(0),"Time's Up.";
   sleep2 3000;
   warp "SavePoint",0,0;
   end;

means the user can only stay inside the room for 8 seconds total

    if( #Daily == gettime(5) )
       mes "You cant enter again by today";
   else{
       set #Daily,gettime(5);

means it can only go in once per day... ( but can be bug if went in monthly )

no wonder everyone in the board use this method to deny daily <.<

so it was emistry spreading this technique

should've use gettimestr("%Y%m%d", 9)

Posted
no wonder everyone in the board use this method to deny daily <.<

so it was emistry spreading this technique

erm...well..it's not started by me.. >.<

i saw the "usage" of gettime(5) in somebody script...quite long ago...in a gold room script...but forget who's that ~

and i do believe not much users able to online once a month....or....every X-th day of the month....

so i just go with simple way ~ xD

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