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.
[10:41 am]
ManCubuS -- Seems like something's broken regarding the site then. Sadge...
[07:36 am]
Oh_Man -- have i ever told u guys my SC2 pro-gamer story
[11:30 pm]
Ultraviolet -- That's strange, it looks like you targeted the base image file (sometimes people make the mistake of just using the imgur page link which doesn't work for embedding) but it still didn't work it sounds like.
[2026-7-26. : 3:34 pm]
ManCubuS -- Used : " [img=https://i.imgur.com/gpOjTuD.jpeg] "
[2026-7-26. : 3:28 pm]
ManCubuS -- Even tried with imgur, doesn't attach.
[2026-7-26. : 3:14 pm]
ManCubuS -- I should try a workaround, thanks! Sadly imgur is blocked in my country for some unknown reason.
[2026-7-26. : 3:05 pm]
NudeRaider -- I think SEN has trouble with https or hotlinking is forbidden. It certainly is nothing about the size, it just fails to get any size. You can get it working if you use imgur and include the actual image link for the img tag. Like this: [img=https://i.imgur.com/ddYqXZa.jpeg]
[2026-7-26. : 11:15 am]
ManCubuS -- Hey fellas! Anyone knows why when I try to upload an image it says "failed to get image size"? I even tried making it so small. Imgur isn't working here and I tried postimg no luck.
[2026-7-23. : 6:40 am]
Oh_Man -- true
[2026-7-23. : 3:16 am]
RIVE -- Still annoyed there was never a trigger to stop or pause wavs.
Please log in to shout.


Members Online: Roy