SRL Archive - OSR Help

How does this even make sense..


yamahablasta

2014-02-26 15:19:41

I'm trying to make a script but I can't detect any colors whatsoever. I made this as an example, just to show that the exact color is there, I'm using a tolerance of 20, and it still doesn't do anything.
The if loop works, if I make the loop say if not, then it goes into the loop and just clicks (0,0)..

I really don't get why I can find any colors.. this picture is just to show I have the correct color, it is solid for like 5 pixels, and I showed it in the color picker as well, just so you can see.

Solar

2014-02-26 15:40:31

I believe you need to include SRL at the top of your script (look at other scripts for what you need to put as I don't memorise it), and also call SetUp SRL; before activate client (or maybe after, I'm not much of a scripter myself, just trying to help where I can).

Foundry

2014-02-26 16:47:08

Is this for a private server? Also, what graphics mode do you have it set to?

rj

2014-02-26 16:56:37

The RSPS graphics settings is probably on openGL

yamahablasta

2014-02-26 17:06:23

im literally so mad. All it was is the openGL… why does this matter? Thankfully this server can switch to directX and now everything works perfect…

rj

2014-02-26 17:07:13

From: yamahablasta
im literally so mad. All it was is the openGL… why does this matter? Thankfully this server can switch to directX and now everything works perfect…


Because simba can't read opengl graphics (without smart and the plugin)