I use Linux, and can only test Windows stuff virtualized, and I would prefer to have some feedback. I have not updated the download page with this newer version, because I was hoping that some more people would test it. If you compile the newest source code, then the program will find the PID automatically. You get the PID from the Task Manager while Stronghold 2 is running. You will need to input the Stronghold 2 PID (process ID) before it can start working. The precompiled executable you can get from the download page requires a little bit of interaction. I set up a sort of official download page: TL DR I figured out and made a tool that lets you add AI to Stronghold 2 multiplayer. All it does it overwrite a single byte in the game memory while it is running, so you can add AI when you host a multiplayer game. This tool of mine does not touch any game files, so there are no modifications to the game. I then wrote a small little program to simplify the process. At this address, you read a 4 byte value, then you add an offset of 0xD28 to this value, and you will always land at the correct address for enabling AI in multiplayer. The pointer is always at an offset of 0x00EC5F28. The address for this part of memory varies between game launches, but there is a pointer to this memory region at a static location. When the variable is 0, this button is not present. When this variable is 1, you can see and click on the button for adding AI in the kingmaker/multiplayer screen. As soon as you leave the hobby you hosted, the game switches it back to 1. There is a specific 1 byte variable in the game memory, this variable is always set to 1, except when you host a multiplayer game. It took me quite some time to first of all learn how to analyze the game memory as it was running, and then find what I was looking for. I know there are some tools that works for the older versions before the Steam Edition, but I quite like the higher resolution support of the Steam Edition so I decided to figure it out.
0 Comments
Leave a Reply. |