SRL Archive - Unofficial Development

Adding SPS.. thought it would be easy:P


svenno

2014-02-19 18:32:35

Hi guys,

Firstly Ill introduce myself:
After some years of no runescape or botting I have started playing the oldschool.runescape and started botting.
So I started reading/editing and writing scripts to get my lvl 3 noobie up to some normal lvl's and to get back into simba and SRL.
I'm getting some good results, except for the random events. Too add some nice walking to the scripts I want to use SPS.
This is giving me lots of problems.


What i did to set it up: (yes, i reinstalled simba)
1. Followed this great guide:
http://villavu.com/forum/showthread.php?t=106693

2. Updated SRl in simba

3. Followed these SPS steps:
http://villavu.com/forum/showthread.php?t=66266


My includes:
{$DEFINE SMART8}
{$i SRL-OSR\SRL.simba}
{$i SRL-OSR\SRL\misc\debug.simba}
{$i SRL-OSR\SRL\misc\SmartGraphics.simba}
{$i SPS\lib\sps.simba}

My error:[Error] C:\Simba\Includes\SPS\lib\sps.simba(295:9): Unknown identifier 'ClickNorth' at line 295

Changing the includes:
{$DEFINE SMART8}
{$i SRL-OSR\SRL.simba}
{$i SRL-OSR\SRL\misc\debug.simba}
{$i SRL-OSR\SRL\misc\SmartGraphics.simba}
{$i SPS\lib\sps-rs3.simba}

My error: Exception in Script: Unknown compiler directives at 11:3

The setup function looks like this:
Procedure Setup;
Begin
SRL_SIXHOURFIX := TRUE;
SMART_FIXSPEED := TRUE;
SetupSRL; //You need to setup srl before anything else

SPS_AnyAngle := True; //I want to use this map with a different angle, so I set it true
SPS_Debug := True; //this will debug everything SPS is doing

DeclarePlayers;
LoginPlayer;
MakeCompass('S'); //this will work because any angle is set to true
SetAngle(SRL_Angle_high); //high angle
End;


Anyone that can help me through these errors?

Sjoe

2014-02-19 18:47:44

lol nvm, you're getting the wrong sps

edit: sps for osrs: http://villavu.com/forum/showthread.php?t=98324

I would consider reflection though, cause walking on osrs with sps isn't stable at all.

svenno

2014-02-19 19:15:09

Thanks for your quick reply. Ive seen reflection but at that moment I already read some tutorials and it seemed easy to make and wanted to test it. Im sure i will also test reflection, though.

I followed the steps and added the includes and plugins.

Running the test script from the link gives me:
Im getting this error: [Error] C:\Simba\Includes\SRL-OSR\SRL\misc\SmartParams.Simba(76:20): Unknown identifier 'SmartGetAvailablePID' at line 76

Sjoe

2014-02-19 19:22:49

From: svenno
Thanks for your quick reply. Ive seen reflection but at that moment I already read some tutorials and it seemed easy to make and wanted to test it. Im sure i will also test reflection, though.

I followed the steps and added the includes and plugins.

Running the test script from the link gives me:
Im getting this error: [Error] C:\Simba\Includes\SRL-OSR\SRL\misc\SmartParams.Simba(76:20): Unknown identifier 'SmartGetAvailablePID' at line 76


gues it's not up to date for smart 8.3

svenno

2014-02-19 19:25:08

I guess Ill learn reflection in the mean time untill it gets updated.
Thanks alot for your quick help ;)

rj

2014-02-21 15:02:13

From: svenno
I guess Ill learn reflection in the mean time untill it gets updated.
Thanks alot for your quick help ;)


It will never be updated because it will never be stable :s

the compass angle is always +/- >= 15 degrees off the minimap angle

Flight

2014-02-22 06:45:18

From: Officer Barbrady
It will never be updated because it will never be stable :s

the compass angle is always +/- >= 15 degrees off the minimap angle


Yes but we've gotten around this by rotating the cropped piece of the map (up to ten nearby angles) to match it with the full SPS map.

There are actually three obstacles that make it a pain to get an accurate position via SPS on OSRS. Like Officer Barbrady pointed out the angle rotation is one of them, but there is also a chance the minimap will have a dramatic shift of color, which is probably the biggest problem to deal with. Another obstacle is the map can also zoom in/out slightly.

But luckily SPS can still function properly given the right adjustments and an accurate map or two. If you've ever used my Monkfishies script you'll see that SPS will fully function in OSRS as it uses custom map pieces I created for both light and dark maps. AeroLib is nearing completion (lacks a couple random-solvers) and it will come equip with SPS; adjusted specifically for OSRS.