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)

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

Livid 20.04.2005 16:17

If it will be public...

SoaPy 21.04.2005 00:20

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 !

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

Livid 24.04.2005 08:50

D/C can be solved by pet fix (see topic "pet fix so far" by Digital - look thru te last messages... It helped me.)

Digital 24.04.2005 08:53

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.

lamnh 24.04.2005 09:29

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


All times are GMT. The time now is 15:23.