Post Pacific  

Go Back   Post Pacific > Lineage 2 > Lineage 2 Server Modifications ONLY!

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
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  
 

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 01:46.