Is higher or lower faster?
Also, could I do this?
Mousespeed:=Mousepeed-/+X
Also, the command IS Mousespeed, right?
Is higher or lower faster?
Also, could I do this?
Mousespeed:=Mousepeed-/+X
Also, the command IS Mousespeed, right?
15 is faster that 5 <-- Example;
PutSCAR Code:MouseSpeed := X;
At the beggining of your main loop. (After SetupSRL; of course)
Originally Posted by irc
I'm working on a function of my own right now, and needed to know how mousespeed works :P.
Thanks for the information.
Ok, look at the main loop in my Rimmington Miner,
SCAR Code:begin
setupsrl;
ScriptID := '1038';
SRLID := SRLStatsID;
SRLPassword := SRLStatsPass;
ClearDebug;
Writeln('Setting up SMART')
LoadSMART(SMART_World, False, True)
//SmartSetup('world'+(inttostr(SMART_World)), True, False,false,false);
Wait(7000)
SetTargetDC(SmartGetDC);
Disguise(The_Disguise)
LoadDTMs;
DeclarePlayers;
if not loggedin then loginPlayer;
repeat
P := 0;
Randoms;
if not loggedin then loginplayer;
SetupPlayer;
repeat
GoToMine;
If(GetMMLevels('run', ColorSign) > 35)Then
begin
SetRun(True);
End;
So_What_I_mine;
GoToBank;
P := P + 1;
inc(Loads)
players[currentplayer].integers[4]:=(players[currentplayer].integers[4])+1;
ReportVars[0] := ReportVars[0] + 1;
Report;
until(not(loggedin)) or (P >= LoadsB)
LogOut;
// Report;
NextPlayer(Players[CurrentPlayer].Active);
until false
end.
All's you need to do is add,After SetupSRL; in your Main Loop.SCAR Code:MouseSpeed := 14;//Or whatever number you want
So it ends up like this...
SCAR Code:begin
setupsrl;
{==============}
{=- MouseSpeed -=}
{==============}
MouseSpeed := 16;
{==============}
{=- MouseSpeed -=}
{==============}
ScriptID := '1038';
SRLID := SRLStatsID;
SRLPassword := SRLStatsPass;
ClearDebug;
Writeln('Setting up SMART')
LoadSMART(SMART_World, False, True)
//SmartSetup('world'+(inttostr(SMART_World)), True, False,false,false);
Wait(7000)
SetTargetDC(SmartGetDC);
Disguise(The_Disguise)
LoadDTMs;
DeclarePlayers;
if not loggedin then loginPlayer;
repeat
P := 0;
Randoms;
if not loggedin then loginplayer;
SetupPlayer;
repeat
GoToMine;
If(GetMMLevels('run', ColorSign) > 35)Then
begin
SetRun(True);
End;
So_What_I_mine;
GoToBank;
P := P + 1;
inc(Loads)
players[currentplayer].integers[4]:=(players[currentplayer].integers[4])+1;
ReportVars[0] := ReportVars[0] + 1;
Report;
until(not(loggedin)) or (P >= LoadsB)
LogOut;
// Report;
NextPlayer(Players[CurrentPlayer].Active);
until false
end.
Originally Posted by irc
There are currently 1 users browsing this thread. (0 members and 1 guests)