• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

[Guide] Add new Event and GM commands

Newbie Spellweaver
Joined
Aug 4, 2010
Messages
47
Reaction score
15
Necessita-se utilizar o Google Tradutor. :D
===========================================
Need to use Google Translator. : D
===========================================

[+] Baixe a ferramenta
[+] Baixe
[+] Baixe

[-] Abra seu hex decimal C:\Arquivos de programas\BreakPoint Software\Hex Workshop v6 HWorks32.exe. Feito isso tecle CTR+N. Logo após ira ficar uma tela branca. Clique com o direito e selecione Insert, deixe a opção Hex marcada coloque em número de bytes 900 por 00. Feito isso salve a seção EX: .commands

[-] Abra em seguida LordPE clique em PE Editor Localize primeiramente o Server, depois selecione Sections vá até a ultima seção e clique com o direito e selecione load section from disk, feito isso escolha a nova seção criada em hex.

[-] Abra o PE Explorer e veja a offset e anote ela em um bloco de notas.

[-] Abra seu OllyDBG localize o server Clique com o direito e escolha, search for->all referenced text strings. Sua sua barra de rolagem até chegar em ASCII "*EVENT_VALENTINEDAY" +/- Isso :D.

[-] Estou utilizando o server.exe postado por Jay Moko. Aqui irei ensinar a como adicionar um Evento novo no server,mas para adicionar comandos de GM é a mesma coisa so basta localizar no seu servidor a listagem de comandos.

[-] Feito isso aqui vou copiar Binary Copy
Code:
68 6C 52 5E 00 56 FF D3 85 C0 75 39 8B C5 8D 54 24 14 E8 5D F0 FF FF 8A 44 24 14 84 C0 74 17 8D
44 24 14 50 E8 53 39 19 00 83 C4 04 A3 04 60 84 00 E9 36 10 00 00 C7 05 04 60 84 00 64 00 00 00
E9 27 10 00 00 68 58 52 5E 00 56 FF D7 85 C0 74 0C

Copy to clipboard
Code:
004343BC  |. 68 6C525E00    PUSH Server.005E526C                     ;  ASCII "*EVENT_VALENTINEDAY"
004343C1  |. 56             PUSH ESI
004343C2  |. FFD3           CALL EBX
004343C4  |. 85C0           TEST EAX,EAX
004343C6  |. 75 39          JNZ SHORT Server.00434401
004343C8  |> 8BC5           MOV EAX,EBP
004343CA  |. 8D5424 14      LEA EDX,DWORD PTR SS:[ESP+14]
004343CE  |. E8 5DF0FFFF    CALL Server.00433430
004343D3  |. 8A4424 14      MOV AL,BYTE PTR SS:[ESP+14]
004343D7  |. 84C0           TEST AL,AL
004343D9  |. 74 17          JE SHORT Server.004343F2
004343DB  |. 8D4424 14      LEA EAX,DWORD PTR SS:[ESP+14]
004343DF  |. 50             PUSH EAX
004343E0  |. E8 53391900    CALL Server.005C7D38
004343E5  |. 83C4 04        ADD ESP,4
004343E8  |. A3 04608400    MOV DWORD PTR DS:[846004],EAX
004343ED  |. E9 36100000    JMP Server.00435428
004343F2  |> C705 04608400 >MOV DWORD PTR DS:[846004],64
004343FC  |. E9 27100000    JMP Server.00435428
00434401  |> 68 58525E00    PUSH Server.005E5258
00434406  |. 56             PUSH ESI
00434407  |. FFD7           CALL EDI
00434409  |. 85C0           TEST EAX,EAX
0043440B  |. 74 0C          JE SHORT Server.00434419

Este seria o *EVENT_VALENTINEDAY

[-] Basta fazer uma cópia binary copy e ajustar na sua nova tabela criada. Feito isso mude os valores

MOV DWORD PTR DS:[846004],64
PUSH ESI
CALL EDI
TEST EAX,EAX

Ficando +/- assim
MOV DWORD PTR DS:[846004],75
PUSH ESI
NOP
TEST EAX,EAX

Agora procure a nova seção em hexa e mude o nome do novo evento para um qualquer e adicione a linha em seu hotuk.ini. Este evento sera se bem me lembro o de quebra cabeças do BPT. sacer 1,2,3,4,5,6,7,8 e Mec 1,2,3,4,5,6,7,8. Caso não funcione você devera adicionar o NPC para receber o prêmio pelo quebra kabeça. É assim dropando em todos os mobs, caso não tenha os itens add adicione em seu servidor :D. Desculpem pela tutorial mal explicado. Quem estiver com dúvidas pode me encontrar em.

Harsaphes@hotmail.com.br

By Harsaphes

---------- Post added at 07:15 PM ---------- Previous post was at 07:14 PM ----------

Translation Inglês

