Twisted 发表于 2011-10-3 20:52:19

[1.298, 1.310] Adding a sliding notice command for GMs (/noticeall)

Many of you dreamed about sliding notice messages like usko, in private servers there can't be box for it but we can make something like this. All you wanted to convert some stuff like forgotten temple's notices but now we can do it! :)
Original code00498B59   > 80FB 11            CMP BL,11 // check for noticeall command
00498B5C         0F84 D6010000JE 00498D38
00498B62   . 80FB 07            CMP BL,7 // check for notice command
00498B65   . 0F84 CD010000JE 00498D38Modified code00498B59   > 80FB 11            CMP BL,11 // check for noticeall command
00498B5C         0F84 D6010000JE 00499218 // if this is noticeall go to our new code cave
00498B62   . 80FB 07            CMP BL,7 // check for notice command
00498B65   . 0F84 CD010000JE 00498D38Our code-cave00499218   > 8B86 98800000MOV EAX,DWORD PTR DS:
0049921E   . C685 DCFBFFFF >MOV BYTE PTR SS:,10
00499225   . C685 DDFBFFFF >MOV BYTE PTR SS:,8 // sliding notice
0049922C      ^E9 1BFBFFFF    JMP 00498D4C // jmp back to original routineWell with this modified code your GM's can now send sliding notices by using /noticeall command :)
For using this patch you must use an assembler which support editing.You can use OllyDBG for it.

Have fun.



1.3100047EF79   0F84 D6CF0200JE 004ABF55

004ABF55   8B86 98800000      MOV EAX,DWORD PTR DS:
004ABF5B   E9 91640100          JMP 004C23F1

004C23F1   C685 DCFBFFFF 10   MOV BYTE PTR SS: ,10
004C23F8   E9 34430000          JMP 004C6731

004C6731   C685 DDFBFFFF 08   MOV BYTE PTR SS: ,8
004C6738   E9 2C8AFBFF          JMP 0047F169
页: [1]
查看完整版本: [1.298, 1.310] Adding a sliding notice command for GMs (/noticeall)