Server Help

General Questions - SubGame2.exe Binary Extensions

cycad - Sat Nov 21, 2009 1:30 pm
Post subject: SubGame2.exe Binary Extensions
Hi again.

Back in 2006 or 2007, the fun of it, I created a patched SubGame2.exe that loads a DLL. That DLL in turn loads other DLL's that you can build yourself. Those DLLs can be built with a header file that allows sthem to access some of SubGame2's internal functions. You can do some neat stuff, and this could be extended to do a whole lot of neat stuff.

It's really a proof of concept to see if PriitK would use something like this. It's basically a version of fix.dll that has source available. He ignored me and since I don't have time - or interest - in having someone get ahold of him (SSCouncil can eat my ass) I never fully completed the project.

It's still functional though. The example comes with a DLL that allows mods to send messages beginning with '8', it also adds some commands like *sysmsg, which can send a message to a single player that appears in green text. I intended this to be used by bots. I also added a *putdll so you can upload DLLs to the server. There's some other stuff too but it's been a while and I forget.

You could do a lot of cool stuff with this, such as adding an in-game points system (this was written while edome was down and was my original intent), but since PriitK is such a horrid 'leader' it never got pursued.

Anyway, it's a fun playground and you can find it, and the full source, at 75rw.net/subgame2_addon.zip.

If you have questions you can contact me directly at cycad at 75rw dot net.

Have fun.

Enjoy.
Samapico - Sat Nov 21, 2009 1:38 pm
Post subject:
I saw that not long ago... but I don't think much could be done with it, now that we have ASSS
L.C. - Sat Nov 21, 2009 1:51 pm
Post subject:
om, this is cool
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group