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.
[03:02 am]
Ultraviolet -- I'm gonna send inf to have sex with their moms
[03:02 am]
Ultraviolet -- fuck those motherfuckers
[11:02 pm]
NudeRaider -- PSA: ASUS apparently decided their RMA department needs to "become profitable" and for a while now outright tries to scam customers. They were called out on it a year ago, promised to change, but didn't. https://www.youtube.com/watch?v=7pMrssIrKcY so my recommendation: Stop buying ASUS, and if you already have and need something RMA'd, make sure to not let them bully you into paying.
[03:08 pm]
Oh_Man -- example of wat u mean?
[2024-5-15. : 5:59 am]
NudeRaider -- *is
[2024-5-15. : 5:17 am]
NudeRaider -- despite all its flaws the sound design its fantastic
[2024-5-14. : 10:29 pm]
Oh_Man -- homeworld 3 = massive disappointment
[2024-5-14. : 10:05 am]
Moose -- ya
[2024-5-14. : 5:23 am]
zsnakezz -- yes
[2024-5-12. : 8:51 pm]
l)ark_ssj9kevin -- Are you excited for Homeworld 3?
Please log in to shout.


Members Online: 8evanc241rg7, Ebkug06, 4gabriellae32100rp1