Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 27.03.2006, 11:00   #1
midnight
Архивный участник
 
Join Date: Jun 2005
Posts: 199
Default Mobs skills

Hi, we're trying implementing new skills for the monsters, but when adding, it says the skill is wrong.
npcdata
Code:
npc_ai={[marsh_zombie];{[DDMagic]=@s_blood_sucking_for_slow1}}
ai.obj
Code:
class marsh_zombie : warrior_passive_casting_ddmagic
parameter_define_begin
   int DDMagic 1024513
parameter_define_end
class_end
npc_pch
Code:
 [s_blood_sucking1] = 1024513
When testing, an error occurs in l2server if the monster wants to use the skill.
what i'm doing wrong?
Another doubt, why some monsters haven't set magic in the ai and can cast only having warrior_passive_casting_ddmagic class? can i configure skills without editing ai?
midnight is offline  
Old 27.03.2006, 15:01   #2
Osito2Dancer
Архивный участник
 
Join Date: Mar 2005
Posts: 442
Default

... maybe the SKILL's NAME IS WRONG?

on NPCDATA: s_blood_sucking_for_slow1
on skilldata - PCH: s_blood_sucking

And, if you have already defined the skill on AI.obj, there's no need to declare it again on NPCDATA, unless it's another skill level or such.

That MIGHT be the problem... xD.

Oso
Osito2Dancer is offline  
Old 27.03.2006, 16:51   #3
midnight
Архивный участник
 
Join Date: Jun 2005
Posts: 199
Default

Thx osito
I've changed the id that before was wrong, but still gives error the l2server : 03/27/2006 18:32:xx.xx3, [Skill.cpp][554] Unregistered skill(166-115).
I've tried putting a skill I know it works, and a similar error occurs.
midnight is offline  
Old 27.03.2006, 17:57   #4
Osito2Dancer
Архивный участник
 
Join Date: Mar 2005
Posts: 442
Default

Unregistered skill(166-115) = Unregistered skill(skill_id - skill_lvl)

Check that error.

Oso
Osito2Dancer is offline  
Old 27.03.2006, 18:50   #5
midnight
Архивный участник
 
Join Date: Jun 2005
Posts: 199
Default

[s_blood_sucking_for_slow1] = 1042481

skill_begin skill_name = [s_blood_sucking_for_slow1] /* [HP Absorb Slow] */ skill_id = 4248 level = 1 operate_type = A2 magic_level = 20 effect = {{i_hp_drain;18;20}} operate_cond = {} is_magic = 1 mp_consume2 = 40 cast_range = 400 effective_range = 600 skill_hit_time = 7 skill_cool_time = 1 skill_hit_cancel_time = 0.5 reuse_delay = 5 activate_rate = -1 lv_bonus_rate = 0 basic_property = none abnormal_time = 3600 abnormal_lv = 1 abnormal_type = pa_up_special attribute = attr_none effect_point = 100 target_type = enemy affect_scope = single next_action = none skill_end
midnight is offline  
Old 30.06.2006, 02:30   #6
rodier
Архивный участник
 
Join Date: May 2005
Posts: 979
Default

hmm anyone know smoething about "Unregistered skill(166-115)" messages?

of course 166-115 is false ID and false Level.. its nothing about reall skilldata or skillacquire....... so how to stop this message? how to repair it? howto find it who is source of this error?
rodier is offline  
Old 30.06.2006, 02:54   #7
RipperX
Архивный участник
 
Join Date: Dec 2005
Posts: 242
Default

Quote:
Originally Posted by rodier
hmm anyone know smoething about "Unregistered skill(166-115)" messages?

of course 166-115 is false ID and false Level.. its nothing about reall skilldata or skillacquire....... so how to stop this message? how to repair it? howto find it who is source of this error?
check your user_skill table. (lin2world)
RipperX is offline  
 


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:57.