Skip to content

Commit

Permalink
Fix Client/dll import page links and images
Browse files Browse the repository at this point in the history
This is a general fix by properly formatting links and downloading images, no proof-read/check performed
  • Loading branch information
guilherme-gm committed Apr 20, 2024
1 parent 6661f7d commit 6266e7c
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 12 deletions.
Binary file added docs/client/assets/studpe_dll_message.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/client/assets/studpe_dllmain.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/client/assets/studpe_function_added.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/client/assets/studpe_functions_tab.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/client/assets/studpe_import_adder.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/client/assets/studpe_open_ragexe.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/client/assets/studpe_startup.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 13 additions & 12 deletions docs/client/dll-import.md
Original file line number Diff line number Diff line change
@@ -1,38 +1,39 @@
Since it took me a while to figure out how to add a DLL to the Ragexe or Ragexe_RE client, I will explain it now in under 5 minutes.
# DLL Import

[http://imgur.com/a/Ak0Ws#0 All Screenshots]
Since it took me a while to figure out how to add a DLL to the Ragexe or Ragexe_RE client, I will explain it now in under 5 minutes.

At first we need 2 things to get it working.
1. [http://www.cgsoftlabs.ro/zip/Stud_PE.zip Stud_PE], which we need to import the DLL.
2. An [http://www.xup.in/dl,10633471/example.dll/ example DLL] to find out if it worked out well.

1. [Stud PE](http://www.cgsoftlabs.ro/zip/Stud_PE.zip), which we need to import the DLL.
2. An [example DLL](http://www.xup.in/dl,10633471/example.dll/) to find out if it worked out well.

When you finished downloading these two files, extract the setup from the Stud_PE.zip and install it to your computer.

After you installed it and started it, there should be a window popping up, which look like this:
[http://i.imgur.com/ENpdGyv.png|framed|StudPE-Startup]
<center>![StudPE Startup](assets/studpe_startup.png)</center>

Then click on File in the top menu and then on Open PE File. Then there will show up a File Open Dialog where you choose your RagnarokExe.
[http://i.imgur.com/26uMnoT.png|framed|Ragexe-File-Open-Dialog]
<center>![StudPE Open RagExe](assets/studpe_open_ragexe.png)</center>

After that the PE File gets loaded and you switch to the Function Tab in the Program, like here:
[http://i.imgur.com/fqBNiTp.png|framed|Functions-Tab]
<center>![StudPE Functions Tab](assets/studpe_functions_tab.png)</center>
There you see all DLL's which get actually loaded and what functions exactly get loaded.

In Order to add our own DLL to the list of the DLL's which get loaded, rightclick into the window where the DLL Files are listed and choose "Add New Import".
A new windows is opening which looks like this:
[http://i.imgur.com/xq73A56.png|framed|Import-Adder]
<center>![StudPE Import Adder](assets/studpe_import_adder.png)</center>

There you choose your own DLL with the File Open Dialog which you open with "DLL Select" and then you choose the function which should get loaded.
A DLL has a startup routin which we load from our example.dll which you downloaded before. It looks like this:
[http://i.imgur.com/u1Ye7Fc.png|framed|DLL-Main]
<center>![StudPE DLL Main](assets/studpe_dllmain.png)</center>

And if you choose the DllMain@12, it has a blue background and then click on Ok.
Your Import Adder should look like this:
[http://i.imgur.com/hWCRezs.png|framed|Function-Added]
<center>![StudPE Function Added](assets/studpe_function_added.png)</center>
Then click on "ADD" and it's done, your Client.exe loads the DLL from now on.

Just close the program, move the dll to your client's folder and start the client.
Then there should be a MessageBox when your Client starts, which looks like this.
[http://i.imgur.com/ZSlM1C4.png|framed|DLL-Message]
<center>![StudPE DLL Message](assets/studpe_dll_message.png)</center>

Congratulations, you added a DLL to your Client.
Congratulations, you added a DLL to your Client.

0 comments on commit 6266e7c

Please sign in to comment.