Post Pacific  

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

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 04.04.2005, 11:13   #1
yellowperil
Архивный участник
 
Join Date: Mar 2005
Posts: 114
Default HEXING EXE's

OK, can someone tell me the protocol that the petitiond.exe is using, I am trying to hex it, but since its a strong possability that its on gonna be one hex value the number of inctances is VERY high.

If someone can give the a KNOWN petition.exe with the protocol, I should be able to hex it.

Yellowperil
yellowperil is offline  
Old 05.04.2005, 03:44   #2
mg2005
Архивный участник
 
Join Date: Feb 2005
Posts: 85
Default

if I am not mistaken I got petition to work with client version 311 or at least I was able to call up a dummie problem and it excepted a petition and all no crash
it was C1 us version and petition version 311 I think don't remember where it came from. I will have to hunt it down as I don't use it
is this what you were looking for??
mg2005 is offline  
Old 05.04.2005, 03:50   #3
mg2005
Архивный участник
 
Join Date: Feb 2005
Posts: 85
Default

actually we need to hex the servers to except the new ptotocols 419 for NA C2 then use the host method to connect to servers I was able to use a l2server 483 and l2auth483 and I got it to connect to the server and all using C2 unpatched and added the special encrypted l2.ini using l2testauthd.com it complained about protocol mismatch but it went right to login and then character screen but it looked like it was about to load but just hung right there.............
mg2005 is offline  
Old 05.04.2005, 04:33   #4
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

we gotta get to this.. sooner or later... might as well start trying out now... and write down the tech notes... might be seriously useful...
since some ppl might point out what we have missed.
Digital is offline  
Old 05.04.2005, 08:44   #5
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

as a serious note...
i'm putting down what should be hexed.

l2auth:
-411
-decrypted

l2server:
-411
-create_pet
-ride
-lv80
-create_item
-pet fix
-crystalize
-other new c2 buttons (cant remember which)

petition:
-411

that should be all i think
add on if i missed out any
Digital is offline  
Old 05.04.2005, 09:22   #6
yellowperil
Архивный участник
 
Join Date: Mar 2005
Posts: 114
Default

ok I have 4 petitiond files I gave to digital, one actually says cant see the server, this maybe related to the hosts thing.

can you explain in more detail and I will test it

Yellowperil
yellowperil is offline  
Old 05.04.2005, 09:54   #7
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

i havent got the time to test it...
sorry to tell u that actually

but if mg2005 could provide us with the 311 version.. it'd be easier to work on i think, since we know that it's 311 already.
Digital is offline  
Old 05.04.2005, 15:38   #8
mg2005
Архивный участник
 
Join Date: Feb 2005
Posts: 85
Default

here it is its for C1 remember that and you need 311 auth server and l2server plus dll's for client C1
I can post up dll's if you need them

or post the whole dang server binaries 311







ps password protected
mg2005 is offline  
Old 07.04.2005, 17:42   #9
yellowperil
Архивный участник
 
Join Date: Mar 2005
Posts: 114
Default

what dlls on the client side ?
yellowperil is offline  
Old 07.04.2005, 18:39   #10
mg2005
Архивный участник
 
Join Date: Feb 2005
Posts: 85
Default

well after going back and looking at c1 client and running a serverstat on it it claims to be 411 ,but the dll's and server match 311 I believe it's because I am using a modified scripts folder with c2 and thats why it's stating 411 I will have to investigate a bit further to find out the version its using. to my knowledge it was 311 in the client side as I had an original prelude client then upgraded to c1 as soon as it came out and never upgraded past that. 306 was meifu server but c1 my version of c1 US will not connect to it, it only connected to the c1 sina 311, but I had to match the dll's to make it connect

I will throw a mixmatxh server up so I can get the exact protocol on the client will let you know in a min

:banghead: well meifu claims client protocol mismatch server 306 client 311 so 311 should be it
mg2005 is offline  
Old 07.04.2005, 18:49   #11
yellowperil
Архивный участник
 
Join Date: Mar 2005
Posts: 114
Default

is this a fully working petition, eg it doesnt drop the connection when someone sends a message, if thats the case send me the pass, and I will hex it to later protocols.

Yellowperil
yellowperil is offline  
Old 07.04.2005, 19:12   #12
mg2005
Архивный участник
 
Join Date: Feb 2005
Posts: 85
Default

