Is their any simple way to detect if a player is using Mac without either platforms dysncing?
ex: a overlapping memory location that has constant memory value for mac but one windows never reacches
Would ideally want to detect this in the first 3 seconds
Just some notes on my situation...
- You can play through without the EUD's but its uses are important
- Refund energy for "Swarm Glitches", previously a major problem threatening balance of the map
- Drop players when banned (Using text detection for "B A N N E D"), important for lag finding, common stay alive hack
- Refund Energy applys to one player olny, so you can play other slots just fine
- As none of the "Pro" players run Macs, the benifits to most players of the map outwiegh desyncs
Post has been edited 2 time(s), last time on Apr 4 2011, 10:29 pm by jjf28.
TheNitesWhoSay - Clan Aura -
githubReached the top of StarCraft theory crafting 2:12 AM CST, August 2nd, 2014.
An artist's depiction of an Extended Unit Death
No, I don't believe you can prevent desync from Mac/PC players when using EUDs
unless your EUDs are handled locally (i.e. display text), in which case, it will run for PC users and do nothing for Mac users.
However, if your EUD triggers are running global actions (i.e. creating units), then it's going to run for PC players and fail for Mac players, causing a desync. I don't believe there's any global address you can check to determine a player's OS, and any local-dependent checks won't help at all.
A possible solution to this, if you have the time and resources, is to write the triggers for both PC and Mac computers. There is a chance that a trigger may misfire because of these duplications checking various addresses, but it would be your best bet.
On a side note, somebody could spoof their name as "B A N N E D" and drop everyone by talking. When I drop via display text, I like to use a series of colors (which would show up as a blank line to players). I doubt someone would spoof as "B A N N E D," but it's something to think about.
You can make EUDs for both platforms. You just have to make the action Set Switch, and then if the switch is set at the end of the trigger cycle (like a p8 computer) do the actions.
Without EUDs for both platforms, anyone on a mac using EUDs
will desync.
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!
This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!
From that i gather that you can have either platform check the address, but as long as it doesen't run a action it wont desync the player?
edit: seems i may have miscommunicated, am olny using EUD Conditions
Post has been edited 1 time(s), last time on Apr 4 2011, 8:45 am by jjf28.
TheNitesWhoSay - Clan Aura -
githubReached the top of StarCraft theory crafting 2:12 AM CST, August 2nd, 2014.
Trigger : detect if playing on mac
*some eud condition detecting mac*
-
set switch "mac"
Trigger: generic eud trigger
switch "mac" is not set
*some eud condition*
-
set switch eud1
Trigger: mac generic eud trigger
switch "mac" is set
*the same eud condition, but for mac*
-
set switch eud1
Trigger: actual eud trigger owned by player 8, or have it run on the next trigger run
switch eud1 is set
-
do the action
You'll need 3 triggers for each and one trigger to detect mac players, which only runs once at the beginning of the game. You'll notice the first 2 eud triggers only store local variables (switches) and the last one uses the (hopefully) identical variables to run the action, so nobody runs a desyncing action on just one computer.
"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"
Anyone per-chance know a map currently using EUD's for Mac?
TheNitesWhoSay - Clan Aura -
githubReached the top of StarCraft theory crafting 2:12 AM CST, August 2nd, 2014.
I was under the impression that EUDs didn't work on Macs. Is this not the case? Or maybe I'm just thinking of all the extra player effects that didn't work on them.
Currently Working On: My Overwatch addiction.
An artist's depiction of an Extended Unit Death
EUDs work for Macs in the same way as they work for PCs; by overflowing, you can access memory you couldn't normally access. The problem is that the Mac version of SC's memory is not structured the same as the PC version, so an EUD designed for PC would be reading something completely different for Mac.
For example, an EUD could be checking the HP of a unit on a PC, but for a Mac, that same EUD condition would be checking something else, like screen position.
Well I had an idea that you have a square of dirt with a p12 flag on it and another square of dirt with another flag. Then use eud conditions to detect that if the player selected one flag, it means they have a windows machine and vise versa. But in 3 seconds, I don't think this option is a good one.
None.
An artist's depiction of an Extended Unit Death
You can determine it instantly by checking a constant address for PC where the Mac address holds some different value. Then use the method Farty/rockz mentioned.
yea yea, methodology simple enough, its a memory location i'm really fishin for
will go to visit my friend with a Mac soon, anyone know of a ram reader for Macs, or if not, if Macs run C++?
TheNitesWhoSay - Clan Aura -
githubReached the top of StarCraft theory crafting 2:12 AM CST, August 2nd, 2014.
if i can't find a single constant condition memory, will probably do something like detect abstract health amounts in 3 invincible units in the map locally, if they're correct the rest of the EUD's run
TheNitesWhoSay - Clan Aura -
githubReached the top of StarCraft theory crafting 2:12 AM CST, August 2nd, 2014.
SDE, BWAPI owner, hacker.
There are thousands of constants that don't change. Don't make it more complicated than it needs to be.
mm, predicting whether macs can hit it is more difficult
Post has been edited 1 time(s), last time on Apr 5 2011, 5:29 am by jjf28.
TheNitesWhoSay - Clan Aura -
githubReached the top of StarCraft theory crafting 2:12 AM CST, August 2nd, 2014.