Tanner Toyas

Greenhorn
+ Follow
since Sep 30, 2006
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Tanner Toyas

By on windows I mean like on the desktop or regular stuff that uses the normal cursor. The game uses a seperate cursor which I have to control but cant. Its not my code thats a problem, its whether there is a command that can move the game cursor to the coordinate specified rather then screwing up somwhere along the way. I think the game has a different coordinate system which is why its doing this. Im trying to use mouseMove(x,y) which dosent seem like a good way to move the game mouse.
17 years ago
This is a java application and I have been having this problem with another programming language so I decided to re-program the whole thing hoping it would work in java but i get the same problem. Heres the problem...

I want to move the mouse in a FullScreen game to a specified coordinate. On windows it works fine and moves the mouse, but when I go into the game it moves the mouse, but in some random direction like straight up, or straight down. What is causing this problem? Its driving me nuts and I have wasted way way to many hours trying to solve this! Thanks Alot!
17 years ago
ok thanks. Ok I did what I needed to using somthing that I should have used in the beggining but didnt find it. Its called getPixelColor and did exactly what I wanted to do with like 3 easy lines of code. None of this freaking screenshotting junk.

Now I have a question. I searched for a few hours but couldnt come accross anything usefull. How can I make a hotkey so when I press it, it goes into the infinite loop, and when I press it again it breaks out. I couldnt get the keylistener stuff working. This is an Application. Anyone want to give me some code samples? Thanks!

Also, here is my code and its running to slow, any way to make it run faster?





I need that delay there otherwise it laggs really bad and ends up going even slower.

Thanks!
17 years ago
Any help? This is pretty important. Thanks
17 years ago
Ok, I found this script and did some research and i think I have some of it right...



What im trying to do is, make it search a 10x10 square right in the middle of my screen and print out the color. Im not sure how to print the color or anything like that. I have absolutly no expierience with the Robot class or try statments so im learning. THanks
17 years ago
Ok sorry about that, Fixed now. Any suggestions to fixing this problem? Thanks
17 years ago
heres what i want to do. No matter what window i am in, I want it to give me the pixil color thats right in the middle of my screen. How can i do this with the image parameter? I am not doing this on a specific thing so the image parameter has to go but i dont know how to fix that. Heres my code, tell me if this is alright.


Thanks
17 years ago