EUD Know how...
May 1 2008, 6:49 pm
By: Brontobyte
Pages: 1 2 35 >
 

May 1 2008, 6:49 pm Brontobyte Post #1



I was wondering of someone could assist me by means of sharing knowledge and tips on how to EUD. By this I would like to know how to do everything with it. I have Artmoney, EUDtrig, and some Hex editor, along with StarForge. I would like to know what the proper course I should set when looking/searching for and address or whatever its called. I have practiced it before but I have no idea as to what I was looking for and what was popping up. I have no idea how to use Artmoney besides the fact that you select a game from the pull down menu then you search for a value. I also have no idea how to use a Hex editor, or for that matter, why I even have it. I just want to know how to do simple things like search for a units mana (if it could be done), search for a unit that is being selected (click and drag), and others as well. A list of what can and can't be done would also be swell. :D As you might have guessed I don't know much in terms of lingo so feel free to let me know what things mean.

-Thanks

Post has been edited 2 time(s), last time on May 26 2008, 2:03 pm by Brontobyte.



None.

May 1 2008, 9:45 pm rockz Post #2

ᴄʜᴇᴇsᴇ ɪᴛ!

My guide got baleeted: Here's how I made my EUD Health Detection map.
Step 1. Find a unit you want to detect. It has to be preplaced, or predictably created in the same position (might as well be preplaced).


Step 2. Search for its health in Artmoney.


Step 3. Alter the health in SC. I had a ghost with 1 damage attack him.


Step 4. Filter for the new health value.


Step 5. Repeat step 3-4 until you find a small number of addresses. In this case, I found 2 after just 1 filter (lucky me).


Step 6. Change the value so you can see whether or not you are correct, and which one is linked. I know from experience that I'm looking for a 2 byte integer, so there's no need to use the 4 byte one.


Step 7. HEY! 60/40 health. We founded it guys!


Step 8. Take down the address of that 2 byte integer that controls this marine's health, and simply plug it into EUD Trig. You'll note I did 0x61c2e9 instead of 0061C2E9. Hex just works that way. Farty could tell you exactly why, since he made the program.


Now, you have the offsets! How do you get them into your map? Well you have a few choices. One, EUD Trig lets you export .trg files and import them into a map. Another is to use starforge. Make sure you change Conditions.lst in your starforge/data folder to allow for a number for units instead of the name (you want "Number Unit" rather than "Unit Unit"). The way I did it, since I didn't know Starforge could handle EUDs, was download mapkit, break open the chk, and hex edit the trig section.

Here's some light reading on hex editing:
scenario.chk format



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

May 1 2008, 9:59 pm O)FaRTy1billion[MM] Post #3

👻 👾 👽 💪

EUDDB may contain some useful addresses (and some false ones that I am too lazy to weed out.)



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!

May 1 2008, 10:10 pm Falkoner Post #4



Farty, what happened to that big tutorial on it you were making? Did it get engulfed by the DB?



None.

May 2 2008, 1:27 am O)FaRTy1billion[MM] Post #5

👻 👾 👽 💪

I got lazy. :P I have part of it, but it is still half-assed.



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!

May 2 2008, 1:54 am Brontobyte Post #6



Thanks rockz! :D I need to know how to do it in general. I want to know how to search for unit selection, similar to what Doodle77(MM) did with his hot key map and what devilesk used in his Futbol map.



None.

May 2 2008, 2:26 am Demented Shaman Post #7



Quote from rockz
My guide got baleeted: Here's how I made my EUD Health Detection map.
Step 1. Find a unit you want to detect. It has to be preplaced, or predictably created in the same position (might as well be preplaced).


Step 2. Search for its health in Artmoney.


Step 3. Alter the health in SC. I had a ghost with 1 damage attack him.


Step 4. Filter for the new health value.


Step 5. Repeat step 3-4 until you find a small number of addresses. In this case, I found 2 after just 1 filter (lucky me).


Step 6. Change the value so you can see whether or not you are correct, and which one is linked. I know from experience that I'm looking for a 2 byte integer, so there's no need to use the 4 byte one.


Step 7. HEY! 60/40 health. We founded it guys!


Step 8. Take down the address of that 2 byte integer that controls this marine's health, and simply plug it into EUD Trig. You'll note I did 0x61c2e9 instead of 0061C2E9. Hex just works that way. Farty could tell you exactly why, since he made the program.


