Log in

View Full Version : Help!!!!!



gsa serpent
01-15-2011, 03:49 AM
How do you make the mouse right click???

KingKong
01-15-2011, 05:25 AM
Use ClickMouse2(false); or Mouse(x, y, randx, randy, false); if you want to move the mouse and click

gsa serpent
01-15-2011, 06:27 AM
ok thanx also is there a way to get ur exact map location, as if you was making a path for it.

RISK
01-15-2011, 06:41 AM
Reflection:

if TileOnMS(Point(0, 0), 0) then // Use TileOnMM, if you prefer. MS = Mainscreen, MM = Minimap
begin
WriteLn('We have found the location!')
end else
WriteLn('We were unable to find the location!');

KingKong
01-15-2011, 09:02 AM
ok thanx also is there a way to get ur exact map location, as if you was making a path for it.

Do you want to get your tile location? If so then do this:


procedure getme;
var
Me : TMe;
begin
Me := GetMe;
writeln(Me.Tile);//<-- if this doesn't work try:
writeln(ToStr(Me.Tile.X) + ', ' + ToStr(Me.Tile.Y));
end;


Edit: If you actually want to make a path, then use sumilions path maker(its gonna save you time because you don't have to walk to each tile in your path)

Troll
01-15-2011, 09:08 AM
Or you could run this from Cstrikes tut

program MyPositionFinder;
{$i SRL/SRL/Misc/SMART.scar}
{$i SRL/SRL.scar}
{$i reflection\reflection.simba}

// I copied this from somewhere, forget where though :(
procedure DeclarePlayers;
begin
NumberOfPlayers(1); // How many players? 1 account = "1', 5 accounts = "5"...
CurrentPlayer := 0; // Start at player "zero" (aka player 1)
Players[0].Name := '';//Your RuneScape UserName
Players[0].Pass := '';//Your RuneScape PassWord
Players[0].Nick := ''; //3-4 letters from name
Players[0].Active:= True;
Players[0].BoxRewards := ['Xp', 'mote', 'ostume', 'oins', 'aphire', 'ssence'];
end;

procedure SetUpSmartStuff;
begin
Smart_Server := 9;
Smart_Members:= False;
Smart_Signed := True;
Smart_SuperDetail := False;
end;

var mt : TTile; // Tile
begin
SetUpSmartStuff;
SetupSRL;
SetupReflectionEx(true);
DeclarePlayers;
LogInPlayer;
MakeCompass ('n');
SetAngle (true);
SetRun (true);
writeln ('2000');
wait (2000);
repeat
cleardebug;
mt := GetMyPos; // Get your global position
writeln (inttostr(mt.x) + '/'+ inttostr(mt.y)); // Output it
wait (1000);
until (false)
end.


It will give you your pos every secound

KingKong
01-15-2011, 09:13 AM
Thats not going to be very useful because he wants to make a path(i think) and the code you posted only gives the players unchanging location(i.e. only one tile)

Troll
01-15-2011, 09:15 AM
Oh yeah. dam that would be a right pain to make a path even with out clear bedug. Just ignore the stupid troll :p

**BANNED The Man
01-15-2011, 10:10 AM
If you want to make a path then this would work best:
program new;
{$i SRL/SRL/Misc/SMART.scar}
{$i SRL/SRL.scar}
{$i reflection\reflection.simba}
procedure PathMaker;
var
Me : TMe;
Begin
Me := GetMe;
Repeat
if IsFKeyDown(10) then
writeln(Me.Tile);
Until IsFKeyDown(4);
end;

begin
PathMaker;
end.

-Boom

KingKong
01-15-2011, 10:57 AM
Sumilion's path maker is a better option imo because you don't have to be in the place you wan't to walk to.

**BANNED The Man
01-15-2011, 11:02 AM
Sumilion's path maker is a better option imo because you don't have to be in the place you wan't to walk to.

It is quite (the word slips my mind ffffff) / buggy.
It sometimes doesn't get the right tile at all and you can't really click the exact tile you want...
My 2 cents :)

-Boom

cycrosism
01-15-2011, 11:09 AM
Try making your first few scripts without reflection its more of a challange and you will learn more

KingKong
01-15-2011, 11:34 AM
It is quite (the word slips my mind ffffff) / buggy.
It sometimes doesn't get the right tile at all and you can't really click the exact tile you want...
My 2 cents :)

Are you serious? Did you try zooming in to the max, then clicking show grid and
center click? Because I never(i mean never ever never) had any problems with it.


-Boom


Try making your first few scripts without reflection its more of a challange and you will learn more

For me scripting only with color was too much of a challenge, imo using color and reflection in my first few scripts helped me get the hang of things.