22 Replies - 476 Views - Last Post: 14 May 2012 - 06:13 PM
#1
How to make my program compatible with the software?
Posted 10 May 2012 - 02:33 PM
Hello... im new in programming in C++ and i have a lot of questions...
Sorry for create multiple topics but i think that this question have to be in other topic.
My problem is that i created a code that works in win32 console win c++ lenguaje and i want to use that code in a game.
So the problem is that when i run the .exe i created works only in some softwares.
Works in Firefox, chrome, block text, etc. But i want my program work in a game.
There is a way to make my program compatible to work when im plating my game?
Thanks and sorry again form my english.
Replies To: How to make my program compatible with the software?
#2
Re: How to make my program compatible with the software?
Posted 10 May 2012 - 02:36 PM
#3
Re: How to make my program compatible with the software?
Posted 10 May 2012 - 02:39 PM
#4
Re: How to make my program compatible with the software?
Posted 10 May 2012 - 02:42 PM
#5
Re: How to make my program compatible with the software?
Posted 10 May 2012 - 02:44 PM
#6
Re: How to make my program compatible with the software?
Posted 10 May 2012 - 02:48 PM
#7
Re: How to make my program compatible with the software?
Posted 10 May 2012 - 02:48 PM
how exactly do you want it to "run" inside this game?
This post has been edited by ishkabible: 10 May 2012 - 02:48 PM
#8
Re: How to make my program compatible with the software?
Posted 10 May 2012 - 03:23 PM
modi123_1, on 10 May 2012 - 02:48 PM, said:
Yes, but rigth now the game is of line, when the game turn on again i will give you the TOS (i think is in spanish, but i will try to find the TOS in english)
ishkabible, on 10 May 2012 - 02:48 PM, said:
how exactly do you want it to "run" inside this game?
Yes, my programs work like this:
is a Macro in the Mouse...
when i press the rigth click in the mouse... a keyboard event simulate like i press the 'A' key... so when im in firefox, chrome or block text (the file with .txt extension) if a press the rigth click on my mouse, simulate like if i press the 'a' button of the keyboard.
Yes is a C++ program.
What i want is that when i'm playing the game, my macro work as same as it works in firefox, chrome, .txt file, etc...
But when i'm in the game the macro doesn't works...
the finish idea:
I made a program with C++.
the program works in some programs in my computer but it doesn't work in the game. So i want that my program works in the game too.
Sorry, im not good in english
#9
Re: How to make my program compatible with the software?
Posted 14 May 2012 - 12:22 PM
modi123_1, on 10 May 2012 - 02:48 PM, said:
Now the page is online...
here is the TOS http://imperiumao.co...inos-de-uso.php
But is in spanish... Are u looking for something in the TOS? Maybe i can find it for you so you can help me...
Any help?
thanks!
#10
Re: How to make my program compatible with the software?
Posted 14 May 2012 - 12:31 PM
#11
Re: How to make my program compatible with the software?
Posted 14 May 2012 - 12:34 PM
#12
Re: How to make my program compatible with the software?
Posted 14 May 2012 - 12:37 PM
Quote
obtener una ventaja frente a otros JUGADORES deberá ser advantage over other players must be
reportado y será considerado un "bug". reported and will be considered a "bug". El no reportarlo He did not report it
o continuar en su abuso finalizará en penas graves. or continue their abuse will end in severe penalties.
6. 6. Se encuentra TERMINANTEMENTE PROHIBIDA la It is strictly prohibited
utilización de cualquier programa no provisto por el no use of any software provided by the
STAFF a fin de sacar algún tipo de ventaja sobre los STAFF in order to draw some kind of advantage over
otros JUGADORES, a quien infrinja esto le corresponderá other players, who violates this will correspond
una sanción que podrá ser aplicada por un STAFF. a penalty may be applied by an STAFF.
#13
Re: How to make my program compatible with the software?
Posted 14 May 2012 - 01:02 PM
aresh, on 14 May 2012 - 12:31 PM, said:
while (i!=0){
if (GetAsyncKeyState(VK_RBUTTON)){
keybd_event(VkKeyScan('A'),0x9e,0 , 0); // ‘A’ Press
keybd_event(VkKeyScan('A'),0x9e, KEYEVENTF_KEYUP,0); // ‘A’ Release
printf ("Se preciono la tecla 'A'\n");
Sleep(150);
keybd_event(VK_ESCAPE,0x1B,0 , 0); // ‘ESC’ Press
keybd_event(VK_ESCAPE,0x1B,KEYEVENTF_KEYUP,0); // ‘ESC’ Release
}
if (GetAsyncKeyState(VK_MBUTTON)){
keybd_event(VK_F3,0,0 , 0); // ‘A’ Press
keybd_event(VK_F3,0, KEYEVENTF_KEYUP,0); // ‘A’ Release
printf ("Se preciono la tecla 'F3'\n");
Sleep(150);
keybd_event(VK_ESCAPE,0x1B,0 , 0); // ‘ESC’ Press
keybd_event(VK_ESCAPE,0x1B,KEYEVENTF_KEYUP,0); // ‘ESC’ Release
}
}
That is my code...
Only makes 2 macros... When i press rigth click, the letter 'A' is pressed.
When i press Middle click, The letter 'F3' is pressed.
ButchDean, on 14 May 2012 - 12:34 PM, said:
modi123_1, on 14 May 2012 - 12:37 PM, said:
Quote
obtener una ventaja frente a otros JUGADORES deberá ser advantage over other players must be
reportado y será considerado un "bug". reported and will be considered a "bug". El no reportarlo He did not report it
o continuar en su abuso finalizará en penas graves. or continue their abuse will end in severe penalties.
6. 6. Se encuentra TERMINANTEMENTE PROHIBIDA la It is strictly prohibited
utilización de cualquier programa no provisto por el no use of any software provided by the
STAFF a fin de sacar algún tipo de ventaja sobre los STAFF in order to draw some kind of advantage over
otros JUGADORES, a quien infrinja esto le corresponderá other players, who violates this will correspond
una sanción que podrá ser aplicada por un STAFF. a penalty may be applied by an STAFF.
There is not violation of the TOS. i asked in the forum of the game, and moderators and admin tell us is not prohibided the use of macros... there are a lot of users that have Gammer mouses to play that game with macros... so since i don't have the money to buy i gamming mouse becouse they cost too much money i want to use my code...
ass you can see, in this Topic in the Official Forum of the game http://www.imperiumg...534/index2.html
asks if is legal to use macros and in the page 2, the Admin and the creator of the game said
Quote
Cerrado."
In english:
Quote
#14
Re: How to make my program compatible with the software?
Posted 14 May 2012 - 01:34 PM
http://blogs.msdn.co.../15/576758.aspx
#15
Re: How to make my program compatible with the software?
Posted 14 May 2012 - 03:09 PM
|
|

New Topic/Question
This topic is locked



MultiQuote










|