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.
[2024-5-12. : 8:51 pm]
l)ark_ssj9kevin -- Are you excited for Homeworld 3?
[2024-5-12. : 8:44 pm]
l)ark_ssj9kevin -- Hi Brusilov
[2024-5-12. : 4:35 pm]
O)FaRTy1billion[MM] -- Brusilov
Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
my server that was hosting it died
[2024-5-10. : 8:46 pm]
NudeRaider -- Brusilov
Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
https://armoha.github.io/eud-book/
[2024-5-10. : 8:36 am]
Brusilov -- Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
[2024-5-09. : 11:31 pm]
Vrael -- :wob:
[2024-5-09. : 8:42 pm]
Ultraviolet -- :wob:
[2024-5-08. : 10:09 pm]
Ultraviolet -- let's fucking go on a madmen rage bruh
[2024-5-08. : 10:01 pm]
Vrael -- Alright fucks its time for cake and violence
[2024-5-07. : 7:47 pm]
Ultraviolet -- Yeah, I suppose there's something to that
Please log in to shout.


Members Online: lil-Inferno