EUD help
Mar 23 2008, 9:56 pm
By: I)eathBringer
Pages: < 1 2 3 4 >
 

Mar 27 2008, 11:35 pm O)FaRTy1billion[MM] Post #41

👻 👾 👽 💪

It is just a table of 12 ints that contain pointers to the select unit node(s). I think it was in the Maplantis topic that I posted all the addresses... (No where do you actually see a specific 0-1699 number that I am aware. It is always a pointer)

Found it:
http://www.staredit.net/maplantis/index.php?post=63271
And Doodle told me that they indeed are always 336 bytes.

Post has been edited 1 time(s), last time on Mar 27 2008, 11:41 pm by FaRTy1billion.



TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

Mar 28 2008, 12:16 pm I)eathBringer Post #42



but if i want to know what I have to write in the trigger, what operations I have to do????



None.

Mar 28 2008, 5:29 pm O)FaRTy1billion[MM] Post #43

👻 👾 👽 💪

For units you want Exactly, unless you want a group of units to trigger it... It's the same as any other trigger.



TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

Mar 28 2008, 8:43 pm rockz Post #44

ᴄʜᴇᴇsᴇ ɪᴛ!

Quote from I)eathBringer
I have patched the data folder of starforge
however I've made it with uberation2 :P

Quote from DT_Battlekruser
Starforge is the only complete editor that can, in fact, be used to trigger EUDs. Please don't spread mistruths about it.
Never knew that, ty for correcting me. The fact remains that MY starforge can't handle EUDs. Care to elaborate how? I don't feel like looking, and it'd be nice to have in a relevant thread.

On a sidenote, I knew there was something starforge did better than SCMDraft...



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Mar 28 2008, 10:23 pm O)FaRTy1billion[MM] Post #45

👻 👾 👽 💪

Go into data files and edit Conditions.lst...
find the line:
Code
Condition Deaths(Player Player, Comparison Comparison, Number Number, Unit Unit)

and make it:
Code
Condition Deaths(Player Player, Comparison Comparison, Number Number, Number Unit)




TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

Mar 29 2008, 1:00 am DT_Battlekruser Post #46



Quote
(No where do you actually see a specific 0-1699 number that I am aware.

Then how does Starcraft get unit-specific data, such as current health percentage or kill count?



None.

Mar 29 2008, 1:15 am O)FaRTy1billion[MM] Post #47

👻 👾 👽 💪

Pointers. You may be able to find a specific ID by subtracting the pointer from the top of the pointer table and then dividing that by 366... but SC uses pointers all over the place. (You even have pointers that point to even more pointers!)



TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

Mar 29 2008, 1:18 am DT_Battlekruser Post #48



If the pointer is to the units table (DAT data), how do you get the local ID reference? You just said that the local ID is not the pointer..



None.

Mar 29 2008, 2:54 am O)FaRTy1billion[MM] Post #49

👻 👾 👽 💪

I said there is no real 0-1699 number... "DAT data"? You mean .dat files? I am talking about the unitnode where all the unit information is stored.
And doing that math stuff I posted is useless, I was just saying if you REALLY wanted a 0-1699 pointer. :P
If you want to find a pointer to a unit, find its current HP and then subtract 9 from that address. If you want to explore it first hand, you can play with the selection addresses I linked to a few posts back... You can look at what it uses for unit references.



TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

Mar 29 2008, 4:26 am DT_Battlekruser Post #50



So it points to the ith index of the local-ID table, where i is the localID of the selected unit, no?



None.

Mar 30 2008, 8:00 pm O)FaRTy1billion[MM] Post #51

👻 👾 👽 💪

I suppose... as long as i is in increments of 336... It points to the atual unit node (which contains all the unit information).

Post has been edited 4 time(s), last time on Mar 30 2008, 8:35 pm by FaRTy1billion.



TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

Mar 31 2008, 3:49 am DT_Battlekruser Post #52



The indexes of the local-ID table can be whatever memory offsets - but my point is the pointer is to the local, not unit ID table.



None.

Mar 31 2008, 6:03 am Syphon Post #53



EDIT -Nevermind.



None.

Mar 31 2008, 12:54 pm I)eathBringer Post #54



I have always the smae problem: how to detect selected units
I have memory offset, unit ID and player but how can I find the value for a specific unit like a firebat(ID=32)?



None.

Mar 31 2008, 1:11 pm rockz Post #55

ᴄʜᴇᴇsᴇ ɪᴛ!

Where are the red 0s when you put it into eudtrig?



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Mar 31 2008, 5:27 pm I)eathBringer Post #56



