Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   [Share - C4] Black name fix (https://postpacific.loc-online.com/showthread.php?t=3317)

testdude 11.02.2006 07:52

[Share - C4] Black name fix
 
Code:

004FEA59    -E9 449D1B00    JMP L2Server.006B87A2

004FECEB    68 B6876B00    PUSH L2Server.006B87B6                  ;  ASCII "cdddddSdddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddffffddddSdddddcccddhbcdcddddddddhhdhddddcdddddd"

004FECF9  . 81C4 10020000  ADD ESP,210

006B87A2: 33 C9 68 FF FF FF 00 51 51 51 51 51 E9 12 FA FF FF 90 90 90 63 64 64 64 64 64 53 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 66 66 66 66 64 64 64 64 53 64 64 64 64 64 63 63 63 64 64 68 62 63 64 63 64 64 64 64 64 64 64 64 68 68 64 68 64 64 64 64 63 64 64 64 64 64 64

i made this with help of eliots post( https://postpacific.loc-online.com/f...ic.php?p=32301 ) and it fixes the black name on only your char, for everyone else char you should be able to do it urself with the help of eliots post, and this share as an example, i was not 100% sure if i could fit the added d's on the end of the packet in its normal location so i relocated it aswell just cos...
i dont know if there is any side affects to this fix as ive only tested it so far in a 1 man server...

ps.
i dont know 100% if i copied it right so do tell me if it doesnt work and ill double check :x


oops made a mistake in it >.< fixed now :p

Domzelan 11.02.2006 09:52

Oooo - good. Can we use only this: 006B87A2: 33 C9 68 FF FF FF 00 51 51 51 51 51 E9 D0 F9 FF FF 90 90 90 63 64 64 64 64 64 53 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 66 66 66 66 64 64 64 64 53 64 64 64 64 64 63 63 63 64 64 68 62 63 64 63 64 64 64 64 64 64 64 64 68 68 64 68 64 64 64 64 63 64 64 64 64 64 64
to add this in l2server using l2scriptmaker or we should use all this code? :) sory - my hex man - working and cant help me :)

testdude 11.02.2006 09:54

Quote:

Originally Posted by Domzelan
Oooo - good. Can we use only this: 006B87A2: 33 C9 68 FF FF FF 00 51 51 51 51 51 E9 D0 F9 FF FF 90 90 90 63 64 64 64 64 64 53 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 66 66 66 66 64 64 64 64 53 64 64 64 64 64 63 63 63 64 64 68 62 63 64 63 64 64 64 64 64 64 64 64 68 68 64 68 64 64 64 64 63 64 64 64 64 64 64
to add this in l2server using l2scriptmaker or we should use all this code? :) sory - my hex man - working and cant help me :)

ur post confuses the hell out of me O.o? i have no idea what ur talking about >.>

Domzelan 11.02.2006 10:28

:) Ill do this by my hands:
004FEA59 -E9 449D1B00 JMP L2Server.006B87A2

004FECEB 68 B6876B00 PUSH L2Server.006B87B6 ; ASCII "cdddddSdddddddddddddddddddddddddddddddddddddddddd dddddddddddddddddddddddddddddffffddddSdddddcccddhb cdcddddddddhhdhddddcdddddd"

004FECF9 . 81C4 10020000 ADD ESP,210

