Staredit Network > Forums > SC1 UMS Theory and Ideas > Topic: Detecting Keys Pressed (EUDs)
Detecting Keys Pressed (EUDs)
Feb 21 2009, 2:27 am
By: Morphling
Pages: < 1 2 3 47 >
 

Feb 21 2009, 7:42 pm Magicide Post #21

Sleeping wolves wake hungry.

Damn, if only set switch was one of those options.

You'd need nothing else.




Feb 21 2009, 7:46 pm Heinermann Post #22

SDE, BWAPI owner, hacker.

Quote from Morphling
Quote from Hug A Zergling
This must of taken forever! Good job! ^^
Thanks. I feel even better because it works in mulitplayer. ^^

That's impossible. This can't work in multiplayer. Keys aren't mapped for each player either.
Only action packets are sent between players, not key presses.




Feb 21 2009, 7:52 pm Morphling Post #23



Wormer and I might have found a way, but we need to test somemore. I'll post results when we are done.



None.

Feb 21 2009, 8:09 pm BlueWolf Post #24



heh. well ums melee maps could still be played with this no? So type poweroverwhelming, then display cheat enabled, just to mess with people. An April fools thing maybe.

On a serious note, single player maps could have the enter pass code to go to a place where you were last at. Err... sorry, my English is horrible.




None.

Feb 21 2009, 8:30 pm Heinermann Post #25

SDE, BWAPI owner, hacker.

Quote
Wormer and I might have found a way, but we need to test somemore. I'll post results when we are done.
No, you didn't. It's completely impossible. Unless of course the trigger is also client side, like Display Text. But something like that might interfere if you had other triggers running.

Modified list:
Code
Player #     Unit Id         Key         Deaths

1         1060         Unk*         1                 // Tab?
1         1060         Enter         256
1         1060         Unk*         65536
1         1060         Unk*         16777216
2         1060         Unk*         1
2         1060         Ctrl         256
2         1060         Alt             65536
2         1060         Unk*         16777216         // Another key modifier
3         1060         Caps Lock     1
3         1060         Unk*         256
3         1060         Unk*         65536
3         1060         Unk*         16777216
4         1060         Unk*         1
4         1060         Unk*         256
4         1060         Unk*         65536
4         1060         Esc             16777216
5         1060         Unk*         1
5         1060         Unk*         256
5         1060         Unk*         65536
5         1060         Unk*         16777216
6         1060         Space Bar     1
6         1060         Pg Up         256
6         1060         Pg Dn         65536
6         1060         End             16777216
7         1060         Home         1
7         1060         Left Arrow     256
7         1060         Up Arrow     65536
7         1060         Right Arrow     16777216
8         1060         Down Arrow     1
8         1060         Unk*         256
8         1060         Unk*         65536
8         1060         Unk*         16777216
9         1060         Unk*         1
9         1060         Insert         256
9         1060         Delete         65536
9         1060         Unk*         16777216
10         1060         0             1
10         1060         1             256
10         1060         2             65536
10         1060         3             16777216
11         1060         4             1
11         1060         5             256
11         1060         6             65536
11         1060         7             16777216
12         1060         8             1
12         1060         9             256
12         1060         :             65536
12         1060         ;             16777216    
1         1061         <             1
1         1061         =             256
1         1061         >             65536
1         1061         ?             16777216
2         1061         @             1
2         1061         A             256
2         1061         B             65536
2         1061         C             16777216
3         1061         D             1
3         1061         E             256
3         1061         F             65536
3         1061         G             16777216
4         1061         H             1
4         1061         I             256
4         1061         J             65536
4         1061         K             16777216
5         1061         L             1
5         1061         M             256
5         1061         N             65536
5         1061         O             16777216
6         1061         P             1
6         1061         Q             256
6         1061         R             65536
6         1061         S             16777216
7         1061         T             1
7         1061         U             256
7         1061         V             65536
7         1061         W             16777216
8         1061         X             1
8         1061         Y             256
8         1061         Z             65536
9         1061         Unk*         1
9         1061         Unk*         256
9         1061         Unk*         65536
9         1061         Unk*         16777216
10         1061         Unk*         1
10         1061         Unk*         256
10         1061         Unk*         65536
10         1061         Unk*         16777216
11         1061         Unk*         1
11         1061         Unk*         256
11         1061         Unk*         65536
11         1061         Unk*         16777216
12         1061         Unk*         1
12         1061         Unk*         256
12         1061         Unk*         65536
12         1061         Unk*         16777216


Original By Morph(U)@UsEast
Modified by Heinermann





Feb 21 2009, 8:30 pm Morphling Post #26



Okay. We finished testing. It didn't work. Our idea was using wait blocks and detecting when that happens to find the key pressed without dropping.



None.

Feb 21 2009, 8:31 pm Heinermann Post #27

SDE, BWAPI owner, hacker.

