Issue information

Issue ID
#649
Status
Working as Intended
Severity
None
Started
Hercules Elf Bot
Dec 19, 2007 5:35
Last Post
Hercules Elf Bot
Dec 19, 2007 5:35
Confirmation
N/A

Hercules Elf Bot - Dec 19, 2007 5:35

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

okay i know that you actualy cant config anything in /conf/script.conf
i have readen about the changes in the event labels

events as an npc name dont work anymore, thats fine, i never used npc name as an label ^^
so, but the problem is, all the other event things like OnPCDieEvent, and else works fine... only OnPCKillEvent dosnt

CODE
-    script    testtest    -1,{

OnPCKillEvent:
    debugmes"test";
    end;
}


that is the test npc i have made after i found out that my normal killevent npc dosnt worked...

so there isnt anything i have made wrong or maybe?
for me, it looks like it is a bug, so i report it (hope it is and iam not to stupid to made it wrong)

it is importand for me to use this killevent becouse of scripts like this >
CODE
-    script    killevent    111,{

//------------------
//    Setup
//------------------
OnInit:
    set $@monsterid_01,1049;        //1049 ist die ID von Picky
    set $@monstername_01$,Picky;        //Der Name des Monsters wie er angezeigt werden soll
    set $@monsterlimit_01,30;        //Einstellung wieviele gejagt werden müssen
    set $@monsterhuntmap_01$,prontera;    //prontera ist die stadt wo man die pickys killen soll (geht auch geffen usw)

//------------------

OnPCKillEvent:
    getmapxy @monkillmap$,$@x,$@y,0;


    if (@monkillmap$ == $@monsterhuntmap_01$)
    {
        if ((killedrid == $@monsterid_01)        
        {
            if (q_start_mon_01 == 1)
            {
                if ((mon_01_killed == $@monsterlimit_01){ end; }
                set mon_01_killed,mon_01_killed+1;

                if (mon_01_killed == 1)
                {
                    dispbottom "Du hast "+mon_01_killed+" "+$@monstername_01$+" besiegt;
                    end;
                }

                if ((mon_01_killed > 1) && (mon_01_killed <= $@monsterlimit_01))
                {
                    dispbottom "Du hast "+mon_01_killed+" "+$@monstername_01$+"'s besiegt;
                    end;
                }
                end;
            }
        }
    }
}


thanks
Filgaja

This post has been edited by Filgaja: Dec 18 2007, 09:36 PM