Now, you have the offsets! How do you get them into your map? Well you have a few choices. One, EUD Trig lets you export .trg files and import them into a map. Another is to use starforge. Make sure you change Conditions.lst in your starforge/data folder to allow for a number for units instead of the name (you want "Number Unit" rather than "Unit Unit"). The way I did it, since I didn't know Starforge could handle EUDs, was download mapkit, break open the chk, and hex edit the trig section.

Here's some light reading on hex editing:
scenario.chk format
What's the value in the death condition?

Here's what I've got so far:

It's for a hero marine with hp of 1.

Post has been edited 1 time(s), last time on May 2 2008, 2:44 am by devilesk.



None.

May 2 2008, 3:17 am O)FaRTy1billion[MM] Post #8

👻 👾 👽 💪

It's on the second byte, so just multiply it by 256. the first should just be the HP2 flag (I think)...



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!

May 2 2008, 3:37 am Demented Shaman Post #9



Ah okay, it works now.



None.

May 2 2008, 6:41 am rockz Post #10

ᴄʜᴇᴇsᴇ ɪᴛ!

I used matefkr's EUD map as my basis when I did this one. He had player 8 deaths of unit 1580, and used 5120 for 20 life, so I figured it was every 256.

Also, if anyone decides to hex edit a map, the hex digits go in backwards, ie... right to left.

One thing I noticed, and haven't got around to fixing/testing is that the zerg units used don't show their hp but once, since I used the "exactly" term. They tend to flash once, not 50% of the time as I had expected. Is that 256 extra precision for decimal values? So 1 hp = 256, and .5 = 128? And does this mean that zerg units heal at a very rapid rate, but a small amount each time (I'm thinking 1 extra precision per frame, or something obvious like that)?

Post has been edited 1 time(s), last time on May 2 2008, 10:20 pm by rockz.



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

May 2 2008, 11:02 am Brontobyte Post #11



More questions:



How do I know what to input in the "Memory Offset" ; "Object ID/Len." fields? How do I know what the "Byte Offset" value is for my EUD? Do I need a Hex editor? If so, what part of this do I use it for? How do I know the value of my trigger? (rockz's EUD Healt Detection map uses variable of the integer 128, 256 = 1HP, 512 = 2HP) How do I find this value? Can you check for a units mana? Can you still set Terran/Zerg units with Protoss shields? I don't think you can use EUD actions only conditions, right? :P

-Thanks!

EDIT: I was just fooling around with EUD trig and it made it easier to understand if it unchecked the "output in hex" box. :D What do I do from their? Input the newly gained values into the exporter?

Post has been edited 1 time(s), last time on May 2 2008, 11:05 am by Brontobyte. Reason: Added stuffz



None.

May 2 2008, 6:13 pm rockz Post #12

ᴄʜᴇᴇsᴇ ɪᴛ!

Raging... learn the difference between: there, their, and they're.

I leave the Object ID/Len field blank, and leave it as 1. If you input the Memory Offset, you get player number, and Unit ID, then the byte offset. when you put it into the map, it will be:

Player 8 has suffered x deaths of unitID:13380

In starforge, that's just the number 13380, as long as you are using Number units, not Unit units (see my first post).

Now the byte offset tells you what "x" needs to be. You see how it's red on the second set of 0s? That means you multiply by 256, or use the following formula:
256 deaths of x = 1 hp of unit
If the byte offset were on the first one, the formula would be:
1 deaths of x = 1 hp of unit
(it will never be like that, though, for hp).

Each 0 represents 1 hex digit, so the first 0 is 16, the second is 256, the third is 4096, the fourth is 65336, and so on and so forth, multiplying by 16 for every 0.

I'm sure you can check a unit's mana, at least with artmoney. It may not be in the range that EUDs can handle, but it should be.

EUD actions are disabled, however, so you'll need to downgrade to use them.



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

May 2 2008, 6:50 pm matefkr Post #13



Or use that. The .exe here is capable of executing EUD action with player param higher then 8 (so it you can even use player 400000, for exemple). It has an 1.15.1 exe, so you can use it with firegraft as well, but you can only use it on custom servers (but it is the same case with downgrading [i meant a bout the battle.net usage]).

you have to download 7zip somewhere to extract files.

Post has been edited 1 time(s), last time on May 2 2008, 6:58 pm by matefkr.



None.

May 2 2008, 8:27 pm O)FaRTy1billion[MM] Post #14

👻 👾 👽 💪

Uh? You can't use players higher than 8? Since when?
Also why would that need custom servers? My TrigPlug edits triggers a lot and doesn't require a custom server... and doesn't desync with pubbies in pubby maps. >.>

Oh! I never thought of that... the first byte for HP might be the regen counter (in the chk it is HP2 :P), that is how it is for shields.
Also the hex digits aren't backward, each byte is just in a reverse order:
0x12 34 56 78 (how we would read it) is saved as 0x78 56 34 12. (It's kinda funny how I've been doing this long enough that, based on context, I don't even think about it. :P) It is really nice having the least significant bytes (the first one) line up for the different int sizes...

Post has been edited 4 time(s), last time on May 2 2008, 8:36 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!

May 2 2008, 8:46 pm matefkr Post #15



Quote from O)FaRTy1billion[MM]
Uh? You can't use players higher than 8? Since when?
Also why would that need custom servers? My TrigPlug edits triggers a lot and doesn't require a custom server... and doesn't desync with pubbies in pubby maps. >.>

The 1.12b is the last exe which has EUD actions enabled, in which you can't use higher player number then 8 (7 actually; i tried). In conditions you can, of course.



None.

May 2 2008, 9:08 pm O)FaRTy1billion[MM] Post #16

