Issue information

Issue ID
#3292
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Jun 26, 2009 18:13
Last Post
Hercules Elf Bot
Mar 5, 2012 14:14
Confirmation
N/A

Hercules Elf Bot - Jun 26, 2009 18:13

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

In events/nguild/nguild_treas.txt the script calls a missing function for the switch to get out of the chests room:

CODE
// Treasure Room Switch --------------------
nguild_alde,123,223,0    script    Switch#TresN01    111,{
    callfunc "F_GldTreasSw", "nguild_alde",218,176;
    end;
}


CODE
// Treasure Room Switch ---------------------------------------------------
nguild_pay,295,8,0    script    Switch#TresN03    111,{
    callfunc "F_GldTreasSw", "nguild_pay",120,59;
    end;
}


and so on.

This function doesn't exist and must be added:

CODE
function    script    F_GldTreasSw    {
    mes " ";
    mes "There's a small lever. Will you pull it? ";
    next;
    if(select("Pull.:Do not.") == 2) close;
    warp getarg(0),getarg(1),getarg(2);
    end;
}