BUT i cant add all this: 33 C9 68 FF FF FF 00 51 51 51 51 51 E9 D0 F9 FF FF 90 90 90 63 64 64 64 64 64 53 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 66 66 66 66 64 64 64 64 53 64 64 64 64 64 63 63 63 64 64 68 62 63 64 63 64 64 64 64 64 64 64 64 68 68 64 68 64 64 64 64 63 64 64 64 64 64 64
in this adress 006B87A2 :(

testdude 11.02.2006 12:09

just found a mistake in that code... i updated it, it works 100% now i just tested it

toolpunk 11.02.2006 12:10

hmm...
nice share but im trying to understand how you made it...
see
Code:

004FEA59    -E9 449D1B00    JMP L2Server.006B87A2

004FECEB    68 B6876B00    PUSH L2Server.006B87B6                  ;  ASCII "cdddddSdddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddffffddddSdddddcccddhbcdcddddddddhhdhddddcdddddd"

004FECF9  . 81C4 10020000  ADD ESP,210

006B87A2: 33 C9 68 FF FF FF 00 51 51 51 51 51 E9 D0 F9 FF FF 90 90 90 63 64 64 64 64 64 53 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 66 66 66 66 64 64 64 64 53 64 64 64 64 64 63 63 63 64 64 68 62 63 64 63 64 64 64 64 64 64 64 64 68 68 64 68 64 64 64 64 63 64 64 64 64 64 64

ok the part ranging from the first 63 to the end represents all those c, d, S and h chars...
the 00bla thingy at the first column of each line is the address...
but what is the rest used for?
you know i know hex now, but have absolutely no idea about asm.
would be great if you could help me/us out...

Domzelan 11.02.2006 12:20

Ill do this - now a restart server and ill see the result juse wait 10-15 minutes.

testdude 11.02.2006 12:23

it does look kinda confusing, thats how ollydebug shows it as when u copy it... basically its like this...

004FEA59
Address

-E9 449D1B00
Hex

JMP L2Server.006B87A2
Assembly

and with the one with cddddd.... thats the text string...
really all u need to pay attention to is the first 2 bits, the address, and hex :p thats all u need ^_^

Domzelan 11.02.2006 12:30

Quote:

Originally Posted by testdude
just found a mistake in that code... i updated it, it works 100% now i just tested it

You do error? :) or it works ?

testdude 11.02.2006 12:38

the code works fine now im using it on my server, working on charinfo atm, the code will only work with pp release AVE cos with other versions the loc of the start of the code differes by like 2 bytes...

toolpunk 11.02.2006 12:42

nah...
i was talking about those hex values that correspond to the ascii ;) (theres something in front of it that i dont really understand...)
thanks anyway :)

testdude 11.02.2006 12:49

ahhh i know what you mean... let me show u...
Code:

006B87A2  33C9            XOR ECX,ECX
006B87A4  68 FFFFFF00      PUSH L2Server.00FFFFFF
006B87A9  51              PUSH ECX
006B87AA  51              PUSH ECX
006B87AB  51              PUSH ECX
006B87AC  51              PUSH ECX
006B87AD  51              PUSH ECX
006B87AE  ^E9 12FAFFFF      JMP L2Server.006B81C5
006B87B3  90              NOP
006B87B4  90              NOP
006B87B5  90              NOP

then starts the ascii for the packet, that code is what pushes the missing packet info, 006B87A4 being the color, you can change it to what ever color u want :P

Domzelan 11.02.2006 12:54

HEHEHE thx - i try add this only in 006B87A2 :)))

testdude 11.02.2006 13:16

k, now either i screwed up REAL bad or there is a major side affect to this code....
this is for charinfo...
Code:

004FF93F  .-E9 098F1B00    JMP L2Server.006B884D
004FFAB2  . 68 69886B00    PUSH L2Server.006B8869                  ;  ASCII "cdddddSddddddddddddddddddddddddddddffffdddSdddddccccccchbcdchdddccdcccdddd"
004FFAC0  . 81C4 48010000  ADD ESP,148

004FF3A5  .-E9 19951B00    JMP L2Server.006B88C3
004FF515  . 68 69886B00    PUSH L2Server.006B8869                  ;  ASCII "cdddddSddddddddddddddddddddddddddddffffdddSdddddccccccchbcdchdddccdcccdddd"
004FF520  . 81C4 48010000  ADD ESP,148


