Over the last few weeks, things have appeared to be stable enough that I felt comfortable finally merging the dev branch for this update into the master branch. What does that mean? Not a whole lot other than that it is mostly feature complete and is no longer crashing your PC!
Along the way, some improvements have been made. In some cases, this will improve the speed, reduce response time, or just provide quality-of-life changes to the bot. In other cases, it includes new features. Unfortunately, sometimes, this means changes that may break features you still rely on. For example, some old waypoint scripts or userfunctions may need to be updated as well to work correctly or prevent errors.
Since so much of the game's code was changed, the inner workings of the bot and the automatic updater needed to be changed as well. In fact, two all-new update scripts have been added!
Git updater
This is what you will use to update your RoM bot scripts; as new changes are made and pushed up to Github, you should be notified if an update is available when you start the bot. This will prompt you to run the gitupdate.lua script. For example, if your RoM bot scripts are installed into the micromacro/rom-bot/ directory, you would use:
Code: Select all
rom-bot/gitupdate
You may also uninstall TortoiseSVN (or any other SVN software you may have used) as the RoM bot will no longer use SVN to roll out any updates.
If you prefer to do things the old fashioned way, you may instead download the latest RoM bot scripts directly from here:
Download Latest RoM Bot Scripts
Note: The above link will *always* point to the newest available code! You do not need a new link for every update.
Address updater
This replaces the old update script that used to automatically find new addresses from the client. The new version will do the exact same thing, only better. Improvements include:
- You no longer need to have the game running! Run the script and it will analyze the game client directly from disk.
- It scans the whole game code rather than only small sections. This means that it will be able to persist through game client changes more readily! If the game code still exists, this will find it.
- It's faster. Even though it looks through much more data, the way it does so has been optimized. For me, the script is able to do a full update in less than a second.
- It does not reorganize anything, remove your comments, or make unnecessary changes to addresses.lua. Instead it only changes the values that it absolutely needs to.
- It allows for more complex options when finding matches. Without getting too technical, this allows it to "link" pieces of data together to form its final result, allowing it to provide a wider array of updatable addresses.
MDBrute
This tool is not packages with the main bot scripts and is not needed for any normal functionality; it is only designed to assist in updating the bot files when a game update is made.
MDBrute is a tool designed to brute-force find the memdatabase.base address as doing this manually is a slow, tedius, and time-consuming process on part of the devs.
https://github.com/SolarStrike-Software/mdbrute/