Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   Registration of the slot hair (https://postpacific.loc-online.com/showthread.php?t=3495)

snifer 27.02.2006 14:26

Registration of the slot hair
 
Registration of the slot hair

Change:
006C5CA0 ADD BYTE PTR FS:[ECX],CL
006C5CA2 ADD BYTE PTR DS:[EAX],AL
006C5CA4 ADD BYTE PTR DS:[EAX],AL
006C5CA6 ADD BYTE PTR DS:[EAX],AL
006C5CA8 PUSH ES
006C5CA9 ADD BYTE PTR DS:[EAX],AL
006C5CAB ADD BYTE PTR DS:[EDX+1006B86],DH
006C5CB1 ADD BYTE PTR DS:[EAX],AL
006C5CB3 ADD BYTE PTR DS:[ESI],AL
006C5CB5 ADD BYTE PTR DS:[EAX],AL
006C5CB7 ADD BYTE PTR DS:[EBX+D0000000],CH
006B86B2 PUSH 69006100
006B86B7 ADD BYTE PTR DS:[EDX],DH

sparcode 27.02.2006 15:16

great share
ill try

Aspire 27.02.2006 15:34

THX for share! I'll add this code to the shared exe-file, if you won't object.

snifer 27.02.2006 15:42

This not full. The Current that did not write the mistake when loading itemdata. Full will a little later! Add me without difference in general 8-)

Aspire 27.02.2006 15:46

hm, code - it's a part... need db changes for saving data about item i this slot.

snifer 27.02.2006 15:55

Db in Cashed prescribe.

Yucko 27.02.2006 16:33

snifer nice job, but full would be nice too ^^ ( just joking)

snifer 27.02.2006 16:36

Will you full 8-)

snifer 27.02.2006 17:43

Ouch, I have found bug... Change:

006C5CA0 ADD BYTE PTR FS:[ECX],CL
Excuse me... 8-\

Met45 27.02.2006 18:38

I've gotone question, is this for the "normal" slot for the party masks and crowns and so on?

toolpunk 27.02.2006 18:59

yep, it is...

snifer 27.02.2006 19:08

This part of normal slot!

Met45 27.02.2006 19:09

yes ok thank u guys...
thx for the great share sniffer!!!

Alien003 27.02.2006 20:52

is this tested?

and btw how can the first offset be 006C5CA0 and the second 006C5CA2
if "ADD BYTE PTR FS:[ECX],CL" takes 3 bytes?

