Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 11.02.2006, 07:52   #1
testdude
Архивный участник
 
Join Date: Nov 2005
Posts: 504
Default [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
testdude is offline  
Old 11.02.2006, 09:52   #2
Domzelan
Архивный участник
 
Join Date: Apr 2005
Posts: 599
Default

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
Domzelan is offline  
Old 11.02.2006, 09:54   #3
testdude
Архивный участник
 
Join Date: Nov 2005
Posts: 504
Default

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 >.>
testdude is offline  
Old 11.02.2006, 10:28   #4
Domzelan
Архивный участник
 
Join Date: Apr 2005
Posts: 599
Default

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
Domzelan is offline  
Old 11.02.2006, 12:09   #5
testdude
Архивный участник
 
Join Date: Nov 2005
Posts: 504
Default

just found a mistake in that code... i updated it, it works 100% now i just tested it
testdude is offline  
Old 11.02.2006, 12:10   #6
toolpunk
Архивный участник
 
Join Date: May 2005
Posts: 2,033
Default

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...
toolpunk is offline  
Old 11.02.2006, 12:20   #7
Domzelan
Архивный участник
 
Join Date: Apr 2005
Posts: 599
Default

Ill do this - now a restart server and ill see the result juse wait 10-15 minutes.
Domzelan is offline  
Old 11.02.2006, 12:23   #8
testdude
Архивный участник
 
Join Date: Nov 2005
Posts: 504
Default

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 thats all u need ^_^
testdude is offline  
Old 11.02.2006, 12:30   #9
Domzelan
Архивный участник
 
Join Date: Apr 2005
Posts: 599
Default

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 ?
Domzelan is offline  
Old 11.02.2006, 12:38   #10
testdude
Архивный участник
 
Join Date: Nov 2005
Posts: 504
Default

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...
testdude is offline  
Old 11.02.2006, 12:42   #11
toolpunk
Архивный участник
 
Join Date: May 2005
Posts: 2,033
Default

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
toolpunk is offline  
Old 11.02.2006, 12:49   #12
testdude
Архивный участник
 
Join Date: Nov 2005
Posts: 504
Default

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
testdude is offline  
Old 11.02.2006, 12:54   #13
Domzelan
Архивный участник
 
Join Date: Apr 2005
Posts: 599
Default

HEHEHE thx - i try add this only in 006B87A2 ))
Domzelan is offline  
Old 11.02.2006, 13:16   #14
testdude
Архивный участник
 
Join Date: Nov 2005
Posts: 504
Default

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
testdude is offline  
Old 11.02.2006, 13:40   #15
testdude
Архивный участник
 
Join Date: Nov 2005
Posts: 504
Default

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 is offline  
Old 11.02.2006, 13:54   #16
testdude
Архивный участник
 
Join Date: Nov 2005
Posts: 504
Default

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
testdude is offline  
Old 11.02.2006, 14:15   #17
Domzelan
Архивный участник
 
Join Date: Apr 2005
Posts: 599
Default

This is work with johnsmith2 patch?
Domzelan is offline  
Old 11.02.2006, 14:23   #18
testdude
Архивный участник
 
Join Date: Nov 2005
Posts: 504
Default

no idea, but considering his has the name patch in it, i doubt it ;p
testdude is offline  
Old 11.02.2006, 14:36   #19
Domzelan
Архивный участник
 
Join Date: Apr 2005
Posts: 599
Default

Yea - all name look normal. Paty multisell privete buy/sell skills - now working
Domzelan is offline  
Old 11.02.2006, 16:15   #20
kgptzac
Архивный участник
 
Join Date: Jan 2006
Posts: 363
Default

this is server side fix?
kgptzac is offline  
Old 11.02.2006, 16:17   #21
Mayii
Архивный участник
 
Join Date: Aug 2005
Posts: 113
Default

lol? what else?
Mayii is offline  
Old 11.02.2006, 16:23   #22
Eliot
Архивный участник
 
Join Date: Mar 2005
Posts: 368
Default

testdude, impressive. Most impressive
Eliot is offline  
Old 11.02.2006, 16:31   #23
Mayii
Архивный участник
 
Join Date: Aug 2005
Posts: 113
Default

yup, great work, really. you won't find many posts of me saying something like this :P
Mayii is offline  
Old 11.02.2006, 17:06   #24
lamnh
Архивный участник
 
Join Date: Mar 2005
Posts: 185
Default 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
lamnh is offline  
Old 11.02.2006, 17:21   #25
testdude
Архивный участник
 
Join Date: Nov 2005
Posts: 504
Default

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...
testdude is offline  
 


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 19:05.