Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   urgent ai help (https://postpacific.loc-online.com/showthread.php?t=6030)

hhk31257 18.10.2006 16:12

urgent ai help
 
i have this error on most C4 mobs

10/18/2006 15:34:xx.xx5, [.\Skill.cpp][796] Unregistered skill(4807-181)
10/18/2006 15:34:xx.xx6, [.\Skill.cpp][796] Unregistered skill(4807-181)
10/18/2006 15:34:xx.xx5, [.\Skill.cpp][796] Unregistered skill(4807-181)
10/18/2006 15:34:xx.xx1, [.\Skill.cpp][796] Unregistered skill(4807-181)
10/18/2006 15:34:xx.xx3, [.\Skill.cpp][796] Unregistered skill(4807-181)

as you can see, it spam's the server like hell!
and it produces xx gig log files...

and:

10/15/2006 10:37:xx.xx5, [.\PrecompiledHeaderDB.cpp][253] invalid skill_name_id[0] id[0] level[0]
10/15/2006 10:37:xx.xx5, [.\PrecompiledHeaderDB.cpp][237] invalid skill_name_id[0] id[0] level[0]
10/15/2006 10:37:xx.xx5, [.\PrecompiledHeaderDB.cpp][269] invalid skill_name_id[0] id[0] level[0]
10/15/2006 10:37:xx.xx5, [.\PrecompiledHeaderDB.cpp][287] invalid skill_name_id[0] id[0] level[0]

and:

10/15/2006 10:40:xx.xx8, [.\NPC.cpp][998] Unknown paramter type. npc[ketra_orc_legatus], var[WayPointDelays]
10/15/2006 10:40:xx.xx8, [.\NPC.cpp][998] Unknown paramter type. npc[ketra_orc_legatus], var[WayPoints]

and

10/15/2006 10:39:xx.xx5, Npc[ketra_orc_praefect] doesn't have parameter[SelfRangeDDMagic]. failed to set

please some help...
also, does anyone have a method/tool to compile/decompile retail C4 ai
thanks in advance.

kin 19.10.2006 06:27

Try to use search! There are all errors explained here!

Drag 19.10.2006 07:52

Hmmm... If You writed something... at least help a bit...
(did You use search? XD)

https://postpacific.loc-online.com/f...ead.php?t=5993 - answers :) pray to HF

hhk31257 20.10.2006 07:52

ok thanks,
but i cant find any info about this error...
its very annoying and i'm trying to fix this error for days now...
any help would be appreciated!

it only becomes activated on some mobs...
for example

i put all npc's in npcpos.txt except the mobs and i dont have this error,
when i added only 1 C4 mob (ketra_orc_praefect for example)
i get this error.. so its mob related

C3 mobs dont have this error...

Quote:

Originally Posted by hhk31257 (Post 70342)
10/18/2006 15:34:xx.xx5, [.\Skill.cpp][796] Unregistered skill(4807-181)
10/18/2006 15:34:xx.xx6, [.\Skill.cpp][796] Unregistered skill(4807-181)
10/18/2006 15:34:xx.xx5, [.\Skill.cpp][796] Unregistered skill(4807-181)
10/18/2006 15:34:xx.xx1, [.\Skill.cpp][796] Unregistered skill(4807-181)
10/18/2006 15:34:xx.xx3, [.\Skill.cpp][796] Unregistered skill(4807-181)


kin 20.10.2006 08:43

What are you using? C1 modded to C4, or original C4?

hhk31257 20.10.2006 09:26

retail C4, pp pack with different ai (cypher i think? dont remember)
there was a release from storm and with that AI i dont get this error, but ofcourse verry much other errors and eventualy server crash.

i tested several mobs, and 1 of the mobs who gives this error is ketra_orc_praefect

error
Code:

10/20/2006 10:30:xx.xx1, [.\Skill.cpp][796] Unregistered skill(4807-181)
10/20/2006 10:30:xx.xx1, [.\Skill.cpp][796] Unregistered skill(4807-181)

npcdata
Code:

npc_begin        warrior        1340        [ketra_orc_praefect]        level=84        acquire_exp_rate=xx.xx        acquire_sp=123450        unsowing=0        clan={@ketra_orc_clan}        ignore_clan_list={}        clan_help_range=300        slot_chest=[]        slot_rhand=[tallum_blade]        slot_lhand=[shield_of_ketraorc]        shield_defense_rate=20        shield_defense=1xx.xx3615        skill_list={@s_race_humanoid;@s_d2_monster;@s_npc_critical_power;@s_npc_critical_chance;@s_npc_high_level_8}        npc_ai={[ketra_orc_praefect];{[MoveAroundSocial]=110};{[MoveAroundSocial1]=54};{[MoveAroundSocial2]=110};{[FriendShip1]=@q_ketra_friendship_1};{[FriendShip2]=@q_ketra_friendship_2};{[FriendShip3]=@q_ketra_friendship_3};{[FriendShip4]=@q_ketra_friendship_4};{[FriendShip5]=@q_ketra_friendship_5};{[MaxRoarCount]=1};{[SoulShot]=100};{[SoulShotRate]=60};{[Fury]=@s_rage_might};{[PhysicalSpecial]=@s_npc_sonic_blaster9};{[DeBuff]=@s_npc_shackle5};{[DeBuff1]=@s_b_k_stone}}        category={}        race=humanoid        sex=male        undying=0        can_be_attacked=1        corpse_time=7        no_sleep_mode=0        agro_range=300        ground_high={175;0;0}        ground_low={27;0;0}        exp=2099525834        org_hp=60xx.xx158        org_hp_regen=17        org_mp=1812        org_mp_regen=3        collision_radius={12;12}        collision_height={30;30}        str=40        int=21        dex=30        wit=20        con=43        men=10        base_attack_type=sword        base_attack_range=40        base_damage_range={0;0;80;120}        base_rand_dam=30        base_physical_attack=9xx.xx544        base_critical=4        physical_hit_modify=4.75        base_attack_speed=253        base_reuse_delay=0        base_magic_attack=6xx.xx304        base_defend=3xx.xx723        base_magic_defend=2xx.xx171        physical_avoid_modify=-6        soulshot_count=0        spiritshot_count=0        hit_time_factor=0.48        item_make_list={}        corpse_make_list={}        additional_make_list={}        additional_make_multi_list={}        hp_increase=0        mp_increase=0        safe_height=100        npc_end
i added the base class of ketra_orc_praefect in the attachment.
please check it if you have some time
would help me alot :s

Ketra_orc_praefect.Ai.Txt.Zip by Bigupload.Com

kin 20.10.2006 09:47

Here is mine npcdata for this monster. There is the difference (not only your rates)
Code:

npc_begin        warrior        1340        [ketra_orc_praefect]        level=84        acquire_exp_rate=2.974607        acquire_sp=2469        unsowing=0        clan={@ketra_orc_clan}        ignore_clan_list={}        clan_help_range=300        slot_chest=[]        slot_rhand=[tallum_blade]        slot_lhand=[shield_of_ketraorc]        shield_defense_rate=20        shield_defense=1xx.xx3615        skill_list={@s_race_humanoid;@s_d2_monster;@s_npc_critical_power;@s_npc_critical_chance;@s_npc_high_level_8}        npc_ai={[ketra_orc_praefect];{[MoveAroundSocial]=110};{[MoveAroundSocial1]=54};{[MoveAroundSocial2]=110};{[FriendShip1]=@q_ketra_friendship_1};{[FriendShip2]=@q_ketra_friendship_2};{[FriendShip3]=@q_ketra_friendship_3};{[FriendShip4]=@q_ketra_friendship_4};{[FriendShip5]=@q_ketra_friendship_5};{[MaxRoarCount]=1};{[SoulShot]=100};{[SoulShotRate]=60};{[Fury]=@s_rage_might};{[SelfRangeDDMagic]=@s_npc_blazing_circle9};{[PhysicalSpecial]=@s_npc_sonic_blaster9};{[DeBuff]=@s_npc_shackle5};{[DeBuff1]=@s_b_k_stone}}        category={}        race=humanoid        sex=male        undying=0        can_be_attacked=1        corpse_time=7        no_sleep_mode=0        agro_range=300        ground_high={175;0;0}        ground_low={27;0;0}        exp=2099525834        org_hp=60xx.xx158        org_hp_regen=17        org_mp=1812        org_mp_regen=3        collision_radius={12;12}        collision_height={30;30}        str=40        int=21        dex=30        wit=20        con=43        men=10        base_attack_type=sword        base_attack_range=40        base_damage_range={0;0;80;120}        base_rand_dam=30        base_physical_attack=9xx.xx544        base_critical=4        physical_hit_modify=4.75        base_attack_speed=253        base_reuse_delay=0        base_magic_attack=6xx.xx304        base_defend=3xx.xx723        base_magic_defend=2xx.xx171        physical_avoid_modify=-6        soulshot_count=0        spiritshot_count=0        hit_time_factor=0.48        item_make_list={}        corpse_make_list={{[scrl_of_ench_am_s];1;1;0.2957};{[iron_thread];1;1;xx.xx93};{[compound_braid];1;1;xx.xx62}}        additional_make_list={}        additional_make_multi_list={{{{[adena];2975;6071;100}};70};{{{[sealed_shield_of_nightmare];1;1;0.2747};{[sealed_shield_of_nightmare_fragment];1;1;xx.xx29};{[sealed_helm_of_nightmare];1;1;0.1925};{[sealed_helm_of_nightmare_design];1;1;xx.xx87};{[sealed_magestic_circlet];1;1;0.1925};{[sealed_magestic_circlet_design];1;1;xx.xx87}};1.4324};{{{[thread];3;9;xx.xx56};{[silver_nugget];1;1;xx.xx27};{[iron_thread];1;1;9.8357};{[compound_braid];1;1;6.5571};{[thons];1;1;3.2786};{[scrl_of_ench_wp_s];1;1;0.0039};{[key_of_treasure_box8];1;1;8.1964}};xx.xx77}}        hp_increase=0        mp_increase=0        safe_height=100        npc_end
What the skill do you have in Skilldata for ID - 4807?
Here what I have there
Code:

skill_begin        skill_name = [s_raid_boss_verfa]        /* [51 level RAID boss] */        skill_id = 4807        level = 1        operate_type = P        magic_level = 1        effect = {}        skill_end

hhk31257 20.10.2006 10:13

yes that is the skill for that id.. i have that to
but i cant find this skill anywhere in the AI

i tested your npcdata and i still have the unregistered error, and also a new error
Code:

10/20/2006 12:27:xx.xx3, Npc[ketra_orc_praefect] doesn't have parameter[SelfRangeDDMagic]. failed to set
my ai is causing the problems i guess

kin 20.10.2006 10:29

Have you fixed this: https://postpacific.loc-online.com/f...16&postcount=8
I also do not have that skill in AI, but it works for me

hhk31257 20.10.2006 10:31

Quote:

Originally Posted by kin (Post 70431)

yes, and i dont get the error if i only load the npc's + the C3 area's..
its those C4 mobs who are giving the error :(

ps thx for the help so far kin! appreciated.

kin 20.10.2006 10:41

Quote:

Originally Posted by hhk31257 (Post 70432)
yes, and i dont get the error if i only load the npc's + the C3 area's..

Wait. Do you have some additional areas which you load on startup?

hhk31257 20.10.2006 10:54

well yes, i thought about that to.
what i did was spawn the ketra_orc_praefect in aden town.. and i still have this crappy unregistered skill 4807-181 error :(

kin 20.10.2006 11:03

Ok, let's check ai. Do you have the same as mine parts:
Code:

class 1 ketra_orc_praefect : warrior_ag_berserker_physicalspecial_stone
handler 10 2898        //  MY_DYING
        variable_begin
                "always_list"
                "code_info"
                "i4"
                "i9"
                "last_attacker"
                "lparty"
                "member"
                "random1_list"
                "target"
                "myself"
                "_choiceN"
                "_code"
                "_from_choice"
        variable_end

Code:

class 1 warrior_ag_berserker_physicalspecial_stone : warrior_berserker_physicalspecial_stone
handler 5 917        //  SEE_CREATURE
        variable_begin
                "creature"
                "myself"
                "_choiceN"
                "_code"
                "_from_choice"
        variable_end

Code:

class 1 warrior_berserker_physicalspecial_stone : warrior_berserker_physicalspecial
parameter_define_begin
        int DeBuff1 1155841
parameter_define_end

Code:

class 1 warrior_berserker_physicalspecial : warrior_berserker
parameter_define_begin
        int PhysicalSpecial 1032193
        int SelfRangePhysicalSpecial 1068034
        int SelfRangeDDMagic 1032449
        int DeBuff 1033473
parameter_define_end

Code:

class 1 warrior_berserker : warrior
parameter_define_begin
        int Fury 1033473
        int MaxRoarCount 1
parameter_define_end

Code:

class 1 warrior : warrior_parameter
parameter_define_begin
        float Attack_DecayRatio 6.600000
        float UseSkill_DecayRatio 660xx.xx0000
        float Attack_BoostValue 3xx.xx0000
        float UseSkill_BoostValue 1000xx.xx0000
parameter_define_end


hhk31257 20.10.2006 12:24

i compared your ai class to mine
and i had a missing parameter "int SelfRangeDDMagic 1032449" wich explains the "doesnt have parameter selfrangeddmagic", i added this parameter and this error is gone...

But still i got the unregistered skill 4807-181 error :(
its like impossible to fix this crap :s wtf

the only way to remove this error is to use the storm ai (i dont get the error with that ai)
but its bugged like hell on other parts, and no quest drops etc..
so if i dont have the error on the storm ai, then it defenatly means that its an AI bug

i also did another test:
i removed all skills on the ketra_orc_praefect and all AI settings
i set the ai to karik and removed all the drops and weapons that the mob was holding..
and i STILL got the error ...
the only thing that defined the mob was its name and npcid...

FidoW 20.10.2006 12:36

Quote:

Originally Posted by hhk31257 (Post 70440)
i compared your ai class to mine
and i had a missing parameter "int SelfRangeDDMagic 1032449" wich explains the "doesnt have parameter selfrangeddmagic", i added this parameter and this error is gone...

But still i got the unregistered skill 4807-181 error :(
its like impossible to fix this crap :s wtf

the only way to remove this error is to use the storm ai (i dont get the error with that ai)
but its bugged like hell on other parts, and no quest drops etc..
so if i dont have the error on the storm ai, then it defenatly means that its an AI bug

i also did another test:
i removed all skills on the ketra_orc_praefect and all AI settings
i set the ai to karik and removed all the drops and weapons that the mob was holding..
and i STILL got the error ...
the only thing that defined the mob was its name and npcid...

Where is the "storm AI" ?

hhk31257 20.10.2006 13:46

https://postpacific.loc-online.com/f...ighlight=storm

hhk31257 20.10.2006 13:58

dont bother tho.. it gives 10000 errors
only not the unregistered skill 4807-181 ofcourse...

if you "really" want it, i could upload it for you...

mastery 21.10.2006 08:45

can u uplaod your current ai pls? coz im using storm's one.. and i have probs with quest drops..

SoaPy 21.10.2006 16:02

in AI search "1230773", thats your problem i guess.


All times are GMT. The time now is 15:49.