Issue information

Issue ID
#2702
Status
Working as Intended
Severity
None
Started
Hercules Elf Bot
Jan 23, 2009 22:09
Last Post
Hercules Elf Bot
Mar 5, 2012 9:32
Confirmation
N/A

Hercules Elf Bot - Jan 23, 2009 22:09

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

CODE
[2009-01-10 18:39:36][Warning]: npc_event: event queue of player 'John' is full, can't add event 'win2c#bingo::OnTouch' !
[2009-01-10 18:39:36][Debug]: Dumping event queue for player 'John': "21c#bingo::OnTouch" "22c#bingo::OnTouch"
[2009-01-10 18:39:57][Warning]: npc_event: event queue of player 'John' is full, can't add event 'end1c#bingo::OnTouch' !
[2009-01-10 18:39:57][Debug]: Dumping event queue for player 'John': "21c#bingo::OnTouch" "22c#bingo::OnTouch"

This is an official script. Now some script of me:

CODE
[2008-12-26 03:53:18][Warning]: npc_event: event queue of player 'John' is full, can't add event 'ScriptOnBaseLvUp::OnPCBaseLvUpEvent' !
[2008-12-26 03:53:18][Debug]: Dumping event queue for player 'John': "ScriptOnBaseLvUp::OnPCBaseLvUpEvent" "ScriptOnBaseLvUp::OnPCBaseLvUpEvent"
[2008-12-26 03:53:18][Warning]: npc_event: event queue of player 'John' is full, can't add event 'ScriptOnBaseLvUp::OnPCBaseLvUpEvent' !
[2008-12-26 03:53:18][Debug]: Dumping event queue for player 'John': "ScriptOnBaseLvUp::OnPCBaseLvUpEvent" "ScriptOnBaseLvUp::OnPCBaseLvUpEvent"
[2008-12-26 03:53:18][Warning]: npc_event: event queue of player 'John' is full, can't add event 'ScriptOnBaseLvUp::OnPCBaseLvUpEvent' !
[2008-12-26 03:53:18][Debug]: Dumping event queue for player 'John': "ScriptOnBaseLvUp::OnPCBaseLvUpEvent" "ScriptOnBaseLvUp::OnPCBaseLvUpEvent"

There're lots of the that last case I've put. In the first case, the code is in the repositories of eA (it's the official script). For the second case, this is the code:

CODE
-    script    ScriptOnBaseLvUp    -1,{
    end;

OnPCBaseLvUpEvent:
    if ((countitem(15534))&&(!getgmlevel()))
    {
        set .@id,Class;
        if (getd("$event_var_"+.@id+"$") == "")
        {
            if (rand(99) != 1) end;
            delitem 15534,countitem(15534);
            setd "$event_var_"+.@id+"$",strcharinfo(0)+" - "+gettimestr("%Y/%m/%d %H:%M:%S",21);
        }
    }
    
    end;
}

Multileveling option is disabled, so in theory it's impossible to fill the event queue fully when you level up (the case you're level 1, you kill an Anubis with a leaf, and you level up 20 levels is impossible). Something rare is happening.