Jump to content
  • 0

No "Generate' option for Endless Tower


Raikumi

Question


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  49
  • Reputation:   0
  • Joined:  06/28/12
  • Last Seen:  

Captain Janssen gets use to the small island. The party req. of 2 people works, but there is only an "enter tower" option, and when we do that, there are no inside the tower.

There is also no "generate" option at the statue.

Here is the script.

http://upaste.me/1639669fc5422c7

Anyone? =\

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  94
  • Topics Per Day:  0.02
  • Content Count:  2192
  • Reputation:   252
  • Joined:  11/11/11
  • Last Seen:  

According to eAthena's script: http://eathena-proje...ndlessTower.txt and rAthena's: https://rathena.svn....ndlessTower.txt the only difference between the 2 is that rAthena has added:

//= 1.8 Adjusted Instance Attach Map to Validate ALL Maps, instead of
//=	 only 1@tower -> 5@tower (bugreport:4983)
//= 1.9 Added 'instance_check_party' command to the script for proper checking if
//=  the invoking party meets the requirements to join the Memorial Dungeon.

while eAthena hasn't. While, inside the script, the Statue actually does set you up:


set .@party_id,getcharid(1);
set .@ins_mas,getpartyleader(.@party_id,2);
set .@p_name$,getpartyname(.@party_id);
set .@p_reader$,strcharinfo(0);
set .@md_name$,"Endless Tower";
set .@p_name2$,strcharinfo(0);

set .@etower_timer,checkquest(60200,PLAYTIME); // 1 week
set .@etower_timer2,checkquest(60201,PLAYTIME); // 4 hours

set .@dun_lim_time,etower_timer+604800; // 1 week
set .@dun_lim_time2,etower_timer+14400; // 4 hours
set .@dun_cur_time,gettimetick(2);
set .@dun_ent_t,(.@dun_lim_time - .@dun_cur_time);
set .@dun_h,(.@dun_ent_t / 3600);
set .@dun_m,(.@dun_ent_t - (.@dun_h * 3600)) / 60;
set .@dun_s,.@dun_ent_t - ((.@dun_h * 3600) + (.@dun_m * 60));

if(!instance_check_party(.@party_id,2)){
	mes "I'm sorry but your Party does not meet the requirements to join the Memorial Dungeon.";
	close;
}

if (.@etower_timer == -1) {
	if (.@ins_mas == getcharid(0)) {
		mes "Confirmed the party has been made. Would you like to reserve entrance to the Endless Tower?";

then this little part leads to:


switch(select(.@md_name$ + " Dungeon Generated:Enter the dungeon:Return to Alberta:Cancel")) {
		case 1:
			set .@instance, instance_create(.@md_name$, .@party_id);
			if (.@instance < 0) {
				mes "Party Name:"+.@p_name$+"";
				mes "Party Leader:"+.@p_reader$+"";
				mes "^0000ff"+.@md_name$+" ^000000- Reservation Failed!";
			}
			else {
				mes "^0000ff"+.@md_name$+"^000000 - Try to reserve";
				mes "After making a reservation, you have to talk to NPC behind and select the menu 'Enter the Dungeon' to enter the dungeon.";
				// 1,2,3,4,5,6
				for( set .@i, 1; .@i <= 6; set .@i, .@i + 1 ) {
					if( instance_attachmap(.@i + "@tower", .@instance) == "" ) {
						mes "^0000ff"+.@md_name$+" ^000000- Reservation Failed!";
						instance_destroy(.@instance);
						close;
					}
				}

.

I've currently tested rAthena's and it works for me =/

Edited by Mysterious
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  399
  • Reputation:   198
  • Joined:  11/09/11
  • Last Seen:  

From my personal testing on my own server, it does appear as though the instance only generates properly if the correction menu option is selected first, however, that is in rev16316. I'll have to test in the latest rA to confirm it's still using iffy behavior. If it is still allowing users to get in without first properly generating everything, I will opt for a small functionality adjustment to ensure players are able to get in properly without having to have a GM intervene should it not be triggered the correct manner.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  49
  • Reputation:   0
  • Joined:  06/28/12
  • Last Seen:  

Got it working! Thanks you two!

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