Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: [SOLVED] Since the EUD Enabler is out...
[SOLVED] Since the EUD Enabler is out...
May 8 2011, 9:59 am
By: LoveLess  

May 8 2011, 9:59 am LoveLess Post #1

Let me show you how to hump without making love.

Since the EUD enabler was released, not much has been done with it. Why the hell not? I don't know.

Anyway, I need to know how I can edit the Set Death actions. It seems like any program that would have allowed this in the past, is now gone. I have maps that show me what I need to do, the only thing standing in my way is SCMDraft which wont let me put anything but a unit name, not a hex code.

So guys, help me out?



None.

May 8 2011, 3:06 pm FoxWolf1 Post #2



A current version of SCMDraft2 will allow you to enter a unit code by typing ID:(number) in Classic Trigedit.

StarForge will allow you to enter a unit code if you edit the Actions.lst file in the data folder to tell it to accept a Number Unit rather than a Unit Unit in the SetDeaths action.



None.

May 8 2011, 3:52 pm Apos Post #3

I order you to forgive yourself!

If you need, you can always check a couple of the maps I made. They start from there and below.

Edit: It seems like the site I used to upload those maps deleted them... I'll see if I still have them.




May 8 2011, 11:22 pm LoveLess Post #4

Let me show you how to hump without making love.

Quote from FoxWolf1
A current version of SCMDraft2 will allow you to enter a unit code by typing ID:(number) in Classic Trigedit.

StarForge will allow you to enter a unit code if you edit the Actions.lst file in the data folder to tell it to accept a Number Unit rather than a Unit Unit in the SetDeaths action.
Thanks.

On a side note, what the fuck? If I used an EUD action to modify health, does that nullify the ability to detect it's health in Conditions? I'm pretty sure I already know the answer, but it seems to be this way.

I have a trigger adding a 'regeneration' similar to how the Zerg's regeneration is, just slightly different values. However, when I try to detect if the unit is at full health, it won't detect it. The same Memory, I know the numbers are right (500*256=128000)... So what the hell? Any insight?



None.

May 8 2011, 11:44 pm Roy Post #5

An artist's depiction of an Extended Unit Death

I believe it should actually be "At least ((499*256)+1)" if the unit has 500 hp, because any value between 127745 and 128000 is rounded to 500 hp.




May 9 2011, 12:44 am rockz Post #6

ᴄʜᴇᴇsᴇ ɪᴛ!

Yeah, don't use "exactly". Likely the zerg regeneration you're giving is either going over the maximum life or not getting quite there yet. You can always open up the starcraft process and navigate to where the unit's HP is to see what number it's on.



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

May 9 2011, 1:22 am LoveLess Post #7

Let me show you how to hump without making love.

Whatever I don't care if people know about the project. I just want to know what the hell is wrong.

According to this list, the values should be correct. However, they don't work. The value that ArtMoney shot out for the first unit's health was 0x6282A1 and the unit ID that I got back was 13478. This should be incorrect.

Now in SCMDraft, you can edit the Unit ID/Index Value and I have done so. Yet, it didn't seem to have any affect. Any suggestions?

Code
Selection Detection
Player: ######+12     Unit: #######-336
    1 - 161889         0 -  5885096
    2 - 161901         1 -  6455960
    3 - 161913         2 -  6455624
    4 - 161925         3 -  6455288
    5 - 161937         4 -  6454952
    6 - 161949         5 -  6454616
    7 - 161961         6 -  6454280
    8 - 161973         7 -  6453944
                8 -  6453608
                9 -  6453272
                10 - 6452936
                11 - 6452600
                12 - 6452264
                13 - 6451928
                14 - 6451592
                15 - 6451256
                16 - 6450920
                17 - 6450584
                18 - 6450248
                19 - 6449912
                20 - 6449576
                21 - 6449240
                22 - 6448904
                23 - 6448568
                24 - 6448232
                25 - 6447896
                26 - 6447560
                27 - 6447224
                28 - 6446888
                29 - 6446552
                30 - 6446216
                31 - 6445880
                32 - 6445544
                33 - 6445208
                34 - 6444872
                35 - 6444536
                36 - 6444200
                37 - 6443864
                38 - 6443528
                39 - 6443192
                40 - 6442856
                41 - 6442520
                42 - 6442184
                43 - 6441848
                44 - 6441512
                45 - 6441176
                46 - 6440840
                47 - 6440504
                48 - 6440168
                49 - 6439832
                50 - 6439496
                51 - 6439160
                52 - 6438824
                53 - 6438488
                54 - 6438152
                55 - 6437816
                56 - 6437480
                57 - 6437144
                58 - 6436808
                59 - 6436472
                60 - 6436136
                61 - 6435800
                62 - 6435464
                63 - 6435128
                64 - 6434792
                65 - 6434456
                66 - 6434120
                67 - 6433784
                68 - 6433448
                69 - 6433112

Keypress Detection
Key:
    A - 12733     256
    B - 12733     65536
    C - 12733     16777216
    D - 12734     1
    E - 12734     256
    F - 12734     65536
    G - 12734     16777216
    H - 12735     1
    I - 12735     256
    J - 12735     65536
    K - 12735     16777216
    L - 12736     1
    M - 12736     256
    N - 12736     65536
    O - 12736     16777216
    P - 12737     1
    Q - 12737     256
    R - 12737     65536
    S - 12737     16777216
    T - 12738     1
    U - 12738     256
    V - 12738     65536
    w - 12738     16777216
    X - 12739     1
    Y - 12739     256
    Z - 12739     65536
    F5- 12746     1
    F6- 12746     256
    F7- 12746     65536
    F8- 12746     16777216
    F9- 12747     1
    F10 12747     256
    F11 12747     65536
    F12 12747     16777216

