Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Detecting player accounts
Detecting player accounts
Mar 29 2022, 7:24 am
By: GGmano  

Mar 29 2022, 7:24 am GGmano Post #1

Mr.Pete-Tong

Hi i wanted to know if its possible to detect a player account name with eud triggers?



A Legendary Map Maker, Player. Apparently im more than intresting to observe Irl

Ill try do my best in making all youre watchers happy

The maps I made are tweaked into perfection and maximum strategy added

Mar 29 2022, 8:48 am Oh_Man Post #2

Find Me On Discord (Brood War UMS Community & Staredit Network)

I'm not sure what you mean by detect, as in a condition? But, as shown below, with an action you can display the player's name a a displaytextmessage via ctext with EUD.

Failed to get ImageSize ( http://imgur.com/a/JxAlNJr )
https://imgur.com/a/JxAlNJr




Mar 29 2022, 10:02 am GGmano Post #3

Mr.Pete-Tong

As in a trigger condition.

trigger start
All players-

condition

current player has player account name GGmano#?

action

Give current player 10 minerals

give foes 100 minerals

display text msg for all players: Because GGmano is good all players are given an extra amount of minerals
trigger end



if you can output a player name in an action you must be able to detect it in condition too right?



A Legendary Map Maker, Player. Apparently im more than intresting to observe Irl

Ill try do my best in making all youre watchers happy

The maps I made are tweaked into perfection and maximum strategy added

Mar 29 2022, 11:15 am Oh_Man Post #4

Find Me On Discord (Brood War UMS Community & Staredit Network)

Could use this entry:

http://farty1billion.dyndns.org/euddb/?pg=entry&id=195

And the Memory condition but you would have to test for yourself to see if it works. GL with your map rigging career lul




Mar 29 2022, 12:46 pm GGmano Post #5

Mr.Pete-Tong

not sure how id use that entry and it says not supported by remaster.. but it makes me think theres a way with EE3 thanks alot ohh man..

I could use this for sharing special designed maps for friends to solve quest aswell etc could use for many things.. but yeah giving players extras is an idea


btw ohh man id like youre input on this one question about an airstrike spell in my rpg

Lol yeah what a secret way of rigging maps in some players favor xd not a good thing for the wrong persons ;) and you cant not watch the replay to discover the cheat how nice. but would be passed my manner or lust.. the he made map win excuse would be legit kinda especialy cause im making pvp maps.. fairness and balance is the only good way for me when i make my maps. adding cheats is not what im looking for, i have plenty of skills to do without such ones.

Post has been edited 1 time(s), last time on Mar 29 2022, 9:11 pm by GGmano.



A Legendary Map Maker, Player. Apparently im more than intresting to observe Irl

Ill try do my best in making all youre watchers happy

The maps I made are tweaked into perfection and maximum strategy added

Mar 29 2022, 2:26 pm Roy Post #6

An artist's depiction of an Extended Unit Death

Detecting player name is one of the features of my old EUDGen project. From the program:

Detect GGmano
Trigger("All Players"){
Conditions:
    Memory(-11551, At Least, 1191182336);
    Memory(-11551, At Most, 1207959551);
    Memory(-11550, Exactly, 1851878727);
    Memory(-11549, Exactly, 111);

Actions:
    Comment("IF Player 1 has name: GGmano");
}

//-----------------------------EUDGen-----------------------------//

Trigger("All Players"){
Conditions:
    Memory(-11542, At Least, 1191182336);
    Memory(-11542, At Most, 1207959551);
    Memory(-11541, Exactly, 1851878727);
    Memory(-11540, Exactly, 111);

Actions:
    Comment("IF Player 2 has name: GGmano");
}

//-----------------------------EUDGen-----------------------------//

Trigger("All Players"){
Conditions:
    Memory(-11533, At Least, 1191182336);
    Memory(-11533, At Most, 1207959551);
    Memory(-11532, Exactly, 1851878727);
    Memory(-11531, Exactly, 111);

Actions:
    Comment("IF Player 3 has name: GGmano");
}

