Staredit Network

Staredit Network -> Concepts -> How Certain Players Affect Supply - Tutorial
Report, edit, etc...Posted by Deathknight on 2005-01-13 at 21:09:09
Note: PC Starcraft only


Starcraft stores its player data - Points, resources, supply, etc - all in one huge section.
-----
Well if you don't know how hex works, then try to understand this:

There are 16 numbers in hex, that can make up one digit; 0 1 2 3 4 5 6 7 8 9 A B C D E F

A would be 10, B would be 11, and so on.

Two digits make up one byte. Now the byte can be translated into 256 possible numbers. Numbers like these make up information that is stored in the Starcraft memory.

An address is a position in the memory, containing 8 digits.
-----

I found the positions of these things, and this is why certain buildings will affect the supply. Right now, we are looking at the number of buildings and building scores. The red text indicates where the player's overall structure score is written.
Make sure you compare it to this tutorial: http://www.staredit.net/index.php?act=tuto...%20Max%20Supply

QUOTE(Text Document)
005003a4 - Player 1 Structures Razed(Score)
005003a8 - Player 2 Structures Razed(Score)
005003ac - Player 3 Structures Razed(Score)
005003b0 - Player 4 Structures Razed(Score)
005003b4 - Player 5 Structures Razed(Score)
005003b8 - Player 6 Structures Razed(Score)
005003bc - Player 7 Structures Razed(Score)
005003c0 - Player 8 Structures Razed(Score)
005003c4 - Player 9 Structures Razed(Score)
005003c8 - Player 10 Structures Razed(Score)
005003cc - Player 11 Structures Razed(Score)
005003d0 - Player 12 Structures Razed(Score)

1 005003D4 - p1 overall structure score
2 005003d8 - p2 overall structure score
3 005003dc - p3 overall structure score
4 005003e0 - p4 overall structure score
5 005003e4 - p5 overall structure score
6 005003e8 - p6 overall structure score
7 005003ec - p7 overall structure score
8 005003f0 - p8 overall structure score
9 005003f4 - p9 overall structure score
10 005003f8 - p10 overall structure score
11 005003fc - p11 overall structure score
12 00500400 - p12 overall structure score

13 00500404 - Addition p1's Total structure score
14 00500408 - Addition p2's Total structure score
15 0050040c - Addition p3's Total structure score
16 00500410 - Addition p4's Total structure score
17 00500414 - Addition p5's Total structure score
18 00500418 - Addition p6's Total structure score
19 0050041c - Addition p7's Total structure score
20 00500420 - Addition p8's Total structure score
21 00500424 - Addition p9's Total structure score
22 00500428 - Addition p10's Total structure score
23 0050042c - Addition p11's Total structure score
24 00500430 - Addition p12's Total structure score

25 00500434 - Total # of buildings minus 1? p1
26 00500438 - Total # of buildings minus 1? p2
27 0050043C - Total # of buildings minus 1? p3
28 00500440 - Total # of buildings minus 1? p4
29 00500444 - Total # of buildings minus 1? p5
30 00500448 - Total # of buildings minus 1? p6
31 0050044C - Total # of buildings minus 1? p7
32 00500450 - Total # of buildings minus 1? p8
33 00500454 - Total # of buildings minus 1? p9
34 00500458 - Total # of buildings minus 1? p10
35 0050045C - Total # of buildings minus 1? p11
36 00500460 - Total # of buildings minus 1? p12

37 00500464 - Total # of buildings p1
38 00500468 - Total # of buildings p2
39 0050046C - Total # of buildings p3
40 00500470 - Total # of buildings p4
41 00500474 - Total # of buildings p5
42 00500478 - Total # of buildings p6
43 0050047C - Total # of buildings p7
44 00500480 - Total # of buildings p8
45 00500484 - Total # of buildings p9
46 00500488 - Total # of buildings p10
47 0050048C - Total # of buildings p11
48 00500490 - Total # of buildings p12

