Post Pacific

Post Pacific (https://postpacific.mmorpg-game.online/index.php)
-   Lineage 2 Server Modifications ONLY! (https://postpacific.mmorpg-game.online/forumdisplay.php?f=28)
-   -   [Notes] LoginScreeen CharSelectInfo (https://postpacific.mmorpg-game.online/showthread.php?t=1149)

Aikeleer 18.07.2005 17:37

My test server reports this protocol version is 419, and not 530 (C3). :o

toolpunk 18.07.2005 17:49

one more guy who has the prob...
weird :S

serjr 18.07.2005 19:22

do you change or hex auth.exe ?

toolpunk 19.07.2005 15:03

i got the authd out of the c3 pack...
can u put urs on rapidshare or sth like this so we can get it?
just if u dun mind...

thx in advance

nemeek 19.07.2005 15:29

can share authd?

i have invalid protocol too :(

nemeek 19.07.2005 17:10

Invalid protocol

What Happend? What must i modify?

http://tinypic.com/91m0dv.jpg

Thx a lot in advance.

toolpunk 19.07.2005 17:49

if serjr is right we need another authd...
(btw sounds senseful)
so we need 2 search for 1 or w8 till sum1 puts it up sumwhere...

nemeek 19.07.2005 18:14

i think that this l2server is a c2 server

i hope that serj or nnJinn respond and they tell how make work it fine.

Greets.

serjr 19.07.2005 21:39

hmm yes there are a problem with this exe and proto version, i will try to post tommorow patched c3 blue.exe. I don't have any exp with ida(and asm ) so it will take some time. AT this moment i understand what to change at protocol, digital post is good enought but need some more time to understand IDA :)

p.s. sorry for bad eanglish

Блин дигитал дал правильную наводку что править, по смещению им указаному идет формирование пакета протокола и надо доваить всего лишь 2 лишних переменных чтобы выровнять протокол, но дизасемблирование не мой конек поетому сейчас усердно штудирую Зубкова и туплю :) Если сам не справлюсь сть знакомый чел который все сделает за пиво, так что не пропадем :)
P.S.S. Chinese ppl rules :) Китайцы рулят блин и откуда у них столько времени :)

Sprinkle 19.07.2005 22:28

Good lord, help me with IDA also.
How do I get it to save my edits

I got to the location, convert it to data to get hex... manually change the hex.


then .. nothin.

Sprinkle 19.07.2005 22:29

Could someone round up the hex edit infos in one sticky pls?

serjr 20.07.2005 09:17

almost there

nemeek 20.07.2005 22:50

Definitely, c3 trial cause crash.

toolpunk 21.07.2005 13:39

in how far does c3 trial cause a crash?
could u plz explain that a bit more detailed :S

nemeek 21.07.2005 17:22

why our server crash why have this trial, and now with c3redglow.exe not crash.

SoaPy 21.07.2005 18:46

its because isnt stable c3.exe trial version

MoSs 22.07.2005 06:36

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

kolya7k 29.07.2005 19:59

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 29.07.2005 22:40

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...

toolpunk 30.07.2005 09:05

how about comparin a fixed exe with the old 1? ;)

kolya7k 31.07.2005 17:34

Do it byself... :)
http://www.webfile.ru/433592
But i don know work it or not... need testing...

toolpunk 31.07.2005 18:59

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

kolya7k 31.07.2005 19:49

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

toolpunk 01.08.2005 09:57

thx a lot!
/bow :p

kolya7k 01.08.2005 15:37

Can somebody test this?
Who know asm - my reasoning is correct?

Phantom2005 03.08.2005 10:54

Archive has been damaged 0_o

EDIT: Never mind i got it if u wait a sec i'll test it

toolpunk 03.08.2005 15:35

already tried 2 redload it?

Phantom2005 03.08.2005 17:39

Do some research on the forum and then you will find the working version :bounce:

toolpunk 03.08.2005 18:24

lol...
i already got the workin exe sum time ago.
but i wanted 2 test THIS 1 ;)

Phantom2005 03.08.2005 19:41

well this one doesn't contain alt+m fix or /loc fix so don't bother trying

toolpunk 04.08.2005 06:31

i dun mind this.
i want 2 see whats changed excactly.
thats called look n learn...
see what i mean?

kolya7k 05.08.2005 15:49

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?

toolpunk 05.08.2005 16:24

just use search.
u can grab this fixed exe from the chinese ftp.
just search for "the chinese ftp" :D :D :D

torune 23.12.2005 00:30

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

Flamestrike 23.12.2005 18:20

So all this auto selects your char when you login right? Or is it more?
Seems that I don`t understand too much either


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