//-----------------------------EUDGen-----------------------------//

Trigger("All Players"){
Conditions:
    Memory(-11524, At Least, 1191182336);
    Memory(-11524, At Most, 1207959551);
    Memory(-11523, Exactly, 1851878727);
    Memory(-11522, Exactly, 111);

Actions:
    Comment("IF Player 4 has name: GGmano");
}

//-----------------------------EUDGen-----------------------------//

Trigger("All Players"){
Conditions:
    Memory(-11515, At Least, 1191182336);
    Memory(-11515, At Most, 1207959551);
    Memory(-11514, Exactly, 1851878727);
    Memory(-11513, Exactly, 111);

Actions:
    Comment("IF Player 5 has name: GGmano");
}

//-----------------------------EUDGen-----------------------------//

Trigger("All Players"){
Conditions:
    Memory(-11506, At Least, 1191182336);
    Memory(-11506, At Most, 1207959551);
    Memory(-11505, Exactly, 1851878727);
    Memory(-11504, Exactly, 111);

Actions:
    Comment("IF Player 6 has name: GGmano");
}

//-----------------------------EUDGen-----------------------------//

Trigger("All Players"){
Conditions:
    Memory(-11497, At Least, 1191182336);
    Memory(-11497, At Most, 1207959551);
    Memory(-11496, Exactly, 1851878727);
    Memory(-11495, Exactly, 111);

Actions:
    Comment("IF Player 7 has name: GGmano");
}

//-----------------------------EUDGen-----------------------------//

Trigger("All Players"){
Conditions:
    Memory(-11488, At Least, 1191182336);
    Memory(-11488, At Most, 1207959551);
    Memory(-11487, Exactly, 1851878727);
    Memory(-11486, Exactly, 111);

Actions:
    Comment("IF Player 8 has name: GGmano");
}

//-----------------------------EUDGen-----------------------------//


Keep in mind string detection is case-sensitive.




Mar 29 2022, 5:36 pm GGmano Post #7

Mr.Pete-Tong

nice roy i have youre eud gen tool so ill check it out.. nice tool btw but some of the stuff dont work with ee3 i hope this does tho. I used youre key press detection roy from eud gen and that one works with ee3 compiling as far i recall, not fully sure.



A Legendary Map Maker, Player. Apparently im more than intresting to observe Irl

Ill try do my best in making all youre watchers happy

The maps I made are tweaked into perfection and maximum strategy added

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[07:46 am]
RIVE -- :wob:
[2024-4-22. : 6:48 pm]
Ultraviolet -- :wob:
[2024-4-21. : 1:32 pm]
Oh_Man -- I will
[2024-4-20. : 11:29 pm]
Zoan -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
You should do my Delirus map too; it's a little cocky to say but I still think it's actually just a good game lol
[2024-4-20. : 8:20 pm]
Ultraviolet -- Goons were functioning like stalkers, I think a valk was made into a banshee, all sorts of cool shit
[2024-4-20. : 8:20 pm]
Ultraviolet -- Oh wait, no I saw something else. It was more melee style, and guys were doing warpgate shit and morphing lings into banelings (Infested terran graphics)
[2024-4-20. : 8:18 pm]
Ultraviolet -- Oh_Man
Oh_Man shouted: lol SC2 in SC1: https://youtu.be/pChWu_eRQZI
oh ya I saw that when Armo posted it on Discord, pretty crazy
[2024-4-20. : 8:09 pm]
Vrael -- thats less than half of what I thought I'd need, better figure out how to open SCMDraft on windows 11
[2024-4-20. : 8:09 pm]
Vrael -- woo baby talk about a time crunch
[2024-4-20. : 8:08 pm]
Vrael -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
so that gives me approximately 27 more years to finish tenebrous before you get to it?
Please log in to shout.


Members Online: Ultraviolet