and I got these results:
Problem: you cannot get pixel color from AL window (always will get 0,0,0 (RGB) if I remember correctly)
Way around: use robot* to get ss and read pixel in that ss
Problem: u cannot send keystrokes using Java to AL even
Way around: use onscreen keyboard (integrated in windows and can send keystrokes) and use robot* to move the mouse and click it
Problem: using ss u need to know position of AL window + your screen resolution to get the pixel u need
Way around 1: use static positions (i.e. run AL in windows mode and don't move it... if your screen res is *** then mob life will be at *** and so on for different resolutions)
Way around 2: use timer to set how long it will take to kill mob and after that time ends just switch to another without checking if this one is dead) - this one is stupid but easy to implement
*robot - Java class
and some other problems in e.g. how to stop bot (it will move mouse to click onscreen keyboard and Java is not listening for pressed key if window is not selected)
what is good that it's almost impossible to detect (remember that Java is running in JVM)- so this bot would be for ever
what is bad: Java
that do you think? who wants to start coding :P






