tarvin
19.10.2005, 17:03
Hi, my eglish very bad, but i need help:)
I do PK viliage. (floran vilage),
Merchant_of_pk (hiz like drink, and trade wearpon on soulore end wine)
Guard_of_pk kill all haz not PK
And i need new ai for guard pk.. if karma < 1 guard kill.
Plees helpme and i finish my work and post complit work on this forum:)
I have
client side
npcname-e.dat
npc_begin id=14001 nickcolor=raid nick=[Nikolas] name=[Merchant of PK] npc_end
npcgrp.txt
npc_begin npc_id=14001 npc_name=[] npc_speed=1 class_name=[LineageNPC.black_market_trader_MDwarf_set] mesh_name=[LineageNPCs.black_market_trader_MDwarf_set_m00] texture_name={[LineageNPCsTex.black_market_trader_MDwarf_m00_t00_ b00];[LineageNPCsTex.black_market_trader_MDwarf_m00_t00_ b01];[LineageNPCsTex.black_market_trader_MDwarf_m00_t00_ f];[LineageNPCsTex.black_market_trader_MDwarf_m00_t00_ h]} texture_name_second={[]} collision_radius=N/A collision_height=N/A attack_sound1={[ItemSound.fist_1];[ItemSound.fist_2];[ItemSound.fist_3]} defense_sound1={[ItemSound.armor_leather_1];[ItemSound.armor_leather_2];[ItemSound.armor_leather_5];[ItemSound.armor_leather_7];[ItemSound.armor_leather_8]} damage_sound={[ChrSound.MNpc_Old_Dmg_1];[ChrSound.MNpc_Old_Dmg_2];[ChrSound.MNpc_Old_Dmg_3]} sound_vol=250 sound_radius=50 sound_random=70 attack_effect=[LineageEffect.p_u002_a] quest_be=0 level_limit={0;0} class_limit={} silhouette={[]} property_list={0} social=0 c3attr=0 npc_end
etcitemgrp.dat (wine)
item_begin object_id=90004 object_name=[] drop_type=0 drop_anim_type=0 drop_radius=2 drop_height=5 drop_mesh={[dropitems.drop_sack_m00]} drop_texture={[dropitemstex.drop_sack_t00]} icon={[icon.etc_luxury_wine_a_i00]} mesh={[none]} texture={[none]} crystallizable=0 drop_sound=[ItemSound.itemdrop_sack] equip_sound=[none] etcitem_type=none weight=20 consume_type=consume_type_stackable material_type=liquid crystal_type=none durability=0 c3_newvar=0 item_end
itemname.dat
item_name_begin id=90004 name=[12 Year Old Wine] additionalname=[Wine] popup=-1 description=[Вино для спившегося трейдера в деревне флоран, можеть быть использовано, но так же и служит предметом обмена] item_name_end
serverside
npcdata.txt
npc_begin merchant 14001 [merchant_of_pk] level=70 exp=4296345xx.xx5 acquire_exp_rate=0.4 undying=1 can_be_attacked=0 acquire_sp=40 race=human 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=24 category={} clan={} clan_help_range=300 guild={} pledge={} pledge_leader=0 alliance={} alliance_leader=0 ignore_clan_list={} ruler=0 ruling_domain={} npc_ai={[gamble_master];{[fnHi] = [mpk001.htm]}} corpse_time=7 no_sleep_mode=0 npc_end
itemdata.txt
item_begin etcitem 90004 [12_Year_Old_Wine] item_type=weapon slot_bit_type={none} armor_type=none etcitem_type=potion blessed=0 weight=60 default_action=action_skill_reduce consume_type=consume_type_stackable initial_count=1 maximum_count=20 soulshot_count=0 spiritshot_count=0 immediate_effect=1 price=0 default_price=1000 item_skill=[s_healing_potion] critical_attack_skill=[none] material_type=liquid 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
multisell
MultiSell_begin [DirtMaster] 900
selllist={
{{[greater_healing_potion];10};{{[12_Year_Old_Wine];1};{[soul_ore];10}}};
{{[saber*bastard_sword];1};{{[12_Year_Old_Wine];1};{[soul_ore];1200}}};
{{[akat_long_bow];1};{{[12_Year_Old_Wine];1};{[soul_ore];5200}}};
{{[sage's_staff];1};{{[12_Year_Old_Wine];1};{[soul_ore];5200}}};
{{[mithril_dagger];1};{{[12_Year_Old_Wine];1};{[soul_ore];2600}}};
{{[tattoo_o'_soul];1};{{[12_Year_Old_Wine];1};{[soul_ore];1500}}}}
{{[wool_underwear_set];1};{{[12_Year_Old_Wine];1};{[soul_ore];50}}}}
MultiSell_end
npcpos.txt, item and ppcpatch simle and i not posted
html
mpk001.htm
<html><head><body>
Пьяный торговец:
Эх... Я раньше был великим мастером. Ходил туда сюда, делал всякие вещи... но... сгубила любовь к вину. Давай бутылку и мы поговорим
<a action="bypass -h multisell?id=900">Что я имею предложить</a></body></html>
And wine must heling:) and i use standart skins:)
I do PK viliage. (floran vilage),
Merchant_of_pk (hiz like drink, and trade wearpon on soulore end wine)
Guard_of_pk kill all haz not PK
And i need new ai for guard pk.. if karma < 1 guard kill.
Plees helpme and i finish my work and post complit work on this forum:)
I have
client side
npcname-e.dat
npc_begin id=14001 nickcolor=raid nick=[Nikolas] name=[Merchant of PK] npc_end
npcgrp.txt
npc_begin npc_id=14001 npc_name=[] npc_speed=1 class_name=[LineageNPC.black_market_trader_MDwarf_set] mesh_name=[LineageNPCs.black_market_trader_MDwarf_set_m00] texture_name={[LineageNPCsTex.black_market_trader_MDwarf_m00_t00_ b00];[LineageNPCsTex.black_market_trader_MDwarf_m00_t00_ b01];[LineageNPCsTex.black_market_trader_MDwarf_m00_t00_ f];[LineageNPCsTex.black_market_trader_MDwarf_m00_t00_ h]} texture_name_second={[]} collision_radius=N/A collision_height=N/A attack_sound1={[ItemSound.fist_1];[ItemSound.fist_2];[ItemSound.fist_3]} defense_sound1={[ItemSound.armor_leather_1];[ItemSound.armor_leather_2];[ItemSound.armor_leather_5];[ItemSound.armor_leather_7];[ItemSound.armor_leather_8]} damage_sound={[ChrSound.MNpc_Old_Dmg_1];[ChrSound.MNpc_Old_Dmg_2];[ChrSound.MNpc_Old_Dmg_3]} sound_vol=250 sound_radius=50 sound_random=70 attack_effect=[LineageEffect.p_u002_a] quest_be=0 level_limit={0;0} class_limit={} silhouette={[]} property_list={0} social=0 c3attr=0 npc_end
etcitemgrp.dat (wine)
item_begin object_id=90004 object_name=[] drop_type=0 drop_anim_type=0 drop_radius=2 drop_height=5 drop_mesh={[dropitems.drop_sack_m00]} drop_texture={[dropitemstex.drop_sack_t00]} icon={[icon.etc_luxury_wine_a_i00]} mesh={[none]} texture={[none]} crystallizable=0 drop_sound=[ItemSound.itemdrop_sack] equip_sound=[none] etcitem_type=none weight=20 consume_type=consume_type_stackable material_type=liquid crystal_type=none durability=0 c3_newvar=0 item_end
itemname.dat
item_name_begin id=90004 name=[12 Year Old Wine] additionalname=[Wine] popup=-1 description=[Вино для спившегося трейдера в деревне флоран, можеть быть использовано, но так же и служит предметом обмена] item_name_end
serverside
npcdata.txt
npc_begin merchant 14001 [merchant_of_pk] level=70 exp=4296345xx.xx5 acquire_exp_rate=0.4 undying=1 can_be_attacked=0 acquire_sp=40 race=human 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=24 category={} clan={} clan_help_range=300 guild={} pledge={} pledge_leader=0 alliance={} alliance_leader=0 ignore_clan_list={} ruler=0 ruling_domain={} npc_ai={[gamble_master];{[fnHi] = [mpk001.htm]}} corpse_time=7 no_sleep_mode=0 npc_end
itemdata.txt
item_begin etcitem 90004 [12_Year_Old_Wine] item_type=weapon slot_bit_type={none} armor_type=none etcitem_type=potion blessed=0 weight=60 default_action=action_skill_reduce consume_type=consume_type_stackable initial_count=1 maximum_count=20 soulshot_count=0 spiritshot_count=0 immediate_effect=1 price=0 default_price=1000 item_skill=[s_healing_potion] critical_attack_skill=[none] material_type=liquid 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
multisell
MultiSell_begin [DirtMaster] 900
selllist={
{{[greater_healing_potion];10};{{[12_Year_Old_Wine];1};{[soul_ore];10}}};
{{[saber*bastard_sword];1};{{[12_Year_Old_Wine];1};{[soul_ore];1200}}};
{{[akat_long_bow];1};{{[12_Year_Old_Wine];1};{[soul_ore];5200}}};
{{[sage's_staff];1};{{[12_Year_Old_Wine];1};{[soul_ore];5200}}};
{{[mithril_dagger];1};{{[12_Year_Old_Wine];1};{[soul_ore];2600}}};
{{[tattoo_o'_soul];1};{{[12_Year_Old_Wine];1};{[soul_ore];1500}}}}
{{[wool_underwear_set];1};{{[12_Year_Old_Wine];1};{[soul_ore];50}}}}
MultiSell_end
npcpos.txt, item and ppcpatch simle and i not posted
html
mpk001.htm
<html><head><body>
Пьяный торговец:
Эх... Я раньше был великим мастером. Ходил туда сюда, делал всякие вещи... но... сгубила любовь к вину. Давай бутылку и мы поговорим
<a action="bypass -h multisell?id=900">Что я имею предложить</a></body></html>
And wine must heling:) and i use standart skins:)