sure.... it worked for me as I tested it and had a petition ready to be seen then I later went back and revoked the petition and it never crashed I will set a c1 server back up and test it one more time and make sure I will send you the pass once I test one more time..........
and you also need the right mssql petition file as well there were a bunch that floated around but only one was right...and ragezone claims you didnt need petition as it never worked but mine did cause I didnt use there petition I had another copy
sending you the pass.........
mg2005 is offline  
Old 07.04.2005, 19:21   #13
yellowperil
Архивный участник
 
Join Date: Mar 2005
Posts: 114
Default

well if you can find the stuff for the 311, dll's etc, working sql we should be able to make progress and hex it to the c2_test server version.
yellowperil is offline  
Old 07.04.2005, 19:24   #14
mg2005
Архивный участник
 
Join Date: Feb 2005
Posts: 85
Default

I am on it right now will get back with you later today
mg2005 is offline  
Old 07.04.2005, 19:45   #15
yellowperil
Архивный участник
 
Join Date: Mar 2005
Posts: 114
Default

as this is hexing EXE, I will add this here, the PET/SUMMONS hex, I beleive is fake, its garbage, dont bother wasting time with it, and if someone can confirm my beleif mark it for deletion.
yellowperil is offline  
Old 09.04.2005, 09:30   #16
yellowperil
Архивный участник
 
Join Date: Mar 2005
Posts: 114
Default

has anyone got the fix to work ?
yellowperil is offline  
Old 14.04.2005, 05:55   #17
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

