Hi there,
I've recently "finished" my quick-save-hack, and as with everything that has the potential to destroy beloved things, I'm turning seriously paranoid using it.
So basically, to verify that this hack is not going to have a bad aftermath, i decided to upload it here and hope for some smart persons to find and point out the (potentially hazardous) bugs in it.
The hack can be found in the Attachments. When testing it, keep the following things in mind:
- Your antivirus may tell you that the hack is bad. Most likely, that's because it's a hack. At least i can not remember putting any virus in there. However, if you don't trust me, i advice you not to use it
- As this is the purpose of this thread, the hack might scramble the file of the map you are saving, so make sure its backed up
- Fun thing i had during the development was that, after showing me a popup saying that it could not open a specific part of the archive, the world editor erased every file in my Warcraft III folder that it could. Every since i lost so many maps and replays, i boot the world editor without admin rights and have a backup of the whole Warcraft III folder floating around. Might be interesting to know.
Short words about the usage:
Run the exe in the root, tick the options you want in the window (every option i hope, as this is a test), click "save" to create a "config" file saving those settings. Clicking "Inject" will try to inject the hack into a running world editor, as will opening the executable with a valid "config" file existing. To change the settings, erase the config file. The hack will need admin rights in order to work.
If you dont want to give it admin rights, open the bat file and insert the path to your worldedit.exe into the desired location. Create the config file as stated above, but instead of opening the executable again or using the inject button, run the bat file instead.
If you know assembler, you might as well look into the scripts folder and directly search for bugs. Would surely be easier to fix
Oh, and don't be surprised if the second save is faster than the first one. That is because, providing the options are enabled, variables and triggers are cached upon the first save, and if they did not change at the second one, the caches are used instead, which, again, saves a bit time for maps with a lot of variables or triggers.
I hope it doesn't have any dependencies. I don't program all to much, so i don't know much about it, neither how to see what dependencies they have, nor how to statically link stuff etc. I hope you can run it at all
I've recently "finished" my quick-save-hack, and as with everything that has the potential to destroy beloved things, I'm turning seriously paranoid using it.
So basically, to verify that this hack is not going to have a bad aftermath, i decided to upload it here and hope for some smart persons to find and point out the (potentially hazardous) bugs in it.
The hack can be found in the Attachments. When testing it, keep the following things in mind:
- Your antivirus may tell you that the hack is bad. Most likely, that's because it's a hack. At least i can not remember putting any virus in there. However, if you don't trust me, i advice you not to use it
- As this is the purpose of this thread, the hack might scramble the file of the map you are saving, so make sure its backed up
- Fun thing i had during the development was that, after showing me a popup saying that it could not open a specific part of the archive, the world editor erased every file in my Warcraft III folder that it could. Every since i lost so many maps and replays, i boot the world editor without admin rights and have a backup of the whole Warcraft III folder floating around. Might be interesting to know.
Short words about the usage:
Run the exe in the root, tick the options you want in the window (every option i hope, as this is a test), click "save" to create a "config" file saving those settings. Clicking "Inject" will try to inject the hack into a running world editor, as will opening the executable with a valid "config" file existing. To change the settings, erase the config file. The hack will need admin rights in order to work.
If you dont want to give it admin rights, open the bat file and insert the path to your worldedit.exe into the desired location. Create the config file as stated above, but instead of opening the executable again or using the inject button, run the bat file instead.
If you know assembler, you might as well look into the scripts folder and directly search for bugs. Would surely be easier to fix
Oh, and don't be surprised if the second save is faster than the first one. That is because, providing the options are enabled, variables and triggers are cached upon the first save, and if they did not change at the second one, the caches are used instead, which, again, saves a bit time for maps with a lot of variables or triggers.
I hope it doesn't have any dependencies. I don't program all to much, so i don't know much about it, neither how to see what dependencies they have, nor how to statically link stuff etc. I hope you can run it at all
Attachments
Last edited: