Post Pacific

Post Pacific (https://postpacific.mmorpg-game.online/index.php)
-   Lineage 2 Server Modifications ONLY! (https://postpacific.mmorpg-game.online/forumdisplay.php?f=28)
-   -   [Fix] OwnItemCount(c=null) (https://postpacific.mmorpg-game.online/showthread.php?t=7388)

GMan 18.04.2007 21:12

[Fix] OwnItemCount(c=null)
 
Well i finally found some time to fix some of these stupid NPC server errors.

My first fix is for the annoying OwnItemCount spamming error

Thanks to sys[antaris] post in my original topic about this, for the code

I have went through and "fixed" all the AI's that where messed up with the Quest 402 (Path to human Knight)

I put "fixed" in quotes because, I am not sure if the items i check are the right ones, I'm pretty sure they are, and I'm running this on my server, so i trust it :). Also because, you should always check other peoples work befor putting it on your server.

Any way, hope this works for everyone, and let me know if there are any issues with it.


research topic: https://postpacific.mmorpg-game.onli...ead.php?t=5995

Вложения из исходного сообщения (сами файлы в копии отсутствуют):
OwnItemCount_patch.zip — 17874 байт

HF 19.04.2007 06:45

Fix for [undead_priest] required too :)

YakudZe 28.04.2007 15:25

Human Many Thanks! ! !

droptable 02.05.2007 08:53

Many Thanks !

Aspire 06.05.2007 07:32

Quote:

Originally Posted by HF (Post 84229)
Fix for [undead_priest] required too :)

Code:

        push_event        //  target
        push_const 96
        add
        push_reg_sp
        fetch_i
        push_event        //  last_attacker
        push_const 656
        add
        fetch_i
        assign
        shift_sp -1
        push_event        //  myself
        push_const 704
        add
        fetch_i
        push_event        //  target
        push_const 96
        add
        fetch_i
        push_const 1170
        func_call 184680579        //  func[OwnItemCount]
        shift_sp -2
        push_const 1
        equal
        push_reg_sp
        fetch_i
        branch_false L118403
L118402

pako_the_cat

Code:

        push_event        //  target
        push_const 96
        add
        push_reg_sp
        fetch_i
        push_event        //  last_attacker
        push_const 656
        add
        fetch_i
        assign
        shift_sp -1
        push_event        //  myself
        push_const 704
        add
        fetch_i
        push_event        //  target
        push_const 96
        add
        fetch_i
        push_const 3361
        func_call 184680579        //  func[OwnItemCount]
        shift_sp -2
        push_const 1
        equal
        push_reg_sp
        fetch_i
        branch_false L119723
L119722



All times are GMT. The time now is 21:45.