Issue information

Issue ID
#6460
Status
Fixed
Severity
Critical
Started
Hercules Elf Bot
Aug 12, 2012 18:36
Last Post
Hercules Elf Bot
Aug 13, 2012 12:03
Confirmation
Yes (2)
No (0)

Hercules Elf Bot - Aug 12, 2012 18:36

Originally posted by [b]Vitrue[/b]
Endless Tower Issue :
You can enter the Instance even if you don't Generate Endless Tower.
by doing this you can climb up to the top of the tower getting Ash of Darkness and there will be no monster spawns.

Hercules Elf Bot - Aug 12, 2012 19:18

Originally posted by [b]frozenfox[/b]
step to reproduce? because i can't reproduce this.
already use a character and i can't generate Endless Tower. @_@.

Hercules Elf Bot - Aug 12, 2012 19:31

Originally posted by [b]Vitrue[/b]
talk to the Tower Protection Stone
then you'll get the menu
[CODE]switch(select(.@md_name$ + " Dungeon Generated:Enter the dungeon:Return to Alberta:Cancel")) {[/CODE]
for this case the first would be "Endless Tower Dungeon Generated
second is Enter the Dungeon.

select "Enter the dungeon" even w/o generating. then you'll be able to enter, the instance won't have anymobs/monsters inside. you'll just have to walk up to the top.

Hercules Elf Bot - Aug 12, 2012 19:41

Originally posted by [b]Vitrue[/b]
I think actually all the instances got this problem, i just tried it with the cursed baphomet seal too. you can also enter without generating the instance.

Hercules Elf Bot - Aug 12, 2012 20:10

Originally posted by [b]Judas[/b]
yeah this is a problem, tested with latest rAthena

You have party leader and a party member.
Party doesn't have to generate instance, they can just enter with selecting (Enter the Dungeon)

Hercules Elf Bot - Aug 12, 2012 21:15

Originally posted by [b]Euphy[/b]
All the scripts look like they're correct. Is this a problem with the "has_instance" command?

Hercules Elf Bot - Aug 13, 2012 5:02

Originally posted by [b]Vitrue[/b]
yes, that maybe the case, since you can enter w/o even generating the instance.

Hercules Elf Bot - Aug 13, 2012 9:16

Originally posted by [b]Ind[/b]
[quote name='Euphy' timestamp='1344806133' post='13272']
All the scripts look like they're correct. Is this a problem with the "has_instance" command?
[/quote]
this is odd the command wasn't touched since way ago (was never touched in rathena for instance, last touched at revision liek 14k in eathena)

Hercules Elf Bot - Aug 13, 2012 9:18

Originally posted by [b]Vitrue[/b]
Hoping that it would be fixed asap, instances play a big part in low to mid rate servers.

Hercules Elf Bot - Aug 13, 2012 9:51

Originally posted by [b]Ind[/b]
another scary thing: i've tried debugging some has_instance is returning a empty string ("") i don't know why it is going forward O_O

Hercules Elf Bot - Aug 13, 2012 9:52

Originally posted by [b]Ind[/b]
ah duh. look.
[code]
if (has_instance("1@tower") == "") {
mes "The memorial dungeon " + .@md_name$ + " does not exist.";
mes "The party leader did not generate the dungeon yet.";
}
[/code]
it doesn't stop there.

Hercules Elf Bot - Aug 13, 2012 9:56

Originally posted by [b]Ind[/b]
looks like the initial blame goes on [rev=16135] by masao.
[code]

case 2:
if (has_instance("1@tower") == "") {
mes "The memorial dungeon " + .@md_name$ + " does not exist.";
mes "The party leader did not generate the dungeon yet.";
}
else if ((has_instance("1@tower") != "") && (.@partymembercount < 2))
mes "You can enter the dungeon after making a party.";
else {
mapannounce "e_tower", .@p_name2$ + " of the party, " + .@p_name$ + ", is entering the dungeon, " + .@md_name$ + ".",bc_map,"0x00ff99",FW_NORMAL,12;
set etower_timer,gettimetick(2);
setquest 60200;
setquest 60201;
warp "1@tower",52,354;
end;
}
break;
[/code]
to
[code]

if (has_instance("1@tower") == "") {
mes "The memorial dungeon " + .@md_name$ + " does not exist.";
mes "The party leader did not generate the dungeon yet.";
}
if((party_instance_id != 0) && (party_instance_id != getcharid(1))) {
mes "Due to the tower's aftereffects, you cannot enter the dungeon right now, " + .@dun_h + "hours " + .@dun_m + "minutes " + .@dun_s + "seconds left to enter the next dungeon.";
next;
mes "It is dangerous here. Let me move you to Alberta.";
close2;
warp "alberta",223,36;
end;
}
else {
mapannounce "e_tower", .@p_name2$ + " of the party, " + .@p_name$ + ", is entering the dungeon, " + .@md_name$ + ".",bc_map,"0x00ff99",FW_NORMAL,12;
set party_instance_id,getcharid(1);
set etower_timer,gettimetick(2);
setquest 60200;
setquest 60201;
warp "1@tower",52,354;
end;
}
[/code]
(you see, it broke the else chaining which makes it go on.)

This post has been edited by Ind on Aug 13, 2012 9:57

Hercules Elf Bot - Aug 13, 2012 12:03

Originally posted by [b]Joseph[/b]
Fixed in [rev=16628]