Mac EUD's
Dec 24 2007, 3:01 am
By: Matt Burch  

Dec 24 2007, 3:01 am Matt Burch Post #1



EUD's are on their way for macs. I recently found the EUD for the X-position and Y-position of the screen in a map. With FaRTy's help. View screenies for example:
http://machost.exofire.net/images/Picture%205.png
http://machost.exofire.net/images/Picture%206.png
http://machost.exofire.net/images/Picture%207.png
http://machost.exofire.net/images/Picture%208.png
When the screen is at a Y-position of 0, it will display text! When the screen isn't there, it won't display text. Anywhere on the X-axis when Y-position is 0.

Offsets:
Code
        |variable|     |Address|     |Value|
------------------------------------------------------

CONSTANTS:
true     32-bit Integer     010253F4     0 (Minerals)
true     32-bit Integer     01025424         0 (Gas)

Strings:
true     ASCII String     018519A9     Cheat Enabled


Protoss

Ground Units
true     ASCII String     04AD92D7     Protoss Probe
true     ASCII String     04B0D2F4     Protoss Zealot
true     ASCII String     04B0D312     Protoss Dragoon
true     ASCII String     04AD9331     Protoss High Templar
true     ASCII String     04AD9276     Protoss Dark Templar
true     ASCII String     04AD9355     Protoss Archon
true     ASCII String     04AD92B4     Protoss Dark Archon
true     ASCII String     04AD94DB     Protoss Reaver

Air Units
true     ASCII String     04AD9373     Protoss Shuttle
true     ASCII String     04AD94F9     Protoss Observer
true     ASCII String     04AD938F     Protoss Scout
true     ASCII String     04AD93C5     Protoss Carrier
true     ASCII String     04AD93A9     Protoss Arbiter  
true     ASCII String     04AD925A     Protoss Corsair

Heroes
true     ASCII String     04AD9436     Tassadar/Zeratul
true     ASCII String     04AD9455     Fenix (Zealot)
true     ASCII String     04AD9469     Fenix (Dragoon)
true     ASCII String     04AD9496     Mojo
true     ASCII String     04AD94A8     Warbringer
true     ASCII String     04AD94C1     Gantrithor
true     ASCII String     04AD9534     Danimoth
true     ASCII String     04AD954C     Aldaris
true     ASCII String     04AD9640     Raszagal

Buildings
true     ASCII String     04AD9CC2     Protoss Nexus
true     ASCII String     04AD9D02     Protoss Pylon
true     ASCII String     04AD9D75     Protoss Gateway
true     ASCII String     04AD9E3A     Protoss Forge
true     ASCII String     04AD9DF0     Protoss Cybernetics Core
true     ASCII String     04AD9DAA     Protoss Photon Canno2
true     ASCII String     04AD9F07     Protoss Shield Battery
true     ASCII String     04AD9CDC     Protoss Robotics Facility
true     ASCII String     04AD9EDE     Protoss Robotics Support Bay
true     ASCII String     04AD9D55     Protoss Observatory
true     ASCII String     04AD9E54     Protoss Stargate
true     ASCII String     04AD9E98     Protoss Fleet Beacon
true     ASCII String     04AD9EB9     Protoss Arbiter
true     ASCII String     04AD9EC9     Tribunal
true     ASCII String     04AD9E15     Protoss Templar Archives
true     ASCII String     04AD9DCC     Protoss Citadel of Adun

Other
true     ASCII String     04AD9516     Protoss Scarab
true     ASCII String     04AD93E1     Protoss Interceptor


Terran

Ground Units
true     ASCII String     04AB9CD9     Terran SCV
true     ASCII String     04AB9C18     Terran Marine
true     ASCII String     04AB9F83     Terran Firebat
true     ASCII String     04AB9C35     Terran Ghost
true     ASCII String     04AB9FB3     Terran Medic
true     ASCII String     04AB9C51     Terran Vulture
true     ASCII String     04AB9CA0     Terran Siege Tank
true     ASCII String     04AB9F49     Terran Siege Tank
true     ASCII String     04AB9C6F     Terran Goliath

Air Units
true     ASCII String     04AB9CF3     Terran Wraith
true     ASCII String     04AB9D49     Terran Dropship
true     ASCII String     04AB9D65     Terran Battlecruiser
true     ASCII String     04AB9D0D     Terran Science Vessel
true     ASCII String     04ABA233     Terran Valkyrie

