Jump to content
  • 0
Sign in to follow this  
dhaisuke

Endless Tower Help

Question

Hi Guys,

 

 can anyone help me with my Endless tower script. i've found npc script for purification stone to bypass the ET.

but when i'm tried to reload script and try to click the NPC purification stone and generate again the entrance in ET.

i'm not able to generate again to go the ET. please see the image and my script

 

//PURISTONE
	e_tower,78,112,4	script	Endless Reset	406,{
	mes "Purification Tower";
	mes "Do you want to Reset your Endless Tower Quest?";
	menu "Yes",R_Tower,"No",Dis;
	close;
	
	R_Tower:
	if(countitem(6127) < 1)
	{
		mes "You dont have a Purification Stone to Reset your Endless Tower Quest";
		close;
	}
	else 
	{
		set .@etower_timer,0;
		delitem 6127,1;
		mes "^0000ffThe records and aftereffects related to the Endless Tower have been removed. You can generate and enter the Endless Tower again.^000000";
		set etower_timer,0;
		mes "^0000ffThe records and aftereffects related to the Endless Tower have been removed. You can generate and enter the Endless Tower again.^000000";
		close;
		warp "e_tower",75,108;
		end;
	}
	
	Dis:
	mes "Purification Tower";
	mes "Come Back Again.";
	close;

}

 

Thanks in advance.

post-1574-0-65837500-1483256542_thumb.png

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Hello Legend,

 

Thanks for your response..

 

regarding to the instance, i've already adjust it just for testing.can you check my script if I've adjusted correctly?

 


EndlessTower.txt

instance_set_timeout 120,300,.@instance;
				instance_init(.@instance);

.@dun_lim_time = etower_timer+300; //5 minutes
.@dun_lim_time2 = etower_timer+120; /2minutes


quest_db.conf

{
	Id: 60200
	Name: "Endless Tower Effect"
	TimeLimit: 300
},
{
	Id: 60201
	Name: "Endless Tower Time Limit"
	TimeLimit: 120
},

Share this post


Link to post
Share on other sites
  • 0

 

Hello Legend,

 

Thanks for your response..

 

regarding to the instance, i've already adjust it just for testing.can you check my script if I've adjusted correctly?

 


EndlessTower.txt

instance_set_timeout 120,300,.@instance;
				instance_init(.@instance);

.@dun_lim_time = etower_timer+300; //5 minutes
.@dun_lim_time2 = etower_timer+120; /2minutes


quest_db.conf

{
	Id: 60200
	Name: "Endless Tower Effect"
	TimeLimit: 300
},
{
	Id: 60201
	Name: "Endless Tower Time Limit"
	TimeLimit: 120
},

 

 

I think that's okay now.  :no1:

 

Regarding on your first post about Endless Reset, that script of yours won't take effect, its because of the following:

 

1) This variable ".@etower_timer", ".@" variables is of no use if the NPCs were separated from the original endless tower script.

2) You need to do "instance_create" before warping to endless tower.

3) You also need to do "erasequest" to the ongoing "setquest".

Share this post


Link to post
Share on other sites
  • 0

Hi Legend,

 

1) This variable ".@etower_timer", ".@" variables is of no use if the NPCs were separated from the original endless tower script.

     - i just added the purification npc script with a require item to reset inside to the original endless towerscript this

2) You need to do "instance_create" before warping to endless tower.

     - i'm sorry not sure if i can do this but  do i still need to create another instance inside the endless towerscript?

3) You also need to do "erasequest" to the ongoing "setquest".

     - i'm sorry not sure if i can do this but  do i still need to create another instance inside the endless towerscript?

Share this post


Link to post
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.   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.