SRL Archive - General Botting Help

SPS Problem


increaseblu

2014-03-17 12:08:01

^Newb here.

Im trying to rework Coh3n's ChopNBank script using sps. Ive been following tuts, looking around etc and I cant find my issue…/

MyPath := [Point(183, 161), Point(170, 167), Point(153, 175), Point(132, 162), Point(117, 184), Point(103, 204), Point(95, 230), Point(81, 258), Point(64, 282)];
if sps.walkPath(MyPath) then
minimap.waitPlayerMoving();

I get this error on my walkPath line:
Invalid evaluation at line 574, column 9

Ive updated everything, reinstalled, moved plugins, added old versions, etc etc. I still cant get it to work.

I have the sps-rs3 include and I can see the walkPath function in my includes list but Simba wont let me call it? Simba doesnt even give the walkpath option or any procedures/functions in its "intellisense", only the vars from the sps-rs3 file.

I cant get past this and I cant run any sps based scripts!

Help pl0x!!

Olly

2014-03-17 13:59:54

What is line 574? And is MyPath declared as a TPointArray?

increaseblu

2014-03-17 15:35:29

hhhhhh i fixed thx

increaseblu

2014-03-18 11:31:42

Ok nvm, new problem has arisen…

Im pretty sure Simba isnt calling the sps plugin.

Its like SPS_BitmapToMap never gets called or fails and script terminates:

[0:00:29]: -- setupSRL(): True
[0:00:29]: -- sps.init()
[0:00:29]: ---- Path exists (C:\Simba\Includes\SPS\img\runescape_other\EVER_EDGE.png)
[0:00:29]: ---- FATAL ERROR: sps.setup(): Unable to load map or bitmap to map failed

I get the same error when I try to load other images found on the forum.

If nothing is wrong with sps, could it be that im passing default args for accuracy, tolerance, minmatch%? How can I get the correct values for my minimap? Is there something wrong with my minimap?(no black space, too small/big, etc)
i.imgur.com/AfRmAsW.png

Any ideas? Alt+f4? Delete Sys32? thx :)

Olly

2014-03-18 15:16:15

Try force updating your plugins!

increaseblu

2014-03-18 20:42:28

aha Thank you! I had updated everything but I had to force out old sps.dll by deleting and renaming new sps32.dll :)