Issue information

Issue ID
#4104
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Mar 5, 2010 23:40
Last Post
Hercules Elf Bot
Mar 5, 2012 16:05
Confirmation
N/A

Hercules Elf Bot - Mar 5, 2010 23:40

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

Here is a pretty nasty but official? bug. There is a spirit in the town asking you to to repeat the "Klatu Verata Nectu" dialog from Evil Dead III. Funny enough, but it's not supposed to do anything: [url="http://irowiki.org/wiki/Nifflheim"]http://irowiki.org/wiki/Nifflheim[/url]

Yet in eA:

[codebox] if (.@spell == 3) {
switch(rand(1,5)) {
case 1:
if (morison_meat < 15) {
set MISC_QUEST,MISC_QUEST | 1;
mes "[Ashe Bruce]";
mes "You... You broke the curse!";
mes "How did you know that spell?!";
next;
mes "[Ashe Bruce]";
mes "I suppose you expect for me to";
mes "melt in agony about now, don't";
mes "you? Well... Sorry to disappoint";
mes "you, mortal, but I can never die!";
close;
}
mes "[Ashe Bruce]";
mes "...! You cast the correct spell?!";
mes "...!...";
mes "But...You're still cursed...";
mes "Umhaaaaaaaaaaaaaaaaa.....!";
close;
case 2:
if (thai_head == 1) {
set thai_head,2;
mes "[Ashe Bruce]";
mes "What's...";
mes "this feeling?";
next;
mes "[Ashe Bruce]";
mes "No...!";
mes "NOOOOOOOOOOOOOOOO!";
next;
mes "[Ashe Bruce]";
mes "Why did your spell have to work?!";
close;
}
mes "[Ashe Bruce]";
mes "You...";
mes "cast the correct spell?!";
next;
mes "[Ashe Bruce]";
mes "Hoho~";
mes "But you're still cursed...";
close;
case 3:
if (thai_head == 8) {
set thai_head,7;
mes "[Ashe Bruce]";
mes "You... You broke the curse!";
mes "Who taught you that spell?!";
next;
mes "[Ashe Bruce]";
mes "I suppose you expect for me to";
mes "melt in agony about now, don't";
mes "you? Well... Sorry to disappoint";
mes "you, mortal, but I can never die!";
next;
mes "[Ashe Bruce]";
mes "So long as I'm...";
mes "still...";
mes "cursed.";
next;
mes "[Ashe Bruce]";
mes "NOOOOOOOOOO!";
close;
}[/codebox]

Yeah, the dude sets 2 variables: both are NOT related whatsoever to this NPC: one of them is related to the obb quest, the other one to the juice quest. Leave it like this, and it fucks them both. I suggest to comment out the set of vars (but not the check: why wouldn't we keep the different dialogs after all?) - at least that's what I did on the french version of eA.

The faulty pieces of code are here:

[code] set thai_head,2;[/code]

and here:

[code] set thai_head,7;[/code]

and here:

[code] set MISC_QUEST,MISC_QUEST | 1;[/code]

This post has been edited by Brian on Dec 14, 2011 18:03

Hercules Elf Bot - Dec 28, 2011 16:42

Originally posted by [b]Jguy[/b]
The thai_head2&7 are official data there they are...

The MISC_QUEST is a bit troubling, that's supposed to be set morrison_meat,15;, so that was fixed in [rev=15292]