01 Sep, 2011, boblinski wrote in the 1st comment:
Votes: 0
This is actually to do with automating a dungeon crawler visual game, not anything to do with mud. But you all have helped me many times, and I imagine your knowledge spreads to this sort of stuff also.

I am using a program called AutoIt to create a peice of script, which can be compiled and run to then preform things like mouseclicks, mouse movements, Pixel Color detections(to then make IF checks etc) and keyboard strokes etc.

I have a little script:
Sleep(4000)
MouseClick("left",816,688,2)
sleep(1000)
MouseClick("left",816,200,2)

This is simply-
wait for 4 seconds,
move the mouse to position 816,688 and do a double left click
wait 1 second
move the mouse to position 816,200 and do a double left click

It all works fine if I leave it on a normal windows application.. but if I change to the game (Linkrealms) then it stops moving the mouse and doesn't do any clicks etc.

I believe the game is written in some combination of Java, C++ and Delphi (or maybe delphi is a combo of c++ and java? not sure sorry).

I am running windows 7.(64bit)

Any other things I need to tell you, let me know.

Thanks,
Bob.
01 Sep, 2011, Runter wrote in the 2nd comment:
Votes: 0
if the game lets you run it in windowed mode, try that.
01 Sep, 2011, boblinski wrote in the 3rd comment:
Votes: 0
Runter said:
if the game lets you run it in windowed mode, try that.


It's always run in a window mode.. I can always see the task bar, system tray, start menu etc. And the game window has the minimise, expand and exit thing at the top right.
Random Picks
0.0/3