Issue information

Issue ID
#5293
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Feb 6, 2012 2:50
Last Post
Hercules Elf Bot
Apr 18, 2012 9:27
Confirmation
Yes (3)
No (0)

Hercules Elf Bot - Feb 6, 2012 2:50

Originally posted by [b]Poseid0n[/b]
Hello everybody,

In npc/jobs/3-1/mechanic.txt

It's impossible to reach the text when a player clic on the npc "Door" because the first instruction is [b]Disablenpc "Door"[/b].

[CODE]
jupe_core2,288,142,3 script Door 844,{

OnInit:
disablenpc "Door";
end;
...
[/CODE]

to make it work, you must put a label.

[CODE]
jupe_core2,288,142,3 script Door 844,{
goto OnText;
end;

OnInit:
disablenpc "Door";
end;
OnDoorClose:
disablenpc "Door";
end;
OnDoorOpen:
enablenpc "Door";
specialeffect EF_MAPPILLAR;
initnpctimer;
end;
OnTimer180000:
donpcevent "Door::OnDoorClose";
end;
OnText:
mes "-Once again a voice rings out-";
mes "-in my head. This time it is-";
...
[/CODE]

Poseidon

Hercules Elf Bot - Apr 5, 2012 17:58

Originally posted by [b]Vali[/b]
Confirmed. Also that fix works well.

Vali~

Hercules Elf Bot - Apr 7, 2012 2:25

Originally posted by [b]Traxis[/b]
Edited: Ok, it seems I missed one step from the quest :P
Now it works with that fix. Thanks a lot Poseid0n.

This post has been edited by Traxis on Apr 7, 2012 2:46

Hercules Elf Bot - Apr 8, 2012 11:54

Originally posted by [b]JayPee[/b]
Fixed in [rev=15834].

This post has been edited by Kenpachi on Apr 18, 2012 9:27