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.
[08:43 am]
TheHappy115 -- Yea, thats the issue. Thanks. It would also explain why my deleted map couldn't get updated. Updated version reduced collision on units (only thing added) since was dodging game (players collide with each other)
[05:26 am]
Ultraviolet -- If so, I'd just focus on getting them on scmscx.com and then you can link to that in the showcase thread for your maps
[05:25 am]
Ultraviolet -- I can't upload my EUD maps, I think the DLDB has some issue with handling them. Are you trying to upload EUD maps?
[02:06 am]
TheHappy115 -- Its been awhile but ever since I requested one of the Maps I posted to be deleted since I couldn't delete it myself (or update it), I haven't been able to upload any more maps. Any reason for that?
[2024-5-26. : 7:14 pm]
Kyradax -- Hi
[2024-5-26. : 5:05 pm]
O)FaRTy1billion[MM] -- :wob:
[2024-5-25. : 9:22 am]
Zycorax -- :wob:
[2024-5-23. : 3:50 pm]
Ultraviolet -- :wob:
[2024-5-23. : 6:26 am]
UndeadStar -- :wob:
[2024-5-22. : 6:10 am]
Riney -- Somethings never change.
Please log in to shout.


Members Online: Moose, Kyradax