Heroes

Buildings
true     ASCII String     04ABA712     Terran Command Center
true     ASCII String     04ABA7AC     Terran Barracks
true     ASCII String     04ABA7C8     Terran Academy
true     ASCII String     04ABA790     Terran Refinery
true     ASCII String     04ABA770     Terran Supply Depot
true     ASCII String     04ABA942     Terran Bunker
true     ASCII String     04ABA920     Terran Missile Turret
true     ASCII String     04ABA7E3     Terran Factory
true     ASCII String     04ABA906     Terran Armory
true     ASCII String     04ABA7FE     Terran Starport
true     ASCII String     04ABA838     Terran Science Facility

Addons
true     ASCII String     04ABA734     Terran Comsat Station
true     ASCII String     04ABA753     Terran Nuclear Silo
true     ASCII String     04ABA81A     Terran Control Tower
true     ASCII String     04ABA85C     Terran Covert Ops
true     ASCII String     04ABA877     Terran Physics Lab
true     ASCII String     04ABA8AA     Terran Machine Shop

Other
true     ASCII String     04AB9D86     Vulture Spider Mine


Zerg

Ground Units
true     ASCII String     04ABA062     Zerg Drone
true     ASCII String     04AB9FEB     Zerg Zergling
true     ASCII String     04ABA008     Zerg Hydralisk
true     ASCII String     04AD0026     Zerg Ultralisk
true     ASCII String     04AD00E1     Zerg Defiler
true     ASCII String     04AD06C4     Zerg Lurker

Air Units
true     ASCII String     04ABA07C     Zerg Overlord
true     ASCII String     04AD0096     Zerg Mutalisk
true     ASCII String     04AD029A     Zerg Devourer
true     ASCII String     04AD00B0     Zerg Guardian
true     ASCII String     04AD00FD     Zerg Scourge
true     ASCII String     04AD0026     Zerg Ultralisk

Heroes

Buildings
true     ASCII String     04AD0B03     Zerg Ultralisk

Other
true     ASCII String     04ACFFDE     Zerg Egg
true     ASCII String     04ACFFCF     Zerg Larva
true     ASCII String     04AD062C     Zerg Lurker Egg


Critters
true     ASCII String     04AD9578     Rhynadon
true     ASCII String     04AD9611     Ursadon
true     ASCII String     04AD95C3     Scantid
true     ASCII String     04AD9593     Bengalaas
true     ASCII String     04AD95DB     Kakaru
true     ASCII String     04AD95F4     Ragnasaur


true     ASCII String     04ADCA15     Warp in (Zealot)
true     ASCII String     04ADCA28     Warp in (Dragoon)
true     ASCII String     04ADCA3C     Warp in (High Templar)
true     ASCII String     04ADCA67     Warp in (Scout)
true     ASCII String     04ADCA79     Warp in (Arbiter)
true     ASCII String     04ADCA8D     Warp in (Carrier)
true     ASCII String     04ADCCED     Warp in (Nexus)
true     ASCII String     04ADCCFF     Warp in (Pylon)
true     ASCII String     04ADCD11     Warp in (Assimilator)
true     ASCII String     04ADCD29     Warp in (Gateway)
true     ASCII String     04ADCD3D     Warp in (Forge)
true     ASCII String     04ADCD4F     Warp in (Photon Cannon)
true     ASCII String     04ADCD69     Warp in (Cybernetics Core)
true     ASCII String     04ADCD86     Warp in (Shield Batter)
true     ASCII String     04ADCDA1     Warp in (Robotics Facility)
true     ASCII String     04ADCDBF     Warp in (Observatory)
true     ASCII String     04ADCDD7     Warp in (Citadel of Adun)
true     ASCII String     04ADCDF3     Warp in (Templar Archives)
true     ASCII String     04ADCE10     Warp in (Stargate)
true     ASCII String     04ADCE25     Warp in (Fleet Beacon)
true     ASCII String     04ADCE3E     Warp in (Arbiter Tribunal)
true     ASCII String     04ADCE5B     Warp in (Robotics Support Bay)
true     ASCII String     04AE0370     Warp in (Corsair)
true     ASCII String     04AE0384     Warp in (Dark Templar)