ok.. after reading the chinese posts...
this is what i've discovered on castle siege fix
1) just need to match doordata n staticobject
2) 16 bit/byte hex on l2server on siege packeting section (somehow this is what have changed in c2 n that's y the hp doesnt drop)

and there we have it.. working siege (if i'm not wrong :P)
Digital is offline  
Old 14.04.2005, 09:49   #18
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

solution to monsters with pledge problem

l2server.exe

at this position change it to 481

and remember AcceptLowerProtocol=true
Digital is offline  
Old 15.04.2005, 04:41   #19
badjoe
Архивный участник
 
Join Date: Feb 2005
Posts: 72
Default

don't seem to work, at least not for me
worked for you ?
badjoe is offline  
Old 15.04.2005, 05:19   #20
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

then it must be the case of db corrupt.
just remove all the pledges in ur db n u'll be fine then
Digital is offline  
Old 15.04.2005, 05:55   #21
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

more info on castle doors
就是个二章的DoorInfo封包比一章多了城 门x,y,z坐标信息,删掉这3个Push,然后� ��配下城门ID就可以

c2 doorinfo packet has changed from c1, it has more door x,y,z info
remove 3 push from the l2server
and match the castle id and it'll work

攻城哪需要改16个字节,只要把6个字� �改成90就行了

siege doesnt need to edit 16 bytes only need to change 6 bytes to 90 and ur done
Digital is offline  
Old 15.04.2005, 06:42   #22
yellowperil
Архивный участник
 
Join Date: Mar 2005
Posts: 114
Default

now all I need is the address to look at
yellowperil is offline  
Old 15.04.2005, 06:52   #23
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

just need to edit 2 places, each place has 3 push, so 3*2=6bytes
if u want to make it perfect, 平下堆栈,2 more bytes...
c1: ObjectID,x,y,z,DoorID
c2: ObjectID,DoorID
just change the x,y,z push eax to nop and ur done

from yellowperil:
Erase x, y, z coordinates
00074EDE
00074EE7
00074EF0
00074F99
00074FA2
00074FAB
these 6 places, 50 alter to 90.
Digital is offline  
Old 15.04.2005, 16:31   #24
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

ok got it

删掉x,y,z坐标
00074EDE
00074EE7
00074EF0
00074F99
00074FA2
00074FAB
这6个地方,把50改成90。

完美点,平堆栈再改两地方。
00074F04
00074FBF
这两个地方,把20改成14。
Digital is offline  
Old 28.04.2005, 18:42   #25
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

thx to 风吹雪落

希望能对研究SERVER的人有些帮助
红字是ZZCAT改的
====================================
004143DC 83F8 03 cmp eax,3

004143DC 83F8 06 cmp eax,6
===============================
004143E5 FF2485 00454100 jmp dword ptr ds:[eax*4+414500]

004143E5 FF2485 50CF5B00 jmp dword ptr ds:[eax*4+5BCF50]
==============================
004144C6 68 90CF5B00 push C2Server.005BCF90 ; UNICODE "create_pet 1~2 (1=fox, 2=hatchling)"

004144C6 68 F8CE5B00 push C2Server.005BCEF8 ; UNICODE "create 1~3 (1=fox, 2=hatchling, 3=strider)"
================================
004144E9 68 F8CE5B00 push C2Server.005BCEF8 ; UNICODE "bool BuilderCmd_create_pet(CSocket *pSocket, User* pUser, WCHAR* pBuf)"

004144E9 68 F8CE5B00 push C2Server.005BCEF8 ; UNICODE "create 1~3 (1=fox, 2=hatchling, 3=strider)"
=================================================
0041B14E 8B45 E4 mov eax,dword ptr ss:[ebp-1C]
0041B151 68 3C336700 push C2Server.0067333C
0041B156 8D4D EC lea ecx,dword ptr ss:[ebp-14]
0041B159 51 push ecx
0041B15A 8945 EC mov dword ptr ss:[ebp-14],eax
0041B15D E8 78111700 call C2Server.0058C2DA
0041B162 68 78FC5B00 push C2Server.005BFC78 ; UNICODE "bool BuilderCmd_addcomment(CSocket *pSocket, User* pUser, WCHAR* pBuf)"
0041B167 E8 44E10500 call C2Server.004792B0
0041B16C 83C4 04 add esp,4
0041B16F 33DB xor ebx,ebx
0041B171 53 push ebx
0041B172 53 push ebx
0041B173 E8 62111700 call C2Server.0058C2DA
0041B178 CC int3
0041B179 90 nop
0041B17A 90 nop
0041B17B 90 nop
0041B17C 90 nop
0041B17D 90 nop
0041B17E 90 nop

0041B14E CC int3
0041B14F 6A 00 push 0
0041B151 8B4F 1C mov ecx,dword ptr ds:[edi+1C]
0041B154 81F9 2E730F00 cmp ecx,0F732E
0041B15A 74 14 je short C2Server.0041B170
0041B15C 81F9 2F730F00 cmp ecx,0F732F
0041B162 74 0C je short C2Server.0041B170
0041B164 81F9 30730F00 cmp ecx,0F7330
0041B16A 74 04 je short C2Server.0041B170
0041B16C 6A 00 push 0
0041B16E EB 02 jmp short C2Server.0041B172
0041B170 6A 01 push 1
0041B172 6A 00 push 0
0041B174 DD86 F8040000 fld qword ptr ds:[esi+4F8]
0041B17A E9 51311300 jmp C2Server.0054E2D0
==========================================
004245EF 8B4D E0 mov ecx,dword ptr ss:[ebp-20]
004245F2 68 3C336700 push C2Server.0067333C
004245F7 8D55 E4 lea edx,dword ptr ss:[ebp-1C]
004245FA 52 push edx
004245FB 894D E4 mov dword ptr ss:[ebp-1C],ecx
004245FE E8 D77C1600 call C2Server.0058C2DA
00424603 68 E01F5C00 push C2Server.005C1FE0 ; UNICODE "bool BuilderCmd_add_petition_chat(CSocket *pSocket, User* pUser, WCHAR* pBuf)"
00424608 E8 A34C0500 call C2Server.004792B0
0042460D 83C4 04 add esp,4
00424610 33DB xor ebx,ebx
00424612 53 push ebx
00424613 53 push ebx
00424614 E8 C17C1600 call C2Server.0058C2DA
00424619 CC int3
0042461A 90 nop
0042461B 90 nop
0042461C 90 nop
0042461D 90 nop

004245EF CC int3
004245F0 83E8 04 sub eax,4
004245F3 8BC8 mov ecx,eax
004245F5 81C1 2E730F00 add ecx,0F732E
004245FB 51 push ecx
004245FC 05 46110000 add eax,1146
00424601 50 push eax
00424602 8B55 0C mov edx,dword ptr ss:[ebp+C]
00424605 52 push edx
00424606 E8 E5841200 call C2Server.0054CAF0
0042460B 8B4D F4 mov ecx,dword ptr ss:[ebp-C]
0042460E 5F pop edi
0042460F 5E pop esi
00424610 32C0 xor al,al
00424612 64:890D 0000000>mov dword ptr fs:[0],ecx
00424619 5B pop ebx
0042461A 8BE5 mov esp,ebp
0042461C 5D pop ebp
0042461D C3 retn
==========================================
00424FF7 8B4D E0 mov ecx,dword ptr ss:[ebp-20]
00424FFA 68 3C336700 push C2Server.0067333C
00424FFF 8D55 E4 lea edx,dword ptr ss:[ebp-1C]
00425002 52 push edx
00425003 894D E4 mov dword ptr ss:[ebp-1C],ecx
00425006 E8 CF721600 call C2Server.0058C2DA
0042500B 68 70255C00 push C2Server.005C2570 ; UNICODE "bool BuilderCmd_unregister(CSocket *pSocket, User* pUser, WCHAR* pBuf)"
00425010 E8 9B420500 call C2Server.004792B0
00425015 83C4 04 add esp,4
00425018 6A 00 push 0
0042501A 6A 00 push 0
0042501C E8 B9721600 call C2Server.0058C2DA
00425021 CC int3

00424FF7 CC int3
00424FF8 51 push ecx
00424FF9 51 push ecx
00424FFA 6A 00 push 0
00424FFC 68 85000000 push 85
00425001 E9 12311200 jmp C2Server.00548118
00425006 51 push ecx
00425007 51 push ecx
00425008 6A 01 push 1
0042500A 68 85000000 push 85
0042500F E9 416F0700 jmp C2Server.0049BF55
00425014 57 push edi
00425015 57 push edi
00425016 6A 02 push 2
00425018 68 85000000 push 85
0042501D E9 83610D00 jmp C2Server.004FB1A5
=========================================
00474EDE 50 push eax

00474EDE 90 nop
==========================================
00474EE7 50 push eax

00474EE7 90 nop
==================================
00474EF0 50 push eax

00474EF0 90 nop
==================================
00474F02 83C4 20 add esp,20

00474F02 83C4 14 add esp,14
==================================
00474F99 50 push eax

00474F99 90 nop
=================================
00474FA2 50 push eax

00474FA2 90 nop
===================================
00474FAB 50 push eax

00474FAB 90 nop
======================================
00474FBD 83C4 20 add esp,20

00474FBD 83C4 14 add esp,14
========================================
0049BF4D 51 push ecx
0049BF4E 6A 01 push 1
0049BF50 68 85000000 push 85
0049BF55 68 84645B00 push C2Server.005B6484 ; ASCII "cdd"

0049BF4D ^ E9 B490F8FF jmp C2Server.00425006
0049BF52 90 nop
0049BF53 90 nop
0049BF54 90 nop
0049BF55 68 60465C00 push C2Server.005C4660 ; ASCII "cddd"
=======================================
0049BF60 83C4 14 add esp,14

0049BF60 83C4 18 add esp,18
=====================================
004A954E 68 D0795E00 push C2Server.005E79D0 ; UNICODE "<a action="bypass -h teleport_%d_%d" msg="682">%s - %d &$469; </a>"

004A954E 68 D0795E00 push C2Server.005E79D0 ; UNICODE "<a action="bypass -h teleport_%d_%d" msg="682">%s - %d "
==========================================
004FB19D 57 push edi
004FB19E 6A 02 push 2
004FB1A0 68 85000000 push 85
004FB1A5 68 84645B00 push C2Server.005B6484 ; ASCII "cdd"

004FB19D ^ E9 729EF2FF jmp C2Server.00425014
004FB1A2 90 nop
004FB1A3 90 nop
004FB1A4 90 nop
004FB1A5 68 60465C00 push C2Server.005C4660 ; ASCII "cddd"
======================================
004FB1B0 83C4 14 add esp,14

004FB1B0 83C4 18 add esp,18
=====================================
00548110 51 push ecx
00548111 6A 00 push 0
00548113 68 85000000 push 85
00548118 68 84645B00 push C2Server.005B6484 ; ASCII "cdd"

00548110 ^ E9 E3CEEDFF jmp C2Server.00424FF8
00548115 90 nop
00548116 90 nop
00548117 90 nop
00548118 68 60465C00 push C2Server.005C4660 ; ASCII "cddd"
========================================
00548125 83C4 14 add esp,14

00548125 83C4 18 add esp,18
=======================================
0054E2CA DD86 F8040000 fld qword ptr ds:[esi+4F8]

0054E2CA ^ E9 80CEECFF jmp C2Server.0041B14F
0054E2CF 90 nop
======================================
0054E4D6 68 00266200 push C2Server.00622600 ; ASCII "cdddddddddddddddddddffffdddcccccSSddddddddddddddd ddddddddddd"

0054E4D6 68 00266200 push C2Server.00622600 ; ASCII "cdddddddddddddddddddffffdddcccccSSddddddddddddddd ddddddddddddhc"
===========================
0054E4E4 81C4 08010000 add esp,108

0054E4E4 81C4 14010000 add esp,114
========================
Digital 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:17.