This is the last thing I need before my small mod is finished. I know it is possible since selection ammounts are changed in hacks such as Oblivion.
What I need is to know what offsets/addresses/codes for GPTP that I can use to make a FireGraft plugin to increase the maximum selection limit of 12 to 32. As a matter of fact, if I could also get this for buildings that would be great as well.
None.
I doubt anyone at SEN besides Heinermann has the technical knowledge and programming skill to find out what addresses would need to be appropriately modified to allow selection of more than 12 units. And Heinermann is, from what I've seen,
not interested in helping modders.
Post has been edited 1 time(s), last time on Oct 12 2011, 6:23 pm by xAngelSpiritx.
None.
Doesn't oblivion handle multiselect outside of SC's code? I could be mistaken.
Either way, what you're asking isn't really possible. People asked for something like that for a while but it was never practical enough to bother doing - seems doubtful that someone would do it now.
Yeah, Oblivion works by injecting data extensions (packed into the .dll file) into StarCraft via Zloader, unless my understanding is incorrect.
Basically, you'd have to do a .dll injection, as far as anything like that goes.
SDE, BWAPI owner, hacker.
To increase the selection limit isn't just a simple firegraft edit. It doesn't matter how much you modify, you still need the additional memory space to store the selection. Otherwise you're looking at a nasty buffer overflow.
There are several places where starcraft stores selections, but if you're fine with multi-select being client side and sending the commands in groups (emulating >12 selection, but not actually handling it that way in the game or network), then doing it similar to Oblivion would be the easiest. But even the client-side selection is just a global static array
Unit *pSelectedUnitGroup[12];
So you still need to modify several locations, and allocate a new memory block that contains an array of size 32.
To increase the selection limit isn't just a simple firegraft edit. It doesn't matter how much you modify, you still need the additional memory space to store the selection. Otherwise you're looking at a nasty buffer overflow.
There are several places where starcraft stores selections, but if you're fine with multi-select being client side and sending the commands in groups (emulating >12 selection, but not actually handling it that way in the game or network), then doing it similar to Oblivion would be the easiest. But even the client-side selection is just a global static array
Unit *pSelectedUnitGroup[12];
So you still need to modify several locations, and allocate a new memory block that contains an array of size 32.
Thanks, bud. I'll ask some friends on how to finish the rest, that's all I needed. ...I am also using Micorsoft C++ 2008 for this...Not Firegraft. x.x
None.
Doesn't oblivion handle multiselect outside of SC's code? I could be mistaken.
Either way, what you're asking isn't really possible. People asked for something like that for a while but it was never practical enough to bother doing - seems doubtful that someone would do it now.
Isn't that what a plugin usually does? x.x
None.
I would assume you'd need another program that doesn't exist right now to allocate more memory so it doesn't cause a "buffer overflow" which hinnerman has already explained.
None.