Post Pacific  

Go Back   Post Pacific > Lineage 2 > Lineage 2 General

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 05.10.2005, 19:00   #12
tontor
Архивный участник
 
Join Date: May 2005
Posts: 109
Default

This modification is my first instinct upon hearing of the exploit, and I've only tested this on my personal test server.

The following code is responsible for disconnecting both connections on a duplicate login.

Code:
004668E4    8D4D B8         LEA ECX,DWORD PTR SS:[EBP-48]
004668E7    E8 E452FBFF     CALL L2Server.0041BBD0
004668EC    8B88 B8190000   MOV ECX,DWORD PTR DS:[EAX+19B8]
004668F2    E8 B9FE0900     CALL L2Server.005067B0
004668F7    8D4D C0         LEA ECX,DWORD PTR SS:[EBP-40]
004668FA    E8 D152FBFF     CALL L2Server.0041BBD0
004668FF    8B88 B8190000   MOV ECX,DWORD PTR DS:[EAX+19B8]
00466905    E8 A6FE0900     CALL L2Server.005067B0
0046690A    EB 21           JMP SHORT L2Server.0046692D
It should be relocated to a cave and modified to be:
Code:
LEA ECX,DWORD PTR SS:[EBP-48]
CALL L2Server.0041BBD0
PUSH EAX
MOV ECX,EAX
CALL L2Server.004FBBA0
POP EAX
MOV ECX,DWORD PTR DS:[EAX+19B8]
CALL L2Server.005067B0
LEA ECX,DWORD PTR SS:[EBP-40]
CALL L2Server.0041BBD0
PUSH EAX
MOV ECX,EAX
CALL L2Server.004FBBA0
POP EAX
MOV ECX,DWORD PTR DS:[EAX+19B8]
CALL L2Server.005067B0
JMP L2Server.0046692D
tontor is offline  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 08:38.