Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Question on EUD's
Question on EUD's
Aug 15 2008, 11:35 pm
By: Conspiracy  

Aug 15 2008, 11:35 pm Conspiracy Post #1



Can someone simply if it is possible to detect a units energy, and if it is possible, state it as simply as you can please.

Post has been edited 1 time(s), last time on Aug 15 2008, 11:45 pm by Epoch.



None.

Aug 15 2008, 11:37 pm Morphling Post #2



Yes, yes you can, but I don't know how.



None.

Aug 15 2008, 11:39 pm O)FaRTy1billion[MM] Post #3

👻 👾 👽 💪

Quote
+0xA0 - WORD wQueue5
+0xA2 - WORD wEnergy
Means yes. Unless your unit is a factory with energy, wQueue5 should always be 0. I don't know if Energy does the thing where the regen timer is the first byte. If it is, then you just have to read a range.



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!

Aug 15 2008, 11:41 pm Conspiracy Post #4



Quote from name:Epoch
...stat it as simply as you can please...

>.> Can you explain it a little more? I lost my thought after the first word >.>



None.

Aug 16 2008, 12:37 am ClansAreForGays Post #5



If you don't have the faintest clue about what euds are, then I wouldn't suggest learning them. The answer is no.




Aug 16 2008, 12:51 am Conspiracy Post #6



I understand what EUD's are, I don't get what he is trying to say though.



None.

Aug 16 2008, 1:06 am Brontobyte Post #7



Quote from name:Epoch
Can someone simply if it is possible to detect a units energy, and if it is possible, state it as simply as you can please.

Did you test first? :P



None.

Aug 16 2008, 1:11 am Conspiracy Post #8



Yes, many times, without success, using artmoney.



None.

Aug 16 2008, 1:18 am A_of-s_t Post #9

aka idmontie

+0xA2 - WORD wEnergy

Search the unit node table at those adresses for the energy you want. If you don't understand that, then I'm sorry.



Personal GitHub
Starcraft GitHub Organization - Feel free to request member status!
TwitchTV

Aug 16 2008, 1:53 am Brontobyte Post #10



Defiler's Mana All 2 Byte Values

Player 1 / 0x0059CD33 - Player 10 - UnitID:1588 - 00 00 00 00 00 00 00 00
Player 2 / 0x00628323 - Player 10 - UnitID:13481 - 00 00 00 00 00 00 00 00
Player 3 / 0x006281D3 - Player 10 - UnitID:13474 - 00 00 00 00 00 00 00 00
Player 4 / 0x00628083 - Player 10 - UnitID:13467 - 00 00 00 00 00 00 00 00
Player 5 / 0x00627F33 - Player 10 - UnitID:13460 - 00 00 00 00 00 00 00 00
Player 6 / 0x00627DE3 - Player 10 - UnitID:13453 - 00 00 00 00 00 00 00 00

Post has been edited 1 time(s), last time on Aug 16 2008, 2:02 am by Brontobyte.



None.

Aug 16 2008, 2:15 am Conspiracy Post #11



Quote from A_of-s_t
+0xA2 - WORD wEnergy

Search the unit node table at those adresses for the energy you want. If you don't understand that, then I'm sorry.

To search the unit node table, where would I do that? Is there a program for that, or is it a table that someone created?



None.

Aug 16 2008, 2:25 am Brontobyte Post #12



Quote from name:Epoch
Quote from A_of-s_t
+0xA2 - WORD wEnergy

Search the unit node table at those adresses for the energy you want. If you don't understand that, then I'm sorry.

To search the unit node table, where would I do that? Is there a program for that, or is it a table that someone created?

My research did not work for you?



None.

Aug 16 2008, 2:49 am rockz Post #13

ᴄʜᴇᴇsᴇ ɪᴛ!

Follow my guide (2nd post). Maybe I should just stick it on a tutorial...

http://www.staredit.net/topic/2757/

If you don't get it, say so, and I/someone will walk you through it. When making your test map, use hyper triggers and have a couple locations which always set energy to full or none, or some other %, and detect that number instead. That's also how I did the zerg units in the map in that tutorial.



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

Aug 16 2008, 2:58 am O)FaRTy1billion[MM] Post #14

👻 👾 👽 💪

Quote from Brontobyte
Quote from name:Epoch
Quote from A_of-s_t
+0xA2 - WORD wEnergy

Search the unit node table at those adresses for the energy you want. If you don't understand that, then I'm sorry.

To search the unit node table, where would I do that? Is there a program for that, or is it a table that someone created?

My research did not work for you?
That would only work for that specific defiler. But you did answer my question's uncertainty.