006B884D:
33 C9 51 68 FF FF FF 00 51 51 51 51 51 51 51 52 E9 F9 F9 FF FF 90 90 90 90 90 90 90 63 64 64 64 64 64 53 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 66 66 66 66 64 64 64 53 64 64 64 64 64 63 63 63 63 63 63 63 68 62 63 64 63 68 64 64 64 63 63 64 63 63 63 64 64 64 64 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 33 C9 51 68 FF FF FF 00 51 51 51 51 51 51 51 52 E9 A4 F9 FF FF

if you enable 2 toggle skills, with another player around you, or a player around you enables 2 toggle skills, boom, bye bye server... gonna play with it a bit and see if i can get it working... some help would be nice :p

testdude 11.02.2006 13:40

hmmm seems i found out why... the c4 char info packet, or atleast the one posted bt eliot has 9 extra thingies on it, yet the code that pushes the params, pushes 10... :|

testdude 11.02.2006 13:54

k i fixed it woot woot
CharInfo(see first page for userinfo)
Code:

004FF93F  .-E9 098F1B00    JMP L2Server.006B884D
004FFAB2  . 68 69886B00    PUSH L2Server.006B8869                  ;  ASCII "cdddddSddddddddddddddddddddddddddddffffdddSdddddccccccchbcdchdddccdcccdddd"
004FFAC0  . 81C4 48010000  ADD ESP,148

004FF3A5  .-E9 19951B00    JMP L2Server.006B88C3
004FF515  . 68 69886B00    PUSH L2Server.006B8869                  ;  ASCII "cdddddSddddddddddddddddddddddddddddffffdddSdddddccccccchbcdchdddccdcccdddd"
004FF520  . 81C4 48010000  ADD ESP,148


006B884D:
33 C9 51 68 FF FF FF 00 51 51 51 51 51 51 51 90 E9 F9 F9 FF FF 90 90 90 90 90 90 90 63 64 64 64 64 64 53 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 66 66 66 66 64 64 64 53 64 64 64 64 64 63 63 63 63 63 63 63 68 62 63 64 63 68 64 64 64 63 63 64 63 63 63 64 64 64 64 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 33 C9 51 68 FF FF FF 00 51 51 51 51 51 51 51 90 E9 A4 F9 FF FF

not found anything that will crash it, fixed the toggle skill thingy so... but im sure anything that is supposed to go on the end of this packet will either cause crit error, wrong result, or just crash the server, but either way, it works for now...
first bug overcome, lets see the rest ! :P

Domzelan 11.02.2006 14:15

This is work with johnsmith2 patch?

testdude 11.02.2006 14:23

no idea, but considering his has the name patch in it, i doubt it ;p

Domzelan 11.02.2006 14:36

Yea - all name look normal. Paty multisell privete buy/sell skills - now working :)

kgptzac 11.02.2006 16:15

this is server side fix?

Mayii 11.02.2006 16:17

lol? what else?

Eliot 11.02.2006 16:23

testdude, impressive. Most impressive :)

Mayii 11.02.2006 16:31

yup, great work, really. you won't find many posts of me saying something like this :P

lamnh 11.02.2006 17:06

Re: [Share - C4] Black name fix
 
Quote:

Originally Posted by testdude
Code:

004FEA59    -E9 449D1B00    JMP L2Server.006B87A2

004FECEB    68 B6876B00    PUSH L2Server.006B87B6                  ;  ASCII "cdddddSdddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddffffddddSdddddcccddhbcdcddddddddhhdhddddcdddddd"

004FECF9  . 81C4 10020000  ADD ESP,210

006B87A2: 33 C9 68 FF FF FF 00 51 51 51 51 51 E9 12 FA FF FF 90 90 90 63 64 64 64 64 64 53 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 66 66 66 66 64 64 64 64 53 64 64 64 64 64 63 63 63 64 64 68 62 63 64 63 64 64 64 64 64 64 64 64 68 68 64 68 64 64 64 64 63 64 64 64 64 64 64


I used Hiew710 to add this code , when I login to game , select my char , my l2server crash , someone can help me solve that? THX

testdude 11.02.2006 17:21

this fix is very very picky due to the ave, if ur not using the ave of the ppl2c release then this most likely wont work...


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