Post Pacific  

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

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 19.07.2005, 22:29   #51
Sprinkle
Архивный участник
 
Join Date: Mar 2005
Posts: 82
Default

Could someone round up the hex edit infos in one sticky pls?
Sprinkle is offline  
Old 20.07.2005, 09:17   #52
serjr
Архивный участник
 
Join Date: May 2005
Posts: 115
Default

almost there
serjr is offline  
Old 20.07.2005, 22:50   #53
nemeek
Архивный участник
 
Join Date: May 2005
Posts: 105
Default

Definitely, c3 trial cause crash.
nemeek is offline  
Old 21.07.2005, 13:39   #54
toolpunk
Архивный участник
 
Join Date: May 2005
Posts: 2,033
Default

in how far does c3 trial cause a crash?
could u plz explain that a bit more detailed :S
toolpunk is offline  
Old 21.07.2005, 17:22   #55
nemeek
Архивный участник
 
Join Date: May 2005
Posts: 105
Default

why our server crash why have this trial, and now with c3redglow.exe not crash.
nemeek is offline  
Old 21.07.2005, 18:46   #56
SoaPy
Архивный участник
 
Join Date: Feb 2005
Posts: 705
Default

its because isnt stable c3.exe trial version
SoaPy is offline  
Old 22.07.2005, 06:36   #57
MoSs
Архивный участник
 
Join Date: Jul 2005
Posts: 108
Default

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
MoSs is offline  
Old 29.07.2005, 19:59   #58
kolya7k
Архивный участник
 
Join Date: Jul 2005
Posts: 6
Default

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...
kolya7k is offline  
Old 29.07.2005, 22:40   #59
kolya7k
Архивный участник
 
Join Date: Jul 2005
Posts: 6
Default

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...
kolya7k is offline  
Old 30.07.2005, 09:05   #60
toolpunk
Архивный участник
 
Join Date: May 2005
Posts: 2,033
Default

how about comparin a fixed exe with the old 1?
toolpunk is offline  
Old 31.07.2005, 17:34   #61
kolya7k
Архивный участник
 
Join Date: Jul 2005
Posts: 6
Default

Do it byself...
http://www.webfile.ru/433592
But i don know work it or not... need testing...
kolya7k is offline  
Old 31.07.2005, 18:59   #62
toolpunk
Архивный участник
 
Join Date: May 2005
Posts: 2,033
Default

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
toolpunk is offline  
Old 31.07.2005, 19:49   #63
kolya7k
Архивный участник
 
Join Date: Jul 2005
Posts: 6
Default

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
kolya7k is offline  
Old 01.08.2005, 09:57   #64
toolpunk
Архивный участник
 
Join Date: May 2005
Posts: 2,033
Default

thx a lot!
/bow
toolpunk is offline  
Old 01.08.2005, 15:37   #65
kolya7k
Архивный участник
 
Join Date: Jul 2005
Posts: 6
Default

Can somebody test this?
Who know asm - my reasoning is correct?
kolya7k is offline  
Old 03.08.2005, 10:54   #66
Phantom2005
Архивный участник
 
Join Date: Aug 2005
Posts: 394
Default

Archive has been damaged 0_o

EDIT: Never mind i got it if u wait a sec i'll test it
Phantom2005 is offline  
Old 03.08.2005, 15:35   #67
toolpunk
Архивный участник
 
Join Date: May 2005
Posts: 2,033
Default

already tried 2 redload it?
toolpunk is offline  
Old 03.08.2005, 17:39   #68
Phantom2005
Архивный участник
 
Join Date: Aug 2005
Posts: 394
Default

Do some research on the forum and then you will find the working version :bounce:
Phantom2005 is offline  
Old 03.08.2005, 18:24   #69
toolpunk
Архивный участник
 
Join Date: May 2005
Posts: 2,033
Default

lol...
i already got the workin exe sum time ago.
but i wanted 2 test THIS 1
toolpunk is offline  
Old 03.08.2005, 19:41   #70
Phantom2005
Архивный участник
 
Join Date: Aug 2005
Posts: 394
Default

well this one doesn't contain alt+m fix or /loc fix so don't bother trying
Phantom2005 is offline  
Old 04.08.2005, 06:31   #71
toolpunk
Архивный участник
 
