Since a few people want to add their own functions into TRose I decided to post a guide on "how to hook a DLL into TRose.exe".
Programs needed:
Rose Online (ofcourse )
Ollydbg (google it)
RuffProtect (just the DLL)
PE Explorer
So let's start off with opening TRose.exe by clicking File->Open.
In the above picture you see @TRIGGER_SOFT@ _server 192.168.1.100 added in the "Arguments" bar.
If you run into a exception BEFORE Ollydbg entered the TRose module press Shift+F9.
Now when we entered the TRose module we need to write some things down.
The underlined hex offset is the entryoint of program, write that down cause we are going to need it later.
Now scroll all the way down until we get to some free space (DB 00)
Just leave the same space between the other commands as shown in the picture,
right click and select Follow in Dump->Selection.
Now when you see the dump select around ten 00 boxes and press SPACE .
At the ASCII bar type RuffProtect.DLL (yes it is case sensitive) and press enter.
Now scroll down a bit a right click on DB 00 "Assemble" or press SPACE.
Then type in the bar push offset of your DLL, so in my case it will be "push 0062DCE8" if the checkbox fill with NOP's is checked uncheck it. And click Assemble, don't forget to write down the offset of your DLL.
Now press CTRL+N to find names in module TROSE.
Scroll down and find "KERNEL32.LoadLibraryA" and (select it and) press enter.
The References tab will show up and you see DLL loading commands, just double click on and write down the hex command.
Continued in next post...