SRL Archive - OSR Help

Map for Sps


Zvejniex

2013-03-07 07:55:41

How can i make a map for 07 sps?

Sjoe

2013-03-07 08:09:27

Tutorial on making a map: http://villavu.com/forum/showthread.php?t=84360
If u do not have photoshop, u can use GIMP. Which is free and just as good (for creating a SPS map).


U have to use the SPS for 07 found here : http://villavu.com/forum/showthread.php?t=97449

Zvejniex

2013-03-08 00:59:27

Ty, but does it still work? Because i cant make a perfect map, every image is a little different, croocked pixels etc.

Zvejniex

2013-03-08 07:26:06

And the cords are very messed up.. Which simba color picker gives me.

Sjoe

2013-03-08 08:10:01

From: Zvejniex
And the cords are very messed up.. Which simba color picker gives me.


Use Writeln(SPS_GetMyPos) for getting the position.

Smidqe

2013-03-08 08:26:09

From: Sjoekeloe
Use Writeln(SPS_GetMyPos) for getting the position.


Shouldn't it be WriteLn(toStr(SPS_GetMyPos)) ? Otherwise it would give out an type mismatch error.

Zvejniex

2013-03-08 08:58:02

I dont quite get it then..
My script:
Program testP07;
{$DEFINE SMART8}
{$I SRL/SRL.Simba}
{$I P07Include.Simba}

{$i sps/p07sps.simba}

//LOGIN INFO STUFF
Procedure P07_DeclarePlayer;
Begin
P07_PlayerName:='xxxx';
P07_PlayerPass:='xxxx';
End;


Begin
SetupSRL;
SPS_Setup(RUNESCAPE_OTHER,['1map']);
P07_DeclarePlayer;
SetupP07Include;
ActivateClient;
Wait(2000);
If (Not P07_LoggedIn) Then
P07_LogInPlayer;
while P07_LoggedIN do
begin

P07_MakeCameraAngleHigh;
P07_MakeCompassNorth;
WriteLn(toStr(SPS_GetMyPos));
wait(500);
Mouse(1092, 236, 2, 2, MOUSE_LEFT);



end;

End.
[ATTACH=CONFIG]19777[/ATTACH]
It seems that i do need to make a map for this to work? Because it needs SPSSetup… I made it, its called 1map and its in rs other folder, so its all right. And the functions gives me the same coordinates while im moving…

Zvejniex

2013-03-08 11:45:06

Nvm, got it to walk where i want, but now i cant get it to click in my inventory.. Findobject doesnt seem to search in inventory.
Scrach that, got inventory to work.