There are 4 series of red 0s (4 bytes)



None.

Mar 31 2008, 7:09 pm rockz Post #57

ᴄʜᴇᴇsᴇ ɪᴛ!

Oh jesus, this just got harder. Read the page again, you'll note that farty and DT are talking about what number you need to use (the local ID). Study Doodle77's map some more.



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Mar 31 2008, 8:32 pm O)FaRTy1billion[MM] Post #58

👻 👾 👽 💪

Quote from DT_Battlekruser
The indexes of the local-ID table can be whatever memory offsets - but my point is the pointer is to the local, not unit ID table.
I'm getting really confused now... what the hell is a local-ID table or a unit ID table?

Quote from I)eathBringer
I have always the smae problem: how to detect selected units
I have memory offset, unit ID and player but how can I find the value for a specific unit like a firebat(ID=32)?
You can check to see what unit ID is selected, but if you have a mixed group it will show 244. I can't remember the offset off the top of my head, but it is not shared (go look in the changing unit portrait topic for the map that I have it in.)

Also the number of red 00s in EUDTrig is for when you use Object ID/Len. It shows you how the bytes appear in the int.



TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

Apr 1 2008, 1:09 am rockz Post #59

ᴄʜᴇᴇsᴇ ɪᴛ!

Alls I know is that in Doodle's map, he's got 5885072 deaths for the marine, 6455936 deaths for the firebat, 6455600 for the ghost, 6455264 for the zealot, and 6454928 for the civilian. Considering the ghost is unitid 1, marine is unitid 0, and firebat is unitid 32, it wouldn't make much sense to go specifically by unitid. The ghost/bat/zeal are all off by 336, but the civ and rine are way off, and I think it's because of the way they were placed on the map. I know that when I was checking unit hp, there was also a huge difference in the units' EUD.



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Apr 1 2008, 2:31 am DT_Battlekruser Post #60



Quote
I'm getting really confused now... what the hell is a local-ID table or a unit ID table?

A local-ID table will contain up to 1700 entries pertaining to individual instances of a unit. The data local to a unit's instance includes such things as its current HP percentage, current shield percentage, and so on.

The Unit ID table holds all the data loaded from the units.dat file, and essentially contains unit data (think static fields of a class). Unit data would include total HP count, weapon ID, and such.

I don't actually know the bit-structure of Starcraft's RAM, but all of that data must be stored somewhere, and I know from the offsets I have seen that there exists a table solely of unit (static) data, because that was what everyone was editing with EUD actions.

Quote
Considering the ghost is unitid 1, marine is unitid 0, and firebat is unitid 32, it wouldn't make much sense to go specifically by unitid. The ghost/bat/zeal are all off by 336, but the civ and rine are way off

Anything you are finding should be in the local ID table, which has no relation to the unit's Unit ID. The position of a instantiated unit within the local ID table will depend on its Local ID, assigned at creation based on when the unit is created.




None.

Options
Pages: < 1 2 3 4 >
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[03:33 pm]
O)FaRTy1billion[MM] -- o sen is back
[01:53 am]
Ultraviolet -- :lol:
[06:51 pm]
Vrael -- It is, and I could definitely use a company with a commitment to flexibility, quality, and customer satisfaction to provide effective solutions to dampness and humidity in my urban environment.
[06:50 pm]
NudeRaider -- Vrael
Vrael shouted: Idk, I was looking more for a dehumidifer company which maybe stands out as a beacon of relief amidst damp and unpredictable climates of bustling metropolises. Not sure Amazon qualifies
sounds like moisture control is often a pressing concern in your city
[06:50 pm]
Vrael -- Maybe here on the StarEdit Network I could look through the Forums for some Introductions to people who care about the Topics of Dehumidifiers and Carpet Cleaning?
[06:49 pm]
Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
[06:48 pm]
Vrael -- On this Topic, I could definitely use some Introductions.
[06:48 pm]
Vrael -- Perhaps that utilizes cutting-edge technology and eco-friendly cleaning products?
[06:47 pm]
Vrael -- Do you know anyone with a deep understanding of the unique characteristics of your carpets, ensuring they receive the specialized care they deserve?
[06:45 pm]
NudeRaider -- Vrael
Vrael shouted: I've also recently becoming interested in Carpet Cleaning, but I'd like to find someone with a reputation for unparalleled quality and attention to detail.
beats me, but I'd make sure to pick the epitome of excellence and nothing less.
Please log in to shout.


Members Online: Roy