How do you make the mouse right click???
How do you make the mouse right click???
Use ClickMouse2(false); or Mouse(x, y, randx, randy, false); if you want to move the mouse and click
ok thanx also is there a way to get ur exact map location, as if you was making a path for it.
Reflection:
Simba Code: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!');
Last edited by RISK; 01-15-2011 at 06:49 AM.
Do you want to get your tile location? If so then do this:
Simba Code: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)
Or you could run this from Cstrikes tut
Simba Code: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
Originally Posted by DD on IRC
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)
Last edited by KingKong; 01-15-2011 at 09:16 AM.
Oh yeah. dam that would be a right pain to make a path even with out clear bedug. Just ignore the stupid troll![]()
Originally Posted by DD on IRC
If you want to make a path then this would work best:
Simba Code: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
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.
Try making your first few scripts without reflection its more of a challange and you will learn more
Click here to find out how to get full screen without members! | Click here to check out my Ultimate Bitmap Tutorial! Edited to work with Simba! |
There are currently 1 users browsing this thread. (0 members and 1 guests)