👻 👾 👽 💪

They were patched during the 1.13 swarm, I thought...



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!

May 2 2008, 9:10 pm O)FaRTy1billion[MM] Post #17

👻 👾 👽 💪

Quote from Brontobyte
(rockz's EUD Healt Detection map uses variable of the integer 128, 256 = 1HP, 512 = 2HP) How do I find this value?
Um... no.. that is 256. 512-256=256. It is n*256, where n is the HP number.



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!

May 2 2008, 9:18 pm matefkr Post #18



Quote from O)FaRTy1billion[MM]
They were patched during the 1.13 swarm, I thought...
Doesn't mater. Could you post your progress with your tirg plugin or what? or at least to my mail address (matefkr@gmail.com) it for me? I won't send it to anyone if you don't want it so, believe me.



None.

May 2 2008, 9:24 pm O)FaRTy1billion[MM] Post #19

👻 👾 👽 💪

Uh. Most the stuff is in my topic. >.> I havn't done much with it because of other things (such as my recent FFIV addiction. >.>)



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!

May 3 2008, 10:26 pm Brontobyte Post #20



Ok, heres what I have from a test with "Fenix Dragoon". Address = 0059CC99 I did the test with changing the value in Artmoney and seeing if it changed in StarCraft and it did. Now what I need help on is how to change "0059CC99" into hex for the memory offset in EUDtrig. I have a hex editor but I have no idea how to use it. (figures) Secondly, I don't know what you mean by change the Conditions.lst in my StarForge folder. I opened it in Notepad++ and their were different areas for the "death" conditions. This is what it says:
Quote
Condition Deaths(Player Player, Comparison Comparison, Number Number, Unit Unit)
{
Condition(0, Player, Number, Unit, Comparison, 15, 0, 0);

I don't want to mess/change the wrong one and mess it up so I will let someone else tell me. :P

The other problem I have is when you state which variable to use based on the red 00's in EUDtrig. I don't know which ones I'm looking for.

Other problems:

What do I put for a value in the field near Object/Len.? (1,2,4)
What do I put for a value in the field near Unit ID? (signed,unsigned)
Can you explain more on the byte offset values? (red 00's) Which combinations equal what.



None.

Options
Pages: 1 2 35 >
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[01:35 am]
Ultraviolet -- Vrael
Vrael shouted: NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
Gonna put deez sportballs in your mouth
[01:24 pm]
Vrael -- NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
[2024-4-30. : 5:08 pm]
Oh_Man -- https://youtu.be/lGxUOgfmUCQ
[2024-4-30. : 7:43 am]
NudeRaider -- Vrael
Vrael shouted: if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
Yeah I'm not a big fan of Westernhagen either, Fanta vier much better! But they didn't drop the lyrics that fit the situation. Farty: Ich bin wieder hier; nobody: in meinem Revier; Me: war nie wirklich weg
[2024-4-29. : 6:36 pm]
RIVE -- Nah, I'm still on Orange Box.
[2024-4-29. : 4:36 pm]
Oh_Man -- anyone play Outside the Box yet? it was a fun time
[2024-4-29. : 12:52 pm]
Vrael -- if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
[2024-4-29. : 11:17 am]
Zycorax -- :wob:
[2024-4-27. : 9:38 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider sing it brother
trust me, you don't wanna hear that. I defer that to the pros.
[2024-4-27. : 7:56 pm]
Ultraviolet -- NudeRaider
NudeRaider shouted: "War nie wirklich weg" 🎵
sing it brother
Please log in to shout.


Members Online: eksxo, C(a)HeK, Roy