Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 04.04.2005, 17:39   #1
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default !! Working Strider Thread

thx to zzcat

npcdata:
npc_begin pet 12526 [wind_strider] level=55 exp=4594227 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={50;0;10} ground_high={186;-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=23 collision_height=31 category={} clan={} clan_help_range=300 guild={} pledge={} pledge_leader=0 alliance={} alliance_leader=0 ignore_clan_list={} ruler=0 ruling_domain={} npc_ai={[wind_strider];{[DDMagic]=@s_npc_strike1}} corpse_time=180 no_sleep_mode=0 npc_end
npc_begin pet 12527 [star_strider] level=55 exp=3877881 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={50;0;10} ground_high={186;-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=23 collision_height=31 category={} clan={} clan_help_range=300 guild={} pledge={} pledge_leader=0 alliance={} alliance_leader=0 ignore_clan_list={} ruler=0 ruling_domain={} npc_ai={[star_strider];{[DDMagic]=@s_npc_hate1}} corpse_time=180 no_sleep_mode=0 npc_end
npc_begin pet 12528 [twilight_strider] level=55 exp=2469709 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={50;0;10} ground_high={186;-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=23 collision_height=31 category={} clan={} clan_help_range=300 guild={} pledge={} pledge_leader=0 alliance={} alliance_leader=0 ignore_clan_list={} ruler=0 ruling_domain={} npc_ai={[twilight_strider]} corpse_time=180 no_sleep_mode=0 npc_end

npc_pch.txt:
[wind_strider] = 1012526
[star_strider] = 1012527
[twilight_strider] = 1012528
Digital is offline  
Old 04.04.2005, 17:39   #2
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

itemdata:含号角,饲料,座龙装备,武� �。
item_begin etcitem 4422 [dragon_bugle_wind] 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=10000 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 4423 [dragon_bugle_star] 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=10000 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 4424 [dragon_bugle_dusk] 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=10000 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 5168 [food_for_strider] item_type=etcitem slot_bit_type={none} armor_type=none etcitem_type=none blessed=0 weight=40 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=200 item_skill=[s_general_strider] 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={@wind_strider;@star_strider;@twilight_s trider} magic_weapon=0 item_end
item_begin etcitem 5169 [deluxe_food_for_strider] item_type=etcitem slot_bit_type={none} armor_type=none etcitem_type=none blessed=0 weight=40 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=300 item_skill=[s_clan_hall_strider] 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={@wind_strider;@star_strider;@twilight_s trider} magic_weapon=0 item_end

item_begin armor 5170 [mithril_panzer_coat] item_type=armor slot_bit_type={chest} armor_type=light etcitem_type=none blessed=0 weight=160 default_action=action_equip consume_type=consume_type_normal initial_count=1 maximum_count=1 soulshot_count=0 spiritshot_count=0 immediate_effect=1 price=0 default_price=4100000 item_skill=[none] critical_attack_skill=[none] material_type=leather 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=90 damaged=0 physical_defense=41 magical_defense=41 mp_bonus=0 category={} enchanted=0 html=[item_default.htm] equip_pet={@wind_strider;@star_strider;@twilight_s trider} magic_weapon=0 item_end
item_begin armor 5171 [brigandine_panzer_coat] item_type=armor slot_bit_type={chest} armor_type=light etcitem_type=none blessed=0 weight=160 default_action=action_equip consume_type=consume_type_normal initial_count=1 maximum_count=1 soulshot_count=0 spiritshot_count=0 immediate_effect=1 price=0 default_price=4400000 item_skill=[none] critical_attack_skill=[none] material_type=leather 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=90 damaged=0 physical_defense=44 magical_defense=39 mp_bonus=0 category={} enchanted=0 html=[item_default.htm] equip_pet={@wind_strider;@star_strider;@twilight_s trider} magic_weapon=0 item_end
item_begin armor 5172 [draconic_panzer_coat] item_type=armor slot_bit_type={chest} armor_type=light etcitem_type=none blessed=0 weight=160 default_action=action_equip consume_type=consume_type_normal initial_count=1 maximum_count=1 soulshot_count=0 spiritshot_count=0 immediate_effect=1 price=0 default_price=4600000 item_skill=[none] critical_attack_skill=[none] material_type=leather 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=90 damaged=0 physical_defense=46 magical_defense=46 mp_bonus=0 category={} enchanted=0 html=[item_default.htm] equip_pet={@wind_strider;@star_strider;@twilight_s trider} magic_weapon=0 item_end
item_begin armor 5173 [blood_panzer_coat] item_type=armor slot_bit_type={chest} armor_type=light etcitem_type=none blessed=0 weight=160 default_action=action_equip consume_type=consume_type_normal initial_count=1 maximum_count=1 soulshot_count=0 spiritshot_count=0 immediate_effect=1 price=0 default_price=4900000 item_skill=[none] critical_attack_skill=[none] material_type=leather 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=90 damaged=0 physical_defense=49 magical_defense=49 mp_bonus=0 category={} enchanted=0 html=[item_default.htm] equip_pet={@wind_strider;@star_strider;@twilight_s trider} magic_weapon=0 item_end
item_begin armor 5174 [ophidian_panzer_coat] item_type=armor slot_bit_type={chest} armor_type=light etcitem_type=none blessed=0 weight=160 default_action=action_equip consume_type=consume_type_normal initial_count=1 maximum_count=1 soulshot_count=0 spiritshot_count=0 immediate_effect=1 price=0 default_price=5200000 item_skill=[none] critical_attack_skill=[none] material_type=leather 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=90 damaged=0 physical_defense=52 magical_defense=52 mp_bonus=0 category={} enchanted=0 html=[item_default.htm] equip_pet={@wind_strider;@star_strider;@twilight_s trider} magic_weapon=0 item_end
item_begin armor 5175 [inferno_panzer_coat] item_type=armor slot_bit_type={chest} armor_type=light etcitem_type=none blessed=0 weight=160 default_action=action_equip consume_type=consume_type_normal initial_count=1 maximum_count=1 soulshot_count=0 spiritshot_count=0 immediate_effect=1 price=0 default_price=5400000 item_skill=[none] critical_attack_skill=[none] material_type=leather 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=90 damaged=0 physical_defense=54 magical_defense=54 mp_bonus=0 category={} enchanted=0 html=[item_default.htm] equip_pet={@wind_strider;@star_strider;@twilight_s trider} magic_weapon=0 item_end
item_begin weapon 5176 [serpentine_spike] item_type=weapon slot_bit_type={rhand} armor_type=none etcitem_type=none blessed=0 weight=100 default_action=action_equip consume_type=consume_type_normal initial_count=1 maximum_count=1 soulshot_count=2 spiritshot_count=2 immediate_effect=1 price=0 default_price=8000000 item_skill=[none] critical_attack_skill=[none] material_type=fine_steel crystal_type=none crystal_count=0 is_trade=1 is_drop=1 is_destruct=1 physical_damage=17 random_damage=10 weapon_type=sword can_penetrate=0 critical=8 hit_modify=0 avoid_modify=0 dual_fhit_rate=0 shield_defense=0 shield_defense_rate=0 attack_range=40 effective_range=48 damage_range={0;0;40;120} attack_speed=379 reuse_delay=0 mp_consume=0 magical_damage=21 durability=90 damaged=0 physical_defense=0 magical_defense=0 mp_bonus=0 category={} enchanted=0 html=[item_default.htm] equip_pet={@wind_strider;@star_strider;@twilight_s trider} magic_weapon=0 item_end

item_pch:
[dragon_bugle_wind] = 4422
[dragon_bugle_star] = 4423
[dragon_bugle_dusk] = 4424

[food_for_strider] = 5168
[deluxe_food_for_strider] = 5169

[mithril_panzer_coat] = 5170
[brigandine_panzer_coat] = 5171
[draconic_panzer_coat] = 5172
[blood_panzer_coat] = 5173
[ophidian_panzer_coat] = 5174
[inferno_panzer_coat] = 5175
[serpentine_spike] = 5176
Digital is offline  
Old 04.04.2005, 17:40   #3
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

skilldata.txt:座龙饲料对应的喂食技能。
skill_begin skill_name = [s_general_strider] /* [座龙饲料] */ skill_id = 2101 level = 1 operate_type = A1 magic_level = 1 effect = {{i_food_for_pet;200}} is_magic = 0 mp_consume2 = 0 cast_range = -1 effective_range = -1 skill_hit_time = 0 skill_cool_time = 0 skill_hit_cancel_time = 0 reuse_delay = 0 attribute = attr_none effect_point = 0 target_type = self affect_scope = single next_action = none skill_end
skill_begin skill_name = [s_clan_hall_strider] /* [根据地座龙饲料] */ skill_id = 2102 level = 1 operate_type = A1 magic_level = 1 effect = {{i_food_for_pet;300}} is_magic = 0 mp_consume2 = 0 cast_range = -1 effective_range = -1 skill_hit_time = 0 skill_cool_time = 0 skill_hit_cancel_time = 0 reuse_delay = 0 attribute = attr_none effect_point = 0 target_type = self affect_scope = single next_action = none skill_end

skill_pch.txt
[s_general_strider] = 537857
[s_clan_hall_strider] = 538113

skill_pch2.txt
537857 -1 0 0 0 0 29 -1 0 0 0 0 -12345
538113 -1 0 0 0 0 29 -1 0 0 0 0 -12345

ai.obj:关键部分
//座龙
class wind_strider : pet_use_one_skill
class_end


class star_strider : pet_use_one_skill
class_end


class twilight_strider : pet_use_one_skill
class_end

categorydata.txt:
在[summon_npc_group]里加
;@wind_strider;@star_strider;@twilight_strider

petdata.txt:
太长了,不发了。
把幼龙的定义Copy下,改成三种座龙的� ��字。
Digital is offline  
Old 04.04.2005, 17:43   #4
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

could use //Create_pet comand,5:wind_strider,6:star_strider,7� �twilight_strider
of cuz hex L2Server.exe

::004245F0:: 83E8 04 SUB EAX,4
::004245F3:: 8BC8 MOV ECX,EAX
::004245F5:: 81C1 2E730F00 ADD ECX,F732E
::004245FB:: 51 PUSH ECX
::004245FC:: 05 46110000 ADD EAX,1146
::00424601:: 50 PUSH EAX
::00424602:: 8B55 0C MOV EDX,[EBP+C]
::00424605:: 52 PUSH EDX
::00424606:: E8 E5841200 CALL 0054CAF0 \:JMPDOWN
::0042460B:: 8B4D F4 MOV ECX,[EBP-C]
::0042460E:: 5F POP EDI
::0042460F:: 5E POP ESI
::00424610:: 32C0 XOR AL,AL
::00424612:: 64:890D 00000000 MOV FS:[0],ECX
::00424619:: 5B POP EBX
::0042461A:: 8BE5 MOV ESP,EBP
::0042461C:: 5D POP EBP
::0042461D:: C3 RETN


at this address,u compare it with the old L2Server.exe hex and u'll know what it is
::004143DC:: 83F8 06 CMP EAX,6
::004143DF:: 0F87 D8000000 JA 004144BD \:JMPDOWN
::004143E5:: FF2485 50CF5B00 JMP [EAX*4+5BCF50]
::004143EC:: 8B4D 08 MOV ECX,[EBP+8] \:BYJMP JmpBy:004143B4,
::004143EF:: 68 DCCF5B00 PUSH 5BCFDC \->: //create_pet 1~3
::004143F4:: 68 FCCA5B00 PUSH 5BCAFC \->: SYS
::004143F9:: E8 B2200F00 CALL 005064B0 \:JMPDOWN\:BYJMP JmpBy:004144D

the old hex value was too small, here at 5BCF50, i redid the hex value
use the old hex segment for creating wolf n hatchling and copy it over
then behind them add 3 004245F0, pointing to creating strider address
this is also the code i released above.

this hex segement will follow the command and variables to decide which pet to create, so just follow format to create the sequence for it n it'll work

This is how the command looks like, address is: 0054CAF0
void CNPC::CreatePet(CSharedCreatureData* to, int nPetCollarClassID, int nPetNpcClassID)
looking at the function, u'll know the meaning already, go try it out urself!

u can come to my server n test it, it's open right now
t2.wztt.com

user:test password:00000000
once online, just upgrade the hatchling to strider, and ride it
find fairy myumyu, she's at fairy valley?
Digital is offline  
Old 04.04.2005, 17:58   #5
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default




Digital is offline  
Old 04.04.2005, 19:02   #6
flakka
Архивный участник
 
Join Date: Mar 2005
Posts: 1,143
Default

Holy crap! :shock:

Is that one of the C3 bosses?
flakka is offline  
Old 05.04.2005, 15:41   #7
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

ai.ob∶搜索branch_false L43428,在后面加上下面这些东西。

branch_false L43428
//===============================================
L80000
push_event
push_const 104
add
fetch_i
push_const 80
equal
branch_false L80002
shift_sp 1
push_event
push_const 32
add
fetch_i
push_const 57
func_call 81
shift_sp -2
push_const 2000000000
greater_equal
branch_false L80001
shift_sp 1
push_event
push_const 32
add
fetch_i
push_const 3500
func_call 81
shift_sp -2
push_const 1
greater_equal
branch_false L80003
shift_sp 1
push_event
push_const 32
add
fetch_i
push_const 3500
push_const 1
func_call 80
shift_sp -3
shift_sp 1
push_event
push_const 32
add
fetch_i
push_const 4422
push_const 1012526
func_call 196
shift_sp -3
shift_sp -1
jump L80004
L80003
shift_sp 1
push_event
push_const 32
add
fetch_i
push_const 3501
func_call 81
shift_sp -2
push_const 1
greater_equal
branch_false L80005
shift_sp 1
push_event
push_const 32
add
fetch_i
push_const 3501
push_const 1
func_call 80
shift_sp -3
shift_sp 1
push_event
push_const 32
add
fetch_i
push_const 4423
push_const 1012527
func_call 196
shift_sp -3
shift_sp -1
jump L80004
L80005
shift_sp 1
push_event
push_const 32
add
fetch_i
push_const 3502
func_call 81
shift_sp -2
push_const 1
greater_equal
branch_false L80001
shift_sp 1
push_event
push_const 32
add
fetch_i
push_const 3502
push_const 1
func_call 80
shift_sp -3
shift_sp 1
push_event
push_const 32
add
fetch_i
push_const 4424
push_const 1012528
func_call 196
shift_sp -3
shift_sp -1
L80004
shift_sp 1
push_event
push_const 32
add
fetch_i
push_const 57
push_const 2000000000
func_call 80
shift_sp -3
shift_sp 1
push_event
push_const 32
add
fetch_i
S80001. "fairy_mymyu_q0420_82.htm"
push_string S80001
func_call 43
shift_sp -2
shift_sp -1
jump L80002
L80001
shift_sp 1
push_event
push_const 32
add
fetch_i
S80000. "fairy_mymyu_q0420_81.htm"
push_string S80000
func_call 43
shift_sp -2
shift_sp -1
L80002
//===============================================
L43427
Digital is offline  
Old 05.04.2005, 15:42   #8
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

fairy_mymyu001.htm∶

<html><head>

<body>
妖精米谬:
啊...!真是隔了好久一段时间才回到� �个世界,但是这里怎么这么忙碌咧?� ��处都是人类...有些傻瓜还甚至扑过来 想抓我制成标本...现在连猎人也往来� �个地方了吗?到底他们还要猎杀多少� ��会满足呢...啊,危险!危险!我不能 被抓住...

<a action="bypass -h talk_select">[幼龙任务]</a>

<a action="Link fairy_mymyu_q0420_80.htm">[升级座龙]</a>

</body></html>

fairy_mymyu_q0420_80.htm:

<html>
<head></head>
<body>
升级座龙需要做完幼龙任务,得到<font color="FFFF00">幼龙</font>,还需要准备<font color="FFFF00">2000000000 金币</font>的手续费。现在请把你的幼龙返回 为道具状态,开始升级吧!你准备好� �?

<a action="bypass -h menu_select?ask=420&reply=80">准备好了</a>


<font color="9999CC">================注意事项======= =========</font>

<font color="9999CC">1. 座龙饲料可以在各大城镇宠物管理员� �购买。分别是座龙饲料、高级座龙饲� ��。</font>

<font color="9999CC">2. 座龙可以装备铠甲和武器,分别是米� �莉装甲、锁子装甲、龙装甲、龙装甲� ��龙装甲、龙装甲、龙装甲。</font>

<font color="990000">3. 如果在骑龙状态下直接退出游戏,下� �进入游戏时将不能召唤宠物,请输入</font><font color="FFFF00">"/下去"</font><font color="990000">命令下龙后再召唤宠物。</font>

</body>
</html>

fairy_mymyu_q0420_81.htm:

<html>
<head></head>
<body>
愚蠢的人类,居然敢欺骗我,把<font color="FFFF00">幼龙</font>和<font color="FFFF00">2000000000 金币</font>的升级费用,弄齐了再来。不然我 会让你付出代价,对你下最狠的毒咒� �
</body>
</html>

fairy_mymyu_q0420_82.htm:

<html>
<body>
恭喜!

你的幼龙已经成功升级为移动迅速,� �击力强,能给人以压迫感的<font color="FFFF00">座龙</font>。

我会以我的力量把这个座龙隐藏在妖� �的世界里。不过不要担心。我会给你� ��个号角。不管什么时候,只要你吹这 个号角,就可以叫出座龙到你身边来� �

你现在可以随意骑着座龙溜达和战斗� �但请照顾好你的宠物,不要让它累坏� ��饿着,否则它会永远离开你。

</body>
</html>
Digital is offline  
Old 05.04.2005, 15:44   #9
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

regarding c2 mob skill problem, edit ActionName-cn.txt to work.
but after editing, some mob which could use multiple skill cant work anymore.
this is also why c2 make all skill into an icon action.
i solved it thru hexing l2server.exe, this way, i could summon mob that could use multiple skill, but i havent got time to show, so go try it.

::004F589F:: 83F8 3F CMP EAX,3F
//eax this is the icon action value
::004F58A2:: 0F87 A2F3F2FF JA 00424C4A \:JMPUP
//for values bigger than 1000 (icon action)
::004F58A8:: 0FB688 A00A5C00 MOVZX ECX,BYTE PTR [EAX+5C0AA0] \:BYJMP JmpBy:00424C65,
5C0AA0 is a single character group,representing the matching icon action to jump to the correct handler. just use c2 matching skill position's value and change it to 0D.
::004F58AF:: FF248D AC5C4F00 JMP DWORD PTR [ECX*4+4F5CAC]
//4F5CAC use to handle icon action values, those values behind are used to let c2 skills work, how to make it work try it urself!
Digital is offline  
Old 06.04.2005, 18:43   #10
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

ok... some new clues...
the address above gotta minus 400000
(at least for me, using UE)
Digital is offline  
Old 09.04.2005, 17:12   #11
badjoe
Архивный участник
 
Join Date: Feb 2005
Posts: 72
Default

Quote:
Originally Posted by Digital
可以用Create_pet造号角,5:风龙,6:星龙,7:� ��昏。
当然我改过L2Server.exe

::004245F0:: 83E8 04 SUB EAX,4
::004245F3:: 8BC8 MOV ECX,EAX
::004245F5:: 81C1 2E730F00 ADD ECX,F732E
::004245FB:: 51 PUSH ECX
::004245FC:: 05 46110000 ADD EAX,1146
::00424601:: 50 PUSH EAX
::00424602:: 8B55 0C MOV EDX,[EBP+C]
::00424605:: 52 PUSH EDX
::00424606:: E8 E5841200 CALL 0054CAF0 \:JMPDOWN
::0042460B:: 8B4D F4 MOV ECX,[EBP-C]
::0042460E:: 5F POP EDI
::0042460F:: 5E POP ESI
::00424610:: 32C0 XOR AL,AL
::00424612:: 64:890D 00000000 MOV FS:[0],ECX
::00424619:: 5B POP EBX
::0042461A:: 8BE5 MOV ESP,EBP
::0042461C:: 5D POP EBP
::0042461D:: C3 RETN


还有这个地方。你对比下旧的L2Server.ex e的代码就知道是什么意识了。
::004143DC:: 83F8 06 CMP EAX,6
::004143DF:: 0F87 D8000000 JA 004144BD \:JMPDOWN
::004143E5:: FF2485 50CF5B00 JMP [EAX*4+5BCF50]
::004143EC:: 8B4D 08 MOV ECX,[EBP+8] \:BYJMP JmpBy:004143B4,
::004143EF:: 68 DCCF5B00 PUSH 5BCFDC \->: //create_pet 1~3
::004143F4:: 68 FCCA5B00 PUSH 5BCAFC \->: SYS
::004143F9:: E8 B2200F00 CALL 005064B0 \:JMPDOWN\:BYJMP JmpBy:004144D


以前的虚表位置太小,我在这个 5BCF50 重构了虚表。
把旧的造狼和幼龙的函数地址Copy过去, 然后在后面加三个004245F0,指向造座龙� �角的地址,也就是我上面发的那块代码 。
那段代码会根据命令提交的参数判断� �招什么号角,所以对应三个造号角函数 的地址填一样就行了。

这是造号角的函数原型,地址是:0054CAF0
void CNPC::CreatePet(CSharedCreatureData* to, int nPetCollarClassID, int nPetNpcClassID)
看参数名字就应该知道意识了,自己去� ��试吧!

你到我服务器试下吧,现在开了。
t2.wztt.com

帐号:test 密码:00000000
上去直接把幼龙升级成座龙,自己骑的� ��下。
去找精灵米缪,那号已经在精灵谷了。
someone got this part working ?
badjoe is offline  
Old 10.04.2005, 18:17   #12
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

from c3 client action
a c t i o n _ b e g i n i d = 3 8 t y p e = - 1 c a t e g o r y = [ b a s i c ] c a t e g o r y 2 = { r i d i n g } c m d = [ m o u n t d i s m o u n t ] i c o n = [ i c o n . a c t i o n 0 3 6 ] n a m e = [ ÀÐ0®/ ´°¬¹0®] d e s c = [ ÈÐ  ˆÇ”² N P C ÐÅ ÑйÂXÕp¬˜° ´°½¹È²ä². \ n \ n ( äÎè¹Ü´ : / ÀÐ0®, / ´°¬¹0®, / ÀÐ0®´°¬¹0®) ] a c t i o n _ e n d

from c2 client
action_begin id=38 type=-1 category=[basic] category2={riding} cmd=[mountdismount] icon=[icon.action036] name=[Mount/Dismount] desc=[Toggle mount/dismount of an NPC that can be ridden. (/mount, /dismount, /mountdismount)] action_end
Digital is offline  
Old 12.04.2005, 14:44   #13
Domzelan
Архивный участник
 
Join Date: Apr 2005
Posts: 599
Default

digital post here a link your L2Server.exe plz
Domzelan is offline  
Old 12.04.2005, 14:46   #14
badjoe
Архивный участник
 
Join Date: Feb 2005
Posts: 72
Default

Quote:
Originally Posted by Domzelan
digital post here a link your L2Server.exe plz
too lazy to fix by yourself ? :P


btw Digital did you get the create_pet 5,6,7 working ?
badjoe is offline  
Old 12.04.2005, 15:19   #15
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

nope. still trying. ROFL
Digital is offline  
Old 13.04.2005, 08:23   #16
Leron
Архивный участник
 
Join Date: Apr 2005
Posts: 3
Default

where i have to put: ai.ob∶搜索branch_false L43428,在后面加上下面这些东西。

I don't find:

branch_false L43428
L43427

and anybody can translate quest files and other
google translator don't work very fine LOL
Leron is offline  
Old 13.04.2005, 09:40   #17
yellowperil
Архивный участник
 
Join Date: Mar 2005
Posts: 114
Default

this thread is more to fix the summons (create) than the ride command.

I am looking for the ride hex, if someone has got it post it.
yellowperil is offline  
Old 13.04.2005, 11:35   #18
JC.Paradox
Архивный участник
 
Join Date: Apr 2005
Posts: 17
Default

there's no hex code for ride command in l2.server exe.... i try to search in all versions on l2server...
JC.Paradox is offline  
Old 13.04.2005, 14:03   #19
archy
Архивный участник
 
Join Date: Mar 2005
Posts: 280
Default

Could we get some english translations? this might just be what can push me onto the C2/C3 Project
archy is offline  
Old 13.04.2005, 14:27   #20
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

ok. them impt stuff are translated.
Digital is offline  
Old 14.04.2005, 10:28   #21
Leron
Архивный участник
 
Join Date: Apr 2005
Posts: 3
Default

when i trie to calla a strider, i see the animation of summon, but then nothing hapens don't apear the strider

someone have idea of where is the problem??
Leron is offline  
Old 14.04.2005, 12:10   #22
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

lol.. create_pet
Digital is offline  
Old 14.04.2005, 12:33   #23
Leron
Архивный участник
 
Join Date: Apr 2005
Posts: 3
Default

create_pet work only for hatchlings, i don't modified l2server.exe for striders.

I summoned item dragon bugle wind, and call strider, but strider don't appear
Leron is offline  
Old 14.04.2005, 12:45   #24
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

apparently u didnt understand a word i said... lol
and expect a miracle cure?

now then, instead of telling u the answer, lets make u think eh?
that's make u smarter

1) u didnt do the quest to get the item
2) u didnt mod create_pet
3) u just summoned the item
4) u think it'll work just like that?
5) check ur log, there'll be an error there
6) when using the item, what does the item do?
7) how does the server handle the summon call?
8) what does the server check for the summon?
9) what should the db have for the summon?
10) mine works fine, think abt it
Digital is offline  
Old 15.04.2005, 00:23   #25
Osito2Dancer
Архивный участник
 
Join Date: Mar 2005
Posts: 442
Default

Try //summon2 level itemname it xD. It could work so you dont need to hex L2Server.

A question: Is this mod C1-able? or it is preffered to be C2 to do it?

Oso
Osito2Dancer is offline  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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:09.