![]() |
|
|
|
|
#1 |
|
Архивный участник
Join Date: Mar 2005
Posts: 82
|
Could someone round up the hex edit infos in one sticky pls?
|
|
|
|
|
#2 |
|
Архивный участник
Join Date: May 2005
Posts: 115
|
almost there
|
|
|
|
|
#3 |
|
Архивный участник
Join Date: May 2005
Posts: 105
|
Definitely, c3 trial cause crash.
|
|
|
|
|
#4 |
|
Архивный участник
Join Date: May 2005
Posts: 2,033
|
in how far does c3 trial cause a crash?
could u plz explain that a bit more detailed :S |
|
|
|
|
#5 |
|
Архивный участник
Join Date: May 2005
Posts: 105
|
why our server crash why have this trial, and now with c3redglow.exe not crash.
|
|
|
|
|
#6 |
|
Архивный участник
Join Date: Feb 2005
Posts: 705
|
its because isnt stable c3.exe trial version
|
|
|
|
|
#7 |
|
Архивный участник
Join Date: Jul 2005
Posts: 108
|
Well...
I'm pretty desparate, I've been trying to disassemble the l2server.exe in case I could figure out what I have to do to fix the charlogin. I found in the IDA the packet string, i found the functions and I have no idea what to do next ![]() I suppose each letter of the packet string is a variable type? I assume I have to add the new C3 variables and values and then modify the string that represents the packet? I have no idea of asm code, I am only assuming :S Is there any kind person out there willing to share the fixed executables? (cached.exe and l2server.exe) Or at least give me some pointers what should I do? (pm me in forum if you want) ps. I am trying to contribute as much as I can, I am currently working on a skilldata.txt editor which will include parsing of the skilldata.txt file, editing skills, syntax checking, possible errors checking etc. I will try to add creation of pch and pch2 files. I will release a preview (very ALPHA) version soon. The program is written in java. but still I have no idea what to do with asm :S Thanks in advance... ps2. sorry for the whining, i feel like i could kill my self right now :S |
|
|
|
|
#8 |
|
Архивный участник
Join Date: Jul 2005
Posts: 6
|
I think we must edit .rdata section which contains constants in .exe file...
But it is not enough only edit this string... Length of new string is larger that length of old string... And after :005D48F0 all data offsets will be changed... ![]() I no known program which can properly edit .rdata section... Other solution is add new .rdata constant at the end of file and change "push offset XXXXX" for this string to new...
|
|
|
|
|
#9 |
|
Архивный участник
Join Date: Jul 2005
Posts: 6
|
After 2 hour of working i have hex-ed L2Server.exe (L2Server fixed.exe) and CacheD.exe...
But GetUserDatabyCharId procedure don't correspond to "Sdsddddddddddffdddddddddddddddddddddddddddddddddd ddddddddddddffd" string format ![]() I don't know what changes i need to make on it... |
|
|
|
|
#10 |
|
Архивный участник
Join Date: May 2005
Posts: 2,033
|
how about comparin a fixed exe with the old 1?
|
|
|
|
|
#11 |
|
Архивный участник
Join Date: Jul 2005
Posts: 6
|
|
|
|
|
|
#12 |
|
Архивный участник
Join Date: May 2005
Posts: 2,033
|
if u have time...
could u write a short tiny 2torial? im really bad at hexin lol. so if u would explain this it would make a lot of things easier 2 understand |
|
|
|
|
#13 |
|
Архивный участник
Join Date: Jul 2005
Posts: 6
|
I have time... and can explain evertything
![]() But... i know english bad... If you understand russian ![]() Short explanation: We have .rdata section, which contains constants in .exe file... Our string is constant and locates in .rdata section ![]() We need to change it... but our new string is longer that old and if we chenge it to new with increasing file size we distrub all data offset dependencies, because other constanst, locates after oyr string will be at his_old_offset+string_length_difference offset... and in code they used as push offset his_old_offset And to correct this we need to change all push offset XXXXX to new strings offset (very long job). But .rdata section at the end contains 00 00 00... bytes (fsee space) which (as i think) reserved by compiler for new constants (or/and for align, maybe)... And we can add our string to any place of this "reserved" block (it didn't used) and change push offset XXXX of our old string to offset our new string.... Keep in mind that offset is not offset in file - it is image_base + offset in file ![]() image_base usually is 0x400001H |
|
|
|
|
#14 |
|
Архивный участник
Join Date: May 2005
Posts: 2,033
|
thx a lot!
/bow
|
|
|
|
|
#15 |
|
Архивный участник
Join Date: Jul 2005
Posts: 6
|
Can somebody test this?
Who know asm - my reasoning is correct? |
|
|
|
|
#16 |
|
Архивный участник
Join Date: Aug 2005
Posts: 394
|
Archive has been damaged 0_o
EDIT: Never mind i got it if u wait a sec i'll test it |
|
|
|
|
#17 |
|
Архивный участник
Join Date: May 2005
Posts: 2,033
|
already tried 2 redload it?
|
|
|
|
|
#18 |
|
Архивный участник
Join Date: Aug 2005
Posts: 394
|
Do some research on the forum and then you will find the working version :bounce:
|
|
|
|
|
#19 |
|
Архивный участник
Join Date: May 2005
Posts: 2,033
|
lol...
i already got the workin exe sum time ago. but i wanted 2 test THIS 1
|
|
|
|
|
#20 |
|
Архивный участник
Join Date: Aug 2005
Posts: 394
|
well this one doesn't contain alt+m fix or /loc fix so don't bother trying
|
|
|
|
|
#21 |
|
Архивный участник
Join Date: May 2005
Posts: 2,033
|
i dun mind this.
i want 2 see whats changed excactly. thats called look n learn... see what i mean? |
|
|
|
|
#22 | |
|
Архивный участник
Join Date: Jul 2005
Posts: 6
|
Quote:
|
|
|
|
|
|
#23 |
|
Архивный участник
Join Date: May 2005
Posts: 2,033
|
just use search.
u can grab this fixed exe from the chinese ftp. just search for "the chinese ftp"
|
|
|
|
|
#24 | |
|
Архивный участник
Join Date: Jul 2005
Posts: 371
|
seems like these l2j info are not correctly especially some of those 0x00
Quote:
|
|
|
|
|
|
#25 |
|
Архивный участник
Join Date: Aug 2005
Posts: 434
|
So all this auto selects your char when you login right? Or is it more?
Seems that I don`t understand too much either |
|
|
|
|