You are viewing our Forum Archives. To view or take place in current topics click here.
C# Please Help!!!!! Will REP!
Posted:
C# Please Help!!!!! Will REP!Posted:
Status: Offline
Joined: Jul 28, 201014Year Member
Posts: 167
Reputation Power: 6
hi im still a bit new to C# and i am now working on a trainer for Portal (game)
and i want to do the following.
i will explain it.
i have a label with a console cmd in it and i want it to press the console key "~" and type the label ONCE! in less than a second!
so it basicly types a label if i press F5. do i need timer/s if so how many and what is the script i could use? if you help me i WILL +rep, thank, and put your name/ttg in the credits (when i release it)(only if u want me too) if this post is still alive (lol portal song) i will post a download link to it!
eg,
"~" "god" "Enter" "~"
also the "god" is a label (without the quotes)
the ""s seperate what i want to happen
~=console cmd key
god=option for trainer
Enter= enter key
~=console again
i hope that makes sense
thanks,
--
mfish56
and i want to do the following.
i will explain it.
i have a label with a console cmd in it and i want it to press the console key "~" and type the label ONCE! in less than a second!
so it basicly types a label if i press F5. do i need timer/s if so how many and what is the script i could use? if you help me i WILL +rep, thank, and put your name/ttg in the credits (when i release it)(only if u want me too) if this post is still alive (lol portal song) i will post a download link to it!
eg,
"~" "god" "Enter" "~"
also the "god" is a label (without the quotes)
the ""s seperate what i want to happen
~=console cmd key
god=option for trainer
Enter= enter key
~=console again
i hope that makes sense
thanks,
--
mfish56
#2. Posted:
Status: Offline
Joined: Jul 28, 201014Year Member
Posts: 167
Reputation Power: 6
cmon please guys!?!?!?
- 0useful
- 0not useful
#3. Posted:
Status: Offline
Joined: Oct 07, 201014Year Member
Posts: 247
Reputation Power: 9
Status: Offline
Joined: Oct 07, 201014Year Member
Posts: 247
Reputation Power: 9
Your gonna have to get a handle on the Portal window and use SendKeys to send they keys you want to the program. And if you're trying to make it run in the background while playing portal your gonna have to find a keyboard hook. And no one here will tell you how to make a keyboard hook.
- 0useful
- 0not useful
#4. Posted:
Status: Offline
Joined: Aug 21, 201113Year Member
Posts: 28
Reputation Power: 5
ODST_107 wrote Your gonna have to get a handle on the Portal window and use SendKeys to send they keys you want to the program. And if you're trying to make it run in the background while playing portal your gonna have to find a keyboard hook. And no one here will tell you how to make a keyboard hook.
[ Register or Signin to view external links. ]
The keycode for f5 is 74 so
if key == 74 then ....
Best of luck
- 0useful
- 0not useful
#5. Posted:
Status: Offline
Joined: Jul 28, 201014Year Member
Posts: 167
Reputation Power: 6
what is a key-hook? and why won't anyone teach me how to do it on ttg?
- 0useful
- 0not useful
#6. Posted:
Status: Offline
Joined: Aug 21, 201113Year Member
Posts: 28
Reputation Power: 5
mfish56 wrote what is a key-hook? and why won't anyone teach me how to do it on ttg?
Keyhooks can be used for good and evil. Sadly more people use them for evil than good. If you are interested Wiki is your friend.
- 0useful
- 0not useful
#7. Posted:
Status: Offline
Joined: Jul 28, 201014Year Member
Posts: 167
Reputation Power: 6
Lego wrotemfish56 wrote what is a key-hook? and why won't anyone teach me how to do it on ttg?
Keyhooks can be used for good and evil. Sadly more people use them for evil than good. If you are interested Wiki is your friend.
what are the capabilities of them?
also the link u sent me didn't make any sense lol
- 0useful
- 0not useful
#8. Posted:
Status: Offline
Joined: Apr 16, 201014Year Member
Posts: 4,309
Reputation Power: 179
Status: Offline
Joined: Apr 16, 201014Year Member
Posts: 4,309
Reputation Power: 179
mfish56 wroteLego wrotemfish56 wrote what is a key-hook? and why won't anyone teach me how to do it on ttg?
Keyhooks can be used for good and evil. Sadly more people use them for evil than good. If you are interested Wiki is your friend.
what are the capabilities of them?
also the link u sent me didn't make any sense lol
People use hooks to track what people write into boxes.
- 0useful
- 0not useful
You are viewing our Forum Archives. To view or take place in current topics click here.