Hi, I have coded a simple hack for Metin2 but now i want to add some simple GUI.
The problem is that i don't know how to implement a GUI in a DLL, i can easily make a GUI in a .exe but i can't implement it on a DLL. I have tried to use CLR support on my main hack but the DLL won't inject and i don't know why.
I have never work with graphical interfaces before.
>2017 and still doing hacks for metin2
back to topic:
well, since your hack is simple I'd suggest you using the win32 api and code the message loop and events by hand without any toolkit.
this approach is much more lightweight than using Qt or other various frameworks.
I also recommend you to look into wxWidgets. It's extremely lightweight and has a well written documentation and useful libraries.
the only thing left to do is to create a separate thread for the window. this is required since you're directly injecting into the game's mainthread which would block your window from appearing.
simply use or other implementations such as std::thread, CreateThread, wxThread (if you're using wxWidgets) etc.
I'm still a newbie in the area. I Just want to learning more and this is a simple game with leaked source and with almost no protection.
Quote:
Originally Posted by _asm
>
well, since your hack is simple I'd suggest you using the win32 api and code the message loop and events by hand without any toolkit.
this approach is much more lightweight than using Qt or other various frameworks.
I also recommend you to look into wxWidgets. It's extremely lightweight and has a well written documentation and useful libraries.
the only thing left to do is to create a separate thread for the window. this is required since you're directly injecting into the game's mainthread which would block your window from appearing.
simply use or other implementations such as std::thread, CreateThread, wxThread (if you're using wxWidgets) etc.
Thanks for the sugestions, i will take a look ate those and decide wich use.
How in depth of a UI are you trying to do? And is this attempting to be external or internal in the game itself?
Internal. He is trying to attach a DLL with a GUI. I guess this thread can be closed since there are enough answers with possible solutions to his problem.
Thanks to all the sugestions, i will take a look in some of them in a near future, as my free time now is not much and, as _asm said, the thread can be closed
[HOW TO] MSVCR110.dll fehlt BEHEBEN | [MSVCR120.dll MSVCP110.dll MSVCP100.dll etc] 03/25/2014 - Tutorials - 2 Replies Hier ist ein Youtube Video:
MSVCR100.dll feht BEHEBEN / MSVCR110.dll fehlt MSVCR120.dll MSVCP110.dll MSVCP100.dll MSVCP120.dll - YouTube
Aber den ganzen Kram könnt ihr auch als Text haben:
Viele von euch kennen bestimmt das Problem das ne dll auf dem PC fehlt und das Programme dann nicht laufen. Hier ist die Lösung:
Schaut erstmal nach, welche Microsoft Redistributables auf eurem PC installiert sind. Geht hierzu auf Start > Sytemsteuerung > Programme > Programme und Funktionen
und...
[HELP]Using SmartWHZ.DLL and hyperpeer.dll 04/08/2011 - Soldier Front Philippines - 25 Replies hello ..
sir ask ko lng po ,, ung gmit ko pong wallhack eh ung" smartwhz and hyperpeer"
dll's after po ng 20mins connection been lost po... :(
im using double mounting method
can any one helps me?
tnx
cmd gui+0.dll para sa mga nahihirapan paganahin ang 0.dll 12/22/2009 - Soldier Front Hacks, Bots, Cheats & Exploits - 11 Replies 1. Double click lang yun Gyro.exe
2. Double click yun Gyro shortcut na lumabas sa desktop
lalabas
George Estregan GUI ko
3. Click yun Disable Command Prompt para ma disable Command Prompt
para ito sa 0.dll Bypass
4. Click yun Gyro Internet/Games Wallhack may lalabas na window
wag nang galawin nka-set na yan
5. Log on kayo sa account
nyo sa SF tapos may lalabas Command prompt