Need to use Google Translator. : D
===========================================

[+] Download the tool [URL = "http://www.ollydbg.de/odbg110.zip"] OllyDbg [/ URL]
[+] Download [URL = "http://rapidshare.com/files/196522035/HexWorkshop_6.0.1.4603.rar"] Hex WorkShop [/ URL]
[+] Download [URL = "http://ultradownloads.uol.com.br/download/LordPE/] LordPE [/ URL]
[+] Download [URL = "http://www.baixaki.com.br/download/pe-explorer.htm"] PE Explorer [/ URL]

[-] Open your hex decimal C: \ Program Files \ Breakpoint Software \ Hex Workshop v6 [/ b] HWorks32.exe. Made this press CTR + N. Soon after will be a white screen. Right click and select Insert, Hex leave the option selected number of bytes put in 900 per 2000. Done that save the section EX:. Commands

[-] Open then LordPE click PE Editor Locate the Server first, then select sections go to the last section and right click and select load from disk section, done that select the new section created in hex.

[-] Open PE Explorer and check the offset and record it in a notebook.

[-] Open your OllyDbg locate the server right-click and choose, search for-> all referenced text strings. Its your scroll bar to get ASCII "EVENT_VALENTINEDAY *" + / - That: D.

[-] I'm using server.exe posted by Jay Moko. Here I'll teach you how to add a new event on the server, but to add GM commands is the same thing so just find your server in the list of commands.

[-] Done I'll copy it here Binary Copy
Code:
5E 52 68 6C 00 56 FF D3 85 C0 75 39 8B 8D 54 C5 24 14 5D E8 F0 FF FF 8A 44 24 14 84 74 17 C0 8D
44 24 14 50 53 39 19 00 E8 C4 83 04 A3 04 60 84 00 E9 C7 36 10 00 00 05 04 60 84 00 64 00 00 00
E9 27 10 00 00 68 58 52 5E 00 56 FF D7 85 C0 74 0C
[/ Code]

Copy to clipboard
[Code]
004343BC |. 68 6C525E00 PUSH Server.005E526C; ASCII "* EVENT_VALENTINEDAY"
004343C1 |. 56 PUSH ESI
004343C2 |. FFD3 CALL EBX
004343C4 |. 85C0 TEST EAX, EAX
004343C6 |. 75 39 JNZ SHORT Server.00434401
004343C8 |> 8BC5 MOV EAX, EBP
004343CA |. 8D5424 14 LEA EDX, DWORD PTR SS: [ESP +14]
004343CE |. E8 5DF0FFFF CALL Server.00433430
004343D3 |. 8A4424 14 MOV AL, BYTE PTR SS: [ESP +14]
004343D7 |. 84C0 TEST AL, AL
004343D9 |. 74 17 JE SHORT Server.004343F2
004343DB |. 8D4424 14 LEA EAX, DWORD PTR SS: [ESP +14]
004343DF |. 50 PUSH EAX
004343E0 |. E8 53391900 CALL Server.005C7D38
004343E5 |. 83C4 04 ADD ESP, 4
004343E8 |. A3 04608400 MOV DWORD PTR DS: [846 004], EAX
004343ED |. E9 36100000 JMP Server.00435428
004343F2 |> C705 04608400> MOV DWORD PTR DS: [846 004], 64
004343FC |. E9 27100000 JMP Server.00435428
00434401 |> 68 58525E00 PUSH Server.005E5258
00434406 |. 56 PUSH ESI
00434407 |. FFD7 CALL EDI
00434409 |. 85C0 TEST EAX, EAX
0043440B |. 74 0C JE SHORT Server.00434419

[/ Code]

This would be the * EVENT_VALENTINEDAY

[-] Just make a copy and print binary fit in your newly created table. Made this change the values

[Quote]
MOV DWORD PTR DS: [846 004], 64
PUSH ESI
CALL EDI
TEST EAX, EAX
[/ Quote]

Getting + / - so
[Quote]
MOV DWORD PTR DS: [846 004], 75
PUSH ESI
NOP
TEST EAX, EAX
[/ Quote]

Now look for the new section in hex and change the name of a new event for any and add the line in his hotuk.ini. This event will well remember the puzzle of the BPT. sacer 1,2,3,4,5,6,7,8 and 1,2,3,4,5,6,7,8 Mec. If not work you should add the NPC to receive the award for breaking kabeça. Thus dropping all mobs if you did not add items to add to your server: D. Sorry for the bad tutorial explained. Anyone with questions can find me.

Harsaphes@hotmail.com.br

By Harsaphes[COLOR="Silver"]

[SIZE=1]---------- Post added at 07:15 PM ---------- Previous post was at 07:15 PM ----------[/SIZE]

[/COLOR]Peopl to any member make a better translation sorry: D
 
Last edited by a moderator:
Back
Top