That "// Another key modifier" is probably Shift.




Feb 21 2009, 8:32 pm Morphling Post #28



Good job on fixing up my research.



None.

Feb 21 2009, 11:55 pm Falkoner Post #29



Someone edit Temple Siege and Custom Hero Wars and replace the building spell systems with this :P



None.

Feb 22 2009, 1:22 am Kaias Post #30



Morphling, you need to update the original post to state that it is single player only. You don't want to mislead people.


Quote from Morphling
Okay. We finished testing. It didn't work. Our idea was using wait blocks and detecting when that happens to find the key pressed without dropping.
And I told you this wouldn't work



None.

Feb 22 2009, 1:30 am Keirebu Post #31



Well, Its nice, But Fails for SP only.



None.

Feb 22 2009, 7:41 am Pyro682 Post #32



I think I might be able to convert these Key presses into actions, thus allowing them to be useful for multiplayer.... but im very new to the idea, so I don't know.

Post has been edited 1 time(s), last time on Feb 22 2009, 7:47 am by Pyro682.



None.

Feb 22 2009, 4:31 pm Heinermann Post #33

SDE, BWAPI owner, hacker.

Not possible.




Feb 22 2009, 9:57 pm Morphling Post #34



Quote from Kaias
Morphling, you need to update the original post to state that it is single player only. You don't want to mislead people.
Okay. Sorry, I forgot to change it back.



None.

Feb 22 2009, 10:37 pm Vi3t-X Post #35



Does it detect unicode keys? :P

Actually, would it work on foriegn StarCraft sets? Example, the equivilant of "A" in Korean (as in, you press A on a US keyboard in Korean starcraft).



None.

Feb 23 2009, 12:22 am stickynote Post #36



Quote
except display text, set leaderboard, play wav, mute, and unmute.
Are those the only ones?
Maybe we could try to find an EUD that detects if it is mute or unmuted.
However, a solution that might work is using it in conjunction with a text-detecting EUD. You woulnd't have to detect the username. You could just display the character that the player entered, immediately clear the screen(is that even possible?) when the text-detection is triggered.



None.

Feb 23 2009, 12:30 am Kaias Post #37



Quote from stickynote
Quote
except display text, set leaderboard, play wav, mute, and unmute.
Are those the only ones?
Maybe we could try to find an EUD that detects if it is mute or unmuted.
However, a solution that might work is using it in conjunction with a text-detecting EUD. You woulnd't have to detect the username. You could just display the character that the player entered, immediately clear the screen(is that even possible?) when the text-detection is triggered.
That won't work either, it'd result in drop either way.



None.

Feb 23 2009, 12:50 am Elvang Post #38



The only keys it seems you can't detect are F1-F4 and Prt Scr. The attached map will detect everything including multimedia keys. Minerals = Trigger Number.

Attachments:
All Keys.scm
Hits: 34 Size: 48.89kb



None.

Feb 23 2009, 1:19 am Rantent Post #39



The new cool way to insta-ban everyone...

And you say you can use it to set leaderboard, judging how there is no "Set Leaderboard" action, I'm wondering which action your talking about...



None.

Feb 23 2009, 1:23 am Morphling Post #40



Quote from Rantent
The new cool way to insta-ban everyone...

And you say you can use it to set leaderboard, judging how there is no "Set Leaderboard" action, I'm wondering which action your talking about...
Sorry I meant leaderboard. But really you couldn't tell set leaderboard is leaderboard.



None.

Options
Pages: < 1 2 3 47 >
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2024-5-02. : 1:19 pm]
Vrael -- IM GONNA MANUFACTURE SOME SPORTBALL EQUIPMENT WHERE THE SUN DONT SHINE BOY
[2024-5-02. : 1:35 am]
Ultraviolet -- Vrael
Vrael shouted: NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
Gonna put deez sportballs in your mouth
[2024-5-01. : 1:24 pm]
Vrael -- NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
[2024-4-30. : 5:08 pm]
Oh_Man -- https://youtu.be/lGxUOgfmUCQ
[2024-4-30. : 7:43 am]
NudeRaider -- Vrael
Vrael shouted: if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
Yeah I'm not a big fan of Westernhagen either, Fanta vier much better! But they didn't drop the lyrics that fit the situation. Farty: Ich bin wieder hier; nobody: in meinem Revier; Me: war nie wirklich weg
[2024-4-29. : 6:36 pm]
RIVE -- Nah, I'm still on Orange Box.
[2024-4-29. : 4:36 pm]
Oh_Man -- anyone play Outside the Box yet? it was a fun time
[2024-4-29. : 12:52 pm]
Vrael -- if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
[2024-4-29. : 11:17 am]
Zycorax -- :wob:
[2024-4-27. : 9:38 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider sing it brother
trust me, you don't wanna hear that. I defer that to the pros.
Please log in to shout.


Members Online: Roy