Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 29.03.2006, 13:08   #1
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default [Notes] Some hex references (Chinese)

[原创] 四章服务端修改教学

by ET2004 (QQ 52923913, EMail: [email protected])

* 转贴请保持完整,谢谢合作
* 本帖将不定期更新
* 最后更新于 2006/03/11 9:20

2006/03/10 Chap 1: 支持 /位置、小地图、屏蔽 unknown protocol x 提示

0050F941 . 8A4433 10 mov al,byte ptr ds:[ebx+esi+10] ; opcode
0050F945 . 3C AA cmp al,0AA
0050F947 . 72 1D jb short L2Server.0050F966 ; known opcode
0050F949 .- E9 728B1A00 jmp L2Server.006B84C0 ; new packet handler
0050F94E 90 nop ; |
0050F94F 90 nop ; |
0050F950 90 nop ; |
0050F951 90 nop ; |

new packet handler
006B84C0 3C AA cmp al,0AA ; BypassUserCmd
006B84C2 74 0E je short L2Server.006B84D2
006B84C4 33C0 xor eax,eax
006B84C6 3C CD cmp al,0CD ; RequestViewMinimap
006B84C8 74 66 je short L2Server.006B8530
006B84CA 90 nop
006B84CB 90 nop
006B84CC - E9 AE75E5FF jmp L2Server.0050FA7F ; Ignore unknown protocol
006B84D1 90 nop

BypassUserCmd
006B84D2 8B8F 94130000 mov ecx,dword ptr ds:[edi+1394]
006B84D8 85C9 test ecx,ecx
006B84DA - 0F84 8675E5FF je L2Server.0050FA66
006B84E0 8B99 540F0000 mov ebx,dword ptr ds:[ecx+F54]
006B84E6 DD43 18 fld qword ptr ds:[ebx+18]
006B84E9 E8 BE3EEDFF call L2Server.0058C3AC
006B84EE 50 push eax
006B84EF 6A 01 push 1
006B84F1 DD43 10 fld qword ptr ds:[ebx+10]
006B84F4 E8 B33EEDFF call L2Server.0058C3AC
006B84F9 50 push eax
006B84FA 6A 01 push 1
006B84FC DD43 08 fld qword ptr ds:[ebx+8]
006B84FF E8 A83EEDFF call L2Server.0058C3AC
006B8504 50 push eax
006B8505 6A 01 push 1
006B8507 6A 03 push 3
006B8509 68 8F030000 push 38F
006B850E 6A 7A push 7A
006B8510 68 25856B00 push L2Server.006B8525 ; ASCII "cddfff"
006B8515 57 push edi
006B8516 E8 5577E2FF call L2Server.004DFC70
006B851B 83C4 2C add esp,2C
006B851E - E9 5C75E5FF jmp L2Server.0050FA7F
006B8523 90 nop
006B8524 90 nop

RequestViewMinimap
006B8530 68 81060000 push 681
006B8535 68 B6000000 push 0B6
006B853A 68 DCD55B00 push L2Server.005BD5DC ; ASCII "cd"
006B853F 57 push edi
006B8540 E8 2B77E2FF call L2Server.004DFC70
006B8545 83C4 18 add esp,18
006B8548 - E9 3275E5FF jmp L2Server.0050FA7F
006B854D 90 nop
Digital 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 19:50.