Post Pacific

Post Pacific (https://postpacific.mmorpg-game.online/index.php)
-   Темы без сохранившегося раздела (https://postpacific.mmorpg-game.online/forumdisplay.php?f=10001)
-   -   privates @ some npcs.. (https://postpacific.mmorpg-game.online/showthread.php?t=1395)

rodier 08.08.2005 04:24

privates @ some npcs..
 
when npcpos loading Im getting error about few npcs..
npc ... doesn't have parameter [Privates]. Failed to set.

I tried to make it like this.. but that dont help :(

Code:

class lost_cat_the_cat_a : warrior_passive
parameter_define_begin
        string Privates "orc:party_private:1:20sec"
parameter_define_end
handler 13        //  CREATED
        variable_begin
                "myself"
                "_choiceN"
                "_code"
                "_from_choice"
        variable_end

        push_event        //  myself
        push_const 28
        add
        fetch_i        //  sm
        push_const 2400
        add
        fetch_i        //  weight_point
        push_const 1624
        add
        push_reg_sp
        fetch_i
        push_const 10
        assign
        shift_sp -1
        shift_sp 1
        push_parameter Privates
        func_call 165        //  func[CreatePrivates]
        shift_sp -1
        shift_sp -1
        call_super
handler_end
class_end

How to make that class empty without that Privates error?
Or can anybody post ai.obj with your monsters? its about the new ricenseo, trives, kurikups...etc

thanks

demon 08.08.2005 06:11

put npc_ai karik :p

RmzVoid 08.08.2005 09:56

karik sux

you need look in ai.obj for "class party_leader" and find proper class for mob.

class lost_cat_the_cat_a : party_leader
class_end


you can also look to dread_avenger_kraven ai

rodier 11.08.2005 20:42

ok thanks I try it

rodier 11.08.2005 21:08

hmm when I set party_leader no more privates error .. but if I not delete from npcdata ai section casting s_ hold magic 6 .. I get error with can't set holdmagic parameter..
Please can anybody here post full working ricenseo and trives npcdata +ai.obj data? I want full working npc casting hold magic ;-( .. even fi I paste from clean C1 npcdata .. im getting in C3 this error..I think c3 .exe need more code about hold magic to that class in ai.obj?


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