If you ever figure out how to read unitnode data (or if someone viewing this topic knows what they are doing and are wondering the same thing), you want to read +0xA0 (+0xA2, what is listed, falls within that int.) A value of 16777216 will equal 1 energy.
You should read from (EnergyVal-1)*16777216+1 to (EnergyVal+1)*16777216-1, where EnergyVal is the exact number you want to read. It doesn't matter if wQueue5 is anything, actually.

Post has been edited 1 time(s), last time on Aug 16 2008, 3:04 am 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!

Aug 16 2008, 3:24 am Brontobyte Post #15



Quote from O)FaRTy1billion[MM]
Quote from Brontobyte
Quote from name:Epoch
Quote from A_of-s_t
+0xA2 - WORD wEnergy

Search the unit node table at those adresses for the energy you want. If you don't understand that, then I'm sorry.

To search the unit node table, where would I do that? Is there a program for that, or is it a table that someone created?

My research did not work for you?
That would only work for that specific defiler. But you did answer my question's uncertainty.

If you ever figure out how to read unitnode data (or if someone viewing this topic knows what they are doing and are wondering the same thing), you want to read +0xA0 (+0xA2, what is listed, falls within that int.) A value of 16777216 will equal 1 energy.
You should read from (EnergyVal-1)*16777216+1 to (EnergyVal+1)*16777216-1, where EnergyVal is the exact number you want to read. It doesn't matter if wQueue5 is anything, actually.

I'm glad I am not working on this. I didn't understand anything you said besides not searching for specific defilers mana values.



None.

Aug 16 2008, 5:48 am O)FaRTy1billion[MM] Post #16

👻 👾 👽 💪

Quote from Brontobyte
Quote from O)FaRTy1billion[MM]
Quote from Brontobyte
Quote from name:Epoch
Quote from A_of-s_t
+0xA2 - WORD wEnergy

Search the unit node table at those adresses for the energy you want. If you don't understand that, then I'm sorry.

To search the unit node table, where would I do that? Is there a program for that, or is it a table that someone created?

My research did not work for you?
That would only work for that specific defiler. But you did answer my question's uncertainty.

If you ever figure out how to read unitnode data (or if someone viewing this topic knows what they are doing and are wondering the same thing), you want to read +0xA0 (+0xA2, what is listed, falls within that int.) A value of 16777216 will equal 1 energy.
You should read from (EnergyVal-1)*16777216+1 to (EnergyVal+1)*16777216-1, where EnergyVal is the exact number you want to read. It doesn't matter if wQueue5 is anything, actually.

I'm glad I am not working on this. I didn't understand anything you said besides not searching for specific defilers mana values.
no, I was saying that the values you gave only work or a specific instance. There wont be a specific value for ANY defiler owned by player X, it is based on the unitnode data.

Quote from O)FaRTy1billion[MM]
Quote
+0xA0 - WORD wQueue5
+0xA2 - WORD wEnergy
Means yes. Unless your unit is a factory with energy, wQueue5 should always be 0. I don't know if Energy does the thing where the regen timer is the first byte. If it is, then you just have to read a range.
Is what I was talking about, from the unitnode struct.



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!

Aug 16 2008, 2:16 pm Conspiracy Post #17



Quote from rockz
Follow my guide (2nd post). Maybe I should just stick it on a tutorial...

http://www.staredit.net/topic/2757/

If you don't get it, say so, and I/someone will walk you through it. When making your test map, use hyper triggers and have a couple locations which always set energy to full or none, or some other %, and detect that number instead. That's also how I did the zerg units in the map in that tutorial.

I did this. When I put the addresses into EUDTrig, and placed them in a map, it did not work.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[10:53 pm]
Oh_Man -- https://youtu.be/MHOZptE-_-c are yall seeing this map? it's insane
[2024-5-04. : 1:05 am]
Vrael -- I won't stand for people going around saying things like im not a total madman
[2024-5-04. : 1:05 am]
Vrael -- that's better
[2024-5-04. : 12:39 am]
NudeRaider -- can confirm, Vrael is a total madman
[2024-5-03. : 10:18 pm]
Vrael -- who says I'm not a total madman?
[2024-5-03. : 2:26 pm]
UndeadStar -- Vrael, since the ad messages get removed, you look like a total madman for someone that come late
[2024-5-02. : 1:19 pm]
Vrael -- IM GONNA MANUFACTURE SOME SPORTBALL EQUIPMENT WHERE THE SUN DONT SHINE BOY
[2024-5-02. : 1:35 am]
Ultraviolet -- Vrael
Vrael shouted: NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
Gonna put deez sportballs in your mouth
[2024-5-01. : 1:24 pm]
Vrael -- NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
[2024-4-30. : 5:08 pm]
Oh_Man -- https://youtu.be/lGxUOgfmUCQ
Please log in to shout.


Members Online: Moose