Issue information

Issue ID
#4373
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Jul 31, 2010 20:51
Last Post
Hercules Elf Bot
Mar 5, 2012 15:07
Confirmation
N/A

Hercules Elf Bot - Jul 31, 2010 20:51

Originally posted by [b]DemonicGhostie[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=4373

This is an old bug that was never fixed, not exploit-able or abuse-able, just annoying.

Lines 9,030 - 9,033 of "quests_hugel.txt" in the npc/quests folder.

Orignally says
CODE
                    case 2:
                break;
                }


Which, as you all know, will lead to a window with no way to edit out of it except relogging your character.

You get to that case2 by being on the quest, telling the npc No at first, then Yes, and it'll bring it to that window.

What I did to fix it:
Copied and pasted the part of the script that she says if you originally said Yes, you can't exploit it, since it sets the same value as if you said yes the first time instead of the second, you can't re-visit that part of the script, and therefore the bug is properly fixed.

New Code:
CODE
                    case 2:
                mes "[Laura]";
                mes "Perfect! Now, you first";
                mes "you need to go to the shrine";
                mes "and survey the area for your";
                mes "own benefit. Talk to the Boatman,^FFFFFF ^000000 and he'll take you there, okay?";
                mes "Hurry up and come back soon!";
                set hg_odin,12;
                close2;
                cutin "hu_laura04.bmp",255;
                end;
                }


Fixed file is attached.

Suggestion for bored dev: Fixing the grammar there would be nice <3