Target Detection
Unit: ######-84         Target: #######-336
    1 - 19048         1 - 5885096
    2 - 161764         2 - 6455960
    3 - 161680         3 - 6455624
    4 - 161596         4 - 6455288
    5 - 161512         5 - 6454952
    6 - 161428         6 - 6454616
    7 - 161344         7 - 6454280
    8 - 161260         8 - 6453944
    9 - 161176         9 - 6453608

Order Coordinate Detection
Unit: ######-84
    1 - 19047
    2 - 161763
    3 - 161679
    4 - 161595
    5 - 161511
    6 - 161427
    7 - 161343
    8 - 161259
    9 - 161175

Weapon Cooldown Detection
Unit: ######-84
    1 - 19046
    2 - 161762
    3 - 161678
    4 - 161594
    5 - 161510
    6 - 161426
    7 - 161342
    8 - 161258
    9 - 161174
    10- 161090
    11- 161006
    12- 160922
    13- 160838
    14- 160754
    15- 160670
    16- 160586

Unit Hitpoint Detection
Unit: ######-84           HP: +256
    1 - 19027         1  - 256
    2 - 161743         2  - 512
    3 - 161659         3  - 768
    4 - 161575         4  - 1024
    5 - 161491         5  - 1280
    6 - 161407         6  - 1536
    7 - 161323         7  - 1792
    8 - 161239         8  - 2048
    9 - 161155         9  - 2304
                10 - 2560
                11 - 2816
13478
Mouse Position
    X - 331416
    Y - 331417

Unit Commands
Unit: ######-84           Commands:
    1 - 19044         Stop - 768(+5)
    2 - 161760         Move - 67072(+5)
    3 - 161676         Attack - 69120(+5)
    4 - 161592         Patrol - 104448(+5)
    5 - 161508         Hold - 92928(+5)
    6 - 161424
    7 - 161340
    8 - 161256
    9 - 161172
    10- 161088
    11- 161004
    12- 160920
    13- 160836
    14- 160752
    15- 160668
    16- 160584

Unit Direction
Unit: ######-84           Directions:
    1 - 19043         UP - 0         31
    2 - 161759         UR - 32         63
    3 - 161675         RI - 64         95
    4 - 161591         DR - 96         127
    5 - 161507         DO - 128     159
    6 - 161423         DL - 160     191
    7 - 161339         LE - 192     223
    8 - 161255         UL - 224     256
    9 - 161171        




None.

May 9 2011, 3:27 am Apos Post #8

I order you to forgive yourself!

Quote from LoveLess
According to this list, the values should be correct. However, they don't work. The value that ArtMoney shot out for the first unit's health was 0x6282A1 and the unit ID that I got back was 13478. This should be incorrect.

Now in SCMDraft, you can edit the Unit ID/Index Value and I have done so. Yet, it didn't seem to have any affect. Any suggestions?

When you edit the value manually in ArtMoney, does it do the required result? If it doesn't, your trigger won't also. (You probably wouldn't have found the correct value.)

Are you using the right formula to find what to input in your trigger? If you are using Farty's EUD trig, make sure it's set to the correct starcraft version. (You do that by inputing player 1's Marine death count I believe.)




May 9 2011, 3:40 am rockz Post #9

ᴄʜᴇᴇsᴇ ɪᴛ!

don't forget you need a player and a unitid. And 13478 seems high to me, but I might be mistaken. If you double check one of my eud maps, those have the first 5-6 units placed on the map.



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

May 9 2011, 7:08 am LoveLess Post #10

Let me show you how to hump without making love.

Well I discovered that I had a disabled unit sprite that I had forgot about that was causing my values to go crazy and way out of the normal bounds. All better now!



None.

May 9 2011, 7:46 pm samsizzle Post #11



Quote from LoveLess
Well I discovered that I had a disabled unit sprite that I had forgot about that was causing my values to go crazy and way out of the normal bounds. All better now!
thats what the problem was... are you kidding me.



None.

May 9 2011, 7:51 pm LoveLess Post #12

Let me show you how to hump without making love.

NEW REPLY:

Alright, thanks for starting to leave this open. Was wondering if anyone had the Addresses for Upgrades? Or how I would go about finding them in Artmoney?



None.

May 9 2011, 9:45 pm Roy Post #13

An artist's depiction of an Extended Unit Death

Same way as anything else: Search for value, change value in-game, repeat.

Here's something I posted a while back, modified for your question:

1. Load StarCraft.
2. Create a game by yourself (i.e. do not let other players join) and start the game.
3. Use your memory scanner to start a search for an unknown value (this should return several results).
4. Play around in-game for a while, doing several things such as chatting, moving units, etc.
5. On your search, search for all addresses with unchanged values.
6. Repeat steps 4-5 several times, until the number of addresses does not shrink.
7. Increment the upgrade by one.
8. On your memory scanner, search for all addresses with a changed value.
9. Repeat steps 4-8 several times.


You could probably put in the upgrade number instead of searching for unknown and changed. I believe armor upgrades are 1 byte and attack upgrades are 2 bytes.




May 12 2011, 4:16 am rockz Post #14

ᴄʜᴇᴇsᴇ ɪᴛ!

The EUDDB probably has them, or at least the start of the upgrades.



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

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: Ultraviolet, Roy