Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: EUD/EPD Question.
EUD/EPD Question.
Jul 11 2011, 11:40 am
By: Alerek  

Jul 12 2011, 2:19 am Alerek Post #21



Quote from O)FaRTy1billion[MM]
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.

Quote
//-----------------------------------------------------------------//

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.

Jul 12 2011, 2:26 am O)FaRTy1billion[MM] Post #22

👻 👾 👽 💪

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!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

Jul 12 2011, 2:34 am Alerek Post #23



Quote from O)FaRTy1billion[MM]
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.

Jul 17 2011, 1:14 pm rockz Post #24

ᴄʜᴇᴇsᴇ ɪᴛ!

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?"

Jul 17 2011, 1:54 pm Ahli Post #25

I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.

Quote from rockz
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.




Jul 18 2011, 3:07 am rockz Post #26

ᴄʜᴇᴇsᴇ ɪᴛ!

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?"

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[12:34 pm]
NudeRaider -- curiosity kills the cat!
[06:18 am]
Sylph-Of-Space -- No complaints here, i'm just curious!
[11:05 pm]
Ultraviolet -- :wob:
[2024-5-18. : 3:55 pm]
Zoan -- :wob:
[2024-5-18. : 10:34 am]
NudeRaider -- SEN doesn't rely on spammers initiate its sleep cycle. It hat fully automated rest and clean-up phases. Please understand that this is necessary for the smooth operation of the site. Thank you.
[2024-5-18. : 3:45 am]
Sylph-Of-Space -- Does the shoutbox get disabled when there's spammers?
[2024-5-17. : 6:47 am]
NudeRaider -- lil-Inferno
lil-Inferno shouted: nah
strong
[2024-5-17. : 5:41 am]
Ultraviolet -- 🤔 so inf is in you?
[2024-5-17. : 4:57 am]
O)FaRTy1billion[MM] -- my name is mud
[2024-5-17. : 4:35 am]
Ultraviolet -- mud, meet my friend, the stick
Please log in to shout.


Members Online: Roy