SRL Archive - OSR Help

Bot detect spell active how to?


Syntax

2012-12-01 04:24:54

I have been fixing up a old broken script, I've almost finished and ready to release it to the community. However The problem I'm having is the bot detecting its on the misc. tab on the magic book heres an example:


I need it to stay on that tab and for it to detect when it's not active. Could anybody help me out really appreciate it :D
Thank you.

litoris

2012-12-01 04:30:46

Make a DTM that has points on a few visible spells. If the DTM is not found, the tab is not active.

J J

2012-12-01 04:39:22

From: litoris
Make a DTM that has points on a few visible spells. If the DTM is not found, the tab is not active.

This ,or counting the amount of blue colors of the edges using CountColorTolerance

Syntax

2012-12-01 04:45:28

From: J J
This ,or counting the amount of blue colors of the edges using CountColorTolerance


This worked <3 you :D

Laimonas171

2012-12-01 04:52:52

From: J J
This ,or counting the amount of blue colors of the edges using CountColorTolerance


IDk, how this works,
but he want alch subtab open. though

they all are blue, you At inv you get the same amount of blue.

EDIT: silly me. Need to use not inventory cords but alch skill tab position coords :X