EUD Values
Apr 8 2010, 8:17 pm
By: Ahli  

Apr 8 2010, 8:17 pm Ahli Post #1

I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.

THE CASE:
The Terran Siege Tank (Siege Mode) Turret's ground weapon shall be Weapon117 (Unused Weapon).

WHAT I DID:
With Artmoney I found the address: 0x006636D7
Changing its value to 117 in artmoney changed the Siege Tank's weapon to weapon117.

EUDTrig 1.3 gave me: P9, ID:18535 and some offset: 00 00 00 00 00 00 00 00.

Me, ignoring the offset as usual (my failure this time) tried to set the value to 117 (like I did in artmoney).
-> Obviously it didn't work.

So the offset should tell me how to create the right value out of my wanted 117.

Farty already made a short explanation, but I can't figure it out (even after watching the youtube vid in the wiki and reading the wiki).
At least I don't get the same value (I didn't test my value, because Farty's value did what I want).

Quote from O)FaRTy1billion[MM]
0x006636D7 is on the last byte of the DC (since it it ends with 7), so you need to set a value of 0xXX?????? where XX is your value, ?????? is the first 3 bytes. For seige tank seige mode ground weapon, it would be 0xXX821517.
My trigger looked like: P9, 847385879, ID:18535

You wanted 117, which would be 0x75821517 or P9, 1971459351, ID:18535.

So, I request an explanation how to find the correct value for this case.
In order to teach multiple people, it would be cool, if you could make some sort of formula or step by step explanation how to achieve the correct value.

Thanks in advance. :)




Apr 8 2010, 10:17 pm CecilSunkure Post #2



Yeah, Farty's explanation isn't really connecting the dots, only merely just showing where the dots are. I would also appreciate a clear explanation.



None.

Apr 8 2010, 10:29 pm Cinolt Post #3



Get the original address and subtract it the least amount of times until the end digit is either 0, 4, 8, or C.

0x006636D7 - 3 = 0x006636D4

View this address in your memory searcher, which in your case should look something like this:

17 15 82 XX (XX being whatever)

Convert 117 to hex: 0x75

then plug it into the XX: 17 15 82 75

then flip the BYTES, not the digits: 75 82 15 17

convert to decimal to get your value: 1971459351



None.

Apr 8 2010, 10:39 pm CecilSunkure Post #4



Quote from name:yoonkwun
View this address in your memory searcher, which in your case should look something like this:

17 15 82 XX (XX being whatever)
Okay I'm a bit unsure of how to do this part, but that's just because I don't have access to StarCraft for now. Is there a way you could elaborate on this bit though?

Other than that, thanks for the step by step process. How did you know how to do that :P



None.

Apr 8 2010, 10:51 pm Cinolt Post #5



In Cheat Engine, you'd select Memory View, then right click and select Goto address and paste in the adjusted address. Make sure you take off the 0x. Then from there you should look at the first four bytes that appear.

I don't know about other memory viewers but they should have similar functionality



None.

Apr 9 2010, 12:35 am rockz Post #6

ᴄʜᴇᴇsᴇ ɪᴛ!

Ideally you want to read the entire 4 bytes at the same time.

So then by my deduction:
WeaponID

UnitID

If unitID 31 is the unit your are modifying, and it's address is 0x6636D7, that means you also need to modify the weapons of Unitids 30, 29, and 28. 30 (siege mode tank) has no attack, so it's 130. 29 (Norad II) has 21 (ground attack), and 28 (Hyperion) has 23 (ground attack).

Your number will be 23 21 130 117, or 17 15 82 75 hex, little endian. To convert it into decimal, enter the number 75821517 into the hex part of calculator. That number in decimal should be 1971459351.

This is all guessing, though. You'll want to check what the actual value is before you modify it.



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

Apr 9 2010, 5:36 am O)FaRTy1billion[MM] Post #7

👻 👾 👽 💪

Quote from rockz
This is all guessing, though. You'll want to check what the actual value is before you modify it.
This is correct.



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 9 2010, 9:35 am Ahli Post #8

I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.

ok, let me comprehend...

FINDING THE RIGHT VALUE:
You have found your address: 0x006636D7
SC can read/write the values starting with adresses from 0, 4, 8, C. So it always reads 4 bytes.
-> Starcraft will need to read/write in this adress: 0x006636D4

With Cheatengine we can read the value: 461509911 in this adress.
We need to convert it to hex: 1B 82 15 17 hex.

Because our first address ended with a 7 and sc starts reading at the 4, we have the difference 7 - 4 = 3.
This means we need to skip the values in the first 3 bytes here.
1B 82 15 17 hex
xx ^. ^. ^.

^. = skipped byte.
xx = byte we want to modify

1B hex = 27 dec. So we have found the value we want to modify (because the Siege Tank (Siege Mode) use weapon entry 27 as default).
We want to use Weapon 117 instead of weapon 27.
So we convert 117 to hex:
117 dec = 75 hex

If we don't want to modify the other entries, we type 75 to position xx and convert the number to decimal.
before:
1B 82 15 17 hex
change it to current weapon:
75 82 15 17 hex = 1971459351 dec

And this 1971459351 is the value we need to set to in the deaths action.

Thank you guys. Now I got it.
I'll let this open for others who may have questions.




Apr 9 2010, 3:18 pm Biophysicist Post #9



Here's a thought: Why not just use a conventional mod? ;o

(This is both a suggestion and an actual question.)



None.

Apr 9 2010, 3:57 pm Ahli Post #10

I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.

Quote from name:TassadarZeratul
Here's a thought: Why not just use a conventional mod? ;o

(This is both a suggestion and an actual question.)
I want to alter the world during runtime & have it playable over bnet!

You can have custom upgrades, changing enemies (change weapon/speed?/...) and much more this way. :)




Apr 9 2010, 3:59 pm Biophysicist Post #11



You could do that using a plugin. Granted, everyone will have to download and run the mod - but the same goes for the EUD enabler.



None.

Apr 10 2010, 12:58 am rockz Post #12

ᴄʜᴇᴇsᴇ ɪᴛ!

EUDs can do things mods can't do, no?

I'm not a modder, but I don't think you can change an archon's flingy.dat speed from 1280 to 2560, then 3840 with a few other archons at 510 speed with a mod, or upgrade attack speed of just one unit with a mod?

While it's important to differentiate between EUDs and mods, I think it's also important to think of the EUD Action Enabler AS a mod which enables EUDs, so he's already doing your suggestion.



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

Apr 10 2010, 2:38 am O)FaRTy1billion[MM] Post #13

👻 👾 👽 💪

Quote from rockz
I'm not a modder, but I don't think you can change an archon's flingy.dat speed from 1280 to 2560, then 3840 with a few other archons at 510 speed with a mod, or upgrade attack speed of just one unit with a mod?
You can with plugins, is his point.

EUDs are more dynamic in that they are very map-specific ... A plugin/mod will work over every map while EUDs only work on one map. Like in a mod such as Ad Astras ... You have to make maps for it that are useless outside of it, and outside maps are useless in it.



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 10 2010, 2:19 pm LoveLess Post #14

Let me show you how to hump without making love.

rockz needs to make a new video tutorial.



None.

Options
  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: Zycorax, Roy