Post Pacific  

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

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 12.09.2006, 11:35   #1
kin
Архивный участник
 
Join Date: Sep 2006
Posts: 882
Default Problem with NPC service. I did something (+)

don't remember what, but now in NPC screen I see the errors. Here an example:
Npc[requiem_priest] doesn't have parameter [DDMagic2]. Failed to set
Where is this error? Which file should be edited?
kin is offline  
Old 12.09.2006, 14:40   #2
SoaPy
Архивный участник
 
Join Date: Feb 2005
Posts: 705
Default

"Lineage 2 Server Modifications ONLY! Basically if IT isn't a MOD or a Tutorial do not even think about starting a thread here."

pd : fix DDMagic2 parameter
SoaPy is offline  
Old 12.09.2006, 15:03   #3
kin
Архивный участник
 
Join Date: Sep 2006
Posts: 882
Default

Where that parameter located?

If this topik not related to server modifications, can someone just move it to another location please
kin is offline  
Old 12.09.2006, 18:27   #4
hel
Архивный участник
 
Join Date: Apr 2006
Posts: 729
Default

Quote:
Originally Posted by kin View Post
Where that parameter located?
Ai.obj.
Look in class, where it bugged.
But I really don't know how to fix it.
hel is offline  
Old 14.09.2006, 14:52   #5
kin
Архивный участник
 
Join Date: Sep 2006
Posts: 882
Default

So, more widly. I found this line in Npcdata.txt
Code:
npc_begin	warrior	1599	[requiem_priest]	level=71	acquire_exp_rate=20xx.xx76	acquire_sp=1023200	unsowing=0	clan={@necro_clan}	ignore_clan_list={}	clan_help_range=300	slot_chest=[]	slot_rhand=[bone_staff]	slot_lhand=[]	shield_defense_rate=0	shield_defense=0	skill_list={@s_race_humanoid;@s_npc_high_level_2}	npc_ai={[requiem_priest];{[MoveAroundSocial]=140};{[MoveAroundSocial1]=140};{[MoveAroundSocial2]=140};{[Privates]=[requiem_behemoth_3:requiem_behemoth_3:1:0sec;requiem_behemoth_4:requiem_behemoth_4:1:0sec]};{[ClearCorpse]=@s_npc_corpse_remove};{[SummonPrivate]=@restless_rebel};{[SummonPrivateAI]=[restless_rebel]};{[W_LongRangeDDMagic]=@s_npc_hydro_blast_magic_only7};{[W_ShortRangeDDMagic]=@s_npc_fire_burn_magic_only7};{[DDMagic1]=@s_npc_death_link7};{[DDMagic2]=@s_npc_corpse_burst7}}	category={}	race=humanoid	sex=male	undying=0	can_be_attacked=1	corpse_time=7	no_sleep_mode=0	agro_range=300	ground_high={185;0;0}	ground_low={19;0;0}	exp=474207984	org_hp=24xx.xx7	org_hp_regen=8.5	org_mp=1377.8	org_mp_regen=3	......
And this in Skilldata.txt
Code:
skill_begin	skill_name = [s_npc_corpse_burst7]	/* [NPC AE - Corpse Burst] */	skill_id = 4138	level = 7	operate_type = A1	magic_level = 70	effect = {{i_consume_body};{i_m_attack;51}}	operate_cond = {{consume_body}}	is_magic = 1	mp_consume1 = 20	mp_consume2 = 78	cast_range = 900	effective_range = 1400	skill_hit_time = 4	skill_cool_time = 0	skill_hit_cancel_time = 0.5	reuse_delay = 8	attribute = attr_fire	effect_point = -100	target_type = npc_body	affect_scope = range	affect_range = 200	affect_object = not_friend	affect_limit = {0;0}	next_action = none	ride_state = {@ride_none;@ride_wind;@ride_star;@ride_twilight}	skill_end
So, everything looks fine, but still errors
kin is offline  
Old 14.09.2006, 16:00   #6
FidoW
Архивный участник
 
Join Date: Sep 2005
Posts: 1,014
Default

npc_ai={[requiem_priest]; ... ;{[DDMagic2]=@s_npc_corpse_burst7}}

class 1 requiem_priest : party_leader_ag_wd_corpse_necro

class 1 party_leader_ag_wd_corpse_necro : party_leader_wd_corpse_necro

