« Reply #75 on: May 27, 2017, 05:15:21 AM »
The LiveMod alpha test is available HERE, there isn't much in the way of documentation yet, but an idea of what it does and how can be gained from reading this thread.
Can you please upload source code of this, youre doing in c or asm??
It's done with both. The dll is compiled from ASM source, the exe is compiled from C source... and of course the C source also has embedded ASM in it.
No, sorry I will not be releasing the source code because that would be a security risk. The aim is to have everyone running the program so that people can make and host fun modded maps and anyone can join.
If I were to release the source there is a possibility that someone could reverse engineer the security I have put in place and use it to release malware from a PUD file.
To be honest, beyond the editor/configuration etc. and the security itself there really isn't anything very interesting there, it's just a standardised framework for writing mods to the WC2 process. The mechaics of modifying an active process aren't terribly difficult - you can probably find examples on Stack Overflow
or the like.
The point is you can't really do that because unless everyone has the same mods it won't work. That's what this program is for, it means everyone gets the same mods at the start of the game.
As for the actual mods themselves, there is none of that in the source code. Any mods will be in the editor config (.ini) file. I'm hoping that people will share their modding research and we will end up with a comprehensive .ini file that has lots of cool new things that can be added to PUD files.