Post Pacific

Post Pacific (https://postpacific.mmorpg-game.online/index.php)
-   Lineage 2 Server Modifications ONLY! (https://postpacific.mmorpg-game.online/forumdisplay.php?f=28)
-   -   !! Working Strider Thread (https://postpacific.mmorpg-game.online/showthread.php?t=300)

hoahongtim 21.04.2005 03:44

i have beta4, but can not unrar because they have a password for unrar !

flakka 21.04.2005 05:59

Quote:

Originally Posted by hoahongtim
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

Download Hiew
 
1. This is the code needed to be Hexed into your L2Server.exe


Quote:

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

Livid 21.04.2005 06:59

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
Code:

::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
Code:

::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!

Digital 21.04.2005 07:10

wow.. good job at coming out with this guide for them.
probably spent quite abit of time on it eh? :)

SoaPy 21.04.2005 09:03

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

Livid 21.04.2005 09:31

That seems that everything's OK (well, just looking into the code ^_^). Gonna try it out.

Livid 21.04.2005 10:02

Well, it works. Congratulations :)

Domzelan 21.04.2005 14:44

server411 - for c1 ore c2 client?

Livid 21.04.2005 17:07

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

lamnh 23.04.2005 19:12

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?

lamnh 23.04.2005 19:27

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?

Livid 23.04.2005 19:47

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

lamnh 23.04.2005 20:01

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

Livid 23.04.2005 20:25

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

lamnh 23.04.2005 20:34

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

flakka 23.04.2005 21:05

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.

lamnh 24.04.2005 07:28

So , what can I do to ride a strider ? I cant found how to make it.

Digital 24.04.2005 07:49

rofl... lost cause this one.
lets answer his answer shall we haha :)

Quote:

So , what can I do to ride a strider ?
u can ride a strider by clicking on the mount button or //ride :p

Quote:

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.

Livid 24.04.2005 08:10

[offtopic]
Oh, by the way, can someone give me TW's prelude server.exe (or at least dload link)?
[/offtopic]

flakka 24.04.2005 08:34

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:

lamnh 24.04.2005 08:43

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


All times are GMT. The time now is 16:49.