49 00500494 - # of buildings lost p1
50 00500498 - # of buildings lost p2
51 0050049C - # of buildings lost p3
52 005004A0 - # of buildings lost p4
53 005004A4 - # of buildings lost p5
54 005004A8 - # of buildings lost p6
55 005004AC - # of buildings lost p7
56 005004B0 - # of buildings lost p8
57 005004B4 - # of buildings lost p9
58 005004B8 - # of buildings lost p10
59 005004BC - # of buildings lost p11
60 005004C0 - # of buildings lost p12

61 005004C4 - Unknown3 p1
62 005004C8 - Unknown3 p2
63 005004CC - Unknown3 p3
64 005004D0 - Unknown3 p4
65 005004D4 - Unknown3 p5
66 005004D8 - Unknown3 p6
67 005004DC - Unknown3 p7
68 005004E0 - Unknown3 p8
69 005004E4 - Unknown3 p9
70 005004E8 - Unknown3 p10
71 005004EC - Unknown3 p11
72 005004F0 - Unknown3 p12

73 005004F4 - Player 1's Zerg max supply.
74 005004F8 - Player 2's Zerg max supply.
75 005004FC - Player 3's Zerg max supply.
76 00500500 - Player 4's Zerg max supply.
77 00500504 - Player 5's Zerg max supply.
78 00500508 - Player 6's Zerg max supply.
79 0050050C - Player 7's Zerg max supply.
80 00500510 - Player 8's Zerg max supply.
81 00500514 - Player 9's Zerg max supply.
82 00500518 - Player 10's Zerg max supply.
83 0050051C - Player 11's Zerg max supply.
84 00500520 - Player 12's Zerg max supply.

85 00500524 - Player 1's Zerg supply used.
86 00500528 - Player 2's Zerg supply used.
87 0050052C - Player 3's Zerg supply used.
88 00500530 - Player 4's Zerg supply used.
89 00500534 - Player 5's Zerg supply used.
90 00500538 - Player 6's Zerg supply used.
91 0050053C - Player 7's Zerg supply used.
92 00500540 - Player 8's Zerg supply used.
93 00500544 - Player 9's Zerg supply used.
94 00500548 - Player 10's Zerg supply used.
95 0050054C - Player 11's Zerg supply used.
96 00500550 - Player 12's Zerg supply used.

97 00500554 - Player 1's Zerg supply limit.
98 00500558 - Player 2's Zerg supply limit.
99 0050055C - Player 3's Zerg supply limit.
100 00500560 - Player 4's Zerg supply limit.
101 00500564 - Player 5's Zerg supply limit.
102 00500568 - Player 6's Zerg supply limit.
103 0050056C - Player 7's Zerg supply limit.
104 00500570 - Player 8's Zerg supply limit.
105 00500574 - Player 9's Zerg supply limit.
106 00500578 - Player 10's Zerg supply limit.
107 0050057C - Player 11's Zerg supply limit.
108 00500580 - Player 12's Zerg supply limit.

109 00500584 - Player 1's Terran max supply.
110 00500588 - Player 2's Terran max supply.
111 0050058C - Player 3's Terran max supply.
112 00500590 - Player 4's Terran max supply.
113 00500594 - Player 5's Terran max supply.
114 00500598 - Player 6's Terran max supply.
115 0050059C - Player 7's Terran max supply.
116 005005A0 - Player 8's Terran max supply.
117 005005A4 - Player 9's Terran max supply.
118 005005A8 - Player 10's Terran max supply.
119 005005AC - Player 11's Terran max supply.
120 005005B0 - Player 12's Terran max supply.

121 005005B4 - Player 1's Terran supply used.
122 005005B8 - Player 2's Terran supply used.
123 005005BC - Player 3's Terran supply used.
124 005005C0 - Player 4's Terran supply used.
125 005005C4 - Player 5's Terran supply used.
126 005005C8 - Player 6's Terran supply used.
127 005005CC - Player 7's Terran supply used.
128 005005D0 - Player 8's Terran supply used.
129 005005D4 - Player 9's Terran supply used.
130 005005D8 - Player 10's Terran supply used.
131 005005DC - Player 11's Terran supply used.
132 005005E0 - Player 12's Terran supply used.