class 1 party_leader_wd_corpse_necro : party_leader_wizard_dd2
parameter_define_begin
int SummonPrivate 1000130
string SummonPrivateAI "warrior"
int ClearCorpse 1024257
int DDMagic1 1024257
int DDmagic2 1024257
parameter_define_end
FidoW is offline  
Old 14.09.2006, 16:39   #7
kin
Архивный участник
 
Join Date: Sep 2006
Posts: 882
Default

That what I have in AI. I'm not a specialist in AI. What's wrong with it?
kin is offline  
Old 14.09.2006, 17:27   #8
FidoW
Архивный участник
 
Join Date: Sep 2005
Posts: 1,014
Default

Im not a "specialist" either

Only look your eyes on bold words.
FidoW is offline  
Old 14.09.2006, 18:18   #9
kin
Архивный участник
 
Join Date: Sep 2006
Posts: 882
Default

Holly......
Thanks man! I'm very stupid
kin is offline  
Old 14.09.2006, 21:36   #10
kin
Архивный участник
 
Join Date: Sep 2006
Posts: 882
Default

Maybe you can explaine also these errors?
I checked, it's written correctly in AI:
Code:
09/14/2006 23:19:xx.xx0, Npc[varka_silenos_archmage] doesn't have parameter[SelfRangeDDMagic]. failed to set
09/14/2006 23:19:xx.xx0, Npc[varka_silenos_officer] doesn't have parameter[SelfRangeDDMagic]. failed to set
09/14/2006 23:19:xx.xx0, Npc[varka_soothsayer] doesn't have parameter[DeBuff]. failed to set
09/14/2006 23:19:xx.xx5, Npc[lavasaurus] doesn't have parameter[SpeedBonus]. failed to set
09/14/2006 23:19:xx.xx5, Npc[lavasaurus] doesn't have parameter[SpiritShot]. failed to set
And there are some ohers but similar
kin is offline  
Old 14.09.2006, 21:51   #11
kin
Архивный участник
 
Join Date: Sep 2006
Posts: 882
Default

Maybe I'm right. As you exlained before

Code:
09/14/2006 23:19:xx.xx5, Npc[lavasaurus] doesn't have parameter[HealBonus]. failed to set
Looking through AI I found

class 1 lavasaurus : warrior_ag_hold_ddmagic

class 1 warrior_ag_hold_ddmagic : warrior_hold_ddmagic

class 1 warrior_hold_ddmagic : default_npc
parameter_define_begin
float Attack_DecayRatio 6.600000
float UseSkill_DecayRatio 660xx.xx0000
float Attack_BoostValue 3xx.xx0000
float UseSkill_BoostValue 1000xx.xx0000
int DDMagic 1024257
int SkillRange 500
parameter_define_end

That means there is no "HealBonus" parameter described and that gives an error. Am I correct? If yes, where can I find it?
kin is offline  
Old 19.09.2006, 06:37   #12
ag1584
Архивный участник
 
Join Date: Aug 2006
Posts: 7
Default

Quote:
Originally Posted by kin View Post
Maybe I'm right. As you exlained before

Code:
09/14/2006 23:19:xx.xx5, Npc[lavasaurus] doesn't have parameter[HealBonus]. failed to set
Looking through AI I found

class 1 lavasaurus : warrior_ag_hold_ddmagic

class 1 warrior_ag_hold_ddmagic : warrior_hold_ddmagic

class 1 warrior_hold_ddmagic : default_npc
parameter_define_begin
float Attack_DecayRatio 6.600000
float UseSkill_DecayRatio 660xx.xx0000
float Attack_BoostValue 3xx.xx0000
float UseSkill_BoostValue 1000xx.xx0000
int DDMagic 1024257
int SkillRange 500
parameter_define_end

That means there is no "HealBonus" parameter described and that gives an error. Am I correct? If yes, where can I find it?

class 1 lavasaurus : warrior_ag_hold_ddmagic

class 1 warrior_ag_hold_ddmagic : warrior_hold_ddmagic

class 1 warrior_hold_ddmagic : monster_parameter

