Staredit Network > Forums > SC1 UMS Theory and Ideas > Topic: Selection Detection(EUD)
Selection Detection(EUD)
Jun 23 2009, 1:14 am
By: Morphling  

Oct 20 2019, 9:02 pm Zoan Post #21

Math + Physics + StarCraft = Zoan

Hey, look, a thread from almost 10 years ago!

Anyway, I'm playing with the supported eud actions, and I realized that this particular address is slightly different than described (I think). I set it to have me select unit id 1 constantly, but instead of actually selecting it, it just made it so that all of my commands are issued to that unit. So I can order it around to move and attack while having an entirely different unit selected. Weird.



\:rip\:ooooo\:wob\:ooooo \:angel\: ooooo\:wob\:ooooo\:rip\:

Oct 21 2019, 10:23 pm Roy Post #22

An artist's depiction of an Extended Unit Death

Quote from Zoan
Anyway, I'm playing with the supported eud actions, and I realized that this particular address is slightly different than described (I think). I set it to have me select unit id 1 constantly, but instead of actually selecting it, it just made it so that all of my commands are issued to that unit. So I can order it around to move and attack while having an entirely different unit selected. Weird.
This address is exactly as described, which is why your commands are issued to the unit when you set its value. The reason it doesn't look like the unit is selected is because just setting the address value directly doesn't update any of the UI components.

In other words, when you select a unit in SC, the code updates a bunch of values to show that the unit is selected. Part of this is updating the selected unit group values (described in this thread). You'd need to update many more addresses to emulate what an in-game selection does.




Oct 22 2019, 2:38 pm Zoan Post #23

Math + Physics + StarCraft = Zoan

Ah, makes sense. Any idea what address I should use to make it show me the selected units stats and stuff?

I ask because I’d like to be able to walk into fog of war without it auto deselecting the unit. When you do, as is it makes you unable to issue commands after you lose selection if the unit. I guess you technically have the unit selected through manipulating this address, but you can’t order it to move or anything without selecting another unit.



\:rip\:ooooo\:wob\:ooooo \:angel\: ooooo\:wob\:ooooo\:rip\:

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[09:37 pm]
Ultraviolet -- MTiger156
MTiger156 shouted: I'd like to think that Jeff Kaplan will eventually try to overthrow J Allen Brack. Given that he is Vice President with loads of charisma and popularity, he has way more power than he imagines. Blizz and Activision wouldn't even be able to fire Jeff, cuz they NEED him badly.
Everyone is expendable. The machine will continue running either way. Learned that a long time ago in the restaurants, I imagine it applies to these other companies, too. There's always someone willing to take your job
[07:27 pm]
Roy -- NudeRaider
NudeRaider shouted: Roy doesn't sound like a very time intensive thing to do, Roy.
I'll see if I can work it into my schedule.
[02:42 pm]
NudeRaider -- Roy
Roy shouted: I really need to put disclaimers on that guide, since it was written long before SC:R was a thing.
doesn't sound like a very time intensive thing to do, Roy.
[01:45 pm]
MTiger156 -- I'd like to think that Jeff Kaplan will eventually try to overthrow J Allen Brack. Given that he is Vice President with loads of charisma and popularity, he has way more power than he imagines. Blizz and Activision wouldn't even be able to fire Jeff, cuz they NEED him badly.
[10:13 am]
Roy -- I really need to put disclaimers on that guide, since it was written long before SC:R was a thing.
[06:24 am]
NudeRaider -- Ultraviolet
Ultraviolet shouted: Blizzard's been so dickish lately :(
lately? They've been transforming from a passionate game studio to a major corporation that only considers business decisions like a decade ago. And they were only lucky that their business interests didn't conflict with the gamer's interests before. Merging with Activision didn't help in that regard.
[04:20 am]
Ultraviolet -- Activision, rather
[04:19 am]
Ultraviolet -- Blizzard's been so dickish lately :(
[03:36 am]
youarenotworthy -- Thanks.
[03:28 am]
O)FaRTy1billion[MM] -- most common addresses have already been found and are supported, the only exception is things relating to graphics because SC:R has different (and incompatible) handling of sprites and graphics
Please log in to shout.


Members Online: Roy, Ultraviolet, NudeRaider