Hello!
Well, this is going to be the first SPS update in a very long time, and I'm hoping it'll be a big success. A big thanks to J J and Ollybest for the code that made it possible for SPS to work at any compass angle! Also, thanks to everyone who tested the new versions and provided feedback.
What's new?
- A significant speed increase. I'm not sure why, but SPS_GetMyPos was being called twice for no reason. Since the function is already slow, calling it unnecessarily just made it worse.
If you use SPS_BlindWalk, it's still being called once unnecessarily. This can't be avoided without causing a compiling error. I'm planning on resolving this whenever SPS is converted to Lape.
So basically, if you want SPS to work slightly faster, use SPS_WalkPath rather than SPS_BlindWalk.
- The user/scripter will now be warned if SPS_Setup wasn't called, or was called incorrectly.
- Will now work at any compass angle. This is completely optional. By default, SPS will work like it always has - at north. If you want it to work at any compass angle, set SPS_AnyAngle to true in your script:
Keep in mind that it's likely you will lose some accuracy using it this way. But from what I tested, it still worked really well.Simba Code:SPS_AnyAngle := true;
- New variable - SPS_ClickNorth - that when set to true will call SRL's ClickNorth rather than MakeCompass. It just provides another option as I'm sure some people click the compass to make it north rather than rotate the camera. By default, it will call MakeCompass, like it always has.
- NEW Runescape Surface maps! From the feedback I've received, most areas that didn't work before, now work really well. I still don't know about the wilderness, desert, or snow areas, however. Feedback in that area would be appreciated.
If custom maps are still required for common areas, I am willing to add them to the repository.
For scripters:
- The new world map is a slightly different size than the old one. This was required to fix a few bugs in the map, and to make room for new areas. Because of this, you may need to pick new path points. The offset for new points is very small, so it's possible your old points will still work.
I do recommend, however, that you pick new points to maximize accuracy.
- I have updated the Official SPS Thread to include a section on Scripting Hints/Tips that you may find helpful. So please, give it a read. Don't be afraid to suggest something to add as well.
You can download the new SPS from here. Simply replace your SPS folder with this one. I will add the new version to the updater later today if there aren't any issues. E: Added to the updater. If your MSI updates automatically, you'll have the latest version.
Cheers,
Coh3n