Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > C/C++
You last visited: Today at 11:46

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Read a custom hotkey from file

Discussion on Read a custom hotkey from file within the C/C++ forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Nov 2012
Posts: 24
Received Thanks: 3
Read a custom hotkey from file

hi ,

how do i read a custom hotkey from file? something like:

[Hotkey]
key = 0x30

pechgeh is offline  
Old 01/27/2018, 12:15   #2
 
elite*gold: 0
Join Date: Jan 2018
Posts: 14
Received Thanks: 1
geh mal genauer darauf ein um was es geht. wo liegt die file?
meinst du eine liste mit hotkeys?
Rainero Winklero is offline  
Thanks
1 User
Old 01/27/2018, 15:02   #3
 
elite*gold: 0
Join Date: Nov 2012
Posts: 24
Received Thanks: 3
Quote:
Originally Posted by Rainero Winklero View Post
geh mal genauer darauf ein um was es geht. wo liegt die file?
meinst du eine liste mit hotkeys?
Es geht um WINAPI DLL process injection. Der Code wird nach der Injektion ausgeführt.

Die .cfg Datei liegt immer dort, wo sich die DLL momentan befindet.

Jetzt will ich nach der DLL injection aus der Config.cfg Datei einen benutzerdefinierten Hotkey auslesen. in der cfg datei sieht es so aus:

[HOTKEY]
key = 0x30

Hier kann man die ganzen Virtual-Keys nachschauen:


Die "0x30" wird ausgelesen und in einer Variable "key" gespeichert.
-->
Mit der key variable kann ich es dann so einfügen

Quote:
//Send key down
keybd_event(key, 0, 0, 0);

//send key up
keybd_event(key, 0, KEYEVENTF_KEYUP, 0);
Ich hoffe ich habe es verständlich geschrieben
pechgeh is offline  
Old 01/27/2018, 20:28   #4
 
Dr. Coxxy's Avatar
 
elite*gold: 0
Join Date: Feb 2011
Posts: 1,206
Received Thanks: 736




rest musste selber hinkriegen
Dr. Coxxy is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
★Hotkey Creator★ Create your own hotkey executing your preferred action
05/01/2015 - Coding Releases - 2 Replies
Deutsch Ich möchte dir meinen Hotkey Creator v 1.0 vorstellen, mit welchem es möglich ist, eigene hotkeys zu definieren, die eine von dir ausgewählte Aktion ausführen. Mögliche Aktionen: - Webseite öffnen - Programm oder Dokument ausführen - Aktives Fenster verstecken - Pfad öffnen - Bildschirm sperren
[BETA]Beta-Max Online ~ 120 CAP ~ D13 ~ Custom Events ~ Custom Quests ~ Custom Areas
03/25/2012 - SRO PServer Advertising - 109 Replies
Hello there, I would like to announce the BETA opening of Astro Server, We are here for the community not for competition. We don't care if we are #1 or #1001. The BETA will last one week, to find any small bugs that may still exist. During this time users will receive 5000 Wonga as soon as you register this is part of the BETA test. Also users will be rewarded for helping when we go live, Which you can find more information on this at the forum. Please be aware after the BETA ends...
Beta-Max Online ~ 120 CAP ~ D13 ~ Custom Events ~ Custom Quests ~ Custom Areas
03/19/2012 - SRO PServer Advertising - 6 Replies
Fantastic Server. If reliablility is what you want then Beta-Max is for you. Unique PVP Battles - Pets - Items - Quests - Jobs - Wonga and so much more Server Details: Level Cap: 120 Skill Cap: 120 Chinese Mastery Cap: 360 European Mastery Cap: 240 Item Degree: 13th Degree Active Areas: All (Including Jupiter)



All times are GMT +1. The time now is 11:46.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.