SRL Archive - General Botting Help

help with war metal tyrant script


ogustuce

2014-02-18 12:44:44

nevermind, I figured it out =p

Brotein

2014-02-18 20:16:04

Haven't played the game, but can you say what needs improving? Is it slow, unreliable, etc?

ogustuce

2014-02-19 00:29:18

my major problem is detecting efficiently with failsafe the different 'ok' at the end of game and clicking them. here so images so u can make 'links' while reading the script. it shouldn't be too difficult because as far as I know the different 'ok' always appears at the same places.
Map

receive card

dialogue ( have to press ok a few times but the button always at same spot)

defeat

victory



what I tried at first to detect them is using 'countingcolortolerance' in 'boxed' on the screen to detect them but it doesn't alwat work.

Brotein

2014-02-19 10:27:08

Maybe you can create a mousebox for each "OK" button on each screen. If the "OK" button for each screen is in the same spot then you can just create a seperate mousbox for each one like dialog, victory, defeat, card. So you search for each DTM, if the DTM is found you click the mousebox. Or if there is an order to the screens in which they appear search the DTMs in that order than mousebox it.

ogustuce

2014-02-19 23:57:51

I've tried to use 'mousebox' already. altho I get a 'math error' when I start the script. idk why lol

Error: Out of Proc Range at line 430