#How do I interact with the code off terminal?
1 messages · Page 1 of 1 (latest)
<@&987246399047479336> please have a look, thanks.
While you are waiting for getting help, here are some tips to improve your experience:
If nobody is calling back, that usually means that your question was not well asked and hence nobody feels confident enough answering. Try to use your time to elaborate, provide details, context, more code, examples and maybe some screenshots. With enough info, someone knows the answer for sure.
Don't forget to close your thread using the command </help-thread close:1027500463647621170> when your question has been answered, thanks.
input string
click on game
press button
it types in game chatit stops
it doesnt stop and i press a button to kill it
i dont quite follow the whole scenario
could u eleborate or maybe show a screenshot or sth
yeah i dont know how to explain it
and what is a thingamajigs
so i want it to type for me, which i figured it out
what do u mean. type where and in what
but i can only make it type in the IDE because if i click off it i cant start the code
so i need to find a way to detect input while i am on the game
so then it can type
sth like minecraft?
yeah you could say
a fullscreen game
yes
so u want to write a bot?
but i cant turn the code on to type without turning the game off
yes bc u can only send into an application that u own and has focus
not easily elsewhere
u need to send global os key events to send elsewhere
but for text
with JNativehook
but note that what ur attempting is considered cheating and will in most games result in a ban
and it's easy for them to detect
its a silly thing for a game
im just saying. most games autodetect and autoban u when doing these things
no matter what ur intention is
but as said. get JNativehook and it works
its a gmod server and they want to physical training (IN GAME?) who do mess up. kind of like army stuff but not actually army. they want you to crouch (CTRL) and type like "One." I thought it would be quite fun to make something to automate that task. I already made the part of it that does One Two Three (etc)
alright ill use jnative hook
thank you for your help
u gotta check though. valve runs cheat detection in most of their games
its a roleplay server so
would be a pitty if u end up getting banned from valve servers just bc of that
nah they dont run valve ac
🤷♂️ u do whatever u want. but i warned u 👍