true     ASCII String     010DE398     Psi Used: (Nexus)
true     ASCII String     010DE294     Psi Provided: (Nexus
true     ASCII String     010DE190     Total Psi: (Nexus)
true     ASCII String     010DE08C     Psi Max: (Nexus
true     ASCII String     04ADDF80     Psi Used: (Pylon)
true     ASCII String     04ADDF2B     Psi Provided: (Pylon)
true     ASCII String     04ADDF58     Total Psi: (Pylon)
true     ASCII String     04ADDFA5     Psi Max: (Pylon

true     ASCII String     0031AD27     Build
true     ASCII String     013DBDAA     Build
true     ASCII String     013DC003     Build
true     ASCII String     013DC0D7     Build
true     ASCII String     013DC1D5     Build
true     ASCII String     013DD2B5     Build
true     ASCII String     013EA9D8     Build
true     ASCII String     0141D37C     Build
true     ASCII String     0143485D     Build
true     ASCII String     014382D7     Build
true     ASCII String     014382F2     Build
true     ASCII String     0143837A     Build
true     ASCII String     01438564     Build
true     ASCII String     014525ED     Build
true     ASCII String     014526A7     Build
true     ASCII String     014526D1     Build
true     ASCII String     014526FE     Build
true     ASCII String     01452AF3     Build
true     ASCII String     01456806     Build
true     ASCII String     0145681F     Build
true     ASCII String     014568DA     Build
true     ASCII String     0145690E     Build
true     ASCII String     0145695E     Build
true     ASCII String     01456D23     Build
true     ASCII String     014710D6     Build
true     ASCII String     01471105     Build
true     ASCII String     0147122E     Build
true     ASCII String     01471252     Build
true     ASCII String     01851937     Build
true     ASCII String     028A8621     Build
true     ASCII String     028A9291     Build
true     ASCII String     03E2DE4C     Build
true     ASCII String     04AD972A     Build
true     ASCII String     04AD9786     Build
true     ASCII String     04AD97A2     Build
true     ASCII String     04AD97BE     Build
true     ASCII String     04AD97D9     Build
true     ASCII String     04AD97F4     Build
true     ASCII String     04AD9810     Build
true     ASCII String     04AD9852     Build
true     ASCII String     04AD98FC     Build
true     ASCII String     04AD9916     Build
true     ASCII String     04AD9938     Build
true     ASCII String     04AD9952     Build
true     ASCII String     04AD9983     Build
true     ASCII String     04AD99A2     Build
true     ASCII String     04AD99F8     Build
true     ASCII String     04AD9A12     Build
true     ASCII String     04AD9A28     Build
true     ASCII String     04AD9A3E     Build
true     ASCII String     04AD9A5B     Build
true     ASCII String     04AD9A7A     Build
true     ASCII String     04AD9A99     Build
true     ASCII String     04AD9AB8     Build
true     ASCII String     04AD9AD6     Build
true     ASCII String     04AD9AF9     Build
true     ASCII String     04AD9B1B     Build
true     ASCII String     04AD9B32     Build
true     ASCII String     04AD9B51     Build
true     ASCII String     04AD9B6F     Build
true     ASCII String     04AD9B8D     Build
true     ASCII String     04AD9BC4     Build
true     ASCII String     04AD9BEF     Build
true     ASCII String     04AD9C11     Build
true     ASCII String     04AD9C2C     Build
true     ASCII String     04AD9C50     Build
true     ASCII String     04AD9C73     Build
true     ASCII String     04AD9C9E     Build
true     ASCII String     04AD9CD2     Build
true     ASCII String     04AD9CF8     Build
true     ASCII String     04AD9D12     Build
true     ASCII String     04AD9D32     Build
true     ASCII String     04AD9D6B     Build
true     ASCII String     04AD9D87     Build
true     ASCII String     04AD9DC2     Build
true     ASCII String     04AD9DE6     Build
true     ASCII String     04AD9E0B     Build
true     ASCII String     04AD9E30     Build
true     ASCII String     04AD9E4A     Build
true     ASCII String     04AD9E67     Build
true     ASCII String     04AD9E8E     Build
true     ASCII String     04AD9EAF     Build
true     ASCII String     04AD9ED4     Build
true     ASCII String     04AD9EFD     Build
true     ASCII String     04AD9F20     Build
true     ASCII String     04AD9F50     Build
true     ASCII String     04AD9F73     Build
true     ASCII String     04AD9F97     Build
true     ASCII String     04ADA10F     Build
true     ASCII String     04ADA131     Build
true     ASCII String     04ADA239     Build
true     ASCII String     04ADA25D     Build
true     ASCII String     04ADC941     Build (Vulture)
true     ASCII String     04ADC953     Build (Goliath)
true     ASCII String     04ADC965     Build (Siege Tank)
true     ASCII String     04ADC97A     Build (SCV)
true     ASCII String     04ADC988     Build (Wraith)
true     ASCII String     04ADC999     Build (Science Vessel)
true     ASCII String     04ADC9B2     Build (Dropship
true     ASCII String     04ADC9C5     Build (Battlecruiser
true     ASCII String     04ADC9F2     Build
true     ASCII String     04ADCA05     Build (Probe)
true     ASCII String     04ADCA55     Build
true     ASCII String     04ADCAA1     Build
true     ASCII String     04ADCAB7     Build
true     ASCII String     04ADCAC8     Build
true     ASCII String     04ADCE7C     Build (Command Center)
true     ASCII String     04ADCE95     Build (Supply Depot)
true     ASCII String     04ADCEAC     Build (Refinery)
true     ASCII String     04ADCEBF     Build (Barracks)
true     ASCII String     04ADCED2     Build (Engineering Bay)
true     ASCII String     04ADCEEC     Build (Missile Turret)
true     ASCII String     04ADCF05     Build (Academy)
true     ASCII String     04ADCF17     Build (Bunker)
true     ASCII String     04ADCF28     Build (Factory)
true     ASCII String     04ADCF3A     Build (Starport)
true     ASCII String     04ADCF4D     Build (Science Facility)
true     ASCII String     04ADCF68     Build (Armory)
true     ASCII String     04ADCF79     Build (Comsat Station)
true     ASCII String     04ADCF92     Build (Nuclear Silo)
true     ASCII String     04ADCFA9     Build (Control Tower)
true     ASCII String     04ADCFC1     Build (Covert Ops)
true     ASCII String     04ADCFD6     Build (Physics Lab)
true     ASCII String     04ADCFEC     Build (Machine Shop)
true     ASCII String     04ADD0D6     Build (Build Advanced Structure)
true     ASCII String     04ADDBCA     Build
true     ASCII String     04ADDBEF     Build
true     ASCII String     04ADDC8C     Build
true     ASCII String     04ADDCB0     Build
true     ASCII String     04ADDCB9     Build
true     ASCII String     04ADE725     Build
true     ASCII String     04ADE743     Build
true     ASCII String     04ADE96E     Build
true     ASCII String     04ADE97A     Build
true     ASCII String     04ADE99E     Build
true     ASCII String     04ADE9A4     Build
true     ASCII String     04ADE9B8     Build
true     ASCII String     04ADE9C8     Build
true     ASCII String     04ADE9E5     Build
true     ASCII String     04ADEA0E     Build
true     ASCII String     04ADEA1D     Build
true     ASCII String     04ADEA2D     Build
true     ASCII String     04ADEA52     Build
true     ASCII String     04ADEADB     Build
true     ASCII String     04ADEAE9     Build
true     ASCII String     04AE035D     Build
true     ASCII String     A1163141     Build
true     ASCII String     A9CBD0CD     Build

true     ASCII String     013E0D3E     Train
true     ASCII String     04ADC8F4     Train
true     ASCII String     04ADC90E     Train (Marine)
true     ASCII String     04ADC91F     Train (Ghost)
true     ASCII String     04ADC92F     Train (Firebat)
true     ASCII String     04ADD1BC     Train
true     ASCII String     04ADE9F2     Train
true     ASCII String     04ADEAA8     Train
true     ASCII String     04ADECDB     Train
true     ASCII String     04AE034D     Train (Medic)

true     ASCII String     010DE398     Control Used: (Hatchery)
true     ASCII String     010DE294     Control Provided: (Hatchery)
true     ASCII String     010DE190     Total Control: (Hatchery)
true     ASCII String     010DE08C     Control Max: (Hatchery)
true     ASCII String     04ADDF06     Control Provided: (Overlord)
true     ASCII String     04ADDF39     Total Control: (Overlord)
true     ASCII String     04ADDF63     Control Used: (Overlord)
true     ASCII String     04ADDF8A     Control Max: (Overlord)

true     ASCII String     04ADCB13     Mutate (into Hatchery)
true     ASCII String     04ADCB2C     Mutate (into Creep Colony)
true     ASCII String     04ADCB49     Mutate (into Extractor)
true     ASCII String     04ADCB63     Mutate (into Spawning Pool)
true     ASCII String     04ADCB81     Mutate (into Evolution Chamber)
true     ASCII String     04ADCBA3     Mutate (into Hydralisk Den)
true     ASCII String     04ADCBC1     Mutate (into Nydus Canal)
true     ASCII String     04ADCBDD     Mutate (into Spire)
true     ASCII String     04ADCBF3     Mutate (into Queen's Nest)
true     ASCII String     04ADCC10     Mutate (into Ultralisk Cavern)
true     ASCII String     04ADCC31     Mutate (into Defiler Mound)
true     ASCII String     04ADCC4F     Mutate (into Lair)
true     ASCII String     04ADCC64     Mutate (into Hive)
true     ASCII String     04ADCC79     Mutate
true     ASCII String     04ADCC97     Mutate
true     ASCII String     04ADCCB4     Mutate

true     ASCII String     04ADC81F     Morph (Zerglings)
true     ASCII String     04ADC836     Morph (Hydralisk)
true     ASCII String     04ADC84D     Morph (Ultralisk)
true     ASCII String     04ADC864     Morph (Drone)
true     ASCII String     04ADC877     Morph (Overlord)
true     ASCII String     04ADC88D     Morph (Mutalisk)
true     ASCII String     04ADC8B7     Morph (Queen)
true     ASCII String     04ADC8CA     Morph (Defiler)
true     ASCII String     04ADC8DF     Morph (Scourge
true     ASCII String     04ADD127     Morph
true     ASCII String     04ADD236     Morph
true     ASCII String     04ADDC83     Morph
true     ASCII String     04ADDCA7     Morph
true     ASCII String     04ADDDE3     Morph
true     ASCII String     04ADDE3E     Morph
true     ASCII String     04ADE705     Morph
true     ASCII String     04ADEA03     Morph
true     ASCII String     04ADEA17     Morph
true     ASCII String     04AE0339     Morph (Lurker)

true     ASCII String     010DE398     Supplies Used: (Command Center)
true     ASCII String     010DE294     Supplies Provided: (Command Center)
true     ASCII String     010DE190     Total Supplies: (Command Center)
true     ASCII String     010DE08C     Supplies Max: (Command Center)
true     ASCII String     04ADDF71     Supplies Used: (Supply Depot)
true     ASCII String     04ADDF18     Supplies Provided: (Supply Depot)
true     ASCII String     04ADDF48     Total Supplies: (Supply Depot)
true     ASCII String     04ADDF97     Supplies Max: (Supply Depot)

true     ASCII String     04ADAD07     Detector (Build Unit Description)
true     ASCII String     04ADDFE1     Detector (Select Unit Stats)

Upgrades

Zerg
true     08-bit Integer     010335B6     0 (Melee Weapons)
true     08-bit Integer     010335B7     0 (Missile Weapons)
true     08-bit Integer     010335AF     0 (Carapace)
true     08-bit Integer     010335B8     0 (Flyer Attacks)
true     08-bit Integer     010335B0     0 (Flyer Carapace)

Terran
true     08-bit Integer     010335AC     0 (Infantry Armor)
true     08-bit Integer     010335AD     0 (Vehicle Plating)
true     08-bit Integer     010335AE     0 (Ship Plating)
true     08-bit Integer     010335B3     0 (Infantry Weapons)
true     08-bit Integer     010335B4     0 (Vehicle Weapons
true     08-bit Integer     010335B5     0 (Ship Weapons)

Protoss
true     08-bit Integer     010335B1     0 (Ground armor)
true     08-bit Integer     010335B2     0 (Air Armor)
true     08-bit Integer     010335B9     0 (Ground Weapons)
true     08-bit Integer     010335BA     0 (Air Weapons
true     08-bit Integer     010335BB     0 (Plasma Shields)

Kill Counts:
Max = 255, 256 = 0, 257=1, 258=2, etc...
01177898 = Zeratul


Screen Position:

X-axis
true     32-bit Integer     01042218     0
true     32-bit Integer     01042238     0

Y-axis
true     32-bit Integer     01042214     0
true     32-bit Integer     01042234     0


true     32-bit Integer     0102DBA4     0 (Force 1 Marine Deaths)
true     32-bit Integer     01030660     0 (Player 1 Marine Deaths)
true     32-bit Integer     011CC094     0 (All Players Marine Deaths)


EUD's
Code
Screen Position Y-axis (Player 9 & 2, Unit ID#1513) {TESTED & WORKS}
Screen Position X-axis (Player 5, Unit ID#1513) {TESTED & WORKS}


If there was an editor that I can use that accepts Unit ID #'s and Player #'s, this would be a lot easier. For now, I can only calculate the unit ID's and player numbers for EUD's.

Are there any specific EUD's that you, mac users, want?

A question (or a project) for a Windows EUD user:
Q: Would this be possible?
Get the type of operating system the user is using, and set that to a switch. Using set for Windows, and cleared for Mac. Whenever a EUD is needed to be used, check the switch. If the switch is set, use the Windows EUD. If the switch is cleared, use the Mac EUD.

--------------------------

Note: This post will be updated when new information is found. If information is incorrect, please post a response saying what is incorrect. If you use any of this information, you are using it at your own risk.
Note: Changing certain memory offsets may destroy your starcraft, and you will have to re-install. Certain memory offsets do not reset upon reloading starcraft.

Any other notes I should add?

The information looks better at maplantis: http://www.maplantis.org/index.php?topic=2555

Post has been edited 1 time(s), last time on Dec 24 2007, 6:25 am by Matt Burch.



None.

Dec 24 2007, 3:25 am Durandal Post #2



Well, I imagine you'd have to overflow out of the Starcraft memory, which seems impractical and dangerous.

Wouldn't it be more convenient to just have them selectable at start via a beacon of some sort or something?

Nice finds, though. If I still had my old mac I'd probably be more appreciative, though ;)



None.

Dec 24 2007, 4:26 am Matt Burch Post #3



I'm guessing that a trigger would just set two offsets different offsets. One that sets something on PC to one, and one that sets something else on Mac. Then check which one is set. Whichever is set, the switch is set to. The less the user has to control, the better.



None.

Dec 24 2007, 4:29 am DT_Battlekruser Post #4



EUDs are wholly impractical these days because

(a) EUD actions are disabled, so you would have to downgrade to use them, and if you're downgrading, you might as well just run a MOD.

(b) EUD conditions are forced to check a 4-byte long, so unless you are checking a byte expression that ends on the fourth byte, you have the impossible situation of trying to check, say xx xx xx yy for any yy (256 possibilities), or xx xx yy yy (65536 possibilities), or so on.




None.

Dec 24 2007, 5:09 am Matt Burch Post #5



EUD's still work, and if used properly they will be able to work on both Windows, and PC at the same time in the same map. This is offering Mac users something they probably have never been able to use before, but wanted to. If they still want to, they now can. The only problem there is now is setting Unit ID's easily. Mappers can now make their maps that use EUD's mac and windows friendly at the same time. Allowing both platforms to play their maps properly.

Even though they are wholly impractical, moving the minimap around with EUD's is fun. :)

(a) Downgrading is for Windows.
--- Okay, EUD actions will not be listed. (maybe later though ;))
(b) Checking and finding offsets for EUD's is easy.

Post has been edited 1 time(s), last time on Dec 24 2007, 5:19 am by Matt Burch.



None.

Dec 24 2007, 5:30 am ejac1337 Post #6



Cool, but I'm assuming these EUD's are mac only and as much as I like macs (I like pc's too) I'm not going to bother using triggers only compatible with about 5-10% of the comps out there.

Other than that, EUD's are just so annoying to use considering they change everysingle update.



None.

Dec 25 2007, 4:59 am Matt Burch Post #7



Anybody want to help a little? How about a quick 5 minute project to see if the theory works or not?



What is needed:

Two civilians (p1) (p2)
Two beacons (Windows) (Mac)
Two locations (Windows) (Mac)

Code
Player 1
Conditions
Current Player brings at least 1 unit any unit to location Windows.
Actions
Set Switch 0.
Preserve Trigger

Code
Player 1
Conditions
Current Player brings at least 1 unit any unit to location Mac.
Actions
Clear Switch 0.
Preserve Trigger

Code
Player 2
Conditions
Current Player brings at least 1 unit any unit to location Windows.
Actions
Set Switch 1.
Preserve Trigger

Code
Player 2
Conditions
Current Player brings at least 1 unit any unit to location Mac.
Actions
Clear Switch 1.
Preserve Trigger


Code
Player 1
Condtions
Player 9 has suffered exactly 0 deaths of #1513.
Switch 0 is Cleared.
Actions
Display text "Mac works."
Preserve Trigger

Code
Player 1
Conditions
Player _ has suffered exactly 0 deaths of #____.
Switch 0 is Set.
Actions
Display text "Windows works."
Preserve Trigger

Code
Player 2
Condtions
Player 9 has suffered exactly 0 deaths of #1513.
Switch 1 is Cleared.
Actions
Display text "Mac works."
Preserve Trigger

Code
Player 2
Conditions
Player _ has suffered exactly 0 deaths of #____.
Switch 1 is Set.
Actions
Display text "Windows works."
Preserve Trigger


Input the player # and the unit ID that corresponds to the UED for the Y axis value. I left them blank for the Windows part. In the current Battle.net starcraft version. 1.15.1

I'll be online for a while if anyone wants to do this now. Clan Orig@USWest.

This shouldn't mess up your starcraft, because it's just getting conditions.



None.

Dec 25 2007, 6:32 am DT_Battlekruser Post #8



Quote
(b) Checking and finding offsets for EUD's is easy.

The Deaths conditions only allows you to inspect a given blocked 4-byte long of RAM. The blocks are mutually exclusive, so if I wanted to examine the first byte of deaths of unit a for player b, I would be looking for this:

xx yy yy yy

Because of the byte compilation, these bytes would be condensed into the hex number yyyyyyxx (reverse end to end concatenation). If I want to check that byte 1 is xx, my condition could be Deaths(b, Player a, Exactly, xx -> dec);

This, however, is only true if bytes 2, 3, and 4 are all zero. There must be a seperate possibility (and thus condition and trigger) for every possible state of the trailing bytes, in this case 2563 or 16,777,216 triggers.




None.

Mar 26 2008, 1:31 am O)FaRTy1billion[MM] Post #9

👻 👾 👽 💪

Unless you can get them to detect the same EUDs in the same trigger block, it will more than likely drop.

Also, DTBK, it really depends on what the other values are. If they are a timer, it isn't reasonable. If they are all just 2-value flags (0x00 or 0x01), it's not that bad. If you can limit what the values are or what effects them, it is moreso not tha bad.
If they are all 2-state and you want to check if the first byte is '1', you just check for 0x00000001, 0x00000101, 0x00010001, 0x00010101, 0x01000001, 0x01000101, 0x01010001, and 0x01010101. 8 triggers could be quite a few if you are reading a lot of values... but it's better than 16777216. xP



TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

Mar 27 2008, 1:26 am DT_Battlekruser Post #10



Quote
Also, DTBK, it really depends on what the other values are. If they are a timer, it isn't reasonable. If they are all just 2-value flags (0x00 or 0x01), it's not that bad. If you can limit what the values are or what effects them, it is moreso not tha bad.
If they are all 2-state and you want to check if the first byte is '1', you just check for 0x00000001, 0x00000101, 0x00010001, 0x00010101, 0x01000001, 0x01000101, 0x01010001, and 0x01010101. 8 triggers could be quite a few if you are reading a lot of values... but it's better than 16777216. xP

There are also the smattering of values that are 4-byte longs that do coincide with a death block, but I was talking in the abstract. Yes, you can often limit it, but it depends an what you're looking at as to the practicality of your limits.



None.

Mar 27 2008, 4:03 am O)FaRTy1billion[MM] Post #11

👻 👾 👽 💪

Timers and counters are the worst. :P



TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

Mar 27 2008, 5:01 am DT_Battlekruser Post #12



Anything that blocks values next to each other are bad, and the shorter the data the worse.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[09:38 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider sing it brother
trust me, you don't wanna hear that. I defer that to the pros.
[07:56 pm]
Ultraviolet -- NudeRaider
NudeRaider shouted: "War nie wirklich weg" 🎵
sing it brother
[06:24 pm]
NudeRaider -- "War nie wirklich weg" 🎵
[03:33 pm]
O)FaRTy1billion[MM] -- o sen is back
[01: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?
[2024-4-26. : 6:49 pm]
Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
[2024-4-26. : 6:48 pm]
Vrael -- On this Topic, I could definitely use some Introductions.
Please log in to shout.


Members Online: Roy