class 1 monster_parameter : default_npc
parameter_define_begin
int AttackLowLevel 0
int RunAway 1
int SetCurse 0
int AttackLowHP 0
int HelpHeroSilhouette 0
string HelpHeroAI "warrior_hero"
int SetAggressiveTime -1
int HalfAggressive 0
int RandomAggressive 0
int SetHateGroup -1
int SetHateGroupRatio 0
int SetHateOccupation -1
int SetHateOccupationRatio 0
int SetHateRace -1
int SetHateRaceRatio 0
int IsTransform 0
int step1 1000130
int step2 1000006
int step3 1000853
int DaggerBackAttack 0
int IsVs 0
int SpecialSkill 0
int MoveAroundSocial 0
int MoveAroundSocial1 0
int MoveAroundSocial2 0
int ShoutMsg1 0
int ShoutMsg2 0
int ShoutMsg3 0
int ShoutMsg4 0
int SSQLoserTeleport 0
int SSQTelPosX 0
int SSQTelPosY 0
int SSQTelPosZ 0
int SwapPosition 0
int FriendShip 0
int DungeonType 0
int DungeonTypeAI 0
string DungeonTypePrivate ""
int ShoutTarget 0
int AcceptShoutTarget 0
int SelfExplosion 0
int FriendShip1 0
int FriendShip2 0
int FriendShip3 0
int FriendShip4 0
int FriendShip5 0
int DungeonType 0
int DungeonTypeAI 0
string DungeonTypePrivate ""
int SoulShot 0
int SoulShotRate 0
int SpiritShot 0
int SpiritShotRate 0
int SpeedBonus 0
int HealBonus 0
int CreviceOfDiminsion 0
parameter_define_end
ag1584 is offline  
Old 19.09.2006, 08:53   #13
hhk31257
Архивный участник
 
Join Date: May 2006
Posts: 166
Default

Quote:
Originally Posted by FidoW View Post
class 1 party_leader_wd_corpse_necro : party_leader_wizard_dd2
parameter_define_begin
int SummonPrivate 1000130
string SummonPrivateAI "warrior"
int ClearCorpse 1024257
int DDMagic1 1024257
int DDmagic2 1024257
parameter_define_end
do you work in uncompiled code? or do you have a decompiler?
a decompiler would rock...
hhk31257 is offline  
Old 19.09.2006, 10:52   #14
kin
Архивный участник
 
Join Date: Sep 2006
Posts: 882
Default

Do you have that decompiler?

ag1584 As I understand, I should redirect all faulty monsters in AI from "default_npc" to "monster_parameter", correct?
kin is offline  
Old 19.09.2006, 11:24   #15
ag1584
Архивный участник
 
Join Date: Aug 2006
Posts: 7
Default

Quote:
Originally Posted by kin View Post
ag1584 As I understand, I should redirect all faulty monsters in AI from "default_npc" to "monster_parameter", correct?
only those which this require according to npcdata.txt, in my AI on class monster_.parameter depend these classes
class 1 warrior_parameter
class 1 wizard_parameter
class 1 warrior_hero
class 1 warrior_hold_ddmagic
class 1 lv3_monster
ag1584 is offline  
Old 19.09.2006, 11:26   #16
kin
Архивный участник
 
Join Date: Sep 2006
Posts: 882
Default

Many monsters have parameter "SelfRangeDDMagic" For example:
Code:
09/18/2006 14:43:xx.xx6, Npc[destroyer_mercenary] doesn't have parameter[SelfRangeDDMagic]. failed to set
class 1 ketra_orc_praefect : warrior_ag_berserker_physicalspecial_stone

class 1 warrior_ag_berserker_physicalspecial_stone : warrior_berserker_physicalspecial_stone

class 1 warrior_berserker_physicalspecial_stone : warrior_berserker_physicalspecial

class 1 warrior_berserker_physicalspecial : warrior_berserker

class 1 warrior_berserker : warrior

class 1 warrior : warrior_parameter

class 1 warrior_parameter : monster_parameter

It goes to Monster_parameter, but there is no info about "SelfRangeDDMagic"

In NpcData I have
Code:
npc_begin	warrior	1340	[ketra_orc_praefect]	level=84	acquire_exp_rate=23xx.xx56	acquire_sp=1975200	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}
and there is the skill for "s_npc_blazing_circle9".
I can't understand where I should put parameter SelfRangeDDMagic
Could you please explain?
kin is offline  
Old 19.09.2006, 11:31   #17
kin
Архивный участник
 
Join Date: Sep 2006
Posts: 882
Default

