Could always play around with JNI and C oh the joys :P
Type: Posts; User: Freaky Chris
Could always play around with JNI and C oh the joys :P
Ye, but that requires being able to edit memory, which as far as im aware is not avaliable in Java thanks to its VM -evils-
Chris
Poor lmao, but its the only thing we have to work with really :( but i think doing small images that are probably like 100 pixels big wouldnt take much time at all, lets hope!
Chris
You have a thing about uploading code to repositories lol!
Another idea is, create an image of the section of the screen that surrounds each bat. using bot.createScreenCapture() then keep redoing...
Hehe I'm running Vista so I don't have the game :P you could try tracking the ball. So you always knew its location :) I think that is feasable
Chris
I can see your approach now, scan the pixels next to the bat and if the ball is there then hit it. Not a bad idea, I cant think of a better lol!
Sounds interesting :) without reading memory you don't really have a choice but to pixel read, but thats not exactly easy :P and your algorithm must be pretty complex as it is.
Chris