ViperSRT3g 224 Posted November 4, 2007 Well, earlier today I was reading the hack poll on BWHacks. Which hack is better? A Selection hack or a multicommand? And I got intrigued at a selection hack. Zynastor and Titan said that it really wasn't THAT hard to make one. So I began tinkering with Starcraft seeing what I could find out with a little bit of olly debug. And so far, this little screeny is as far as I've come. Hopefully I'll soon be able to make the units actually do something XD So far it will keep everything selected as selected, but it won't actually be able to issue orders. It only appears to be selected. There is another offset that lets you change the first unit in the units selected queue, but that's all I've found so far. The other offsets I've found only make Starcraft think it's selected only 1 unit. And something else that is really kewl that I found! ^^ Share this post Link to post
PromasserX 36 Posted November 4, 2007 Issuecommand? Secletunit.? i think that might can help or either your not done with the offsets. phish idk ill check Share this post Link to post
n0.obAtroN 0 Posted November 4, 2007 very nice viper. A maphack is rather simple too. I was talking to [email protected] (who I later found out was Doobers, he is a cool guy) and he told me a maphack was 10 lines of code, If that. Once you find the right offsets, its a peice of cake. Share this post Link to post
PromasserX 36 Posted November 4, 2007 He isnt even done and did you read what he said..? Share this post Link to post
ViperSRT3g 224 Posted November 4, 2007 A maphack is fairly simple. Here's some sample code I had saved from someone a while ago. /*!---------------------------------------------- Function: IsObjectVisible Description: Checks if an object on the map is visible to us. ----------------------------------------------!*/ void __declspec( naked ) IsObjectVisible( ) { SAVEREGS; __asm { /* Check if object is hidden */ test dword ptr ds:[0x57F094], eax /* If not hidden, then we're already going to draw it, so we're done here */ jnz Done /* If hidden, then we don't want to let SC know that we're drawing more units than required, so decrease the number of units drawn since this number gets increased in the draw function */ dec dword ptr ds:[0x59C2A0] } Done: LOADREGS; RETURN; } /* Patch for enemy units/buildings on minimap */ JmpCallPatch( 0x4A4533, (DWORD)&IsObjectVisible, 0xE8, 3 /* NOP BYTES */ ); /* Patch for resources (ie. mineral patches, vespene) */ JmpCallPatch( 0x4A43DB, (DWORD)&IsObjectVisible, 0xE8, 3 ); Watch FaH go nuts over that one. Share this post Link to post
PromasserX 36 Posted November 4, 2007 i have a maphack.. why would i need that Share this post Link to post
Kenshyn 638 Posted November 4, 2007 If you can make a selection hack, I will worship you. I love selection hacks so much more than multicommands...I don't know why, just do. Share this post Link to post
Sithus 1 Posted November 4, 2007 Why do people compare selection hacks to multi-commands, they're completely different... One allows you to mass, the other shows you what other people have selected. Share this post Link to post
IsaT 1 Posted November 4, 2007 selection hacks - lets you select more than 12 units multi command - sends identical orders to all units of the same type show selects - shows you what other people have selected Share this post Link to post
PromasserX 36 Posted November 4, 2007 I Have a selectionhack but there is noway im updateing it Share this post Link to post
Kenshyn 638 Posted November 4, 2007 Why? Because you're not good enough to update it? xD Share this post Link to post
n0.obAtroN 0 Posted November 4, 2007 meh, give ProMasser a break. Not very many 10 year olds can do what he does. Viper: nice code, Ive got the maphack/minmap patch working, it just gives you a lose :) I have no idea how the warden crap works. Share this post Link to post
PromasserX 36 Posted November 4, 2007 n0.obatron heres the offset for maphack to dont cause loses - 0x497FC0 (maphack ) - 0x49C34D (maphack ) - 0x4A3007 (Null lag box timer) Those offsets are by zyanstor no maphack should cause a lose now.. Share this post Link to post
Kenshyn 638 Posted November 4, 2007 ProMasser how come you wont update it? Share this post Link to post
PromasserX 36 Posted November 4, 2007 Have you actually seen a SelectionHack source? Share this post Link to post
Kenshyn 638 Posted November 4, 2007 No, I don't make hacks, I don't know shit about reading or making them. Just you saying that is enough though, I guess. Share this post Link to post
PromasserX 36 Posted November 4, 2007 You need data , info , offsets , etc Share this post Link to post
ViperSRT3g 224 Posted November 5, 2007 FaH you forgot to parrot my other offset: 004972E3 Share this post Link to post
Jiggie 264 Posted November 8, 2007 Ahh, cool. You gotta show me how you got it to select more then 12 at a time. Or is it fake? =P And did you get the box drawing to work? Share this post Link to post
n0.obAtroN 0 Posted November 8, 2007 Ahh, cool. You gotta show me how you got it to select more then 12 at a time.Or is it fake? =P And did you get the box drawing to work? It is very real. Rather simple, but ALOT of code if your doing it in Masm. Not as much if done in C++ (about 2/3) I am still having problems with anything related to the GUI; writing to the screen, drawing boxes, etc. Share this post Link to post
Jiggie 264 Posted November 8, 2007 You gotta show me how you got it to show the circle's/health bars for more then 12 at a time. V.V I can deal with the massive amount of coding, just need to get it to show the circles/health bars when you drag click the units. -.-' You scratch my back, I scratch yours? =O Share this post Link to post
n0.obAtroN 0 Posted November 8, 2007 If all you need is the health bar drawing, take a look at the offsets thread. Viper posted some good information w/ health bar related offsets Share this post Link to post
Aimcrack 40 Posted November 8, 2007 :( I wish I knew some asm so I could help everyone out around here. Reading tuts/papers on it is too hard for me considering I don't have the attention span it gets too boring. Any alternate method? Share this post Link to post