• Log in or sign up for an account here: https://www.sythe.org/login

AutoHighAlcher (DO NOT USE)

lotto

Guru

Banned
Joined
May 10, 2006
Sythe Gold
0
Messages
1,056
Location
SC
This is my second script
This script really isn't for autoing
More of a way for people/me to check my work and progress/

If you use this, you probably will get banned as it isnt very humanlike movement ans has no includes, anti-Ban, or anti-randoms lols

I added constance and variables in this

The only Question i had was after the first end (near end of script) do i need to put an else efter it? I didnt think i needed it since i wanted both if them to go to the next step.

Please scan over it and tell me if you think it would work, if not point out a problem. Thnx

(DO NOT USE)

Code:
program AutoHighAlcher;
{_____________________________________________________________________
------------------Lotto's AutoHighAlcher------------------------------
------Instructions----------------------------------------------------
------1.)Fill in line 10 and 11---------------------------------------
------2.)Drag Crosshair ro RS2 and Press Play-------------------------
______________________________________________________________________}
var
i,sum: Integer;

const
NumberOfAlches=100 //How many alches do you have/using?
SayIfAlchWasSuccesfull=Yes

begin
i:=0;
cleardebug;
Repeat
Sum:=i+1;
 MoveMouseSmooth (835+random(3),567-random(6));
  HoldMouse (835+random(3),567-random(6)True);
   Wait (254+random(352));
    ReleaseMouse (835+random(3),567-random(2)True);
     Wait (100+random(200));
      HoldMouse (835+random(4),567-random(6)True);
       Wait (256+random(232));
        ReleaseMouse (835+random(4),567-random(3)True);
       Wait (5340-random(343));
       if (SayIfAlchWasSuccesfull=yes) then
      Begin
     WriteLn ('Completed Alch Succesfully');
    end;
   Until (NumberOfAlches);

end.
 
Code:
program AutoHighAlcher;
{_____________________________________________________________________
------------------Lotto's AutoHighAlcher------------------------------
------Instructions----------------------------------------------------
------1.)Fill in line 10 and 11---------------------------------------
------2.)Drag Crosshair ro RS2 and Press Play-------------------------
______________________________________________________________________}
var
i,sum: Integer;

const
NumberOfAlches=100; //How many alches do you have/using?
SayIfAlchWasSuccesfull='Yes';

begin
  cleardebug;
  Repeat
    Sum:=i+1;
    MoveMouseSmooth (835+random(3),567-random(6));
    HoldMouse (835+random(3),567-random(6),True);
    Wait (254+random(352));
    ReleaseMouse (835+random(3),567-random(2),True);
    Wait (100+random(200));
    HoldMouse (835+random(4),567-random(6),True);
    Wait (256+random(232));
    ReleaseMouse (835+random(4),567-random(3),True);
    Wait (5340-random(343));
    if (SayIfAlchWasSuccesfull='yes') then WriteLn ('Completed Alch Succesfully');
  Until (Sum = NumberOfAlches);
end.

Once again, SRL would help you alot.

Constants have to be integers, strings, booleans, or extendeds. I made yours a string, it could have been a boolean though. You were missing some commas and you had to have "Sum =" at the last until. Bigger randoms in your waits would help, for further scripts. As far is if/then statements go, if you are only doing 1 thing, you don't need begin/end. Makes it look better. I also added somewhat proper standards, i already equals 0 when you start the script.
 
so "SayIfAlchWasSuccesfull" Should be a variable?

Also which is more relaible color finding? or telling it to click in a certain place or a bitmap or DTM?

So if i was making a script w/ SRL i could just type in the procudre listed somwhere else? and not have to define it?
 
Right. Includes are just compilations of procedures made by other people. By typing in {.include ""} their procedures/functions are already declared in your script.

No, it should not be a variable. It is a constant still. Note that I had to put '' around it though. I said constants had to be valid integers, strings, etc, too. You had "SayAlchIfSuccessful = yes", yes should be a string, so I made it SayAlchIfSuccessful = 'yes'. It could have also been "SayAlchIfSuccessful = True" as a boolean. You also need semicolons after them. The script I posted compiles and will work.

Bitmaps and DTMs will be more reliable but will cause some lag. Coordinates and colors in Runescape change. The map and minimap rotate and objects change shape slightly sometimes. Bitmaps are extremely reliable in those cases. DTMs are good for finding objects in the inventory, the bank, etc. Colors using tolerance are usually good for finding things in the main screen. Coordinates and usually good unless there is a huge randomness in your click (using the SRL).

If you need a more detailed answer or anything like that then you can PM me your MSN.
 
Thanks you have been a big support, i read whocares guide so i pretty much have the basics but tou've helped me alot with the extras and more intermediate stuff.
 
Runescape Gamblingrunescape gambling
Back
Top