SRL Archive - OSR Help

if loggedin?


iridektm

2012-02-12 23:59:27

I'm making a really, really simple thieving script
that basicly thieves by clicking on a color
found on a stall, and logs back in if logged out.
How can I make a procedure to check
if it's logged out. The screen logged out looks like (below).
Can i use colors or something to see if its logged out.




Also how can i make a procedure to find this color (as show in pic below), move mouse to it. then left click it, Thanks a ton - Andy.

Kyle Undefined

2012-02-13 00:03:19

if(not(LoggedIn))then

There's already a function :)

RyGuy

2012-02-13 00:51:52

From: Kyle Undefined
if(not(LoggedIn))then

There's already a function :)


I think he is trying to make a script for a private server.

riwu

2012-02-13 06:38:12

you can use color to detect login page but make sure the color u choose do not conflict with the thieving area. (eg. if FindColorTolerance then LoginPlayer)
you can also use FindColor/FindColorTolerance for clicking. If you need a guide for that refer to http://villavu.com/forum/showthread.php?t=19162 (scroll down to the "Clicking Colours" part)