Post Pacific

Post Pacific (https://postpacific.mmorpg-game.online/index.php)
-   Lineage 2 Server Modifications ONLY! (https://postpacific.mmorpg-game.online/forumdisplay.php?f=28)
-   -   [SHARE] C4 Pets (https://postpacific.mmorpg-game.online/showthread.php?t=3330)

Domzelan 12.02.2006 16:29

[SHARE] C4 Pets
 
This if for you my friends - who use c4 client. BUT this pets dont work - when i dclick on flute - i summon nothing. Any help?

SORRY torune - you already share it :( but i share itemdata

Npcdata.txt
Code:

npc_begin        pet        12780        [baby_buffalo]        level=35        exp=85609xx.xx        acquire_exp_rate=0.1        undying=0        can_be_attacked=0        acquire_sp=1        race=humanoid        sex=male        temper=100        safe_height=100        org_jump=15        skill_list={@s_summon_magic_defence}        magic_list={}        max_item=50        item_make_list={}        corpse_make_list={}        additional_make_list={}        additional_make_multi_list={}        slot_chest=[]        slot_rhand=[]        slot_lhand=[]        base_attack_type=fist        base_can_penetrate=0        base_attack_range=40        base_damage_range={0;0;80;120}        base_rand_dam=7        str=40        int=21        dex=30        wit=20        con=43        men=25        hp_increase=40        mp_increase=7        org_hp_regen=4.5        org_mp_regen=1.8        ground_low={80;0;10}        ground_high={140;-30;30}        underwater_low={50;0;10}        underwater_high={0;0;30}        fly_low={0;0;10}        fly_high={0;-30;30}        float_low={0;0;10}        float_high={0;-30;10}        org_earshot=100        sight={0;0;2500;120;5}        agro_range=1000        org_hp=3xx.xx9008624428        org_mp=339        base_defend=xx.xx23705788166        base_magic_attack=xx.xx87280708638        base_magic_defend=xx.xx31752994285        base_physical_attack=xx.xx22390732649        physical_hit_modify=3.75        physical_avoid_modify=0        base_attack_speed=257        base_reuse_delay=0        base_critical=4        magic_use_speed_modify=0        status={normal}        align=-484        collision_radius=12        collision_height=15        category={}        clan={}        clan_help_range=300        guild={}        pledge={}        pledge_leader=0        alliance={}        alliance_leader=0        ignore_clan_list={}        ruler=0        ruling_domain={}        npc_ai={[baby_buffalo]}        corpse_time=180        no_sleep_mode=0        npc_end
npc_begin        pet        12781        [baby_ostrich]        level=35        exp=85609xx.xx        acquire_exp_rate=0.1        undying=0        can_be_attacked=0        acquire_sp=1        race=humanoid        sex=male        temper=100        safe_height=100        org_jump=15        skill_list={@s_summon_magic_defence}        magic_list={}        max_item=50        item_make_list={}        corpse_make_list={}        additional_make_list={}        additional_make_multi_list={}        slot_chest=[]        slot_rhand=[]        slot_lhand=[]        base_attack_type=fist        base_can_penetrate=0        base_attack_range=40        base_damage_range={0;0;80;120}        base_rand_dam=7        str=40        int=21        dex=30        wit=20        con=43        men=25        hp_increase=40        mp_increase=7        org_hp_regen=4.5        org_mp_regen=1.8        ground_low={80;0;10}        ground_high={140;-30;30}        underwater_low={50;0;10}        underwater_high={0;0;30}        fly_low={0;0;10}        fly_high={0;-30;30}        float_low={0;0;10}        float_high={0;-30;10}        org_earshot=100        sight={0;0;2500;120;5}        agro_range=1000        org_hp=3xx.xx9008624428        org_mp=339        base_defend=xx.xx23705788166        base_magic_attack=xx.xx87280708638        base_magic_defend=xx.xx31752994285        base_physical_attack=xx.xx22390732649        physical_hit_modify=3.75        physical_avoid_modify=0        base_attack_speed=257        base_reuse_delay=0        base_critical=4        magic_use_speed_modify=0        status={normal}        align=-484        collision_radius=7        collision_height=15        category={}        clan={}        clan_help_range=300        guild={}        pledge={}        pledge_leader=0        alliance={}        alliance_leader=0        ignore_clan_list={}        ruler=0        ruling_domain={}        npc_ai={[baby_ostrich]}        corpse_time=180        no_sleep_mode=0        npc_end
npc_begin        pet        12782        [baby_tiger]        level=35        exp=85609xx.xx        acquire_exp_rate=0.1        undying=0        can_be_attacked=0        acquire_sp=1        race=humanoid        sex=male        temper=100        safe_height=100        org_jump=15        skill_list={@s_summon_magic_defence}        magic_list={}        max_item=50        item_make_list={}        corpse_make_list={}        additional_make_list={}        additional_make_multi_list={}        slot_chest=[]        slot_rhand=[]        slot_lhand=[]        base_attack_type=fist        base_can_penetrate=0        base_attack_range=40        base_damage_range={0;0;80;120}        base_rand_dam=7        str=40        int=21        dex=30        wit=20        con=43        men=25        hp_increase=40        mp_increase=7        org_hp_regen=4.5        org_mp_regen=1.8        ground_low={80;0;10}        ground_high={140;-30;30}        underwater_low={50;0;10}        underwater_high={0;0;30}        fly_low={0;0;10}        fly_high={0;-30;30}        float_low={0;0;10}        float_high={0;-30;10}        org_earshot=100        sight={0;0;2500;120;5}        agro_range=1000        org_hp=3xx.xx9008624428        org_mp=339        base_defend=xx.xx23705788166        base_magic_attack=xx.xx87280708638        base_magic_defend=xx.xx31752994285        base_physical_attack=xx.xx22390732649        physical_hit_modify=3.75        physical_avoid_modify=0        base_attack_speed=257        base_reuse_delay=0        base_critical=4        magic_use_speed_modify=0        status={normal}        align=-484        collision_radius=11        collision_height=15.7        category={}        clan={}        clan_help_range=300        guild={}        pledge={}        pledge_leader=0        alliance={}        alliance_leader=0        ignore_clan_list={}        ruler=0        ruling_domain={}        npc_ai={[baby_tiger]}        corpse_time=180        no_sleep_mode=0        npc_end

Npc_pch.txt
Code:

[baby_buffalo]        =        1012780
[baby_ostrich]        =        1012781
[baby_tiger]        =        1012782

Itemdata.txt
Code:

item_begin        etcitem        6648        [baby_buffalo]        item_type=weapon        slot_bit_type={none}        armor_type=none        etcitem_type=pet_collar        blessed=0        weight=20        default_action=action_skill_maintain        consume_type=consume_type_normal        initial_count=1        maximum_count=1        soulshot_count=0        spiritshot_count=0        immediate_effect=0        price=0        default_price=1000        item_skill=[s_wolf_collar]        critical_attack_skill=[none]        material_type=steel        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        effective_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        item_end
item_begin        etcitem        6649        [baby_kookaburra]        item_type=weapon        slot_bit_type={none}        armor_type=none        etcitem_type=pet_collar        blessed=0        weight=20        default_action=action_skill_maintain        consume_type=consume_type_normal        initial_count=1        maximum_count=1        soulshot_count=0        spiritshot_count=0        immediate_effect=0        price=0        default_price=1000        item_skill=[s_wolf_collar]        critical_attack_skill=[none]        material_type=steel        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        effective_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        item_end
item_begin        etcitem        6650        [Baby_Cougar]        item_type=weapon        slot_bit_type={none}        armor_type=none        etcitem_type=pet_collar        blessed=0        weight=20        default_action=action_skill_maintain        consume_type=consume_type_normal        initial_count=1        maximum_count=1        soulshot_count=0        spiritshot_count=0        immediate_effect=0        price=0        default_price=1000        item_skill=[s_wolf_collar]        critical_attack_skill=[none]        material_type=steel        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        effective_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        item_end

Item_pch.txt
Code:

[baby_buffalo]        =        6648
[baby_kookaburra]        =        6649
[Baby_Cougar]        =        6650

ai.obj
Code:

class baby_buffalo : pet_physicalattack
class_end

class baby_ostrich : pet_physicalattack
class_end

class baby_tiger : pet_physicalattack
class_end


This is c4 pets only small - a have big one and ill share it late.

Sdw 12.02.2006 16:51

Just make a NPC that give you the flute. Here is what I've made, the whole thing, cause I don't have the time to check your id.

Begin with the pet:

npcdata
Code:

npc_begin  pet  12780  [baby_buffalo]  level=35  exp=4370195  acquire_exp_rate=0.1  undying=0  can_be_attacked=0  acquire_sp=1  race=humanoid  sex=male  temper=100  safe_height=100  org_jump=15  skill_list={@s_summon_magic_defence}  magic_list={}  max_item=50  item_make_list={}  corpse_make_list={}  additional_make_list={}  additional_make_multi_list={}  slot_chest=[]  slot_rhand=[]  slot_lhand=[]  base_attack_type=fist  base_can_penetrate=0  base_attack_range=40  base_damage_range={0;0;80;120}  base_rand_dam=7  str=40  int=21  dex=30  wit=20  con=43  men=25  hp_increase=40  mp_increase=7  org_hp_regen=4.5  org_mp_regen=1.8  ground_low={80;0;10}  ground_high={140;-30;30}  underwater_low={50;0;10}  underwater_high={0;0;30}  fly_low={0;0;10}  fly_high={0;-30;30}  float_low={0;0;10}  float_high={0;-30;10}  org_earshot=100  sight={0;0;2500;120;5}  agro_range=1000  org_hp=3xx.xx9008624428  org_mp=339  base_defend=xx.xx23705788166  base_magic_attack=xx.xx87280708638  base_magic_defend=xx.xx31752994285  base_physical_attack=xx.xx22390732649  physical_hit_modify=3.75  physical_avoid_modify=0  base_attack_speed=257  base_reuse_delay=0  base_critical=4  magic_use_speed_modify=0  status={normal}  align=-484  collision_radius=12  collision_height=15  category={}  clan={}  clan_help_range=300  guild={}  pledge={}  pledge_leader=0  alliance={}  alliance_leader=0  ignore_clan_list={}  ruler=0  ruling_domain={}  npc_ai={[baby_buffalo]}  corpse_time=180  no_sleep_mode=0  npc_end
npc_begin  pet  12781  [baby_ostrich]  level=35  exp=4370195  acquire_exp_rate=0.1  undying=0  can_be_attacked=0  acquire_sp=1  race=humanoid  sex=male  temper=100  safe_height=100  org_jump=15  skill_list={@s_summon_magic_defence}  magic_list={}  max_item=50  item_make_list={}  corpse_make_list={}  additional_make_list={}  additional_make_multi_list={}  slot_chest=[]  slot_rhand=[]  slot_lhand=[]  base_attack_type=fist  base_can_penetrate=0  base_attack_range=40  base_damage_range={0;0;80;120}  base_rand_dam=7  str=40  int=21  dex=30  wit=20  con=43  men=25  hp_increase=40  mp_increase=7  org_hp_regen=4.5  org_mp_regen=1.8  ground_low={80;0;10}  ground_high={140;-30;30}  underwater_low={50;0;10}  underwater_high={0;0;30}  fly_low={0;0;10}  fly_high={0;-30;30}  float_low={0;0;10}  float_high={0;-30;10}  org_earshot=100  sight={0;0;2500;120;5}  agro_range=1000  org_hp=3xx.xx9008624428  org_mp=339  base_defend=xx.xx23705788166  base_magic_attack=xx.xx87280708638  base_magic_defend=xx.xx31752994285  base_physical_attack=xx.xx22390732649  physical_hit_modify=3.75  physical_avoid_modify=0  base_attack_speed=257  base_reuse_delay=0  base_critical=4  magic_use_speed_modify=0  status={normal}  align=-484  collision_radius=7  collision_height=15  category={}  clan={}  clan_help_range=300  guild={}  pledge={}  pledge_leader=0  alliance={}  alliance_leader=0  ignore_clan_list={}  ruler=0  ruling_domain={}  npc_ai={[baby_ostrich]}  corpse_time=180  no_sleep_mode=0  npc_end
npc_begin  pet  12782  [baby_tiger]  level=35  exp=4370195  acquire_exp_rate=0.1  undying=0  can_be_attacked=0  acquire_sp=1  race=humanoid  sex=male  temper=100  safe_height=100  org_jump=15  skill_list={@s_summon_magic_defence}  magic_list={}  max_item=50  item_make_list={}  corpse_make_list={}  additional_make_list={}  additional_make_multi_list={}  slot_chest=[]  slot_rhand=[]  slot_lhand=[]  base_attack_type=fist  base_can_penetrate=0  base_attack_range=40  base_damage_range={0;0;80;120}  base_rand_dam=7  str=40  int=21  dex=30  wit=20  con=43  men=25  hp_increase=40  mp_increase=7  org_hp_regen=4.5  org_mp_regen=1.8  ground_low={80;0;10}  ground_high={140;-30;30}  underwater_low={50;0;10}  underwater_high={0;0;30}  fly_low={0;0;10}  fly_high={0;-30;30}  float_low={0;0;10}  float_high={0;-30;10}  org_earshot=100  sight={0;0;2500;120;5}  agro_range=1000  org_hp=3xx.xx9008624428  org_mp=339  base_defend=xx.xx23705788166  base_magic_attack=xx.xx87280708638  base_magic_defend=xx.xx31752994285  base_physical_attack=xx.xx22390732649  physical_hit_modify=3.75  physical_avoid_modify=0  base_attack_speed=257  base_reuse_delay=0  base_critical=4  magic_use_speed_modify=0  status={normal}  align=-484  collision_radius=11  collision_height=15.7  category={}  clan={}  clan_help_range=300  guild={}  pledge={}  pledge_leader=0  alliance={}  alliance_leader=0  ignore_clan_list={}  ruler=0  ruling_domain={}  npc_ai={[baby_tiger]}  corpse_time=180  no_sleep_mode=0  npc_end
npc_begin  pet  12783  [pet_ostrich_a]  level=35  exp=4370195  acquire_exp_rate=0.1  undying=0  can_be_attacked=0  acquire_sp=1  race=humanoid  sex=male  temper=100  safe_height=100  org_jump=15  skill_list={@s_summon_magic_defence}  magic_list={}  max_item=50  item_make_list={}  corpse_make_list={}  additional_make_list={}  additional_make_multi_list={}  slot_chest=[]  slot_rhand=[]  slot_lhand=[]  base_attack_type=fist  base_can_penetrate=0  base_attack_range=40  base_damage_range={0;0;80;120}  base_rand_dam=7  str=40  int=21  dex=30  wit=20  con=43  men=25  hp_increase=40  mp_increase=7  org_hp_regen=4.5  org_mp_regen=1.8  ground_low={80;0;10}  ground_high={140;-30;30}  underwater_low={50;0;10}  underwater_high={0;0;30}  fly_low={0;0;10}  fly_high={0;-30;30}  float_low={0;0;10}  float_high={0;-30;10}  org_earshot=100  sight={0;0;2500;120;5}  agro_range=1000  org_hp=3xx.xx9008624428  org_mp=339  base_defend=xx.xx23705788166  base_magic_attack=xx.xx87280708638  base_magic_defend=xx.xx31752994285  base_physical_attack=xx.xx22390732649  physical_hit_modify=3.75  physical_avoid_modify=0  base_attack_speed=257  base_reuse_delay=0  base_critical=4  magic_use_speed_modify=0  status={normal}  align=-484  collision_radius=21  collision_height=31.5  category={}  clan={}  clan_help_range=300  guild={}  pledge={}  pledge_leader=0  alliance={}  alliance_leader=0  ignore_clan_list={}  ruler=0  ruling_domain={}  npc_ai={[pet_ostrich]}  corpse_time=180  no_sleep_mode=0  npc_end
npc_begin  pet  12784  [pet_ostrich_b]  level=35  exp=4370195  acquire_exp_rate=0.1  undying=0  can_be_attacked=0  acquire_sp=1  race=humanoid  sex=male  temper=100  safe_height=100  org_jump=15  skill_list={@s_summon_magic_defence}  magic_list={}  max_item=50  item_make_list={}  corpse_make_list={}  additional_make_list={}  additional_make_multi_list={}  slot_chest=[]  slot_rhand=[]  slot_lhand=[]  base_attack_type=fist  base_can_penetrate=0  base_attack_range=40  base_damage_range={0;0;80;120}  base_rand_dam=7  str=40  int=21  dex=30  wit=20  con=43  men=25  hp_increase=40  mp_increase=7  org_hp_regen=4.5  org_mp_regen=1.8  ground_low={80;0;10}  ground_high={140;-30;30}  underwater_low={50;0;10}  underwater_high={0;0;30}  fly_low={0;0;10}  fly_high={0;-30;30}  float_low={0;0;10}  float_high={0;-30;10}  org_earshot=100  sight={0;0;2500;120;5}  agro_range=1000  org_hp=3xx.xx9008624428  org_mp=339  base_defend=xx.xx23705788166  base_magic_attack=xx.xx87280708638  base_magic_defend=xx.xx31752994285  base_physical_attack=xx.xx22390732649  physical_hit_modify=3.75  physical_avoid_modify=0  base_attack_speed=257  base_reuse_delay=0  base_critical=4  magic_use_speed_modify=0  status={normal}  align=-484  collision_radius=21  collision_height=31.5  category={}  clan={}  clan_help_range=300  guild={}  pledge={}  pledge_leader=0  alliance={}  alliance_leader=0  ignore_clan_list={}  ruler=0  ruling_domain={}  npc_ai={[pet_ostrich]}  corpse_time=180  no_sleep_mode=0  npc_end
npc_begin  pet  12785  [pet_buffalo_a]  level=35  exp=4370195  acquire_exp_rate=0.1  undying=0  can_be_attacked=0  acquire_sp=1  race=humanoid  sex=male  temper=100  safe_height=100  org_jump=15  skill_list={@s_summon_magic_defence}  magic_list={}  max_item=50  item_make_list={}  corpse_make_list={}  additional_make_list={}  additional_make_multi_list={}  slot_chest=[]  slot_rhand=[]  slot_lhand=[]  base_attack_type=fist  base_can_penetrate=0  base_attack_range=40  base_damage_range={0;0;80;120}  base_rand_dam=7  str=40  int=21  dex=30  wit=20  con=43  men=25  hp_increase=40  mp_increase=7  org_hp_regen=4.5  org_mp_regen=1.8  ground_low={80;0;10}  ground_high={140;-30;30}  underwater_low={50;0;10}  underwater_high={0;0;30}  fly_low={0;0;10}  fly_high={0;-30;30}  float_low={0;0;10}  float_high={0;-30;10}  org_earshot=100  sight={0;0;2500;120;5}  agro_range=1000  org_hp=3xx.xx9008624428  org_mp=339  base_defend=xx.xx23705788166  base_magic_attack=xx.xx87280708638  base_magic_defend=xx.xx31752994285  base_physical_attack=xx.xx22390732649  physical_hit_modify=3.75  physical_avoid_modify=0  base_attack_speed=257  base_reuse_delay=0  base_critical=4  magic_use_speed_modify=0  status={normal}  align=-484  collision_radius=10  collision_height=33  category={}  clan={}  clan_help_range=300  guild={}  pledge={}  pledge_leader=0  alliance={}  alliance_leader=0  ignore_clan_list={}  ruler=0  ruling_domain={}  npc_ai={[pet_buffalo]}  corpse_time=180  no_sleep_mode=0  npc_end
npc_begin  pet  12786  [pet_buffalo_b]  level=35  exp=4370195  acquire_exp_rate=0.1  undying=0  can_be_attacked=0  acquire_sp=1  race=humanoid  sex=male  temper=100  safe_height=100  org_jump=15  skill_list={@s_summon_magic_defence}  magic_list={}  max_item=50  item_make_list={}  corpse_make_list={}  additional_make_list={}  additional_make_multi_list={}  slot_chest=[]  slot_rhand=[]  slot_lhand=[]  base_attack_type=fist  base_can_penetrate=0  base_attack_range=40  base_damage_range={0;0;80;120}  base_rand_dam=7  str=40  int=21  dex=30  wit=20  con=43  men=25  hp_increase=40  mp_increase=7  org_hp_regen=4.5  org_mp_regen=1.8  ground_low={80;0;10}  ground_high={140;-30;30}  underwater_low={50;0;10}  underwater_high={0;0;30}  fly_low={0;0;10}  fly_high={0;-30;30}  float_low={0;0;10}  float_high={0;-30;10}  org_earshot=100  sight={0;0;2500;120;5}  agro_range=1000  org_hp=3xx.xx9008624428  org_mp=339  base_defend=xx.xx23705788166  base_magic_attack=xx.xx87280708638  base_magic_defend=xx.xx31752994285  base_physical_attack=xx.xx22390732649  physical_hit_modify=3.75  physical_avoid_modify=0  base_attack_speed=257  base_reuse_delay=0  base_critical=4  magic_use_speed_modify=0  status={normal}  align=-484  collision_radius=10  collision_height=33  category={}  clan={}  clan_help_range=300  guild={}  pledge={}  pledge_leader=0  alliance={}  alliance_leader=0  ignore_clan_list={}  ruler=0  ruling_domain={}  npc_ai={[pet_buffalo]}  corpse_time=180  no_sleep_mode=0  npc_end
npc_begin  pet  12787  [saber_toothed_tiger_a]  level=35  exp=4370195  acquire_exp_rate=0.1  undying=0  can_be_attacked=0  acquire_sp=1  race=humanoid  sex=male  temper=100  safe_height=100  org_jump=15  skill_list={@s_summon_magic_defence}  magic_list={}  max_item=50  item_make_list={}  corpse_make_list={}  additional_make_list={}  additional_make_multi_list={}  slot_chest=[]  slot_rhand=[]  slot_lhand=[]  base_attack_type=fist  base_can_penetrate=0  base_attack_range=40  base_damage_range={0;0;80;120}  base_rand_dam=7  str=40  int=21  dex=30  wit=20  con=43  men=25  hp_increase=40  mp_increase=7  org_hp_regen=4.5  org_mp_regen=1.8  ground_low={80;0;10}  ground_high={140;-30;30}  underwater_low={50;0;10}  underwater_high={0;0;30}  fly_low={0;0;10}  fly_high={0;-30;30}  float_low={0;0;10}  float_high={0;-30;10}  org_earshot=100  sight={0;0;2500;120;5}  agro_range=1000  org_hp=3xx.xx9008624428  org_mp=339  base_defend=xx.xx23705788166  base_magic_attack=xx.xx87280708638  base_magic_defend=xx.xx31752994285  base_physical_attack=xx.xx22390732649  physical_hit_modify=3.75  physical_avoid_modify=0  base_attack_speed=257  base_reuse_delay=0  base_critical=4  magic_use_speed_modify=0  status={normal}  align=-484  collision_radius=20  collision_height=22.5  category={}  clan={}  clan_help_range=300  guild={}  pledge={}  pledge_leader=0  alliance={}  alliance_leader=0  ignore_clan_list={}  ruler=0  ruling_domain={}  npc_ai={[saber_toothed_tiger]}  corpse_time=180  no_sleep_mode=0  npc_end
npc_begin  pet  12788  [saber_toothed_tiger_b]  level=35  exp=4370195  acquire_exp_rate=0.1  undying=0  can_be_attacked=0  acquire_sp=1  race=humanoid  sex=male  temper=100  safe_height=100  org_jump=15  skill_list={@s_summon_magic_defence}  magic_list={}  max_item=50  item_make_list={}  corpse_make_list={}  additional_make_list={}  additional_make_multi_list={}  slot_chest=[]  slot_rhand=[]  slot_lhand=[]  base_attack_type=fist  base_can_penetrate=0  base_attack_range=40  base_damage_range={0;0;80;120}  base_rand_dam=7  str=40  int=21  dex=30  wit=20  con=43  men=25  hp_increase=40  mp_increase=7  org_hp_regen=4.5  org_mp_regen=1.8  ground_low={80;0;10}  ground_high={140;-30;30}  underwater_low={50;0;10}  underwater_high={0;0;30}  fly_low={0;0;10}  fly_high={0;-30;30}  float_low={0;0;10}  float_high={0;-30;10}  org_earshot=100  sight={0;0;2500;120;5}  agro_range=1000  org_hp=3xx.xx9008624428  org_mp=339  base_defend=xx.xx23705788166  base_magic_attack=xx.xx87280708638  base_magic_defend=xx.xx31752994285  base_physical_attack=xx.xx22390732649  physical_hit_modify=3.75  physical_avoid_modify=0  base_attack_speed=257  base_reuse_delay=0  base_critical=4  magic_use_speed_modify=0  status={normal}  align=-484  collision_radius=20  collision_height=22.5  category={}  clan={}  clan_help_range=300  guild={}  pledge={}  pledge_leader=0  alliance={}  alliance_leader=0  ignore_clan_list={}  ruler=0  ruling_domain={}  npc_ai={[saber_toothed_tiger]}  corpse_time=180  no_sleep_mode=0  npc_end

AI
Code:

class baby_buffalo : pet_physicalattack
class_end
class baby_ostrich : pet_physicalattack
class_end
class baby_tiger : pet_physicalattack
class_end
class pet_ostrich : pet_physicalattack
class_end
class pet_buffalo : pet_physicalattack
class_end
class saber_toothed_tiger : pet_physicalattack
class_end

npcpch
Code:

[baby_buffalo]  =  1012780
[baby_ostrich]  =  1012781
[baby_tiger]  =  1012782
[pet_ostrich_a]  =  1012783
[pet_ostrich_b]  =  1012784
[pet_buffalo_a]  =  1012785
[pet_buffalo_b]  =  1012786
[saber_toothed_tiger_a]  =  1012787
[saber_toothed_tiger_b]  =  1012788

Make petdata on your own, forum don't like it :?

Sdw 12.02.2006 16:52

Damn error -_-

Now the npc :

AI
Code:

class pet_dude : citizen
handler 32  //  MENU_SELECTED
  variable_begin
      "ask"
      "reply"
      "talker"
      "myself"
      "_choiceN"
      "_code"
      "_from_choice"
  variable_end
  push_event  //  ask
  push_const 100
  add
  fetch_i
  push_const 1
  equal
  branch_false L50000
  push_event  //  reply
  push_const 104
  add
  fetch_i
  push_const 0
  equal
  branch_false L50000
  shift_sp 1
  push_event  //  talker
  push_const 32
  add
  fetch_i
  push_const 6648
  push_const 1012780
  func_call 196  //  func[CreatePet]
  shift_sp -3
  shift_sp -1
  jump L50000
L50000
  push_event  //  reply
  push_const 104
  add
  fetch_i
  push_const 1
  equal
  branch_false L50001
  shift_sp 1
  push_event  //  talker
  push_const 32
  add
  fetch_i
  push_const 6648
  push_const 1012781
  func_call 196  //  func[CreatePet]
  shift_sp -3
  shift_sp -1
  jump L50001
L50001
  push_event  //  reply
  push_const 104
  add
  fetch_i
  push_const 2
  equal
  branch_false L50002
  shift_sp 1
  push_event  //  talker
  push_const 32
  add
  fetch_i
  push_const 6649
  push_const 1012782
  func_call 196  //  func[CreatePet]
  shift_sp -3
  shift_sp -1
  jump L50002
L50002
  push_event  //  reply
  push_const 104
  add
  fetch_i
  push_const 3
  equal
  branch_false L50003
  shift_sp 1
  push_event  //  talker
  push_const 32
  add
  fetch_i
  push_const 6649
  push_const 1012786
  func_call 196  //  func[CreatePet]
  shift_sp -3
  shift_sp -1
  jump L50003
L50003
  push_event  //  reply
  push_const 104
  add
  fetch_i
  push_const 4
  equal
  branch_false L50004
  shift_sp 1
  push_event  //  talker
  push_const 32
  add
  fetch_i
  push_const 6650
  push_const 1012787
  func_call 196  //  func[CreatePet]
  shift_sp -3
  shift_sp -1
  jump L50004
L50004
  push_event  //  reply
  push_const 104
  add
  fetch_i
  push_const 5
  equal
  branch_false L50005
  shift_sp 1
  push_event  //  talker
  push_const 32
  add
  fetch_i
  push_const 6650
  push_const 1012788
  func_call 196  //  func[CreatePet]
  shift_sp -3
  shift_sp -1
  jump L50005
L50005
  call_super
handler_end

class_end

npcdata, well I'm using Taurin since wh don't work on C4 anyway & I just wanted to see them for fun. Just use the npc you want. Just need to replace AI.
Code:

npc_begin        warehouse_keeper        7086        [taurin]        level=70        exp=4296345xx.xx5        acquire_exp_rate=0.3        undying=1        can_be_attacked=0        acquire_sp=30        race=dwarf        sex=male        temper=100        safe_height=100        org_jump=15        skill_list={@s_full_magic_defence}        magic_list={}        max_item=80        item_make_list={}        corpse_make_list={}        additional_make_list={}        additional_make_multi_list={}        slot_chest=[]        slot_rhand=[]        slot_lhand=[]        base_attack_type=fist        base_can_penetrate=0        base_attack_range=40        base_damage_range={0;0;80;120}        base_rand_dam=30        str=40        int=21        dex=30        wit=20        con=43        men=10        hp_increase=40        mp_increase=7        org_hp_regen=7.5        org_mp_regen=2.7        ground_low={80;0;10}        ground_high={120;-30;30}        underwater_low={50;0;10}        underwater_high={0;0;30}        fly_low={0;0;10}        fly_high={0;-30;30}        float_low={0;0;10}        float_high={0;-30;30}        org_earshot=100        sight={0;0;2500;120;5}        agro_range=1000        org_hp=24xx.xx818899627        org_mp=1345.8        base_defend=2xx.xx597408024        base_magic_attack=4xx.xx4627426724        base_magic_defend=2xx.xx8467292763        base_physical_attack=6xx.xx3725587608        physical_hit_modify=4.75        physical_avoid_modify=0        base_attack_speed=253        base_reuse_delay=0        base_critical=4        magic_use_speed_modify=0        status={normal}        align=-4900        collision_radius=8        collision_height=17        category={}        clan={}        clan_help_range=300        guild={}        pledge={}        pledge_leader=0        alliance={}        alliance_leader=0        ignore_clan_list={}        ruler=0        ruling_domain={}        npc_ai={[pet_dude];{[fnHi] = [petdude.htm]}}        corpse_time=7        no_sleep_mode=0        npc_end

itemdata
Code:

item_begin  etcitem  6648  [ostrich_flute_a]  item_type=etcitem  slot_bit_type={none}  armor_type=none  etcitem_type=pet_collar  blessed=0  weight=20  default_action=action_skill_maintain  consume_type=consume_type_normal  initial_count=1  maximum_count=1  soulshot_count=0  spiritshot_count=0  immediate_effect=0  price=0  default_price=1000  item_skill=[s_wolf_collar]  critical_attack_skill=[none]  material_type=steel  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  effective_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  item_end
item_begin  etcitem  6649  [buffalo_flute_a]  item_type=etcitem  slot_bit_type={none}  armor_type=none  etcitem_type=pet_collar  blessed=0  weight=20  default_action=action_skill_maintain  consume_type=consume_type_normal  initial_count=1  maximum_count=1  soulshot_count=0  spiritshot_count=0  immediate_effect=0  price=0  default_price=1000  item_skill=[s_wolf_collar]  critical_attack_skill=[none]  material_type=steel  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  effective_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  item_end
item_begin  etcitem  6650  [saber_toothed_tiger_flute_a]  item_type=etcitem  slot_bit_type={none}  armor_type=none  etcitem_type=pet_collar  blessed=0  weight=20  default_action=action_skill_maintain  consume_type=consume_type_normal  initial_count=1  maximum_count=1  soulshot_count=0  spiritshot_count=0  immediate_effect=0  price=0  default_price=1000  item_skill=[s_wolf_collar]  critical_attack_skill=[none]  material_type=steel  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  effective_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  item_end

itempch
Code:

[ostrich_flute_a] = 6648
[buffalo_flute_a] = 6649
[saber_toothed_tiger_flute_a] = 6650

petdude.htm
Code:

<html>
<head>
<body>
I'm selling some C4 pet, here you go.

<a action="bypass -h menu_select?ask=1&reply=0">Baby Ostrich</a>

<a action="bypass -h menu_select?ask=1&reply=1">Ostrich</a>

<a action="bypass -h menu_select?ask=1&reply=2">Baby Buffalo</a>

<a action="bypass -h menu_select?ask=1&reply=3">Buffalo</a>

<a action="bypass -h menu_select?ask=1&reply=4">Baby Cougar</a>

<a action="bypass -h menu_select?ask=1&reply=5">Cougar</a>

</body>
</html>

Hope I don't forget anything.

Domzelan 12.02.2006 17:57

He thx - now i understand all i need ;)

kepler001 12.02.2006 18:08

Thanks

Kirikups 14.02.2006 01:43

we need to add create_pet 9,10,11 ... by hexing now, right ?

Domzelan 14.02.2006 07:48

Yes - you need hex

kepler001 09.05.2006 19:38

and the food ??

Eanae 10.05.2006 01:41

Quote:

Originally Posted by kepler001
and the food ??

Use the hatcling food as an example... it's not very hard...

kepler001 10.05.2006 02:06

7582 baby spice :D

Mattho 10.05.2006 12:44

Eanae > but from where i can get the numbers for food? Or it's just ammount?

Amanda 10.05.2006 16:41

nice share thk (+^_^+)

Zeran 10.05.2006 18:41

ty man!
testing testing :)
2Amanda: nice avatar...

TheOrder 10.05.2006 21:13

Tnx for the share !!! :wink:

OFFTOPIC : Zeran i like your avatar more :lol:

mantrastic 11.05.2006 06:15

Thanks for the share! good work :P

hamidouch 11.05.2006 11:52

like good ol times
[php:1:b9633eb095]
class default_npc {}

class baby_pet : default_npc
{
parameter:
int MeatReuse = 1000;
int MeatAmount = 1;
int Meat = @food_for_baby;

int SkillReuse = 100000;
int HealMagic = @s_pet_playful_heal1;

handler:
EventHandler CREATED()
{
AddPetDefaultDesire_Follow(200.0);
AddTimerEx(100070, MeatReuse); //Auto food
AddTimerEx(100079, SkillReuse); //AUto -random- skill
}
EventHandler NO_DESIRE()
{
AddPetDefaultDesire_Follow(200.0);
AddTimerEx(100070, MeatReuse);
AddTimerEx(100079, SkillReuse);
}
EventHandler TIMER_FIRED_EX(myself, timer_id)
{
if (timer_id == 100070)
{
if (myself.master.alive == 0)
{
Despawn();
}//CHANGE MAX HP TO myself.sm.m_MaxMeal and replace constant 1000 to push_const 1724
if ((myself.sm.m_Meal <= ((myself.sm.max_hp*55)/100)) && (OwnItemCount(myself.sm.master, Meat) > 0))
{
myself.sm.m_Meal = (myself.sm.m_Meal+100);
DeleteItem1(myself.sm.master, Meat, 1);
AddEffectActionDesire(myself.master, 3, 3000, 10000);
}
AddTimerEx(100070, MeatReuse);
}
if (timer_id == 100079)
{
if (myself.master.alive == 0)
{
Despawn();
}
if(Skill_GetConsumeMP(HealMagic) < myself.sm.mp && Skill_GetConsumeHP(HealMagic) < myself.sm.hp && Rand(100) < 40)
{
AddUseSkillDesire(myself.master, HealMagic, 1, 1, 1000000);
AddEffectActionDesire(myself.master, 4, 3000, 10000);
AddTimerEx(100079, SkillReuse);
}
}
}
EventHandler MASTER_ATTACK(target)
{
if (target != myself.sm)
AddAttackDesire(target, @AMT_MOVE_TO_TARGET, 100);
}
EventHandler TALKED(talker)
{
AddEffectActionDesire(talker, 1, 3000, 10000);
}
EventHandler SEE_CREATURE(creature, i0)
{
i0 = Rand(100);
if (DistFromMe(creature) < 300 && i0 > 80)
AddEffectActionDesire(creature, 2, 3000, 10000);
}
EventHandler MY_DYING(myself)
{
ShowSystemMessage(myself.master, 1520);
}
EventHandler MENU_SELECTED(talker, ask ,reply, i0, c0)
{
if(ask == 1)
{
i0 = myself.master.target_index;
if (i0 <= 0) return;
c0 = GetCreatureFromIndex(i0);
if (c0)
{
if(Skill_GetConsumeMP(HealMagic) < myself.sm.mp && Skill_GetConsumeHP(HealMagic) < myself.sm.hp)
AddUseSkillDesire(myself.master, HealMagic, 1, 1, 1000000);
AddEffectActionDesire(myself.master, 4, 3000, 10000);
}
}
if(ask == 1 && reply == 1) //CTRL+MOVETO = Move to master target
{
i0 = myself.master.target_index;
if (i0 <= 0) return;
c0 = GetCreatureFromIndex(i0);
AddMoveToDesire(FloatToInt(c0.x), FloatToInt(c0.y), FloatToInt(c0.z), 1000);
}
if(ask == 0 && reply == 0) //ALT+DESPAWN = Despawn
{
ShowSystemMessage(myself.master, 1520);
Despawn();
}
}
}


class baby_bufalo : baby_pet
{
}

class baby_ostrich : baby_pet
{
}

class baby_cougar : baby_pet
{
}
[/php:1:b9633eb095]

GamesX 12.05.2006 02:38

Hello!

We are going for part:D

Guiding for this post began to work to implant Pets of C4;

The part of NPC was everything certain, see the pictures:
http://img506.imageshack.us/img506/3...ot000050fp.jpg

As for the petdude.html had a problem, I put the AI.OBJ and HTML in NPC to I lower more when I try to catch C4Pet looks the mistake:

http://img66.imageshack.us/img66/8113/shot000074eo.jpg

NPC that is:

Code:

npc_begin        warehouse_keeper        7318        [__tess_grayrock]        level=70        exp=4296345xx.xx5        acquire_exp_rate=2.1        undying=1        can_be_attacked=0        acquire_sp=840        race=dwarf        sex=male        temper=100        safe_height=100        org_jump=15        skill_list={@s_full_magic_defence}        magic_list={}        max_item=50        item_make_list={}        corpse_make_list={}        additional_make_list={}        additional_make_multi_list={}        slot_chest=[]        slot_rhand=[]        slot_lhand=[]        base_attack_type=fist        base_can_penetrate=0        base_attack_range=40        base_damage_range={0;0;80;120}        base_rand_dam=30        str=40        int=21        dex=30        wit=20        con=43        men=10        hp_increase=40        mp_increase=7        org_hp_regen=7.5        org_mp_regen=2.7        ground_low={80;0;10}        ground_high={120;-30;30}        underwater_low={50;0;10}        underwater_high={0;0;30}        fly_low={0;0;10}        fly_high={0;-30;30}        float_low={0;0;10}        float_high={0;-30;30}        org_earshot=100        sight={0;0;2500;120;5}        agro_range=1000        org_hp=24xx.xx043718861        org_mp=1345.8        base_defend=2xx.xx5970408024        base_magic_attack=4xx.xx4095517361        base_magic_defend=2xx.xx8467292763        base_physical_attack=6xx.xx5273519793        physical_hit_modify=4.75        physical_avoid_modify=0        base_attack_speed=253        base_reuse_delay=0        base_critical=4        magic_use_speed_modify=0        status={normal}        align=-4900        collision_radius=8        collision_height=17        category={}        clan={}        clan_help_range=300        guild={}        pledge={}        pledge_leader=0        alliance={}        alliance_leader=0        ignore_clan_list={}        ruler=0        ruling_domain={}        npc_ai={[pet_dude];{[fnHi] = [petdude.htm]}}        corpse_time=7        no_sleep_mode=0        npc_end
I also tried summon using the more Flutes didn't have success!
http://img66.imageshack.us/img66/4170/shot000093zt.jpg

Obs: Use the AI.OBJ of Sdw

I am thinking that this AI.OBJ is not correct, because I made everything step the step and did I still revise vary times, did anybody really get to implant C4Pet or all post alone Flame were?

In case somebody has an idea, I am attentive:D

kepler001 13.05.2006 14:37

petdata for baby pets


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