Endless Tower Help

dhaisuke

New member
Messages
99
Points
0
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.

Capture.PNG

 
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?

Code:
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
},
 
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. 
default_no1.gif


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

 
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?

 
Back
Top