View Full Version : !! 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
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
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下,改成三种座龙的å ��字。
could use //Create_pet comand,5:wind_strider,6:star_strider,7ï¼ štwilight_strider
of cuz hex L2Server.exe :p
::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?
http://download.wztt.com/images/xt3.jpg
http://download.wztt.com/images/xt1.jpg
http://download.wztt.com/Images/xg2.JPG
http://download.wztt.com/Images/g1.JPG
Holy crap! :shock:
Is that one of the C3 bosses?
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
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>
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! :)
ok... some new clues...
the address above gotta minus 400000
(at least for me, using UE)
可以用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 ?
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
Domzelan
12.04.2005, 14:44
digital post here a link your L2Server.exe plz
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 ?
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
yellowperil
13.04.2005, 09:40
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.
JC.Paradox
13.04.2005, 11:35
there's no hex code for ride command in l2.server exe.... i try to search in all versions on l2server...
Could we get some english translations? this might just be what can push me onto the C2/C3 Project :p
ok. them impt stuff are translated. :p
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??
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
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 :)
Osito2Dancer
15.04.2005, 00:23
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
finally got the create_pet thing working
thanks for your translation Digital
np, just provide us a copy of it... :D LOL
Osito2Dancer
15.04.2005, 16:45
sorry for repeating, is it C1-able?
Oso
Osito2Dancer
16.04.2005, 04:06
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>
Sorry for this but, can anyone translate this to english? I cant read Chinese, and the translators sox XD.
Oso
elmaestro
16.04.2005, 04:49
Hope someone can translate it, and explain in more detail how to implement this.. y guess its the more wanted feature of all times
thanks in advance
sp: esa parte es basicamente el quest para sacar el strider igual estos chinos no se les entiende mucho ni en ingles..
Osito2Dancer
16.04.2005, 05:15
Hope someone can translate it, and explain in more detail how to implement this.. y guess its the more wanted feature of all times
thanks in advance
sp: esa parte es basicamente el quest para sacar el strider igual estos chinos no se les entiende mucho ni en ingles..
En todo caso, yo pido la traduccion de eso, para ponerlo en los html. El resto lo entiendo, para activar la quest, se pone eso en el ai.obj y queda setteado. los html son para que siga la progresion de la quest xD.
Oso
PD: Can someone translate that? its all chinese to me xD
Here i go :D :
fairy_mymyu001.htm:
<html><head>
<body>
Fairy Mimyu:
Ah...! I've returned to this world after a long time; so why is it so busy like this? There are people everywhere... Is some half-wit going to catch and stuff me?... Have hunters come all the way up to here now? I mean, how many more do they have to kill to be satisfied?... Yah! That's dangerous! It's dangerous! Don't kill me...
<a action="bypass -h talk_select">[Young dragon duty]</a>
<a action="Link fairy_mymyu_q0420_80.htm">[Promotion place dragon]</a>
<a action="Link fairy_mymyu_q0420_90.htm">[Promotion flies dragon]</a>
</body></html>
fairy_mymyu_q0420_80.htm:
<html>
<head></head>
<body>
The promotion place dragon needs to complete the young dragon duty, obtains<font color="FFFF00">young dragon</font>Also needs to prepare<font color="FFFF00">2000000000 Adenas</font>Handling charge. Now please returns to yours young dragon is the stage prop condition, starts to promote! You prepare not to have?
<a action="bypass -h menu_select?ask=420&reply=80">Prepared</a>
<font color="9999CC">================Matters needing attention================</font>
<font color="9999CC">1. The place dragon feed may in each big cities pet manager place purchase. Respectively is the place dragon feed, the high-quality place dragon feed.</font>
<font color="9999CC">2. The place dragon may equip the armor and the weapon, respectively is Mi Suo the Li armor, 锁子 the armor, the dragon armor, the dragon armor, the dragon armor, the dragon armor, the dragon armor.</font>
<font color="990000">3. If in rides under the dragon condition the direct withdrawal game, next time will enter when the game will not be able to summon the pet, please will input</font><font color="FFFF00">"/Gets down"</font><font color="990000">Under after the order the dragon summons the pet again.</font>
</body>
</html>
fairy_mymyu_q0420_81.htm:
<html>
<head></head>
<body>
The stupid humanity, unexpectedly dares to deceive me,<font color="FFFF00">Young dragon</font>with<font color="FFFF00">2000000000 Adenas</font>The promotion expense, made neat again. Otherwise I can let you pay the price, to you under most ruthless poisonous incantation!
</body>
</html>
fairy_mymyu_q0420_82.htm:
<html>
<body>
Congratulates!
Your young dragon already succeeded promoted as the migration rapidly, the striking power was strong, could give the person to oppress the feeling<font color="FFFF00">Place dragon</font>.
I can hide by mine strength this place dragon in the spirit world. But do not have to worry. I can give you this bugle. No matter when, so long as you blow this bugle, may call the place dragon to your side.
You now may ride the place dragon to take a stroll at will with the fight, but please look after your pet, do not have to let it be exhausted or be hungry, otherwise it can forever leave you.
</body>
</html>
Osito2Dancer
16.04.2005, 21:33
Well, i could have done that xD.
I needed a GOOD translation, not a Googlish one xD.
Oso
PD: Working on it... eventually xD
Well, i could have done that xD.
I needed a GOOD translation, not a Googlish one xD.
Oso
PD: Working on it... eventually xD
sry but i dont know read chinese yet :D ^^, and the translation is from altavista :P, like i say in the other post, mys translations aren´t perfect, is only a help for understanding the quest, is much better than in chinese i think, GL.
Osito2Dancer
17.04.2005, 00:03
Yes, i concurr, but if someone that was chinese read and translated it, it would have been great.
Oso
PD: I'm working on it...
elmaestro
17.04.2005, 03:03
Well, i could have done that xD.
I needed a GOOD translation, not a Googlish one xD.
Oso
PD: Working on it... eventually xD
sry but i dont know read chinese yet :D ^^, and the translation is from altavista :P, like i say in the other post, mys translations aren´t perfect, is only a help for understanding the quest, is much better than in chinese i think, GL.
thanks anyway!!
pipislav
17.04.2005, 19:10
how to hex something ? :)
Osito2Dancer
17.04.2005, 19:28
If you dont know how, then dont do it xD. Find someone around you that knows how, and let him do it ^^.
Oso
pipislav
17.04.2005, 19:33
Can You do it ? :)
Ill share desktop , beacuse i really want to ride strider :(
JC.Paradox
18.04.2005, 15:35
heh if you need good translation, than translate it by yourself
pipislav
18.04.2005, 17:50
Please somebody wants to help me ? :(
im so sad beacuse i dont have anyone who can help me , and i want strider so much...
im sure its not so much work to do with this , but i dont know to do it :(
somebody help me ? :)
if somebody will be so nice my MSN adress is : hipi@bejbika.net :)
yellowperil
18.04.2005, 19:48
if you cant follow these instructions........ they are VERY straight forward.
Domzelan
19.04.2005, 08:13
BoTGoD - you have strider, wywern - working :)
HELP US :)))
pipislav
19.04.2005, 10:51
yes very please :)
Osito2Dancer
19.04.2005, 13:39
Do what it says THERE ¬¬.
Oso
woytek2k
20.04.2005, 05:45
Hmmm I am just on this forum for waching stuff, and no I can't script, and no i don't have a server. But I DO have a question:
If this stuff is for working [RIDEABLE] striders, why isn't this implented in C2 beta4?....
Is it me....or is it not me? :P
PS. sorry if this is a very dumb post, but i really can't script or anything :P
later,
woytek
yellowperil
20.04.2005, 06:14
if you read the posts, you will discover most of it is to fix the create creature fix. As to ride function I have spent the last 2 weeks trying to implements, read, search and discover how to do it. I know HOW to do it, but its gonna take a LONG time to do it. Basically its HEXING the l2server.exe to add the ride code back in that was removed.
If you want to try and fix it your self, download the c2server.exe from rage with the TWserver.exe from rage and then compare the assembly, once you find the code in the TW exe move it across to the c2server.exe.
And then you will be able to use ride.
Yellowperil
Note: I never said it would be easy, ohhh also your gonna need to find all the hex info for the icon codes cos this was change aswell, so icon code 38, points to the correct assemble.
The majority of what we are doing isnt just html or text fixes as you can see.
pipislav
20.04.2005, 15:27
ok dudes i will wait on c2 beta4 :)
well i made it, only i cant do is the hex the l2server, scripts and htlm part are easy and i make my personal petdata with the 3 types of striders and 1 of wyvern.
i dont understand what i have to search and change in this part
[glow=red:9f3d7a701a]::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.[/glow:9f3d7a701a]
hoahongtim
21.04.2005, 03:44
i have beta4, but can not unrar because they have a password for unrar !
i have beta4, but can not unrar because they have a password for unrar !
Why post the obvious? You're really not supposed to have that file anyways. Beta4 is not done.
CDWriter65
21.04.2005, 06:34
1. This is the code needed to be Hexed into your L2Server.exe
SoaPy Wrote: i dont understand what i have to search and change in this part
::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 ECT.......
Download Hiew.exe(DOS version) i use that but i hear theres a Hiew32.exe version also, it is a hex-editor by E.Suslikov.
2. Once u get it run it Double click it to run and it will open a window like a dos window and jump around it with your arrow keys, going to the directory where u have your L2server.exe located and load it in to this , once u have done this..
3. F4-decode
4. F5 search code but remmeber in decode 400000 is not counted or added in decode mode, so your first Search, example below...
::004245F0:: 83E8 04 SUB EAX,4 <-----first code to look for 004245f0
your search code will be 000245F0.....and it will come out to be ..
.004245F0: 4D Dec ebp
.004245F1: E068 loopne .00042465B
.etc....
.ect.....
.....
Now press
5. F3-change code 4D to 83E804 it will then change the line to
::004245F0:: 83E8 04 SUB EAX,004 ;"X" <---X is a Dec Char.
now keep changeing the code below till your done with what he gave u, when your done then -F9 save..Make sure u Save everytime your done with the whole lines ...when u need to hit F5 again for your next code make sure it is saved before moveing on .....
Hope this helps alot of u .....please be free to add on to this if u see anything here i typed wrong ....its been a long time thinking of what to do when u just do it by habbit.........
Simple, Now go get your other codes and Hiew them in to your L2server.exe and when you have a Working edited L2server some one host it for others..... :wink: Iam hopeing Beta4 comes out with this all done, Since iam New to L2......
Kinda translation... and some of explanation
So, we want to use command //create_pet with 5: Wind strider,6: Star strider,7: Dusk(twilight) strider
So, first of all, function for creating items & stuff for strider.
Just put hex in the l2server.exe ^_^, overwriting old segment
Address Hex ASM translation
::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
so that, we need to rewrite hex segment from 004245F0 (in HexWorkshop, etc 000245F0) to 0042461D (0002461D) with following HEX sequence:
83E8 048B C881 C12E 730F 0051 0546 1100 0050 8B55 0C52 E8E5 8412 008B 4DF4 5F5E 32C0 6489 0D00 0000 005B 8BE5 5DC3
Now, function responding to //create_pet command
::004143DC:: 83F8 06 CMP EAX,6
::004143DF:: 0F87 D8000000 JA 004144BD \:JMPDOWN
::004143E5:: FF2485 50CF5B00 JMP [EAX*4+5BCF50] <- pointer to func addr table here!
::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
So that, overwrite segment from 004143DC (000143DC) to 004143F9 (000143F9) with:
83F8 060F 87D8 0000 00FF 2485 50CF 5B00 8B4D 0868 DCCF 5B00 68FC CA5B 00E8 B220 0F00
Actually, you need to chenge much lesser. Compare segments & you'll see what (of course if you don't want to think, just copypaste).
The prev (414500) func addr table was too small (couldn't add any strider pointers), so constructed the addr table again in this 5BCF50 (1BCF50).
old Funcs (starting at 414500 (14500))
00414411 == wolf
0041443C == hatchling of wind
00414467 == hatcling of stars
00414492 == of twilight
new funcs (ok, put it here: 5BCF50 (1BCF50))
00414411 == wolf
0041443C == hatchling of wind
00414467 == hatcling of stars
00414492 == of twilight
004245F0 \
004245F0 | == strider of anyhing (freaking good function!)
004245F0 /
That was an explanaition why are we going to do it. And now, WHAT are we supposed to do:
Put following HEX into segment from 5BCF50 (1BCF50) to 5BCF6B (1BCF6B):
1144 4100 3C44 4100 6744 4100 9244 4100 F045 4200 F045 4200 F045 4200
Actually, ure done.
And now, short explanation again:
::004245F0:: section of code can act according to the parameter.
The bugle function prototype, the address is:
0054CAF0 void CNPC::CreatePet (CSharedCreatureData* to, int nPetCollarClassID, int nPetNpcClassID)
If you want to use also //create_pet 8: wyvern, you'll need to white your own function... I suppose so. Good luck anyways.
So, the final list of changes (in HW, UE etc addreses):
000245F0: 83E8 048B C881 C12E 730F 0051 0546 1100 0050 8B55 0C52 E8E5 8412 008B 4DF4 5F5E 32C0 6489 0D00 0000 005B 8BE5 5DC3
000143DC: 83F8 060F 87D8 0000 00FF 2485 50CF 5B00 8B4D 0868 DCCF 5B00 68FC CA5B 00E8 B220 0F00
001BCF50: 1144 4100 3C44 4100 6744 4100 9244 4100 F045 4200 F045 4200 F045 4200
Don't forget, that you need to OVERWRITE, not INSERT!
wow.. good job at coming out with this guide for them.
probably spent quite abit of time on it eh? :)
well i can finish to hexediting the l2server, tnx to CDWriter65 and Livid.
i attach the file for the people dont know how to do this and for test because i really dont know if this file works, dont have the time to test and here are the 6 a.m. :S. I hope this work GL.
removed, search the new in other post
That seems that everything's OK (well, just looking into the code ^_^). Gonna try it out.
Well, it works. Congratulations :)
Domzelan
21.04.2005, 14:44
server411 - for c1 ore c2 client?
OMG, it is for 98 patch >:|
Domzelan
22.04.2005, 11:48
98 patch - only for c2 client? ore for c1 too?
yellowperil
22.04.2005, 12:01
c2 only
I try add this , post by Livid
//create_pet 8: wyvern, you'll need to white your own function... I suppose so. Good luck anyways.
So, the final list of changes (in HW, UE etc addreses):
000245F0: 83E8 048B C881 C12E 730F 0051 0546 1100 0050 8B55 0C52 E8E5 8412 008B 4DF4 5F5E 32C0 6489 0D00 0000 005B 8BE5 5DC3
000143DC: 83F8 060F 87D8 0000 00FF 2485 50CF 5B00 8B4D 0868 DCCF 5B00 68FC CA5B 00E8 B220 0F00
001BCF50: 1144 4100 3C44 4100 6744 4100 9244 4100 F045 4200 F045 4200 F045 4200
Don't forget, that you need to OVERWRITE, not INSERT!
How can I put this in another of l2server , I done hex l2server for pet 5,6,7 but dun know how to add 8 , can anyone show me the way?
And I see Digital post:
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
this for riding command ? where I can put this in ? and have I do something more to riding strider?
Well... :roll:
1) for wyvern you need at least add stuff to scripts, add quest and so on and so forth (see post "wanna wyverns? do it urself here" by Digital).
Then, try learning assembler, read all the changes from this topic carefully, try to understand it all... Then write freaking function urself... & stuff 4 it... Not too hard IMO.
2) You won't get //ride working by this... no one in this forum yet sucedeed in it. To get it work, you (rights again) need to hex l2server.exe...
Ok THX Livid , but can u plz tell me wat this can do ?
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
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
>>Extraction from original C2 client (actionname-e.txt)
It is just one more link to the ride cmd, no more... But we do not have implementation of the ride command in server file...
Sorry but I have one noob question , I want to know how I can ride a strider or wyvern , why I cant see a ride symbol for ride a strider? THX
It's not working.
You have to edit the L2Server.exe by hexing to enable it.
yellowperil
24.04.2005, 07:19
EDIT is a bit misleading, as edit mean alter data thats already there, RIDE is NOT IN the l2server.exe, you have to ADD that code.
so start learning asm if you wanna add it in.
So , what can I do to ride a strider ? I cant found how to make it.
rofl... lost cause this one.
lets answer his answer shall we haha :)
So , what can I do to ride a strider ?
u can ride a strider by clicking on the mount button or //ride :p
I cant found how to make it.
of cuz u cant find it, cuz there aint any. lol...
if u read all the post properly, u shouldnt be asking this qn at all.
as of now, the only //ride code that's available is in TW's prelude version of L2.
there aint any //ride code in any version of C1
i'll bet u guys would be asking for a "wonder" fix in one file.
n i'll tell u straight. there aint any.
n i strictly believe in NO PAIN NO GAIN
good luck.
Oh, by the way, can someone give me TW's prelude server.exe (or at least dload link)?
Which one?
I think there's a few of them. :? If you have a SINA L2Server.exe, that would probably be a good place to start.
I had a freaking build with the mount icon, but the client crashed. Now I have to start from square one because I don't know wtf happened. :banghead:
THX for fast reply Digital , I can see a ride button but I click to strider and press button to ride but notthing happen , and I alway have D/c from server when summon a pet . Can u tell me how to fix ? THX
D/C can be solved by pet fix (see topic "pet fix so far" by Digital - look thru te last messages... It helped me.)
i'll have to tell u again.
1) u'll need to hex l2server.
2) NO PAIN NO GAIN
to bring up the level of knowledge of everyone n to stop ppl from asking the same qn over n over again. SEARCH
i'll answer this qn once n for all.
> y do we d/c when we summon a pet
reason is mostly because of the new packet information for pet summon effects. just remove them from l2server and u'll be fine.
> how do we enable pet skills and other action buttons
as of now, l2server only handles 28 action buttons.
but if u look properly at the hex, there's space exactly for 40 action buttons :)
so the point is, u'll have to add ur own code for each of the new buttons and how to handle them.
of cuz the easy way out is to edit the client side to choose which skill to use (for pet) but that wun solve the real problem.
THX Livid and Digital . I 'll try
torrentpimp
24.04.2005, 14:14
got the icon working that's it so far.
yellowperil
24.04.2005, 17:05
the icon is there by default on c2.
as to using it, it will cause an unknown icon 38 error in your server.exe log window, why is that you ask, COS c1 server doesnt know thes e new icons, thats why most of them crash the client, server or both.
As to why //ride doesnt work, thats cos the code is not in the server.exe file, it was compiled without this function in.
Yellowperil
torrentpimp
24.04.2005, 18:00
by i got the icon working i meant it doesn't crash......doesn't do anything but hey it doesn't crash
yellowperil
24.04.2005, 18:32
lol torrentpimp :)
sry for the dumb question.
Does the files that SoaPy posted have both Siege and Create fix or just the Create fix?
Thanks for your time,
Dubie
sry for the dumb question.
Does the files that SoaPy posted have both Siege and Create fix or just the Create fix?
Thanks for your time,
Dubie
i was hex the l2server for create_pet 5, 6 y 7. I will go to hex for the 8 (wyvern) and other things, i will post this sure later :D.
Can u guys give a link to complete moded files for english version. I have some problems with starting NPS server... It gives a lot of errors...
I need ai.obj file... I get errors in NPC server when im trying to edit it... I ask to give a link for ai.obj and catygorydata.txt files. Plz i need them very much...
torrentpimp
07.05.2005, 16:01
what kinda ai.obj I got mine but it's highly modified
with wyvern and striders if possible...