(would be better if you posted the opcodes ...posting dissassembled commands in a datazone isn't a great idea coz they dont mean anything)

snifer 27.02.2006 21:16

It is tested.

yobzhik 27.02.2006 23:33

omg o.0
can you post in hex ?

Met45 28.02.2006 10:03

No it`s no problem to hex it by urself but if I want to hex this asm
on this place:
Quote:

006C5CB7 ADD BYTE PTR DS:[EBX+D0000000],CH
hiew give out an error, something like doesn`t know this command....

snifer 28.02.2006 10:32

Hm... Beside me all work.

Met45 28.02.2006 10:41

yeah some work some not,

this asm command
Quote:

DS:[EBX+D0000000],CH
I think the + does not work for me
I edit the exe with hiew 6.16 what`s wrong???

Kirikups 28.02.2006 10:43

hum, sorry to disturb you but how to translate this ?

Code:

ADD BYTE PTR FS:[ECX],CL
ADD BYTE PTR DS:[EAX],AL
ADD BYTE PTR DS:[EAX],AL
ADD BYTE PTR DS:[EAX],AL
PUSH ES
ADD BYTE PTR DS:[EAX],AL
ADD BYTE PTR DS:[EDX+1006B86],DH
ADD BYTE PTR DS:[EAX],AL
ADD BYTE PTR DS:[ESI],AL
ADD BYTE PTR DS:[EAX],AL
ADD BYTE PTR DS:[EBX+D0000000],CH
PUSH 69006100
ADD BYTE PTR DS:[EDX],DH

to ba able to update out exe with HIEW :?: Ty

Met45 28.02.2006 10:48

you have to find the right offset and the right byte and then u have to edit the asm code in hiew it`s F2

Kirikups 28.02.2006 10:57

Quote:

Originally Posted by Met45
you have to find the right offset and the right byte and then u have to edit the asm code in hiew it`s F2

okaaay i found something today lol, ty

nb: F4 -> Decode -> Offset -> F3 -> F2

Met45 28.02.2006 10:59

right but can someone answer to my problem? :D

Quote:

this asm command
Quote:
DS:[EBX+D0000000],CH


I think the + does not work for me
I edit the exe with hiew 6.16 what`s wrong???

Kirikups 28.02.2006 11:09

006C5CB7 ADD BYTE PTR DS:[EBX+D0000000],CH

Invalid operand ??

Met45 28.02.2006 11:16

right I`ve got the same problem, you hit the point....

Snifer do u have a solution???

snifer 28.02.2006 12:52

No while.

snifer 28.02.2006 18:43

This hex code:

006C5CA0 0900
006C5CA2 0000
006C5CA4 0000
006C5CA6 0000
006C5CA8 06
006C5CA9 0000
006C5CAB 00B2 866B0001
006C5CB1 0000
006C5CB3 0006
006C5CB5 0000
006C5CB7 00AB 000000D0

Met45 28.02.2006 19:16

thx buddy

snifer 28.02.2006 19:26

Ok! Always please... 8-)

Alien003 28.02.2006 21:35

going to test it ..but if I'm reading it correctly you are placing it in the underware slot

Edit: like I said:

http://img524.imageshack.us/img524/5...00048yh.th.jpg

KTPSMF 28.02.2006 21:54

i have c4 but hex not helps to keep crown in slot after rr it goes to inventori :/

SoaPy 28.02.2006 22:00

thats because the dll is handling those items

yobzhik 01.03.2006 01:21

Quote:

Originally Posted by snifer
This hex code:

006C5CA0 0900
006C5CA2 0000
006C5CA4 0000
006C5CA6 0000
006C5CA8 06
006C5CA9 0000
006C5CAB 00B2 866B0001
006C5CB1 0000
006C5CB3 0006
006C5CB5 0000
006C5CB7 00AB 000000D0

ty dude, you a god !
but (
help plz, winhex tell me This file does not contain offset 006C5CA0 =(
im a noob ? =(
(edit file l2server.exe - its right ? )

Kirikups 01.03.2006 05:48

Quote:

Originally Posted by KTPSMF
i have c4 but hex not helps to keep crown in slot after rr it goes to inventori :/

same here, it doesnt work for me :?

Met45 01.03.2006 07:17

Hi I`ve got another question is it for C3 or C4 servers....
and what slot_bit_type() should I add to the party mask?

Livid 01.03.2006 13:27

slot bit is 10000h if it tells you something...
posted hex is a complete crap, sorry, but it is.
k... some theory.
you need:
1) change a LOT of places to equip/unequip it right (just 2 or 3 bytes per place lol. nothing serious)
2) Make a place to store information about equipped item (just 4 bytes per user, dll comes in handy)
3) well... add new bit_slot_type (gods, i made a tutorial how to add new crystal type. think on it)
4) Modify userinfo and charinfo to send right info about slot
5) save/load slot information (optional, never made it...)
just 5 steps wtf, it took me... nvm. Just use your brain, dudes.
Posted code is just crap since it can do only one of listed if can do any.
Have a nice day.

Met45 01.03.2006 13:38

ok thx

snifer 01.03.2006 13:47

This code allows the server not hand out errors on slot hair when boot itemdata. And nothing more!

CubAfull 01.03.2006 13:52

Quote:

Originally Posted by Livid
slot bit is 10000h if it tells you something...
posted hex is a complete crap, sorry, but it is.
k... some theory.
you need:
1) change a LOT of places to equip/unequip it right (just 2 or 3 bytes per place lol. nothing serious)
2) Make a place to store information about equipped item (just 4 bytes per user, dll comes in handy)
3) well... add new bit_slot_type (gods, i made a tutorial how to add new crystal type. think on it)
4) Modify userinfo and charinfo to send right info about slot
5) save/load slot information (optional, never made it...)
just 5 steps wtf, it took me... nvm. Just use your brain, dudes.
Posted code is just crap since it can do only one of listed if can do any.
Have a nice day.

i hate you Livid wen you write all this shit...... I do this in x min... you can do this in x min...., you can repair oxiloscopio in 30 min ? no, I can. grow up man.

Alien003 01.03.2006 14:18

actually livid is right ....

and the only dificult point is 1)

the other 4 are done in 10min each (less for the 5))


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