![]() |
Christmas Event. Problems with the trees
When you start event, everything looks fine, but when you get christmas tree it doesn't give any present and the special tree shows that it restores the HP / MP and the small icon apears, but actually it doesn't
Where is the problem? Where to look? Here is my Itemdata Code:
item_begin etcitem 5560 [x_mas_tree1] item_type=etcitem slot_bit_type={none} armor_type=none etcitem_type=potion recipe_id=0 blessed=0 weight=0 default_action=action_skill_reduce consume_type=consume_type_stackable initial_count=1 maximum_count=20 soulshot_count=0 spiritshot_count=0 reduced_soulshot={} reduced_spiritshot={} reduced_mp_consume={} immediate_effect=1 price=0 default_price=1 item_skill=[s_summon_x_mas_tree_a] critical_attack_skill=[none] attack_skill=[none] magic_skill=[none] item_skill_enchanted_four=[none] material_type=paper crystal_type=none crystal_count=0 is_trade=1 is_drop=1 is_destruct=1 physical_damage=0 random_damage=0 weapon_type=none can_penetrate=0 critical=0 hit_modify=0 avoid_modify=0 dual_fhit_rate=0 shield_defense=0 shield_defense_rate=0 attack_range=0 damage_range={} attack_speed=0 reuse_delay=0 mp_consume=0 magical_damage=0 durability=0 damaged=0 physical_defense=0 magical_defense=0 mp_bonus=0 category={} enchanted=0 html=[item_default.htm] equip_pet={0} magic_weapon=0 enchant_enable=0 can_equip_sex=-1 can_equip_race={} can_equip_change_class=-1 can_equip_class={} can_equip_agit=-1 can_equip_castle=-1 can_equip_castle_num={} can_equip_clan_leader=-1 can_equip_clan_level=-1 can_equip_hero=-1 can_equip_nobless=-1 can_equip_chaotic=-1 item_end |
what is instrucion to eventdata.
thank |
...What?...
|
u should check npcdata...
|
Here is the AI for big tree:
Code:
class 1 event_tree_use_skill : default_npc |
And here for the small one:
Code:
class 1 event_tree : default_npcCode:
npc_begin holything 12619 [x_mas_tree_a] level=70 acquire_exp_rate=0.1 acquire_sp=10 unsowing=1 clan={} ignore_clan_list={} clan_help_range=300 slot_chest=[] slot_rhand=[] slot_lhand=[] shield_defense_rate=0 shield_defense=0 skill_list={@s_race_divine;@s_full_magic_defence} npc_ai={[x_mas_tree_a]} category={} race=divine sex=male undying=1 can_be_attacked=0 corpse_time=7 no_sleep_mode=0 agro_range=1000 ground_high={120;0;0} ground_low={30;0;0} exp=429634528 org_hp=2444.5 org_hp_regen=7.5 org_mp=1345.8 org_mp_regen=2.7 collision_radius={0;0} collision_height={0;0} 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=6xx.xx base_critical=4 physical_hit_modify=4.75 base_attack_speed=253 base_reuse_delay=0 base_magic_attack=470.4 base_defend=2xx.xx base_magic_defend=2xx.xx physical_avoid_modify=0 soulshot_count=0 spiritshot_count=0 hit_time_factor=0.52 item_make_list={} corpse_make_list={} additional_make_list={} additional_make_multi_list={} hp_increase=0 mp_increase=0 safe_height=100 npc_end |
class 1 x_mas_tree_a : event_tree
class_end class 1 x_mas_tree_b : event_tree_use_skill class_end |
vopros
And? You could see that I posted their superclass here. |
My trees work fine...
|
give me pls eventdata for this event... i can not find what to paste there(
|
Just do the same than for other events... Just change the event npcpos and the dropitems...
|
mcrabben7
Do you have the same AI I posted here? And do you have "presents" around small trees? Could you post your AI (the christmass part of AI) here? |
Quote:
|
Decompiled code... with SauDecompiler...
Code:
class event_tree : default_npcSpecial Tree use each 10 seconds a skill... this skill you can see in skilldata... increase recovery speed of HP/MP and it have a duration of 10 seconds... and range of 200.. so.. if you are near the tree you have recovery bonus all the time. Nothing more. No presents... |
I see all of these in my AI, but I've heard many times that small tree should give "presents" when you spawn it, but the class is empty!
Could you tell a litle bit more about Santa buff? How does that option look like? |
can someone write his eventdata.ini cause i didnt manage yet to launch the event :(
|
Quote:
Code:
class event_santa : citizen |
You are absolutelly right! In this file "event_santa_wannabe1001.htm" I have this link to HTML, but nothing in "event_santa_wannabe2001.htm"
Just one question left. Should the small tree give any present or not (I know there is nothing in the class)? |
I have read through again all messages. The sense is lost.
First has been asked a question: all works normally but why there is no effect from cristmas-tree skill (regeneration HP/MP). The idea, that a problem in AI has arrived. In AI, I does not have problems. The Santa changes for things two types of cristmas-trees - big and small. Small it is used only for an ornament and entertainment. Also vanishes after a while. Big has constant effect of regeneration around of herself, but on small distance. And too vanishes after a while. I do not see a problem that. If there is a suspicion, that skill does not work - install skill to itself and check up effect on associates. |
HF
/rus Дело не в скилах. Они пашут. Просто даже на этом форуме пара человек говорила, что маленькие деревья саммонят подарки вокруг себя. А на деле это не так. По крайней мере у меня. Класс пустой у них. Вот в этом проблема. А все остальное работает прекрасно! /rus The problem is not within the skill, but small trees. I've heard even on this forum from few persons that small trees should give some presents after summoning. But AI for the small tree is empty. That is the problem. |
Get true information before asking anything... http://www.lineage2.com/archive/2005...the_halls.html
If anyone has any other info then give it... but with details. If you want the trees to give something then just make them dropitem on create. |
Thanks m4rk!
Will give this link to anyone who tells that small trees must give something! I've heard it from user - {at} on the other forum and from someone else, can't remember all names |
Quote:
But the retail version dont do that. |
Quote:
Lets close this topic on this point. :) |
ERROR:
Invalid Despawn() called count[2], npc[x_mas_tree_a] code: Code:
L20683 |
| All times are GMT. The time now is 15:25. |