Quote:
Originally Posted by ag1584 View Post
only those which this require according to npcdata.txt, in my AI on class monster_.parameter depend these classes
class 1 warrior_parameter
class 1 wizard_parameter
class 1 warrior_hero
class 1 warrior_hold_ddmagic
class 1 lv3_monster
Just checked. NOW I have the same as yours. I missed only one you told me. THANK YOU!

Could you look for SelfRangeDDMagic in my previous post?
kin is offline  
Old 19.09.2006, 11:46   #18
ag1584
Архивный участник
 
Join Date: Aug 2006
Posts: 7
Default

Quote:
Originally Posted by kin View Post
Just checked. NOW I have the same as yours. I missed only one you told me. THANK YOU!

Could you look for SelfRangeDDMagic in my previous post?
09/14/2006 23:19:xx.xx0, Npc[varka_silenos_archmage] doesn't have parameter[SelfRangeDDMagic]. failed to set
09/14/2006 23:19:xx.xx0, Npc[varka_silenos_officer] doesn't have parameter[SelfRangeDDMagic]. failed to set


npc_begin warrior 1365 [varka_silenos_archmage] npc_ai={[varka_silenos_archmage];....;{[SelfRangeDDMagic]=@s_npc_burn9};{[PhysicalSpecial]=@s_npc_sonic_blaster9};{[DeBuff]=@s_npc_shackle5};{[DeBuff1]=@s_b_k_stone}}

class 1 varka_silenos_archmage : warrior_ag_berserker_physicalspecial_stone

class 1 warrior_ag_berserker_physicalspecial_stone : warrior_berserker_physicalspecial_stone
parameter_define_begin
int SelfRangeDDMagic 1032449
parameter_define_end

class 1 warrior_berserker_physicalspecial_stone : warrior_berserker_physicalspecial
parameter_define_begin
int DeBuff1 1155841
parameter_define_end

class 1 warrior_berserker_physicalspecial : warrior_berserker
parameter_define_begin
int PhysicalSpecial 1032193
int SelfRangePhysicalSpecial 1068034
int DeBuff 1033473
parameter_define_end
ag1584 is offline  
Old 19.09.2006, 12:02   #19
kin
Архивный участник
 
Join Date: Sep 2006
Posts: 882
Default

Thanks! Will check all of it right now!!!!!
kin is offline  
Old 19.09.2006, 12:09   #20
kin
Архивный участник
 
Join Date: Sep 2006
Posts: 882
Default

I have all the same, but missed
Code:
class 1 warrior_ag_berserker_physicalspecial_stone : warrior_berserker_physicalspecial_stone
parameter_define_begin
int SelfRangeDDMagic 1032449
parameter_define_end
Hope the last one
Code:
09/18/2006 14:44:xx.xx9, Npc[r58_invader_teleport] doesn't have parameter[CreviceOfDiminsion]. failed to set
Code:
class 1 r58_invader_teleport : teleport_dungeon_manager_npc
Code:
class 1 teleport_dungeon_manager_npc : citizen
And there is no this parameter even in NpcData.
kin is offline  
Old 25.09.2006, 03:44   #21
nick0179
Архивный участник
 
Join Date: Mar 2006
Posts: 57
Default

Quote:
Originally Posted by FidoW View Post
Im not a "specialist" either

Only look your eyes on bold words.
hmm....what does this mean?
kin....if u've fixed it....can u give me some detail about it?
nick0179 is offline  
Old 25.09.2006, 08:30   #22
kin
Архивный участник
 
Join Date: Sep 2006
Posts: 882
Default

Look at it
Code:
npc_ai={[requiem_priest]; ... ;{[DDMagic2]=@s_npc_corpse_burst7}}

class 1 requiem_priest : party_leader_ag_wd_corpse_necro

class 1 party_leader_ag_wd_corpse_necro : party_leader_wd_corpse_necro

class 1 party_leader_wd_corpse_necro : party_leader_wizard_dd2
parameter_define_begin
int SummonPrivate 1000130
string SummonPrivateAI "warrior"
int ClearCorpse 1024257
int DDMagic1 1024257
int DDmagic2 1024257
parameter_define_end
Understood?
kin is offline  
Old 26.09.2006, 03:21   #23
nick0179
Архивный участник
 
Join Date: Mar 2006
Posts: 57
Default

damn it...
.....now i got it..
thanx.~friend
nick0179 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 18:44.