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.
[05:24 pm]
Vrael -- CUT IT OUT
[05:24 pm]
Vrael -- HEY STOP BEING NICE
[05:01 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: actually I am mad after all, looks like you're gonna have to follow through
didn't I by posting the note?
[04:59 pm]
Ultraviolet -- actually I am mad after all, looks like you're gonna have to follow through
[04:59 pm]
Ultraviolet -- :lol:
[04:46 pm]
NudeRaider -- damn, and here I was prepared and got chatgpt to rephrase it a bunch of times for more people to join the bandwagon. :D https://anotepad.com/notes/7fk84xef
[04:33 pm]
Ultraviolet -- lol it's fine, I was just being sassy :P
[03:19 pm]
Vrael -- maybe my browser window didnt update or something funky
[03:19 pm]
Vrael -- lol sry UV, I must not have read that? I couldve sworn I was the next person to say something after CAFG but clearly based on timestamps I was 4 hours later
[03:18 pm]
Vrael -- :teach:
Please log in to shout.


Members Online: RIVE, Roy