![]() |
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 |
Ill add this to this topic (sense HF didn't read my post befor closing it)
My trees work ok, but the special tree dosent run the Regen buff, i chacked the AI and skill and i think my skill data is wrong , because I gave it to me and it seemed it would only apply to me, no matter who i targeted. and after i looked at the skill data it would seem that it is setup to only effect the caster. the odd thing is that last week when i was testing the trees the skill worked but the texture was the seal angel, so i fixed that and nw it would seem the skill doest work, but i haven't touched the skill ever. So either the skill does work just not on Sundays, or i was thinking i saw the skill work when i was testing. Heres my other post with the skill data in it and some more info https://postpacific.mmorpg-game.onli...ead.php?t=6484 I just want to know if anyones skill is different (that works), i checked like 4 other copy of my retail server ad they all are the same Thanks in advance (ps as much as even i like to say "use SEARCH!!!", i read the topic and at least check to see if the search does come up with related items, and BTW HF, i did search and no posts about trees are about the skill not working but about 1) adding the tree to Pre C4 Retail, 2)Bad tree textures 3)and this issue of the trees not giving presents. ) |
Read this topic from the beginning. I've posted my skilldata and AI. All works well. Just take it!
|
my santa 2001 html contain same as 1001 ..
Santa give u little presents 1. buffs for 20-L chars 2. santas hat for 10 small Xtree 3. 1 big for 10 small nothing else but in that decompiled AI there is something from C1 about x_mass_2004 maybe some memory item.. if you summon it, its really nice, 2xclick on it :) I think its something like santas hat in C4.. 2001t Code:
<html><head><body>Santa Trainee:<br>Ho! Ho! Ho! Oh, tut tut... My child. Are you angry?<br>Well, that can't be helped. It's the rule of our Santa Claus guild! To us, all of the people in the world are children! So, although it may embarrass you, please bear with me. Okay? Ho! Ho! Ho!<br><a action="link event_santa_wannabe2001.htm">Back</a></body></html> |
Quote:
https://postpacific.mmorpg-game.onli...ead.php?t=5738 Maybe Im leecher.. but Im at least leecher who can use Search! (TM). |
Quote:
|
| All times are GMT. The time now is 23:18. |