Thank you
Type: Posts; User: JordanCason
Thank you
all right i have built an application but now i wont to to make a interface for it instead of using the cmd how do I go about this?? any good books or tutorials you guys know of would be helpful....
Just searching in x1, y1 and x2, y2 for a pixel with a tolerance. so if you don’t mind I think that your code might help if you could post it or send it to me.
yes ill be changing the goto in a little bit but for now it works
Ok well pixel tolerance would work like.
If tolerance = 10 than find a pixel with that color that was specified or 10 shads different from that color.
I need a GetPixel tolerance code. Here’s is what I have for searching for a pixel.
int findcolor(int &x1, int &y1, int &x2, int &y2, unsigned int r, unsigned int g, unsigned int b, int &x,...
should this work
Sleep(rand(7000)%7000);
Sleep for 7000 + random 7000
its not working for me it the way, am doing this incorrect?
it doesen' t give me an error it just doesn't sleep as...
I’m trying to make to work smother for example it moves the courser from the top right of the screen to the bottom at an ok speed but when I do it the opposite way it’s to slow. Kind of like its...
does any one have a 2d game with the source code and all files so I can take a look at it to understand how it works
All ring guys see if you can help me out with this one I’m trying to move the courser form point x1,y1 to x2,y2 slowly like a human would move the mouse. I have developed some code that does this and...
hay wout would you guys say the best looping procedure is I here that goto loop; is hard to use curectly
ok thanks to all of you I understand this now : )
ya i have that code working and thank you vary much i can atleast do some googling and maby figure out what i need
i need a % of a millisecs like 0.4 and thats not working.
im trying to use 0.1 in Sleep(rand()%1); witch that code does work.
double Sleep(rand()%0.1);
invalid operands `int' and `double' to binary `operator %'
I get this error when I compile this so how do I use it corectly and also what does the % sign mean or y...
ok so the way i have it now it is returning true no matter what because it never returns 0
can some one leave an example of how it shoud be frased. thanks for you help i see how it works now anyway...
also if you guys coud answer this one
if (GetAsyncKeyState(VK_ESCAPE))
{
exit(0);
}
Now if I press the ESC button the then the program should stop right. But it seams to stop even when I...
thank you
all right I’m trying to convert this Pascal code to C++ witch i can do i just need help with 2 functions
here is the Pascal code
//Returns the amount Of pixels between a1, b1 And a2, b2
...
sorry maybe I’m saying this wrong but what I’m trying to get to happen if for x and y to be initialized from the first function into the main function. So I’m wonting the main function to return 100...
sorry the junk data
yes but dosent show up for this than. could you show me an example of how this should be? thanks
sorry not the right code here
#include <iostream>
#include <stdlib.h>
#include <windows.h>
int click(int x, int y)
{
mouse_event(MOUSEEVENTF_LEFTDOWN, x, y, 0, 0);
hay guys shat is happining here I dont understand
here is the code
int main(int x = 100, int y = 100)
{
cout << x << ", " << y << endl;
cin.ignore();
}
sorry stupid qustion
thaks for the answer above thow