Log in

View Full Version : Adding antirandoms?



ammo2006
03-27-2007, 04:56 AM
well, I know i ask alot of questions but....how do i add anti randoms...i got this but im not shure how to do a gas one and not shure if this is even riht for boxes and sandwitch ladys and stuff...


This is my main loop...
{-------------Main Loop-----------------------}
begin
DeclarePlayers;
SetupSRL;
DisguiseScar('Windows Media Player');
repeat
if(not (LoggedIn)) then
LoginPlayer;
until(Loggedin)
repeat
ActivateClient;
ClearDebug;
Antiban;
ProgReport;
Antirandoms;
Findnormalrandoms;
mine;
dropores;
until(false)
end.

tarajunky
03-27-2007, 06:13 AM
This first thing to do is make sure your have your nick properly set for each player. You would do this in your DeclarePlayers section.

The easiest thing to do is add a FindNormalRandoms command to your script so that it gets called regularly.

Like your Mine procedure has a repeat loop in it, so you would want to put one in there. Also, you can use FTWait(X) instead of Wait(XXX). FTWait waits about 250 ms for each number you put there. So FTWait(4) would be roughly equivalent to Wait(1000). FTWait checks for talking randoms along with waiting, so you might as well use it.

Gas is more difficult. I suggest that you look at other people's mining scripts to see how they deal with it.

ammo2006
03-27-2007, 06:33 PM
Alright I kindof under stand that, so insted of putting antirandoms and fiund normal randoms in my main loop i put it in the mining loop like....
{Mining-------------------------------------}
procedure mine;
begin
repeat
Findnormalrandoms;
if (FindMSColor(x,y,orecolor)) then
Mouse(x,y,2,2,true);
FTWait(16+random(12));
until(InvFull)
^^ If im right, that should work for sandwitchladys, and boxes??


Ad i used the FT wait right....Right :P