OutdatedRotMG Scripts for 059's Client

Posts 115 of 25 · Page 1 of 2
RotMG Scripts for 059's Client
RotMG Scripts for 059's Client

Decided to write a program to help toggle settings that has a good-looking UI rather than the AHK script that has been floating around. This is currently mainly used for rushing, as it gives the ability to quickly toggle debuff settings at the push of any button (one example of this would be rushing Lost Halls, as you can turn off the debuffs without getting disconnected as long as you turn them back on before troom).

Note that this only works on 059's .swf client running through flashplayer projector, no other setups have been tested.


Getting Started

Extract the .exe to an empty folder, and run the program. Run 059's client and create the scripts with the settings you'd like, has only been tested with the .swf Flashplayer version. If you renamed the flashplayer process, ensure to change the name to your current flashplayer's name.


Console Commands

Currently there are very few console commands, but more will be added shortly:
 
Console Commands

"hook"/"rehook" - Hooks into the keyboard if it gets unhooked or doesn't hook properly.
"unhook" - Unhooks from the keyboard, meaning you can no longer use hotkeys.



Source

This program is open source, and the source is attached below. I'm not allowed to give the GitHub link here (as far as I can tell, if that rule has changed I will edit this post with the link), but it's up on there as well. Building should be easy as there are no extra dependencies, however it has only been tested on Visual Studio 2017, so no promises it will work on any other version.

 
Building Instructions

1. Install Visual Studio 2017
2. Download the source code and extract to a folder
3. Open the .sln in Visual Studio
4. Build the program



Screenshots
 
Screenshots








Virus Scans

VirusTotal
Jotti


RotMG Scripts 1.0.0.0_mpgh.net.zip120 KB · 1,002 downloads Clean
Source Code - RotMG Scripts 1.0.0.0_mpgh.net.zip746 KB · 397 downloads Clean
pretty nice release.

i've been doing different things in rotmg and found it useful to have some settings saved somewhere, but i used .sol files to save the settings i wanted and get back to them when i needed specific task. hope you would widen your project and make it config-like that could be executable like in Quake 3 Arena by just typing exec [configname] and get settings you want.
Quote Originally Posted by RealmServices View Post
pretty nice release.

i've been doing different things in rotmg and found it useful to have some settings saved somewhere, but i used .sol files to save the settings i wanted and get back to them when i needed specific task. hope you would widen your project and make it config-like that could be executable like in Quake 3 Arena by just typing exec [configname] and get settings you want.
I plan on adding more features as time passes, yes. The issue with the .sol files is that they can't be edited while the game is open (as the game doesn't read from the file any time after launch, just writes to it) so I'd have to manually add the positions of each button and their corresponding option.
Quote Originally Posted by Mew View Post
I plan on adding more features as time passes, yes. The issue with the .sol files is that they can't be edited while the game is open (as the game doesn't read from the file any time after launch, just writes to it) so I'd have to manually add the positions of each button and their corresponding option.

