Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Another EUD Question
Another EUD Question
Jun 12 2008, 2:10 am
By: Conspiracy  

Jun 20 2008, 1:05 am A_of-s_t Post #21

aka idmontie

0x0059CB8D + (n * 336) == 119
Hex

5884813 + (n * 336) == 119
Dec


I can't remember how to convert this to trigger deaths, but just look for a EUD calculator -- Farty has one and I think DTBK does too.

Now, you're going to need to read all the way to 628130

So, read from 5884813 to 6455677 for the value 119. Now you're going to need to copy these 1701 triggers 4 times per cycle so that it is actually effective with about 6 hyper triggers.



Personal GitHub
Starcraft GitHub Organization - Feel free to request member status!
TwitchTV

Jun 20 2008, 1:06 am Conspiracy Post #22



That means nothing to me >.<''. Can you try to simplify that, or is that as simple as you can get?

PS: I have (Farty's?) EUDTrig.



None.

Jun 20 2008, 1:37 am A_of-s_t Post #23

aka idmontie

Hmm..so:

Check to deaths of
0x62E P7 #Gap of 7
0x635 P7 #Gap of 2
0x637 P7
0x643 P7
0x64A P7



Personal GitHub
Starcraft GitHub Organization - Feel free to request member status!
TwitchTV

Jun 20 2008, 1:38 am Conspiracy Post #24



Wait, that makes no sense. Why is there only 4 didgets? And what about player 7? Sorry if I'm irritating, kinda new to this.



None.

Jun 20 2008, 1:43 am A_of-s_t Post #25

aka idmontie

Hold on, Im writing a special piece of code just for you.



Personal GitHub
Starcraft GitHub Organization - Feel free to request member status!
TwitchTV

Jun 20 2008, 1:44 am Conspiracy Post #26



Quote from A_of-s_t
0x0059CB8D + (n * 336) == 119
Hex

5884813 + (n * 336) == 119
Dec


I can't remember how to convert this to trigger deaths, but just look for a EUD calculator -- Farty has one and I think DTBK does too.

Now, you're going to need to read all the way to 628130

So, read from 5884813 to 6455677 for the value 119. Now you're going to need to copy these 1701 triggers 4 times per cycle so that it is actually effective with about 6 hyper triggers.

When I used the dec, and put the number 119 in the box under it, and told it to convert, I got a player and a unit ID, which I was expecting. But then I re-converted BACK up. This time I got a new number, and hit convert button again, this time I got a new player with a new unit ID. Is that what you were trying to get me to do?



None.

Jun 20 2008, 1:49 am A_of-s_t Post #27

aka idmontie

Quote from name:Epoch
Quote from A_of-s_t
0x0059CB8D + (n * 336) == 119
Hex

5884813 + (n * 336) == 119
Dec


I can't remember how to convert this to trigger deaths, but just look for a EUD calculator -- Farty has one and I think DTBK does too.

Now, you're going to need to read all the way to 628130

So, read from 5884813 to 6455677 for the value 119. Now you're going to need to copy these 1701 triggers 4 times per cycle so that it is actually effective with about 6 hyper triggers.

When I used the dec, and put the number 119 in the box under it, and told it to convert, I got a player and a unit ID, which I was expecting. But then I re-converted BACK up. This time I got a new number, and hit convert button again, this time I got a new player with a new unit ID. Is that what you were trying to get me to do?

No, thats just a bug in his program O.o.



Personal GitHub
Starcraft GitHub Organization - Feel free to request member status!
TwitchTV

Jun 20 2008, 1:50 am Conspiracy Post #28



Lulz, just what I though.

Quote from A_of-s_t
Hold on, Im writing a special piece of code just for you.

I feel loved :rolleyes:



None.

Jun 20 2008, 2:03 am A_of-s_t Post #29

aka idmontie

Code
var fso = new ActiveXObject("Scripting.FileSystemObject");
var outputFileName = fso.GetParentFolderName(WScript.ScriptFullName) + "\\" + fso.GetBaseName(WScript.ScriptFullName) + ".txt";
var outputStream = fso.CreateTextFile(outputFileName, true);


var DeathTable = 5808972;


for(var turn = 0; turn < 1699; turn ++) {
var Address = 0x0059CB8D + (turn * 336);
var DeathOffset = Address - DeathTable;
var UnitID = Math.floor(DeathOffset /48 );
var PlayerID = Math.floor((DeathOffset - (UnitID*48 )) /4) + 1; // 1-based
var ByteOffset = Address & 3;
outputStream.WriteLine("Deaths(P" + PlayerID + ", Exactly, 199, " + UnitID + ");");
}


Save as dc.js and run. The output is the list of death conditions that you will have to use with SCMD. Good luck with that.

It should work, but Im tired.



Personal GitHub
Starcraft GitHub Organization - Feel free to request member status!
TwitchTV

Jun 20 2008, 2:09 am Conspiracy Post #30



1 more question. How would you change it so that it does that for player 2? :O. To lazy to do it manually. Thats great for conditions, but now I have to manually insert each of them into a trigger... cause I have other conditions I need...



None.

Jun 20 2008, 2:15 am Conspiracy Post #31



Quote from A_of-s_t
[code]...SCMD....

? Whats that?



None.

Jun 20 2008, 5:14 am A_of-s_t Post #32

aka idmontie

Quote from name:Epoch
1 more question. How would you change it so that it does that for player 2? :O. To lazy to do it manually. Thats great for conditions, but now I have to manually insert each of them into a trigger... cause I have other conditions I need...
lolno...

what those conditions do is check units, regardless of player ownership. The P7 refers to the extended unit's death. The conditions are checking every unit to see if its firing a spell (which I believe I checked for dark swarm specifically).

So, changing them to P2 is not only pointless, but would not read what you wnated. And yes, you're going to have to do the rest yourself :P.

SCMD is starcraft map draft, which is what your going to use if you want to use these easily.



Personal GitHub
Starcraft GitHub Organization - Feel free to request member status!
TwitchTV

Jun 23 2008, 9:59 pm Conspiracy Post #33



Quote from A_of-s_t
.
The P7 refers to the extended unit's death. [/quote]

Deaths(P1, Exactly, 199, 1580);

Thats the first condition that shows up. That has nothing to deal with p7...



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[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
[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
[2024-4-27. : 6:24 pm]
NudeRaider -- "War nie wirklich weg" 🎵
[2024-4-27. : 3:33 pm]
O)FaRTy1billion[MM] -- o sen is back
[2024-4-27. : 1:53 am]
Ultraviolet -- :lol:
[2024-4-26. : 6:51 pm]
Vrael -- It is, and I could definitely use a company with a commitment to flexibility, quality, and customer satisfaction to provide effective solutions to dampness and humidity in my urban environment.
[2024-4-26. : 6:50 pm]
NudeRaider -- Vrael
Vrael shouted: Idk, I was looking more for a dehumidifer company which maybe stands out as a beacon of relief amidst damp and unpredictable climates of bustling metropolises. Not sure Amazon qualifies
sounds like moisture control is often a pressing concern in your city
[2024-4-26. : 6:50 pm]
Vrael -- Maybe here on the StarEdit Network I could look through the Forums for some Introductions to people who care about the Topics of Dehumidifiers and Carpet Cleaning?
Please log in to shout.


Members Online: Roy