Staredit Newtork
Community
StarCraft
Games
Site
Favourites
Another EUD Question, But if it works...

Creator: Epoch
Time: Jun 12 2008, 2:10 am

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

[Avatar]
Master of Temptation, Ruler of Aeronotics, and Secret Lover
 online contact
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.
(user posted image)
Top

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

[Avatar]
o.-
 online contact
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.
Life is like nailing Jello to a wall. It will just never work.

Top

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

[Avatar]
Master of Temptation, Ruler of Aeronotics, and Secret Lover
 online contact
Hmm..so:

Check to deaths of
0x62E P7 #Gap of 7
0x635 P7 #Gap of 2
0x637 P7
0x643 P7
0x64A P7
(user posted image)
Top

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

[Avatar]
o.-
 online contact
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.
Life is like nailing Jello to a wall. It will just never work.

Top

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

[Avatar]
Master of Temptation, Ruler of Aeronotics, and Secret Lover
 online contact
Hold on, Im writing a special piece of code just for you.
(user posted image)
Top

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

[Avatar]
o.-
 online contact
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?
Life is like nailing Jello to a wall. It will just never work.

Top

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

[Avatar]
Master of Temptation, Ruler of Aeronotics, and Secret Lover
 online contact
Quote from 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.
(user posted image)
Top

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

[Avatar]
o.-
 online contact
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:
Life is like nailing Jello to a wall. It will just never work.

Top

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

[Avatar]
Master of Temptation, Ruler of Aeronotics, and Secret Lover
 online contact

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.
(user posted image)
Top

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

[Avatar]
o.-
 online contact
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...
Life is like nailing Jello to a wall. It will just never work.

Top

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

[Avatar]
o.-
 online contact
Quote from A_of-s_t
[code]...SCMD....

? Whats that?
Life is like nailing Jello to a wall. It will just never work.

Top

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

[Avatar]
Master of Temptation, Ruler of Aeronotics, and Secret Lover
 online contact
Quote from 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.
(user posted image)
Top

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

[Avatar]
o.-
 online contact
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...
Life is like nailing Jello to a wall. It will just never work.

Top
0 members in this topic: None
+ 0 guest(s)


[04:12 am]
Corbo[MM] -- Like, right now almost 20 of 49 boxes have been opened and 13 of them are 0s.
[04:11 am]
Corbo[MM] -- You people just don't know how to play.
[04:01 am]
KrayZee -- spam
[04:00 am]
Falkoner -- Meh, I don't really care, I make 20 minerals a day anyway
[03:59 am]
Kaias -- So many times
[03:59 am]
Kaias -- I've promised to stop doing Magic Boxes
[03:51 am]
Falkoner -- ARG! I have the worst magic boxes luck!
You must log in to shout.

©2003-2008 Staredit Network.
Starcraft & Starcraft II are trademarks of Blizzard Entertainment.
Site Index   |   Terms of Service   |   Privacy Policy   |   Contributions