Post Pacific  

Go Back   Post Pacific > Lineage 2 > Lineage 2 Help

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 04.02.2007, 06:17   #1
TehUb3r
Архивный участник
 
Join Date: Feb 2007
Posts: 26
Default [help]l2npc error

hey guys,
i havnent seen anyone with that error ,
any help would do,

when l2npc is fully loaded after few minutes its start spaming these lines
over and over again:

ecompiledHeaderDB.cpp][269] invalid skill_name_id[-1] id[-1] level[255]
02/04/2007 05:30:xx.xx0, [.\PrecompiledHeaderDB.cpp][287] invalid skill_name_id[-1] id[-1] level[255]
02/04/2007 05:31:xx.xx3, [.\PrecompiledHeaderDB.cpp][269] invalid skill_name_id[-1] id[-1] level[255]
02/04/2007 05:31:xx.xx3, [.\PrecompiledHeaderDB.cpp][287] invalid skill_name_id[-1] id[-1] level[255]
02/04/2007 05:32:xx.xx9, [.\Pr

i have searched all the forum for the cure but none found
thanks in advance
TehUb3r is offline  
Old 04.02.2007, 06:22   #2
TehUb3r
Архивный участник
 
Join Date: Feb 2007
Posts: 26
Default

oops sorry for posting here i was sure im in the help section :|
please move post , sorry.
TehUb3r is offline  
Old 04.02.2007, 06:38   #3
paul
Архивный участник
 
Join Date: Feb 2005
Posts: 390
Default

*grumbles*
paul is offline  
Old 06.02.2007, 08:24   #4
TehUb3r
Архивный участник
 
Join Date: Feb 2007
Posts: 26
Default

re-Asking for help still cant figure it out thx
TehUb3r is offline  
Old 06.02.2007, 09:53   #5
YakudZe
Архивный участник
 
Join Date: Dec 2006
Posts: 205
Default

Правится след образом:

В АИ поменять вот это

class 1 niniel_spirits_wiz : raid_wizard
class_end

class 1 niniel_spirits_heal : raid_healer
class_end


на вот это

class 1 niniel_spirits_wiz : raid_fighter
class_end


class 1 niniel_spirits_heal : raid_zzoldagu
class_end
YakudZe is offline  
Old 07.02.2007, 20:07   #6
TehUb3r
Архивный участник
 
Join Date: Feb 2007
Posts: 26
Default

thx for replying although i dont understand russian,
anyways what i figured out you are trying to say
is replacing the lines you wrote above with the lines your wrote
at the bottom of your post , well i did that and still get same error
Pls someone help this error is spaming every 5 sec i cant stand it
TehUb3r is offline  
Old 08.02.2007, 00:41   #7
astrid
Архивный участник
 
Join Date: May 2006
Posts: 55
Default

it is raid boss/raid privates skills issue.

in most case (on my server) it about raid privates with raid_archer AI
most of them LongRangePhysicalSpecial_a skill not defined in npc_data so default skill_id -1 used.
Code:
class raid_archer : raid_private_standard
{
parameter:
	int	LongRangePhysicalSpecial_a = -1;
...
just add some boss_stun_shot or boss_power_shot skills to them in npcdata
astrid is offline  
Old 08.02.2007, 01:07   #8
FidoW
Архивный участник
 
Join Date: Sep 2005
Posts: 1,014
Default

Quote:
Originally Posted by astrid View Post
it is raid boss/raid privates skills issue.

in most case (on my server) it about raid privates with raid_archer AI
most of them LongRangePhysicalSpecial_a skill not defined in npc_data so default skill_id -1 used.
Code:
class raid_archer : raid_private_standard
{
parameter:
	int	LongRangePhysicalSpecial_a = -1;
...
just add some boss_stun_shot or boss_power_shot skills to them in npcdata
Or modify default value in AI...
FidoW is offline  
Old 08.02.2007, 05:17   #9
HF
Архивный участник
 
Join Date: Aug 2005
Posts: 1,531
Default

Quote:
Originally Posted by astrid View Post
it is raid boss/raid privates skills issue.

in most case (on my server) it about raid privates with raid_archer AI
most of them LongRangePhysicalSpecial_a skill not defined in npc_data so default skill_id -1 used.
Code:
class raid_archer : raid_private_standard
{
parameter:
	int	LongRangePhysicalSpecial_a = -1;
...
just add some boss_stun_shot or boss_power_shot skills to them in npcdata
I have this skills and i checked AI and npcdata with npcaichk tool. No this error. But -1 error have on server. Have idea?
HF is offline  
Old 08.02.2007, 08:33   #10
astrid
Архивный участник
 
Join Date: May 2006
Posts: 55
Default

Quote:
I have this skills and i checked AI and npcdata with npcaichk tool
what kind of tool? selfwritten or public?

BTW after adding LongRangePhysicalSpecial_a to all raid_archer raid privates error [-1] skill disappeared and i dont have this error for more than 45 days. and raid archers act more natural making stunshots etc
astrid is offline  
Old 08.02.2007, 14:09   #11
TehUb3r
Архивный участник
 
Join Date: Feb 2007
Posts: 26
Default

thanks guys ,
you managed to pin point teh problem ,
i was checking if thats same as my problem by editing AI.obj

class raid_archer : raid_private_standard
{
parameter:
int LongRangePhysicalSpecial_a = -1;
...
...
...
}

replaced that -1 value with some stun shot skill id ,
and the results........damn clean npc server
at first i thought it got stuck or something
but then i realized thats how a working npc server should look like
error spam free!!!

thanks x1000
should add this error and solution into hf error thread
TehUb3r is offline  
Old 15.02.2007, 12:10   #12
TehUb3r
Архивный участник
 
Join Date: Feb 2007
Posts: 26
Default

k , i did what you told me to do delete blocks 1004 timer in party_private
and private wizard... and delete // party died handler i tried also many other things..........and still have this:

Code:
02/15/2007 13:17:xx.xx4, [.\NPC.cpp][6513] Invalid Despawn() called count[2], npc[corrupted_knight]
02/15/2007 13:17:xx.xx0, [.\NPC.cpp][6513] Invalid Despawn() called count[2], npc[reanimated_guard]
02/15/2007 13:17:xx.xx0, [.\NPC.cpp][6513] Invalid Despawn() called count[2], npc[reanimated_guard]
02/15/2007 13:17:xx.xx0, [.\NPC.cpp][6513] Invalid Despawn() called count[2], npc[reanimated_guard]
02/15/2007 13:17:xx.xx0, [.\NPC.cpp][6513] Invalid Despawn() called count[2], npc[reanimated_knight]
02/15/2007 13:17:xx.xx5, [.\NPC.cpp][6513] Invalid Despawn() called count[2], npc[reanimated_guard]
02/15/2007 13:17:xx.xx5, [.\NPC.cpp][6513] Invalid Despawn() called count[2], npc[corrupted_guard]
02/15/2007 13:17:xx.xx2, [.\NPC.cpp][6513] Invalid Despawn() called count[2], npc[reanimated_guard]
02/15/2007 13:17:xx.xx0, [.\NPC.cpp][6513] Invalid Despawn() called count[2], npc[reanimated_guard_a]
02/15/2007 13:17:xx.xx0, [.\NPC.cpp][6513] Invalid Despawn() called count[2], npc[corrupted_guard_a]
02/15/2007 13:17:xx.xx1, [.\NPC.cpp][6513] Invalid Despawn() called count[2], npc[corrupted_guard]
02/15/2007 13:17:xx.xx0, [.\NPC.cpp][6513] Invalid Despawn() called count[2], npc[reanimated_guard_a]
02/15/2007 13:17:xx.xx2, [.\NPC.cpp][6513] Invalid Despawn() called count[2], npc[reanimated_guard]
02/15/2007 13:17:xx.xx2, [.\NPC.cpp][6513] Invalid Despawn() called count[2], npc[reanimated_guard_a]
02/15/2007 13:17:xx.xx5, [.\NPC.cpp][6513] Invalid Despawn() called count[2], npc[reanimated_guard_a]
02/15/2007 13:17:xx.xx5, [.\NPC.cpp][6513] Invalid Despawn() called count[2], npc[corrupted_guard_a]
02/15/2007 13:17:xx.xx5, [.\NPC.cpp][6513] Invalid Despawn() called count[2], npc[reanimated_knight]
02/15/2007 13:17:xx.xx8, [.\NPC.cpp][6513] Invalid Despawn() called count[2], npc[corrupted_knight]
02/15/2007 13:17:xx.xx9, [.\NPC.cpp][6513] Invalid Despawn() called count[2], npc[reanimated_guard]
02/15/2007 13:17:xx.xx5, [.\NPC.cpp][6513] Invalid Despawn() called count[2], npc[corrupted_guard]
02/15/2007 13:17:xx.xx3, [.\NPC.cpp][6513] Invalid Despawn() called count[2], npc[reanimated_guard]
02/15/2007 13:17:xx.xx8, [.\NPC.cpp][6513] Invalid Despawn() called count[2], npc[corrupted_guard_a]
02/15/2007 13:17:xx.xx7, [.\NPC.cpp][6513] Invalid Despawn() called count[2], npc[corrupted_knight]
02/15/2007 13:17:xx.xx0, [.\NPC.cpp][6513] Invalid Despawn() called count[2], npc[reanimated_guard_a]
02/15/2007 13:54:xx.xx8, [.\NPC.cpp][6513] Invalid Despawn() called count[2], npc[conq_barons_triggerbox]
02/15/2007 13:54:xx.xx8, [.\NPC.cpp][6513] Invalid Despawn() called count[2], npc[lords_barons_triggerbox]
02/15/2007 13:54:xx.xx8, [.\NPC.cpp][6513] Invalid Despawn() called count[2], npc[mag_barons_triggerbox]
02/15/2007 13:54:xx.xx8, [.\NPC.cpp][6513] Invalid Despawn() called count[2], npc[sav_barons_triggerbox]
02/15/2007 13:54:xx.xx8, [.\NPC.cpp][6513] Invalid Despawn() called count[3], npc[mag_barons_triggerbox]
02/15/2007 13:54:xx.xx8, [.\NPC.cpp][6513] Invalid Despawn() called count[3], npc[sav_barons_triggerbox]
:.(

any other suggestion?
TehUb3r is offline  
Old 15.02.2007, 13:17   #13
HF
Архивный участник
 
Join Date: Aug 2005
Posts: 1,531
Default

Quote:
Originally Posted by TehUb3r View Post
k , i did what you told me to do delete blocks 1004 timer in party_private
and private wizard... and delete // party died handler i tried also many other things..........and still have this:

:.(

any other suggestion?
something wrong in fix Attach full code here, i'll check
HF is offline  
Old 15.02.2007, 21:44   #14
TehUb3r
Архивный участник
 
Join Date: Feb 2007
Posts: 26
Default

THanks HF,
dont know how to thank you for your great effort doing this
im realy going insane...i have tried so many things:
i'll explain the symptomes in more detail:
1.when l2npc is fuly loaded evrything is fine
2.no one have to be connected to server and the errors will still pop up
3.the errors are starting about 1-2 hours after l2npc is fully loaded
4.i will attach AI.obj before and after trying to fix this , both in same zip


http://files.filefront.com/AIrar/;67.../fileinfo.html
TehUb3r is offline  
Old 08.02.2007, 17:05   #15
HF
Архивный участник
 
Join Date: Aug 2005
Posts: 1,531
Default

Quote:
Originally Posted by astrid View Post
what kind of tool? selfwritten or public?

BTW after adding LongRangePhysicalSpecial_a to all raid_archer raid privates error [-1] skill disappeared and i dont have this error for more than 45 days. and raid archers act more natural making stunshots etc
kind? Good tool, check npcdata params and existing this in ai. I do today this module for my tool too. Same results.
One idea - you have bad Ai.obj. Maybe to you help this fix (from YakudZe).

But.. i have hand and brain, but i cant check all npc who have not param in npcdata but have -1 in ai class. If you can find it - write here.
But.. if you change -1 to skillnumber but you made error too. Each npc have different skills for "LongRangePhysicalSpecial_a".

Huh... I think what need write reverse check from ai.obj to npcdata... But it no good way.
HF is offline  
Old 08.02.2007, 17:30   #16
HF
Архивный участник
 
Join Date: Aug 2005
Posts: 1,531
Default

fuck... bug found and fixed. Get brain and hand and...

open ai.obj and npcdata
find in ai.obj ".... : raid_archer"
and check this npc in npcdata for exist this param. This all...

But one problem. This skill no one... have "power_shot.." have "stun_shot" and different skill_level. What need to set in each npc and no will do error?
HF is offline  
Old 08.02.2007, 20:06   #17
TehUb3r
Архивный участник
 
Join Date: Feb 2007
Posts: 26
Default

Quote:
Originally Posted by HF View Post
fuck... bug found and fixed. Get brain and hand and...

open ai.obj and npcdata
find in ai.obj ".... : raid_archer"
and check this npc in npcdata for exist this param. This all...

But one problem. This skill no one... have "power_shot.." have "stun_shot" and different skill_level. What need to set in each npc and no will do error?
i was checking npcdata and it looks like all npcs have this param :|
just changed the default parameter in ai.obj from -1 to something else
:P
TehUb3r is offline  
Old 31.05.2007, 09:34   #18
andreykst
Архивный участник
 
Join Date: Dec 2005
Posts: 5
Default

Quote:
Originally Posted by HF View Post
fuck... bug found and fixed. Get brain and hand and...

open ai.obj and npcdata
find in ai.obj ".... : raid_archer"
and check this npc in npcdata for exist this param. This all...

But one problem. This skill no one... have "power_shot.." have "stun_shot" and different skill_level. What need to set in each npc and no will do error?
Mob level + decompiled client data.
andreykst is offline  
Old 31.05.2007, 09:36   #19
HF
Архивный участник
 
Join Date: Aug 2005
Posts: 1,531
Default

Quote:
Originally Posted by andreykst View Post
Mob level + decompiled client data.
what a "client data" you mean?
HF is offline  
Old 09.02.2007, 02:20   #20
TehUb3r
Архивный участник
 
Join Date: Feb 2007
Posts: 26
Default

i did re search the npcdata.txt in those are my findings if anyone will encounter this error so u might first wanna check those lines
this list of mobs:

for hekatons_scout
for shadow_knight_d_arc
redeye_bowman
enmity_archer
kabed_archer
gwindorr_s_guard

was missing something like this paramater:

Code:
npc_ai={[redeye_bowman];{[LongRangePhysicalSpecial_a]=@s_power_shot_boss_a_2a_4}}
all they had was this:
Code:
npc_ai={[redeye_bowman]}
TehUb3r is offline  
Old 09.02.2007, 04:46   #21
HF
Архивный участник
 
Join Date: Aug 2005
Posts: 1,531
Default

Quote:
Originally Posted by TehUb3r View Post
i did re search the npcdata.txt in those are my findings if anyone will encounter this error so u might first wanna check those lines
this list of mobs:

for hekatons_scout
for shadow_knight_d_arc
redeye_bowman
enmity_archer
kabed_archer
gwindorr_s_guard

was missing something like this paramater:

Code:
npc_ai={[redeye_bowman];{[LongRangePhysicalSpecial_a]=@s_power_shot_boss_a_2a_4}}
all they had was this:
Code:
npc_ai={[redeye_bowman]}
no all mobs you are found
npc_begin zzoldagu 10300 [hekatons_scout] level=79
npc_begin zzoldagu 10344 [shadow_knight_d_arc] level=80
npc_begin zzoldagu 10364 [sharuks_sniper] level=22
npc_begin zzoldagu 10389 [redeye_bowman] level=34
npc_begin zzoldagu 10413 [necrosentinel_archer] level=46
npc_begin zzoldagu 10446 [enmity_archer] level=64
npc_begin zzoldagu 10477 [kabed_archer] level=54
npc_begin zzoldagu 10491 [gwindorr_s_guard] level=39

Need set correct skill.
astrid, how you find good skill for each mob? (where stun, where power, where 2_... where 4_... ?
HF is offline  
Old 09.02.2007, 06:09   #22
TehUb3r
Архивный участник
 
Join Date: Feb 2007
Posts: 26
Default

i have changed each raid archer mob skill
by taking other similar raid archer that have a skill on the npcdata
dont know which exact skill the mob should have :s
also looking for more details on the despawn() errors im not a pro like you astrid
TehUb3r is offline  
Old 12.03.2007, 05:34   #23
Jonny
Архивный участник
 
Join Date: Mar 2007
Posts: 13
Default

Quote:
Originally Posted by HF View Post
no all mobs you are found
npc_begin zzoldagu 10364 [sharuks_sniper] level=22
npc_begin zzoldagu 10491 [gwindorr_s_guard] level=39
And etc... This mob not archer - is spearman...
Jonny is offline  
Old 08.02.2007, 14:31   #24
YakudZe
Архивный участник
 
Join Date: Dec 2006
Posts: 205
Default

OLD>>
class 1 niniel_spirits_wiz : raid_wizard
class_end

class 1 niniel_spirits_heal : raid_healer
class_end


NEW>>

class 1 niniel_spirits_wiz : raid_fighter
class_end


class 1 niniel_spirits_heal : raid_zzoldagu
class_end


OLD change to NEW
YakudZe is offline  
Old 08.02.2007, 15:58   #25
TehUb3r
Архивный участник
 
Join Date: Feb 2007
Posts: 26
Default

Quote:
Originally Posted by YakudZe View Post
OLD>>
class 1 niniel_spirits_wiz : raid_wizard
class_end

class 1 niniel_spirits_heal : raid_healer
class_end


NEW>>

class 1 niniel_spirits_wiz : raid_fighter
class_end


class 1 niniel_spirits_heal : raid_zzoldagu
class_end


OLD change to NEW

yeah i did try that thanks for the advice but it didnt work
although what the other guys suggested on this thread did work

but as we speak i see new error msgs yet unsolved in forum ,
saw few posts about it but no real solution
so maybe some one can help me with that as well:

PC.cpp][6513] Invalid Despawn() called count[2], npc[corrupted_guard]
02/08/2007 17:09:xx.xx5, [.\NPC.cpp][6513] Invalid Despawn() called count[2], npc[corrupted_guard_a]
02/08/2007 17:09:xx.xx5, [.\NPC.cpp][6513] Invalid Despawn() called count[2], npc[corrupted_knight]
02/08/2007 17:09:xx.xx2, [.\NPC.cpp][6513] Invalid Despawn() called count[2], npc[corrupted_knight]
02/08/2007 17:09:xx.xx2, [.\NPC.cpp][6513] Invalid Despawn() called count[2], npc[reanimated_knight]
02/08/2007 17:09:xx.xx9, [.\NPC.cpp][6513] Invalid Despawn() called count[2], npc[corrupted_guard]

i get many more of this kind now :| any suggestions?
thx for everyone taking your time looking at this , love u all
TehUb3r is offline  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 20:48.