133 005005E4 - Player 1's Terran supply limit.
134 005005E8 - Player 2's Terran supply limit.
135 005005EC - Player 3's Terran supply limit.
136 005005F0 - Player 4's Terran supply limit.
137 005005F4 - Player 5's Terran supply limit.
138 005005F8 - Player 6's Terran supply limit.
139 005005FC - Player 7's Terran supply limit.
140 00500600 - Player 8's Terran supply limit.
141 00500604 - Player 9's Terran supply limit.
142 00500608 - Player 10's Terran supply limit.
143 0050060C - Player 11's Terran supply limit.
144 00500610 - Player 12's Terran supply limit.

145 00500614 - Player 1's Protoss max supply.
146 00500618 - Player 2's Protoss max supply.
147 0050061C - Player 3's Protoss max supply.
148 00500620 - Player 4's Protoss max supply.
149 00500624 - Player 5's Protoss max supply.
150 00500628 - Player 6's Protoss max supply.
151 0050062C - Player 7's Protoss max supply.
152 00500630 - Player 8's Protoss max supply.
153 00500634 - Player 9's Protoss max supply.
154 00500638 - Player 10's Protoss max supply.
155 0050063C - Player 11's Protoss max supply.
156 00500640 - Player 12's Protoss max supply.

157 00500644 - Player 1's Protoss supply used.
158 00500648 - Player 2's Protoss supply used.
159 0050064C - Player 3's Protoss supply used.
160 00500650 - Player 4's Protoss supply used.
161 00500654 - Player 5's Protoss supply used.
162 00500658 - Player 6's Protoss supply used.
163 0050065C - Player 7's Protoss supply used.
164 00500660 - Player 8's Protoss supply used.
165 00500664 - Player 9's Protoss supply used.
166 00500668 - Player 10's Protoss supply used.
167 0050066C - Player 11's Protoss supply used.
168 00500670 - Player 12's Protoss supply used.

169 00500674 - Player 1's Protoss supply limit.
170 00500678 - Player 2's Protoss supply limit.
171 0050067C - Player 3's Protoss supply limit.
172 00500680 - Player 4's Protoss supply limit.
173 00500684 - Player 5's Protoss supply limit.
174 00500688 - Player 6's Protoss supply limit.
175 0050068C - Player 7's Protoss supply limit.
176 00500690 - Player 8's Protoss supply limit.
177 00500694 - Player 9's Protoss supply limit.
178 00500698 - Player 10's Protoss supply limit.
179 0050069C - Player 11's Protoss supply limit.
180 005006A0 - Player 12's Protoss supply limit.


See how it works? Now, knowing this, I'm sure you will find alternate methods to compensate for the extended players that crash... currently I am looking into unit upgrades, and have a special surprise for map night...

Of course, more than just supply is affected...
Report, edit, etc...Posted by BSTRhino on 2005-01-13 at 22:30:26
Of course, I had always expected that hyper players worked through overshooting memory addresses but this is conclusive proof. Now that you've presented the memory structure right here, we can now predict exactly what the effect of each hyper player will be. This is very useful, it can even be applied to StarGraft modding. Yay! Thank you!
Report, edit, etc...Posted by Robi on 2005-01-14 at 15:01:40
I want the map night to be 2 hours sooner ! else map night starts at 2am for me sad.gif((((
Report, edit, etc...Posted by brutetal on 2005-01-14 at 15:11:25
Thats so cool! good job!
Report, edit, etc...Posted by illusion(SS) on 2005-01-16 at 13:41:48
i dont get it. whats the unit number??? or playernumber.. or.. WHAT DO I USE TO INCREASE SUPPLY!?!?!?!! im confused....
Next Page (1)