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.
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.
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.
Hold on, Im writing a special piece of code just for you.
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.
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.
Lulz, just what I though.
Hold on, Im writing a special piece of code just for you.
I feel loved
None.
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.
1 more question. How would you change it so that it does that for player 2?
. 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.
1 more question. How would you change it so that it does that for player 2?
. 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
.
SCMD is starcraft map draft, which is what your going to use if you want to use these easily.
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.