Staredit Network

Staredit Network -> Concepts -> Currently selected unit
Report, edit, etc...Posted by Doodle77(MM) on 2006-09-16 at 20:55:52
Just a little tip for all you EUD people.
The currently selected units are a sequence of 12 4 byte pointers starting at 00596214.
Note that they are pointers to the unit table entries of those units. (the easiest way to find the offset of a unit table entry is to find the current health of a unit and subtract 9 from the offset) For example if a person has the first unit created selected, 00596214 will equal 5880944 (or 0x59BC70 hex).
Report, edit, etc...Posted by Felino on 2006-09-16 at 23:05:52
QUOTE(Doodle77(MM) @ Sep 17 2006, 11:25 AM)
Just a little tip for all you EUD people.
The currently selected units are a sequence of 12 4 byte pointers starting at 00596214.
Note that they are pointers to the unit table entries of those units. (the easiest way to find the offset of a unit table entry is to find the current health of a unit and subtract 9 from the offset) For example if a person has the first unit created selected, 00596214 will equal 5880944 (or 0x59BC70 hex).
[right][snapback]562050[/snapback][/right]



Um did ANYONE understand that?? tongue.gif
Report, edit, etc...Posted by SuperToast on 2006-09-17 at 14:21:36
Yes. It's rather useful too, if it wasn't such a hassle using EUD's on single units in the first place.
Report, edit, etc...Posted by O)FaRTy1billion on 2006-09-18 at 12:58:03
Cool, I have been looking for this. tongue.gif (as you know)
Report, edit, etc...Posted by Xx.Doom.xX on 2006-09-18 at 16:33:01
This is very useful for many of us. Thanks.
Report, edit, etc...Posted by Heimdal on 2006-09-20 at 17:18:10
Nice work...would you mind adding your findings to the wiki?

http://wiki.staredit.net/Memory_map
Report, edit, etc...Posted by SomeIdiotNerd on 2006-10-08 at 20:37:05
can someone give me a more first grade explanation for this?
Report, edit, etc...Posted by Heimdal on 2006-10-09 at 03:02:42
If you don't know what EUD triggers are or how they work, then this won't make much sense. To make a longish story kinda short, you can set parameters of certain triggers so that they access memory outside of the normal range. Doodle just found the area of memory where the currently selected units are.
Next Page (1)