Registration Code (Part 1): w%kQ6
Registration Code (Part 2): b<#$1[*(cw~
In order to register on this forum, you must use the codes above. Combine them into one code (copy paste).

NosHook - Direct3D Hook / Plugins / Addons (Dev Blog)

Topics regarding the online game Nostale.
Locked
User avatar
atom0s
Site Admin
Posts: 411
Joined: Sun Jan 04, 2015 11:23 pm
Location: 127.0.0.1
Contact:

NosHook - Direct3D Hook / Plugins / Addons (Dev Blog)

Post by atom0s » Thu Aug 04, 2016 12:32 pm

An old game I hacked a while ago caught my interest again since I had some minor free time the other night and was looking for another game to hack / mess around with. So I decided to take a look again and make a hook for it as well. This is a thread I'll be using to post out status updates and such about the progress of the hook.

This hook is similar to my other projects in that it includes:
  • Direct3D hook.
  • In-game console.
  • Plugins
  • Addons
  • Text Scripting
  • Keybinds
  • Packet Hooks
  • etc..
Some screenshots of the progress so far:
Image
Image
Image
Image
Derp~
Need a great web host? Check out: AnHonestHost.com


Donations can be made via Paypal:
https://www.paypal.me/atom0s
User avatar
atom0s
Site Admin
Posts: 411
Joined: Sun Jan 04, 2015 11:23 pm
Location: 127.0.0.1
Contact:

Re: NosHook - Direct3D Hook / Plugins / Addons (Dev Blog)

Post by atom0s » Thu Aug 04, 2016 12:34 pm

The ingame console is being handled via ImGui with some custom tweaks to make it work more like a normal game console:
Image

Commands are prefixed with '/' and handled by the hook internally. Plugins and addons both have access to handle the commands as they come in.

A handful of commands are already implemented for various things.
Derp~
Need a great web host? Check out: AnHonestHost.com


Donations can be made via Paypal:
https://www.paypal.me/atom0s
User avatar
atom0s
Site Admin
Posts: 411
Joined: Sun Jan 04, 2015 11:23 pm
Location: 127.0.0.1
Contact:

Re: NosHook - Direct3D Hook / Plugins / Addons (Dev Blog)

Post by atom0s » Thu Aug 04, 2016 11:03 pm

Plugin interface is done and working today. I have the Addons plugin fully done and working as well along with an example plugin and example addon written up demonstrating some basics. Tonight I spent some free time cleaning up the code, going through things in a minor code review to ensure everything is cooperating nicely and working as expected. Logging has been adjusted a bit to work better. Tonights change log so far:

Part 1
  • Changed character format to char* on chat manager calls.
  • Added Writef to ChatManager for formatted message usage.
  • Renamed ConfigurationManager Load override to LoadEx for Lua bindings.
  • Implemented key binding.
  • Added Console support to SDK.
  • Added keybind support to SDK.
  • Added GetGameInstallPath to IHookManager interface.
  • Renamed plugin base to NosHookPlugin.
  • Added HandleKeyboard and HandleMouse to plugin interface.
  • Added console output to the plugin manager.
  • Implemented Addons plugin.
  • Implemented example plugin.
  • Added more logging to some classes.
  • Fixed logging engine not logging to files.
  • Fixed logging engine not logging full queue when game was unloaded.
  • Reordered some internal class initialization to prevent pointer bugs.
  • General Code Cleanup
Part 2
  • Cleanup of console output from addons.
  • Cleanup of console output from plugins.
  • Fixed typo in /echo console command.
  • Removed some stale code from another project.
  • Added some more logging to the plugin manager.
  • Implemented default text script execution on load. (/Scripts/Default.txt will execute when the game is loaded allowing you to auto-load addons/plugins as well as other commands to configure things to your needs.)
Part 3
  • Some more code cleanup.
  • Implemented configurations for some basic stuff.
  • Discovered a bug/issue that can be avoided but is kind of annoying.
Known Issues
- Nostale does not call Reset on the device to resize it. Instead, they completely destroy the device and recreate it. This causes NosHook to reload everything due to how it works. As long as you stick to one resolution you will never see any issues. For those that swap resolutions often, it may become annoying.
Derp~
Need a great web host? Check out: AnHonestHost.com


Donations can be made via Paypal:
https://www.paypal.me/atom0s
User avatar
atom0s
Site Admin
Posts: 411
Joined: Sun Jan 04, 2015 11:23 pm
Location: 127.0.0.1
Contact:

Re: NosHook - Direct3D Hook / Plugins / Addons (Dev Blog)

Post by atom0s » Fri Aug 05, 2016 2:42 pm

Some more updates this morning, I should hopefully have a beta package ready soon.
  • Added new documentation.
  • Added some more Lua bindings for addons.
  • Renamed a few bindings for addons.
  • Adjusted a default config value.
Derp~
Need a great web host? Check out: AnHonestHost.com


Donations can be made via Paypal:
https://www.paypal.me/atom0s
Locked

Who is online

Users browsing this forum: No registered users and 1 guest