Post Pacific  

Go Back   Post Pacific > Lineage 2 > Lineage 2 Help
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 07.10.2005, 16:00   #32
Livid
Архивный участник
 
Join Date: Apr 2005
Posts: 314
Default

Now I got what's wrong with this code.
You should rather relocate it somewhere and restore original contents. Nothing too bad, but you won't get abnormal effects working with it.
Well, most of you don't have them anyway, eh?
Posting original code so that you won't get any big trouble later.
Code:
.00426A66: EB 0F                        jmps 00426A77
---
.004486C0: 55                           push        ebp
.004486C1: 8BEC                         mov         ebp,esp
.004486C3: 6AFF                         push        0FF
.004486C5: 68C0455A00                   push        0005A45C0  ---↓ (1)
.004486CA: 64A100000000                 mov         eax,fs:[00000000]
.004486D0: 50                           push        eax
.004486D1: 64892500000000               mov         fs:[00000000],esp
.004486D8: 83EC20                       sub         esp,020 ;" "
.004486DB: 53                           push        ebx
.004486DC: 56                           push        esi
.004486DD: 57                           push        edi
.004486DE: 8BF1                         mov         esi,ecx
.004486E0: 8B86B00A0000                 mov         eax,[esi][00000AB0]
.004486E6: 8D4DE0                       lea         ecx,[ebp][-20]
.004486E9: 8965F0                       mov         [ebp][-10],esp
.004486EC: 33FF                         xor         edi,edi
.004486EE: 51                           push        ecx
.004486EF: 897DFC                       mov         [ebp][-04],edi
.004486F2: 8945DC                       mov         [ebp][-24],eax
.004486F5: 897DE0                       mov         [ebp][-20],edi
.004486F8: C645EF00                     mov         b,[ebp][-11],000
.004486FC: E85F0E0F00                   call       .000539560  ---↓ (2)
.00448701: 83C404                       add         esp,004 ;"♦"
---
.004FDEC7: E8F4A7F4FF                   call       .0004486C0  ---↑ (4)
*EDIT*
Revision:
Code:
006B8F0B    60              PUSHAD
006B8F0C    8B8E B8190000   MOV ECX,DWORD PTR DS:[ESI+19B8]
006B8F12    A1 F08F6B00     MOV EAX,DWORD PTR DS:[6B8FF0]
006B8F17    05 00010000     ADD EAX,100
006B8F1C    50              PUSH EAX
006B8F1D    68 F8000000     PUSH 0F8
006B8F22    68 DCD55B00     PUSH L2server.005BD5DC                   ; ASCII "cd"
006B8F27    51              PUSH ECX
006B8F28    E8 436DE2FF     CALL 004DFC70
006B8F2D    83C4 10         ADD ESP,10
006B8F30    61              POPAD
006B8F31    C3              RETN
006B8F32    FF35 F08F6B00   PUSH DWORD PTR DS:[6B8FF0]
006B8F38    68 F8000000     PUSH 0F8
006B8F3D    68 DCD55B00     PUSH L2server.005BD5DC                   ; ASCII "cd"
006B8F42    E8 197AE3FF     CALL 004F0960
006B8F47  - E9 28DBD6FF     JMP L2server.00426A74
Code:
00426A63     83F8 02        CMP EAX,2 
00426A66     7F 0F          JG SHORT L2server.00426A77 
00426A68     A3 F08F6B00    MOV DWORD PTR DS:[6B8FF0],EAX 
00426A6D    - E9 C0242900   JMP L2server.006B8F32
00426A72     90             NOP 
00426A73     90             NOP
Code:
004FDDA3      E8 63B11B00   CALL L2server.006B8F0B
004FDDA8   .  EB 0B         JMP SHORT L2server.004FDDB5
Code:
006BBBEA  F8
Livid 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 16:23.