Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: another problem with EUDs
another problem with EUDs
Apr 25 2008, 11:29 am
By: I)eathBringer  

Apr 25 2008, 11:29 am I)eathBringer Post #1



I have 2 offsets (0x68C1B8 and 0x68C1BA) but when I find the player number and the unit ID with EUDTrig I get the same results: player: 8 unit ID: 22007.
How can I make triggers with different conditions if the values are the same?



None.

Apr 25 2008, 4:48 pm DT_Battlekruser Post #2



If you look at the offsets, they are only 4 pointers apart. What you're looking at is this:

Deaths of 22007 for Player 8
00 00 00 00
[8] [9] [A] [B]

0x68C1B8 is here
0x68C1BA is here

Bytes in the long of a unit deaths statement are compiled in reverse order, so 0x68C1B8 represents the 'ones' digit in the base 256 number. You would have to be able to assume that one pointer will remain unchanged and create a decimal number that looks for a specific combination of both values. You cannot check any one byte in isolation; instead a condition will only be true if every one of the four bytes will match it.

Post has been edited 1 time(s), last time on Apr 26 2008, 4:48 am by DT_Battlekruser.



None.

Apr 26 2008, 2:55 am O)FaRTy1billion[MM] Post #3

👻 👾 👽 💪

Quote from DT_Battlekruser
Deaths of 22007 for Player 8
00 00 00 00
[8] [9] [A] [B]

0x68C1B8 is here
0x68C1BA is here
fixed. ^^ It goes 8, 9, A.. not 8, 9, 0, A.



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 26 2008, 4:48 am DT_Battlekruser Post #4



D'oh. Edited. Well now it could be first and third or second and fourth bytes, but whatever :P



None.

Apr 26 2008, 4:52 am O)FaRTy1billion[MM] Post #5

👻 👾 👽 💪

It's first and third. They always start on 0, 4, 8, or C (as the rightmost digit).



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 26 2008, 12:17 pm I)eathBringer Post #6



so, I can't make triggers with different conditions, can I ?



None.

Apr 26 2008, 4:17 pm DT_Battlekruser Post #7



You must make ONE condition that specifies a state for the values in memory at BOTH 0x68C1B8 AND 0x68C1BA.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[11:45 pm]
ClansAreForGays -- Anyone wanna played Skewed StarCraft?
[2026-4-14. : 12:07 am]
Vrael -- NudeRaider
NudeRaider shouted: Vrael ranting still is though
you're a gentleman and a scholar, thank you
[2026-4-13. : 10:07 pm]
NudeRaider -- ya why phone people when you can just write letters
[2026-4-13. : 9:37 pm]
IskatuMesk -- I have never and will never own a phone
[2026-4-13. : 9:15 pm]
NudeRaider -- Vrael ranting still is though
[2026-4-13. : 9:14 pm]
ClansAreForGays -- anticapitalism isnt edgy anymore
[2026-4-13. : 3:31 pm]
Vrael -- it only costs 50% of my post-tax salary for life and in return I get to also become a drone whose sole purpose is CAPITALISM
[2026-4-13. : 3:30 pm]
Vrael -- pssht, you're still using a phone? I just record 100% of my life using my ElonBrainChip
[2026-4-13. : 2:13 pm]
NudeRaider -- bro I don't go anywhere without my phone to record anything significant
[2026-4-13. : 1:28 pm]
Vrael -- Zoan
Zoan shouted: not if u wer there
id say even if you were there its tricky, human memory can be very faulty
Please log in to shout.


Members Online: raggedmalpracti