Join Date: May 2005
Posts: 2,033
Default

i dun mind this.
i want 2 see whats changed excactly.
thats called look n learn...
see what i mean?
toolpunk is offline  
Old 05.08.2005, 15:49   #72
kolya7k
Архивный участник
 
Join Date: Jul 2005
Posts: 6
Default

Quote:
Originally Posted by toolpunk
lol...
i already got the workin exe sum time ago.
but i wanted 2 test THIS 1
Can you share this files?
kolya7k is offline  
Old 05.08.2005, 16:24   #73
toolpunk
Архивный участник
 
Join Date: May 2005
Posts: 2,033
Default

just use search.
u can grab this fixed exe from the chinese ftp.
just search for "the chinese ftp"
toolpunk is offline  
Old 23.12.2005, 00:30   #74
torune
Архивный участник
 
Join Date: Jul 2005
Posts: 371
Default

seems like these l2j info are not correctly especially some of those 0x00
Quote:
54 00 6F 00 72 00 75 00 6E 00 65 00 00 00 Char_Name
01 00 00 00 Char_ID
74 00 6F 00 72 00 75 00 6E 00 65 00 00 00 Login_Name
01 00 00 00 Session_ID
01 00 00 00 Clan_ID
01 00 00 00
01 00 00 00 Sex
00 00 00 00 Race
02 00 00 00 Class_ID
01 00 00 00
31 C4 01 00 X
67 43 00 00 Y
30 EC FF FF Z
F4 FD D4 78 E9 77 B4 40 Current_HP
AC 1C 5A 64 3B 1F 99 40 Current_MP
0C 01 00 00 SP
76 2C A1 6A EXP
50 00 00 00 LEVEL
00 00 00 00
C9 00 00 00
C3 00 00 00
39 00 00 00
00 00 00 00
00 00 00 00
00 00 00 00
00 00 00 00
00 00 00 00
00 00 00 00
46 02 00 00 ObjectID - UNDERWEAR
4A 02 00 00 ObjectID - REAR
49 02 00 00 ObjectID - LEAR
48 02 00 00 ObjectID - NECK
4C 02 00 00 ObjectID - RFINGER
4B 02 00 00 ObjectID - LFINGER
66 00 00 00 ObjectID - HEAD
5C 02 00 00 ObjectID - RHAND
4D 02 00 00 ObjectID - LHAND
64 00 00 00 ObjectID - GLOVES
62 00 00 00 ObjectID - CHEST
62 00 00 00 ObjectID - LEGS
65 00 00 00 ObjectID - FEET
47 02 00 00 ObjectID - BACK
00 00 00 00 ObjectID - LRHAND
44 02 00 00 ObjectID - HAIR
AA 02 00 00 ItemID - UNDERWEAR
B7 18 00 00 ItemID - REAR
B7 18 00 00 ItemID - LEAR
B6 18 00 00 ItemID - NECK
B8 18 00 00 ItemID - RFINGER
B8 18 00 00 ItemID - LFINGER
23 02 00 00 ItemID - HEAD
C4 09 00 00 ItemID - RHAND
81 02 00 00 ItemID - LHAND
88 16 00 00 ItemID - GLOVES
4E 09 00 00 ItemID - CHEST
4E 09 00 00 ItemID - LEGS
94 16 00 00 ItemID - FEET
6F 02 00 00 ItemID - BACK
00 00 00 00 ItemID - LRHAND
B0 16 00 00 ItemID - HAIR
01 00 00 00 HairStyle
00 00 00 00 HairColor
02 00 00 00 Face
3C DF 4F 8D 17 D2 B3 40 Char_MaxHp
AC 1C 5A 64 3B 1F 99 40 Char_MaxMp
00 00 00 00 Char_DeleteTimer
02 00 00 00 Char_ClassID
00 00 00 00
0A Char_EnchantEffect
torune is offline  
Old 23.12.2005, 18:20   #75
Flamestrike
Архивный участник
 
Join Date: Aug 2005
Posts: 434
Default

So all this auto selects your char when you login right? Or is it more?
Seems that I don`t understand too much either
Flamestrike 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 18:52.