There are a bunch of
these for each player
here.
You'll have to find the address of the unit for the value of the condition ... I believe it can be calculated, but I usually just play the map and select the unit and look up the value of the selection.
Well I tried doing it from my limited knowledge, but I couldn't get the trigger to fire.
//-----------------------------------------------------------------//
Trigger("Player 1"){
Conditions:
Memory(161889, Exactly, 11042402);
Actions:
Create Unit("Current Player", "Terran Medic", 5, "Location 0");
Preserve Trigger();
}
//-----------------------------------------------------------------//
The first number was the player ID EUDtrig gave me, and the second was the flag's ID or w/e when i look at the memory.
None.
11042402 seems high. The number should be in the range of 5885096 to 6455960. You're checking 0x006284C8 in the memory editor, right?
Try 6454952.
The problem might be the little-endianness again. I reversed the byte order (11042402 is 0xA87E62 and 6454952 is 0x627EA8).
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!
11042402 seems high. The number should be in the range of 5885096 to 6455960. You're checking 0x006284C8 in the memory editor, right?
Try 6454952.
The problem might be the little-endianness again. I reversed the byte order (11042402 is 0xA87E62 and 6454952 is 0x627EA8).
And you caught me again, man I haven't done anything with hex for a long time, keep forgetting about the whole reversing thing >_<! And yeah that was my exact problem, I guess I'm understand how to set up these EUD's, just forgetting about reversing new stuff from the memory editor. thanks.
Yup, that was my only problem, I have successfully implemented a kinda cool ban system xD.
If i or my friend are in the game, the map sets an "Admin" switch for the the current player they are. Which allows us to use certain things.
I have a regular ban system where the players can vote to ban someone, and if someone has the "Admin" switch on for them, they can just click that players flag to instantly ban them without having to vote xD.
Post has been edited 1 time(s), last time on Jul 12 2011, 2:54 am by Alerek.
None.
I think that you'll find you end up dropping yourself rather than banning that person.
"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"
I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.
I think that you'll find you end up dropping yourself rather than banning that person.
Selection is shared data.
edit:
What he does:
1. Checks the player names in a shared memory area for some exact names.
2. He sets an admin switch for that player (could use 1 death count, too).
3. If the player is admin and selects a flag to accidentially boot a player because it's the normal habit to click everything you see. (Selection is shared)
3a. Booted player's game ends in defeat, hopefully.
3b. Every non Windows user should desync with the one player booting because they don't have that condition true.
I guess that the non-Windows users do not desync because of that admin switch (I think it has been discovered that the states can be set to be different as long as no other actions follow because of that change).
Post has been edited 1 time(s), last time on Jul 17 2011, 3:35 pm by Ahli.
Ah, so he checks the names in 8 different locations, one for each player?
"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"