Yeah I see, anyway, that is an excellent idea!
very nice release, thank you
Thanks for this, it will help alot
Doesn't work for me. What am I doing wrong says all debuffs are 4 and spams that and asks me to close it
thank you
Thanks for the great work!
Great program but only works after I change a setting, if I just open it and press a hotkey it crashes.

 
Log
[13:47:41] [INFO] Successfully created tab index 1
[13:47:41] [INFO] Hooking.
[13:47:41] [INFO] Hook Succeeded: 120980199
[13:47:43] [INFO] Found window: Adobe Flash Player 32
[13:47:43] [INFO] Changed current delay to 250ms.
[13:47:49] [INFO] Saved to Data/rushconfigs.dat
[13:48:04] [INFO] Successfully set hotkey number 1 as Multiply.
[13:48:04] [INFO] Saved to Data/hotkeys.dat
[13:48:11] [INFO] Saved to Data/rushconfigs.dat
[13:48:13] [INFO] Saved to Data/rushconfigs.dat
[13:48:13] [INFO] Saved to Data/rushconfigs.dat
[13:48:14] [INFO] Saved to Data/rushconfigs.dat
[13:48:27] [INFO] Toggling Settings!
[13:48:33] [INFO] Toggling Settings!
[13:48:37] [INFO] Toggling Settings!
[13:48:43] [INFO] Saved to Data/rushconfigs.dat
[13:48:43] [INFO] Successfully created tab index 2
[13:48:47] [INFO] Successfully set hotkey number 2 as Divide.
[13:48:47] [INFO] Saved to Data/hotkeys.dat
[13:48:48] [INFO] Saved to Data/rushconfigs.dat
[13:48:48] [INFO] Saved to Data/rushconfigs.dat
[13:48:49] [INFO] Saved to Data/rushconfigs.dat
[13:48:50] [INFO] Saved to Data/rushconfigs.dat
[13:48:50] [INFO] Saved to Data/rushconfigs.dat
[13:48:51] [INFO] Saved to Data/rushconfigs.dat
[13:48:55] [INFO] Toggling Settings!
[13:48:57] [INFO] Toggling Settings!
[13:48:58] [INFO] Toggling Settings!
[13:49:08] [INFO] Toggling Settings!
[13:49:09] [INFO] Toggling Settings!
[13:49:41] [INFO] Saved to Data/rushconfigs.dat
[13:49:43] [INFO] Saved to Data/rushconfigs.dat
[13:49:45] [INFO] Toggling Settings!
[13:59:17] [INFO] Changed current delay to 2000ms.
[13:59:45] [INFO] Found window: Adobe Flash Player 32
[13:59:45] [INFO] Changed current delay to 250ms.
[13:59:56] [INFO] Changed current delay to 2000ms.
[14:00:38] [INFO] Found window: Adobe Flash Player 32
[14:00:38] [INFO] Changed current delay to 250ms.
[14:18:52] [INFO] Loading hotkeys file
[14:18:53] [INFO] Loaded from Data/hotkeys.dat
[14:18:53] [INFO] Loaded from Data/rushconfigs.dat
[14:18:53] [INFO] Successfully created tab index 1
[14:18:53] [INFO] Successfully created tab index 2
[14:18:53] [INFO] Hooking.
[14:18:53] [INFO] Hook Succeeded: 127603423
[14:18:57] [INFO] Found window: Adobe Flash Player 32
[14:18:57] [INFO] Changed current delay to 250ms.
[14:19:02] [INFO] Minimizing.
[14:19:15] [INFO] Toggling Settings!
[14:19:15] [FATAL] Object reference not set to an instance of an object.
at RotMG_Scripts.MainForm.FlipSettings(RushConfig config, Int32 depth)
at RotMG_Scripts.MainForm.HotkeyPressed(Keys key)
at RotMG_Scripts.KeyboardHook.HookCallback(Int32 nCode, IntPtr wParam, IntPtr lParam)
[14:19:21] [INFO] Toggling Settings!
[14:19:21] [FATAL] Object reference not set to an instance of an object.
at RotMG_Scripts.MainForm.FlipSettings(RushConfig config, Int32 depth)
at RotMG_Scripts.MainForm.HotkeyPressed(Keys key)
at RotMG_Scripts.KeyboardHook.HookCallback(Int32 nCode, IntPtr wParam, IntPtr lParam)
[14:19:24] [INFO] Toggling Settings!
[14:19:24] [FATAL] Object reference not set to an instance of an object.
at RotMG_Scripts.MainForm.FlipSettings(RushConfig config, Int32 depth)
at RotMG_Scripts.MainForm.HotkeyPressed(Keys key)
at RotMG_Scripts.KeyboardHook.HookCallback(Int32 nCode, IntPtr wParam, IntPtr lParam)
[14:19:26] [INFO] Toggling Settings!
[14:19:26] [FATAL] Object reference not set to an instance of an object.
at RotMG_Scripts.MainForm.FlipSettings(RushConfig config, Int32 depth)
at RotMG_Scripts.MainForm.HotkeyPressed(Keys key)
at RotMG_Scripts.KeyboardHook.HookCallback(Int32 nCode, IntPtr wParam, IntPtr lParam)
[14:19:28] [INFO] Toggling Settings!
[14:19:28] [FATAL] Object reference not set to an instance of an object.
at RotMG_Scripts.MainForm.FlipSettings(RushConfig config, Int32 depth)
at RotMG_Scripts.MainForm.HotkeyPressed(Keys key)
at RotMG_Scripts.KeyboardHook.HookCallback(Int32 nCode, IntPtr wParam, IntPtr lParam)
[14:19:49] [INFO] Loading hotkeys file
[14:19:49] [INFO] Loaded from Data/hotkeys.dat
[14:19:49] [INFO] Loaded from Data/rushconfigs.dat
[14:19:49] [INFO] Successfully created tab index 1
[14:19:49] [INFO] Successfully created tab index 2
[14:19:49] [INFO] Hooking.
[14:19:49] [INFO] Hook Succeeded: 359860085
[14:19:51] [INFO] Found window: Adobe Flash Player 32
[14:19:51] [INFO] Changed current delay to 250ms.
[14:19:53] [INFO] Toggling Settings!
[14:19:53] [FATAL] Object reference not set to an instance of an object.
at RotMG_Scripts.MainForm.FlipSettings(RushConfig config, Int32 depth)
at RotMG_Scripts.MainForm.HotkeyPressed(Keys key)
at RotMG_Scripts.KeyboardHook.HookCallback(Int32 nCode, IntPtr wParam, IntPtr lParam)
[14:20:49] [INFO] Loading hotkeys file
[14:20:49] [INFO] Loaded from Data/hotkeys.dat
[14:20:49] [INFO] Loaded from Data/rushconfigs.dat
[14:20:49] [INFO] Successfully created tab index 1
[14:20:49] [INFO] Successfully created tab index 2
[14:20:49] [INFO] Hooking.
[14:20:49] [INFO] Hook Succeeded: 1234898751
[14:20:51] [INFO] Found window: Adobe Flash Player 32
[14:20:51] [INFO] Changed current delay to 250ms.
[14:20:57] [INFO] Saved to Data/rushconfigs.dat
[14:20:59] [INFO] Saved to Data/rushconfigs.dat
[14:21:00] [INFO] Toggling Settings!
[14:21:06] [INFO] Toggling Settings!
[14:21:08] [INFO] Toggling Settings!
[14:21:09] [INFO] Toggling Settings!
[14:21:15] [INFO] Exiting.
[14:21:17] [INFO] Loading hotkeys file
[14:21:17] [INFO] Loaded from Data/hotkeys.dat
[14:21:17] [INFO] Loaded from Data/rushconfigs.dat
[14:21:17] [INFO] Successfully created tab index 1
[14:21:17] [INFO] Successfully created tab index 2
[14:21:17] [INFO] Hooking.
[14:21:17] [INFO] Hook Succeeded: 111217459
[14:21:19] [INFO] Found window: Adobe Flash Player 32
[14:21:19] [INFO] Changed current delay to 250ms.
[14:21:20] [INFO] Toggling Settings!
[14:21:20] [FATAL] Object reference not set to an instance of an object.
at RotMG_Scripts.MainForm.FlipSettings(RushConfig config, Int32 depth)
at RotMG_Scripts.MainForm.HotkeyPressed(Keys key)
at RotMG_Scripts.KeyboardHook.HookCallback(Int32 nCode, IntPtr wParam, IntPtr lParam)
[14:21:24] [INFO] Toggling Settings!
[14:21:24] [FATAL] Object reference not set to an instance of an object.
at RotMG_Scripts.MainForm.FlipSettings(RushConfig config, Int32 depth)
at RotMG_Scripts.MainForm.HotkeyPressed(Keys key)
at RotMG_Scripts.KeyboardHook.HookCallback(Int32 nCode, IntPtr wParam, IntPtr lParam)
[14:21:26] [INFO] Toggling Settings!
[14:21:26] [FATAL] Object reference not set to an instance of an object.
at RotMG_Scripts.MainForm.FlipSettings(RushConfig config, Int32 depth)
at RotMG_Scripts.MainForm.HotkeyPressed(Keys key)
at RotMG_Scripts.KeyboardHook.HookCallback(Int32 nCode, IntPtr wParam, IntPtr lParam)
How tf do i use this client
Posts 115 of 25 · Page 1 of 2
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?