Jump to content
  • 0
Scotch

R>Custom Gold Room

Question

can i request gold room like this?

 

1. [Paid]-200k: Npc will warp the player in gold room. 

2. mob example: Gold Peco - if you kill a peco it will give you a points it will random 1-5 points per Gold Peco. 

3. disable @go/@warp commands or butterfly wing there will be a warper to return in the city.

4. PVP on if someone kill you your points will be gone.

5. if you warp and get back alive in the city you can exchange your points into Gold.

 

Hope someone have script like this....Thanks in Advance

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

something like this ?

guild_vs5	mapflag	nogo
guild_vs5	mapflag	nowarp

guild_vs5,0,0,0,0 monster Poring 1001,100,0,0,"Sample#goldroom#OnKill"


prontera,155,181,5	script	Sample#goldroom	757,{
	if ( @TEMP_CASHPOINTS ) {
		if ( select( "Exchange "[email protected]_CASHPOINTS+" Point into Gold","Continue" ) == 1) {
			getitem 969,@TEMP_CASHPOINTS;
			@TEMP_CASHPOINTS = 0;
		}
	}
	mes "Entrance Fee:";
	mes "200,000 zeny";
	if ( Zeny >= 200000 )
		if ( select( "okay","Cancel" ) == 1 ) {
			Zeny -= 200000;
			warp "guild_vs5",0,0;
		}
	close;

	OnKill:
		@TEMP_CASHPOINTS += rand( 1,5 );
		end;

	OnPCDieEvent:
		if ( strcharinfo(3) == "guild_vs5" )
			@TEMP_CASHPOINTS = 0;
		end;
}

** cant access upaste.me .. >.< my university blocked it

Link to comment
Share on other sites

my problem is no points receiving when i kill the monster and the npc has no exchange gold points...

Example:

npc features:

Enter the Gold Room

Exchange GP

Close

 

and i want to add warp exit.


This is my script now.

ordeal_2-2,0,0,0,0	monster	Gold Peco	1233,300,0,0,"Sample#goldroom#OnKill"

prontera,147,146,5	script	Sample#goldroom	757,{
	if ( @TEMP_CASHPOINTS ) {
		if ( select( "Exchange "[email protected]_CASHPOINTS+" Point into Gold","Continue" ) == 1) {
			getitem 969,@TEMP_CASHPOINTS;
			@TEMP_CASHPOINTS = 0;
		}
	}
	mes "Entrance Fee:";
	mes "200,000 zeny";
	if ( Zeny >= 200000 )
		if ( select( "Okay","Cancel" ) == 1 ) {
			Zeny -= 200000;
			warp "ordeal_2-2",0,0;
		}
	close;
 
	OnKill:
		@TEMP_CASHPOINTS += rand( 1,5 );
		end;
 
	OnPCDieEvent:
		if ( strcharinfo(3) == "ordeal_2-2" )
			@TEMP_CASHPOINTS = 0;
		end;
}

// -- Mapflags
 
ordeal_2-2	mapflag	nogo
ordeal_2-2	mapflag	nowarp
ordeal_2-2	mapflag	nowarpto
ordeal_2-2	mapflag	nosave
ordeal_2-2	mapflag	nomemo
ordeal_2-2	mapflag	nobranch
ordeal_2-2	mapflag	noloot
ordeal_2-2	mapflag	noskill
ordeal_2-2	mapflag	nopenalty

post-7897-0-94384000-1414068951_thumb.jpg

Edited by Scotch
Link to comment
Share on other sites

1.

the current script,it wont display how many point you get since I didnt add any message for it.

You can add the message yourself if you want it.

 

2.

the npc only will give player gold if the player have point with them.

 

3.

the point will be removed when they died in the map or relog.

 

4.

I have no idea what you try to show/inform us from the screenshot that you posted.

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

Important Information

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