SRL Archive - RS3 Outdated / Broken Scripts

[RS3][SRL6] Varrock Iron Mine and Bank


Kaladin

2014-01-25 20:16:51

Varrock Iron Mine and Bank - Version 1.1
By Kaladin

Major credits to anyones code I have learnt from or used, and to the Mayor and Coh3n for the fixes and advice.

Instructions
Follow setup guides (Click here if not already setup)
Put VarMine.png in /SPS/img/RUNESCAPE_SURFACE
Change nick/userfile and desiredLoads
Start in VEB or the mine or anywhere in between
Don't run for too long as no breaking added yet!
Find an EMPTY world, its safer, more efficient and more respectful (Especially if the other players are legit!)

Thanks for reading and please enjoy.
If this runs for a good amount of time please post proggy here on thread :)

Sample Proggies;


~~~~~~~~~~~~ Varrock Iron Mine and Bank - Version 1 Public Release ~~~~~~~~~~~~
Time Running: 1 Hours, 54 Minutes and 39 Seconds
Ores Mined: 924
Ores Per Hour: 484
Loads Done: 33
Experience Earned: 24948
Experience Per Hour: 13056
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

~~~~~~~~~~~~ Varrock Iron Mine and Bank - Version 1 Public Release ~~~~~~~~~~~~
Time Running: 4 Hours, 24 Minutes and 52 Seconds
Ores Mined: 1981
Ores Per Hour: 449
Loads Done: 70
Experience Earned: 53487
Experience Per Hour: 12116
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Update: Added improved SPS map and new pathing, minimap walking should be more accurate.
Update: Made some fixes should run smoothly. Will test and post proggy asap.
Update: Thanks to TheMayor for his tips, helped eliminate some bugs and running smoother than ever now :D

stickyninja

2014-01-25 21:31:13

Invalid Attachment specified. If you followed a valid link, please notify the administrator

This is what I get when I try and download.

Kaladin

2014-01-25 21:35:05

Try again, you downloaded while I was updating it probably ;P

stickyninja

2014-01-26 00:31:48

From: agoson
Try again, you downloaded while I was updating it probably ;P


Worked like a charm! Thanks.

Kaladin

2014-01-26 10:48:51

~~~~~~~~~~~~ Varrock Iron Mine and Bank - Version 1 Public Release ~~~~~~~~~~~~
Time Running: 1 Hours, 56 Minutes and 6 Seconds
Ores Banked: 746
Ores Per Hour: 386
Loads Done: 28
Experience Earned: 20142
Experience Per Hour: 10409
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Thanks reply StickyNinja, here is a progress report.
Not the best but improving daily.

liam033500

2014-01-26 11:51:42

Congratz On Release Look's great! I have been waiting some time for a script like this to come out. I will try it out and leave a proggy!

Kaladin

2014-01-26 12:46:10

From: liam033500
Congratz On Release Look's great! I have been waiting some time for a script like this to come out. I will try it out and leave a proggy!


Thanks Liam, in all honesty it needs a few major fixes + Breaking before it will be a good script, but it does work (at least for me), here's another proggy :)

~~~~~~~~~~~~ Varrock Iron Mine and Bank - Version 1 Public Release ~~~~~~~~~~~~
Time Running: 1 Hours, 40 Minutes and 22 Seconds
Ores Banked: 695
Ores Per Hour: 415
Loads Done: 25
Experience Earned: 18765
Experience Per Hour: 11217
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


//EDIT - So the script runs flawlessly for me, now.

The Mayor

2014-01-27 17:28:38


~~~~~~~~~~~~ Varrock Iron Mine and Bank - Version 1 Public Release ~~~~~~~~~~~~
Time Running: 32 Minutes and 55 Seconds
Ores Mined: 130
Ores Per Hour: 237
Loads Done: 4
Experience Earned: 3510
Experience Per Hour: 6398
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Each time it closes the bank it gets stuck for about 30 sec, because it tries to look for the bank symbol too soon. Add in a wait after you click the deposit, and after you close the bank.

E: Might seem low but there were a stack of bots on my world.

Kaladin

2014-01-27 17:54:57

From: The Mayor

~~~~~~~~~~~~ Varrock Iron Mine and Bank - Version 1 Public Release ~~~~~~~~~~~~
Time Running: 32 Minutes and 55 Seconds
Ores Mined: 130
Ores Per Hour: 237
Loads Done: 4
Experience Earned: 3510
Experience Per Hour: 6398
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Each time it closes the bank it gets stuck for about 30 sec, because it tries to look for the bank symbol too soon. Add in a wait after you click the deposit, and after you close the bank.


Changed, thank you :) The proggy you quoted was from an earlier much buggier release , right now it's about 450 ores/hour on average.
Also didn't know that you could use /report for Progress reports, awesome :D


E: Might seem low but there were a stack of bots on my world.


E: Might seem low? Sorry, don't understand :P

EDIT: Downloads? :D Think it's only got 10 so maybe bots are from diff script? Or do I misunderstand?
andd, thanks for that wait tip, has boosted efficiency yet again <3 :)

The Mayor

2014-01-27 18:28:31

From: Kaladin
Changed, thank you :) The proggy you quoted was from an earlier much buggier release , right now it's about 450 ores/hour on average.
Also didn't know that you could use /report for Progress reports, awesome :D



E: Might seem low? Sorry, don't understand :P

EDIT: Downloads? :D Think it's only got 10 so maybe bots are from diff script? Or do I misunderstand?
andd, thanks for that wait tip, has boosted efficiency yet again <3 :)


That is an actual proggy I just ran the script. I mean the stats in my proggy were low because the world I was on was filled with other bots. Still running actually:


~~~~~~~~~~~~ Varrock Iron Mine and Bank - Version 1 Public Release ~~~~~~~~~~~~
Time Running: 1 Hours, 34 Minutes and 28 Seconds
Ores Mined: 465
Ores Per Hour: 295
Loads Done: 16
Experience Earned: 12555
Experience Per Hour: 7974
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Kaladin

2014-01-27 18:33:40

Ahhh I'm dumb :D

Fair enough, I have been running in low pop worlds only, there is also a problem with findMinimap when the bank is full.
Sorry for the misunderstanding, appreciate the testing thoroughly :D

The Mayor

2014-01-27 22:55:45

From: Kaladin
Ahhh I'm dumb :D

Fair enough, I have been running in low pop worlds only, there is also a problem with findMinimap when the bank is full.
Sorry for the misunderstanding, appreciate the testing thoroughly :D



~~~~~~~~~~~~ Varrock Iron Mine and Bank - Version 1 Public Release ~~~~~~~~~~~~
Time Running: 6 Hours, 34 Seconds
Ores Mined: 1666
Ores Per Hour: 277
Loads Done: 59
Experience Earned: 44982
Experience Per Hour: 7485
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


program VarrockMiner;
{$DEFINE SMART}
{$I SRL-6/SRL.Simba}
{$i sps/lib/sps-rs3.simba}

{-------------------------------*********************************************-------------------------------}
{-------------------------------*********************************************-------------------------------}
{-------------------------------*********************************************-------------------------------}
{-------------------------------*********************************************-------------------------------}
{-============================== Varrock Iron Mine and Bank ==============================-}
{-============================== By Agoson ==============================-}
{-============================== Version 1.1 ==============================-}
{-------------------------------*********************************************-------------------------------}
{-------------------------------*********************************************-------------------------------}
{-------------------------------*********************************************-------------------------------}
{-------------------------------*********************************************-------------------------------}


//INSTRUCTIONS -------------------------------------------------------------------------------\\
//--------------------------------------------------------------------------------------------\\
//--------------------------------------------------------------------------------------------\\
//Enter your nick, file and desiredLoads amount ----------------------------------------------\\
//Start in VEB, the mine or anywhere in between ----------------------------------------------\\
//Make sure run is toggled -------------------------------------------------------------------\\
//Don't run for too long until I implement breaking! -----------------------------------------\\
//--------------------------------------------------------------------------------------------\\

const
nick:= 'God';
file:= 'TheMayor';
desiredLoads:= 120;

//--------------------------------------------------------------------------------------------\\
//--------------------------------------------------------------------------------------------\\
//--------------------------------------------------------------------------------------------\\
//--------------------------------------------------------------------------------------------\\
//--------------------------------------------------------------------------------------------\\



var
ToBank, ToMine: tpointarray;
location: string;
foundore: boolean;
loads, xpPh, xP, oreXP, orePh, oresMined, total, rTemp, inv, invTemp, breakTime, breakIntervals: integer; //Declaring multiple vars of same type on same line

// Procedure that sets up SRL, SPS, the player and relevant vars etc.
procedure setup
begin
total:= 0;
smartEnableDrawing := true;
setupSRL;
Players.Setup([nick], file);
CurrentPlayer := 0;
ToBank := [Point(505, 559), Point(508, 559), Point(510, 559), Point(512, 555), Point(514, 554), Point(515, 547), Point(517, 544), Point(519, 541), Point(520, 538), Point(522, 535), Point(524, 534), Point(529, 525), Point(529, 519), Point(529, 518), Point(530, 513), Point(530, 507), Point(530, 502), Point(531, 495), Point(530, 488), Point(528, 483), Point(528, 478), Point(529, 471), Point(528, 466), Point(528, 460), Point(528, 455), Point(529, 452), Point(530, 447), Point(530, 442), Point(530, 433), Point(528, 428), Point(530, 412), Point(527, 407), Point(522, 398), Point(517, 391), Point(515, 390), Point(514, 381), Point(507, 378), Point(508, 371), Point(509, 360), Point(507, 348), Point(504, 340), Point(500, 333), Point(493, 328), Point(488, 320), Point(480, 317), Point(475, 315), Point(461, 310), Point(449, 311), Point(435, 309), Point(425, 309), Point(420, 314), Point(409, 313), Point(404, 313), Point(399, 312), Point(389, 310), Point(381, 310), Point(374, 317), Point(373, 329), Point(374, 333), Point(374, 335), Point(376, 341), Point(377, 345), Point(375, 347), Point(372, 350)];
ToMine := [Point(369, 349), Point(369, 345), Point(369, 342), Point(369, 337), Point(369, 331), Point(370, 325), Point(370, 322), Point(370, 319), Point(370, 316), Point(373, 314), Point(378, 311), Point(381, 312), Point(387, 312), Point(390, 312), Point(393, 312), Point(397, 312), Point(403, 312), Point(409, 311), Point(413, 313), Point(418, 313), Point(422, 309), Point(425, 310), Point(431, 312), Point(436, 310), Point(440, 310), Point(445, 308), Point(449, 310), Point(453, 310), Point(457, 310), Point(462, 310), Point(466, 311), Point(468, 311), Point(474, 311), Point(478, 311), Point(482, 311), Point(487, 311), Point(490, 316), Point(494, 318), Point(496, 324), Point(501, 330), Point(504, 334), Point(504, 338), Point(511, 345), Point(513, 350), Point(513, 357), Point(508, 357), Point(506, 364), Point(509, 374), Point(509, 375), Point(515, 381), Point(515, 389), Point(522, 390), Point(520, 396), Point(524, 405), Point(527, 418), Point(528, 420), Point(529, 434), Point(528, 437), Point(525, 441), Point(525, 445), Point(525, 448), Point(525, 450), Point(528, 457), Point(528, 463), Point(528, 463), Point(527, 465), Point(527, 468), Point(527, 472), Point(527, 473), Point(529, 473), Point(529, 477), Point(529, 482), Point(529, 485), Point(530, 487), Point(531, 492), Point(532, 499), Point(533, 503), Point(533, 507), Point(533, 513), Point(530, 517), Point(527, 522), Point(521, 528), Point(519, 532), Point(518, 536), Point(515, 545), Point(514, 550), Point(511, 555), Point(510, 556), Point(505, 560), Point(505, 560)];
sps.setup('SPSVarrockIron', RUNESCAPE_SURFACE, 4, 600.0, 0.40);
players[currentPlayer].login();
mainscreen.setAngle(MS_ANGLE_HIGH);
oreXP:= 27;
end;

// Procedure courtesy of Coh3n, checks for spinticket etc
procedure Find_Randoms();
begin
ExitSquealOfFortune;
ClaimSpinTicket;
End;

// Credit - Ashaman, temporary fix to my very broken antiban, minor editting by moi.
Function Antiban: Boolean;
Var
I: Integer;
Begin
writeln('Performing Antiban');
I := Random(600);
Case I Of
1..10: boredHuman(false);
11..30:
Begin
hoverSkill(Skill_Mining);
Wait(GaussRangeInt(1000,2000));
End;
30..90: mouseMovingObject;
91..150: SleepAndMoveMouse(RandomRange(100,6000));
151..190:
Begin
MouseOffClient(Random(4));
Wait(RandomRange(2000, 15000));
End;
191..400: Wait(RandomRange(1000, 2000));
401..500: randomCameraAngle(MS_ANGLE_HIGH);
501..600: pickUpMouse();
End;
If (TabBackpack.Count<25) Then
Wait(GaussRangeInt(1000,1000));
End;

// The mayor is responsible for this, searches for TPAs then moves to each one individually
function findOre: boolean;

var
x, y, i, b: integer;
TPA: TPointArray;
ATPA: T2DPointArray;

begin
if not isLoggedIn then
exit;
if tabBackpack.count < 28 then
// color // tol //CTS, hue, sat from ACA
if findColorsSpiralTolerance(x, y, TPA, 2504288, mainScreen.getBounds(), 10, colorSetting(2, 0.08, 0.20)) then

if (Length(TPA) < 1) then // if no matching TPoints are found, exit
exit;

ATPA := TPA.toATPA(30, 30); // split our TPA into boxes of 30 x 30 pixels and put into an ATPA
ATPA.sortFromMidPoint(mainscreen.playerPoint); // sort the array from player, so closest TPA to player is first in array

for i := 0 to high(ATPA) do
begin // move move to each TPA one at a time, until we get a match
mouse(middleTPA(ATPA[i]), MOUSE_MOVE);
if isMouseOverText(['Mine Iron ore rocks'], 200) then
begin
GetMousePos(x, y);
b := Random(1000);
Mouse(point(x, y).rand(1), MOUSE_LEFT, MOUSE_HUMAN);
wait(200 + random(600));
if tabBackpack.waitForShift(4500) = true then // Waitfor inv to inc by 1
inc(oresMined); // Increase the oresmined variable by 1
writeln('Ores mined ', oresMined);
if b > 980 then
Antiban; // Call antiban
exit(true);
end;
end;
end;

// Credit to Ashaman script for the basis of this prog report
Procedure Progress;
begin
XP:= oresMined*oreXP;
xpPh:= Round(XP * (3600.0 / (GetTimeRunning / 1000.0)));
orePh:= Round((OresMined * (3600.0 / (GetTimeRunning / 1000.0))));
Writeln('~~~~~~~~~~~~ Varrock Iron Mine and Bank - Version 1 Public Release ~~~~~~~~~~~~') ;
Writeln('Time Running: ' + ToStr(TimeRunning));
Writeln('Ores Mined: ' + ToStr(oresMined));
Writeln('Ores Per Hour: ' + ToStr(orePh));
Writeln('Loads Done: ' + ToStr(loads));
Writeln('Experience Earned: ' + IntToStr(xP));
Writeln('Experience Per Hour: ' + ToStr(xpPh));
Writeln('~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~');
end;

// Procedure to print progress report and end script
procedure endScript;
begin
wait(randomRange(4000, 3000));
players[currentPlayer].exitToLobby();
Progress;
writeln('~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~@Ending Script@~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~');
writeln('Thank you for using Varrock Bank and Miner, all credits to the SRL community');
terminateScript;
end;

// Function to bank
function bank : boolean;
begin
if bankscreen.open(BANK_BOOTH) then
begin
inc(loads);
bankScreen.quickDeposit(QUICK_DEPOSIT_INVENTORY);
bankscreen.close(); // add a wait before close
exit(true);
end else
if bankscreen.open(BANK_NPC_BLUE) then
begin
inc(loads);
bankScreen.quickDeposit(QUICK_DEPOSIT_INVENTORY);
bankscreen.close();
exit(true);
end else
exit(false);
end;

// Function to attempt to bank or find MM symbol if banking not possible
function tryBank : boolean;
var
bs: TPoint;
b : integer;

begin
b:= tabBackpack.count;
if (b = 0) then
begin
writeln('Didnt bank because inventory is empty');
exit(false);
end else
if minimap.findSymbol(bs, MM_SYMBOL_BANK, minimap.getBounds()) then
begin
if bank then
exit(true);
end else
b:= tabBackpack.count; // no need to count again, b is already the count
if b > 0 then
if not bankscreen.isOpen then
begin
mouse(bs, MOUSE_LEFT, MOUSE_HUMAN);
if bank then
begin // no need for the begin and end else here
exit(true);
end else
end else
exit(false);
end;

// Function to walk to bank or mine depending on location
function tryWalk : boolean;
var
b : integer;
begin;
minimap.toggleRun(true);
b:= tabBackpack.count;
if b = 28 then
begin
if sps.walkPath(toBank) then
Antiban;
writeln('Walking path to the bank');
exit(true); // with no begin and end, it will exit true even if it didnt walk to bank
end else
b:= tabBackpack.count; // no need to count twice
if b = 0 then
begin
if sps.walkPath(toMine) then
Antiban;
writeln('Walking path to the mine');
exit(true);
end else
exit(false);
end;

// Function to mine if possible
function tryMine(): boolean;
var
t := getSystemTime() + 60000; // maximum one minute (can change to whatever you want) used as a failsafe in case something goes wrong
tt: TPoint;
begin
if minimap.findSymbol(tt, MM_SYMBOL_BANK, minimap.getBounds()) then //indent
begin
exit(false); // indent
end else
while ((not result) and (getSystemTime() < t)) do
begin
findOre();
result := (tabBackpack.count() = 28);
wait(100 + random(100));
end;
end;

// Main loop
procedure mainLoop;
begin
if not isLoggedIn then
exit;
find_Randoms;
if tabBackpack.count = 28 then
begin
tryBank;
Progress;
tryWalk;
end else
tryWalk;
tryMine;
end;

begin
setup;
Find_Randoms;
repeat
mainLoop; // in this repeat loop you should put if not isLoggedIn() then login
until loads = desiredLoads;
Progress;
TerminateScript;
end.

Kaladin

2014-01-28 03:58:31

Thanks very much mate, really appreciate it. Btw, do you have skype?

About to start a rather ambitious project (for my standards) and need advice on just a few things if you have the time :)

While messing about I disabled the prog, was I was getting alot of issues ( Caused by inccorect graphic settings, make sure you check if any bugs! :P )
Here is the latest lines of the log though.


Ores mined 2511
Performing Antiban
-- isMouseOverText()
---- Current mouse-over text: "Mine Iron ore rocks"
---- Found "Mine Iron ore rocks" in mouse-over string: "Mine Iron ore rocks"
-- isMouseOverText(): True

The Mayor

2014-01-28 04:02:00

From: Kaladin
Thanks very much mate, really appreciate it. Btw, do you have skype?

About to start a rather ambitious project (for my standards) and need advice on just a few things if you have the time :)

While messing about I disabled the prog, was I was getting alot of issues ( Caused by inccorect graphic settings, make sure you check if any bugs! :P )
Here is the latest lines of the log though.


Ores mined 2511
Performing Antiban
-- isMouseOverText()
---- Current mouse-over text: "Mine Iron ore rocks"
---- Found "Mine Iron ore rocks" in mouse-over string: "Mine Iron ore rocks"
-- isMouseOverText(): True


On the "about me" page of my profile.

stepis69

2014-01-28 07:22:56

im gona make big progyyy im will try! ;D

master199

2014-02-10 08:34:00

hi all i am getting when trying to run you script is [00:00:03]: —- Client is ready.
[00:00:03]: —- Setup SRL in 421ms.
[00:00:03]: – setupSRL(): True
[00:00:03]: – TPlayerArray.setup()
[00:00:03]: —- Loaded player: 1
[00:00:03]: – TPlayerArray.setup(): Success
[00:00:03]: – sps.init()
[00:00:03]: —- Path exists (C:\Simba\Includes\SPS\img\runescape_surface\SPSVarrockIron.png)
[00:00:03]: —- Setup area "SPSVarrockIron" in 31ms
[00:00:03]: – sps.init()
[00:00:03]: – TPlayer.login()
[00:00:03]: —- Already logged in
[00:00:03]: —- Logged in: 2
[00:00:03]: – TPlayer.login(): True
[00:00:05]: —- TRSGameTab.__initTabs(): Setup gametab properties
[00:00:05]: – TRSMinimap._getSymbolColor()
[00:00:05]: —- Loaded symbol: Bank
[00:00:05]: —- Found symbol bitmap 73
[00:00:05]: —- Found Bank symbol at {X = 676, Y = 97}
[00:00:05]: – TRSMinimap._getSymbolColor(): 2740983
[00:00:05]: – TRSMinimap._getSymbolColor()
[00:00:05]: —- Loaded symbol: Bank
[00:00:05]: —- Found symbol bitmap 73
[00:00:05]: —- Found Bank symbol at {X = 676, Y = 97}
[00:00:05]: – TRSMinimap._getSymbolColor(): 2740983
[00:00:05]: – TRSMinimap._getSymbolColor()
[00:00:05]: —- Loaded symbol: Bank
[00:00:06]: —- Found symbol bitmap 73
[00:00:06]: —- Found Bank symbol at {X = 676, Y = 97}
[00:00:06]: – TRSMinimap._getSymbolColor(): 2740983
[00:00:06]: – TRSMinimap._getSymbolColor()
[00:00:06]: —- Loaded symbol: Bank
[00:00:06]: —- Found symbol bitmap 73
[00:00:06]: —- Found Bank symbol at {X = 676, Y = 97}
[00:00:06]: – TRSMinimap._getSymbolColor(): 2740983
[00:00:06]: – TRSMinimap._getSymbolColor()
[00:00:06]: —- Loaded symbol: Bank
[00:00:06]: —- Found symbol bitmap 73
[00:00:06]: —- Found Bank symbol at {X = 676, Y = 97}
[00:00:06]: – TRSMinimap._getSymbolColor(): 2740983
[00:00:06]: – TRSMinimap._getSymbolColor()
[00:00:06]: —- Loaded symbol: Bank
[00:00:06]: —- Found symbol bitmap 73
[00:00:06]: —- Found Bank symbol at {X = 676, Y = 97}
[00:00:06]: – TRSMinimap._getSymbolColor(): 2740983
[00:00:06]: – TRSMinimap._getSymbolColor()
[00:00:06]: —- Loaded symbol: Bank
[00:00:06]: —- Found symbol bitmap 73
[00:00:06]: —- Found Bank symbol at {X = 676, Y = 97}
[00:00:06]: – TRSMinimap._getSymbolColor(): 2740983
[00:00:06]: – TRSMinimap._getSymbolColor()
[00:00:06]: —- Loaded symbol: Bank
[00:00:06]: —- Found symbol bitmap 73
[00:00:06]: —- Found Bank symbol at {X = 676, Y = 97}
[00:00:06]: – TRSMinimap._getSymbolColor(): 2740983
[00:00:06]: – TRSMinimap._getSymbolColor()
[00:00:06]: —- Loaded symbol: Bank
[00:00:06]: —- Found symbol bitmap 73
[00:00:06]: —- Found Bank symbol at {X = 676, Y = 97}
[00:00:06]: – TRSMinimap._getSymbolColor(): 2740983
[00:00:06]: – TRSMinimap._getSymbolColor()
[00:00:06]: —- Loaded symbol: Bank
[00:00:06]: —- Found symbol bitmap 73
[00:00:06]: —- Found Bank symbol at {X = 676, Y = 97}
[00:00:06]: – TRSMinimap._getSymbolColor(): 2740983
[00:00:06]: – TRSMinimap._getSymbolColor()
[00:00:06]: —- Loaded symbol: Bank
[00:00:07]: —- Found symbol bitmap 73
[00:00:07]: —- Found Bank symbol at {X = 676, Y = 97}
[00:00:07]: – TRSMinimap._getSymbolColor(): 2740983
[00:00:07]: – TRSMinimap._getSymbolColor()
[00:00:07]: —- Loaded symbol: Bank
[00:00:07]: —- Found symbol bitmap 73
[00:00:07]: —- Found Bank symbol at {X = 676, Y = 97}
[00:00:07]: – TRSMinimap._getSymbolColor(): 2740983
[00:00:07]: – TRSMinimap._getSymbolColor()
[00:00:07]: —- Loaded symbol: Bank
[00:00:07]: —- Found symbol bitmap 73
[00:00:07]: —- Found Bank symbol at {X = 676, Y = 97}
[00:00:07]: – TRSMinimap._getSymbolColor(): 2740983
[00:00:07]: – TRSMinimap._getSymbolColor()
[00:00:07]: —- Loaded symbol: Bank
[00:00:07]: —- Found symbol bitmap 73
[00:00:07]: —- Found Bank symbol at {X = 676, Y = 97}
[00:00:07]: – TRSMinimap._getSymbolColor(): 2740983
[00:00:07]: – TRSMinimap._getSymbolColor()
[00:00:07]: —- Loaded symbol: Bank
[00:00:07]: —- Found symbol bitmap 73
[00:00:07]: —- Found Bank symbol at {X = 676, Y = 97}
[00:00:07]: – TRSMinimap._getSymbolColor(): 2740983
[00:00:07]: – TRSMinimap._getSymbolColor()
[00:00:07]: —- Loaded symbol: Bank
[00:00:07]: —- Found symbol bitmap 73
[00:00:07]: —- Found Bank symbol at {X = 676, Y = 97}
[00:00:07]: – TRSMinimap._getSymbolColor(): 2740983
[00:00:07]: – TRSMinimap._getSymbolColor()
[00:00:07]: —- Loaded symbol: Bank
[00:00:07]: —- Found symbol bitmap 73
[00:00:07]: —- Found Bank symbol at {X = 676, Y = 97}
[00:00:07]: – TRSMinimap._getSymbolColor(): 2740983
[00:00:07]: – TRSMinimap._getSymbolColor()
[00:00:07]: —- Loaded symbol: Bank
[00:00:07]: —- Found symbol bitmap 73
[00:00:07]: —- Found Bank symbol at {X = 676, Y = 97}
[00:00:07]: – TRSMinimap._getSymbolColor(): 2740983
[00:00:07]: – TRSMinimap._getSymbolColor()
[00:00:07]: —- Loaded symbol: Bank
[00:00:07]: —- Found symbol bitmap 73
[00:00:07]: —- Found Bank symbol at {X = 676, Y = 97}
[00:00:07]: – TRSMinimap._getSymbolColor(): 2740983
[00:00:08]: – TRSMinimap._getSymbolColor()
[00:00:08]: —- Loaded symbol: Bank
[00:00:08]: —- Found symbol bitmap 73
[00:00:08]: —- Found Bank symbol at {X = 676, Y = 97}
[00:00:08]: – TRSMinimap._getSymbolColor(): 2740983
[00:00:08]: – TRSMinimap._getSymbolColor()
[00:00:08]: —- Loaded symbol: Bank
[00:00:08]: —- Found symbol bitmap 73
[00:00:08]: —- Found Bank symbol at {X = 676, Y = 97}
[00:00:08]: – TRSMinimap._getSymbolColor(): 2740983
[00:00:08]: – TRSMinimap._getSymbolColor()
[00:00:08]: —- Loaded symbol: Bank
[00:00:08]: —- Found symbol bitmap 73
[00:00:08]: —- Found Bank symbol at {X = 676, Y = 97}
[00:00:08]: – TRSMinimap._getSymbolColor(): 2740983
[00:00:08]: – TRSMinimap._getSymbolColor()
[00:00:08]: —- Loaded symbol: Bank
[00:00:08]: —- Found symbol bitmap 73
[00:00:08]: —- Found Bank symbol at {X = 676, Y = 97}
[00:00:08]: – TRSMinimap._getSymbolColor(): 2740983
[00:00:08]: – TRSMinimap._getSymbolColor()
[00:00:08]: —- Loaded symbol: Bank
[00:00:08]: —- Found symbol bitmap 73
[00:00:08]: —- Found Bank symbol at {X = 676, Y = 97}
[00:00:08]: – TRSMinimap._getSymbolColor(): 2740983
[00:00:08]: – TRSMinimap._getSymbolColor()
[00:00:08]: —- Loaded symbol: Bank
[00:00:08]: —- Found symbol bitmap 73
[00:00:08]: —- Found Bank symbol at {X = 676, Y = 97}
[00:00:08]: – TRSMinimap._getSymbolColor(): 2740983
[00:00:08]: – TRSMinimap._getSymbolColor()
[00:00:08]: —- Loaded symbol: Bank
[00:00:08]: —- Found symbol bitmap 73
[00:00:08]: —- Found Bank symbol at {X = 676, Y = 97}
[00:00:08]: – TRSMinimap._getSymbolColor(): 2740983
[00:00:08]: – TRSMinimap._getSymbolColor()
[00:00:08]: —- Loaded symbol: Bank
[00:00:08]: —- Found symbol bitmap 73
[00:00:08]: —- Found Bank symbol at {X = 676, Y = 97}
[00:00:08]: – TRSMinimap._getSymbolColor(): 2740983
[00:00:08]: – TRSMinimap._getSymbolColor()
[00:00:08]: —- Loaded symbol: Bank
[00:00:08]: —- Found symbol bitmap 73
[00:00:08]: —- Found Bank symbol at {X = 676, Y = 97}
[00:00:08]: – TRSMinimap._getSymbolColor(): 2740983
[00:00:08]: – TRSMinimap._getSymbolColor()
[00:00:08]: —- Loaded symbol: Bank
[00:00:09]: —- Found symbol bitmap 73
[00:00:09]: —- Found Bank symbol at {X = 676, Y = 97}
[00:00:09]: – TRSMinimap._getSymbolColor(): 2740983
[00:00:09]: – TRSMinimap._getSymbolColor()
[00:00:09]: —- Loaded symbol: Bank
[00:00:09]: —- Found symbol bitmap 73
[00:00:09]: —- Found Bank symbol at {X = 676, Y = 97}

kufo

2014-02-16 21:38:40

~~~~~~~~ Varrock Iron Mine and Bank - Version 1 Public Release ~~~~~~~~~~~~
Time Running: 5 Hours, 57 Minutes and 12 Seconds
Ores Mined: 1533
Ores Per Hour: 257
Loads Done: 57
Experience Earned: 41391
Experience Per Hour: 6952
~~~~~~~~~~~~~~~~~~~~~~~~~~~

I watched it a few times. It runs good. This proggy was from a lvl 20 miner in f2p.

ferry013

2014-03-04 11:55:22

He keeps standing still at the bank. I got it fixed by turning the camera down but he keeps turning it up everytime he goes to the bank. And then he can't click on the bank npc. i have already tried to fix the auto-turning by deleting the camera thing at the Procedure Setup. Can you help me?

EDIT: I think the antiban is doing this?

shockage

2014-03-14 03:48:55

From: ferry013
He keeps standing still at the bank. I got it fixed by turning the camera down but he keeps turning it up everytime he goes to the bank. And then he can't click on the bank npc. i have already tried to fix the auto-turning by deleting the camera thing at the Procedure Setup. Can you help me?

EDIT: I think the antiban is doing this?


It seems to be a bug with colour picking. The mouse looks for the light brown and finds the stair case instead of the booth. But doesn't click on it because the label does not say bank.

After a while, the map is adjusted to face southwards and it finds the bank.

Another bug is that when the script clicks on the mini-map, and clicks within the bank's off-limit staff area, the script will hang for a long time waiting for the player to "stop moving."

Finally, after twitching the camera around, the script will sometimes click on examine banker.

So in my frustration of not being able to get anyone's script here on the mining forum to work, I simply modified the main loop into a power miner.

Simply replace your main loop to power mine instead.
// Main loop
procedure mainLoop;
begin
if not isLoggedIn then
exit;
find_Randoms;
if tabBackpack.count = 28 then
begin
while tabBackpack.count > 0 do
begin
// Drop all the iron. Iron must be in the first slot of the actionbar.
KeyDown(49);
wait(RandomRange(1000, 3000));
KeyUp(49);
end;
Progress;
end else
tryMine;
end;

Edit: A feature to implement would be a way to prevent dropped iron ore from being included in the TPA list. I simply lowered the tolerance to 6, and I stopped clicking on dropped iron ore, but that might break easily.

yogiman1998

2014-03-30 16:37:19

Very nice script!

terrmiits

2014-04-16 21:53:20

When this one will get an update?

BenGerman

2014-04-17 14:31:48

I've been having a bit of an issue with this script, if you lads would be so kind as to help.

I have to manually work to get SMART setup, but that doesn't bother me. What does is that when I try to get beyond that, I get this error:

Exception in Script: Runtime error: "Access violation" at line 1265, column 7 in file "C:\Simba\Includes\SRL-6\lib\core\players.simba"
The following bitmaps were not freed: [Minimap Mask, SMART Debug Image]
File[C:\Simba\Includes\SRL-6/logs/SRL log (17-04-14 at 02.26.22 PM).txt] has not been freed in the script, freeing it now.

Then, the whole script stops. Could anybody please help me with this?

obradley

2014-04-22 12:13:28

hey kaladin, this is an awesome script i must say because of what it does.
However i have been experiencing problems since my first use of it.

the typing in of username and password is fine. But then it gets stuck on the selection of worlds. It literally just stops there. But that's fine, so i manually select the world and let it do it's job. So i'm standing at the mine area and it comes up with weird stuff like my backpack not being open and all that jazz. It just stands there like a model and doesn't start doing what it's supposed to do. lol. Below is the 'log' of what happens. Got it off the lower sections of simba. Appreciate all the help I can get. Please tell me what i can do. Thanks.


—— Entering username…
—— Entering password…
—— WARNING: Unknown login string: ""
—— HINT: Please report this issue in the SRL bugs section of the forum
——– Saving screenshot: unknown_login_count.png
—— Login response: One minute as passed…
——– All players inactive…
—- TPlayer.loginToLobby(): False
– TPlayer.login(): False
—- TRSGameTab.__initTabs(): Setup gametab properties
– HINT: findTicket(): Backpack is not open, consider calling tabBackpack.open() first
– HINT: destroyTicket(): Backpack is not open, consider calling tabBackpack.open() first

terrmiits

2014-04-23 01:22:08

From: obradley
hey kaladin, this is an awesome script i must say because of what it does.
However i have been experiencing problems since my first use of it.

the typing in of username and password is fine. But then it gets stuck on the selection of worlds. It literally just stops there. But that's fine, so i manually select the world and let it do it's job. So i'm standing at the mine area and it comes up with weird stuff like my backpack not being open and all that jazz. It just stands there like a model and doesn't start doing what it's supposed to do. lol. Below is the 'log' of what happens. Got it off the lower sections of simba. Appreciate all the help I can get. Please tell me what i can do. Thanks.


—— Entering username…
—— Entering password…
—— WARNING: Unknown login string: ""
—— HINT: Please report this issue in the SRL bugs section of the forum
——– Saving screenshot: unknown_login_count.png
—— Login response: One minute as passed…
——– All players inactive…
—- TPlayer.loginToLobby(): False
– TPlayer.login(): False
—- TRSGameTab.__initTabs(): Setup gametab properties
– HINT: findTicket(): Backpack is not open, consider calling tabBackpack.open() first
– HINT: destroyTicket(): Backpack is not open, consider calling tabBackpack.open() first


I would love to get some answers too :) dont get this, all other scripts workin fine, but just this…

The Mayor

2014-04-23 02:41:09

Script writer hasn't logged in since February. I'm sure the walking/SPS map needs updating (as the minimap symbols changed etc.).

terrmiits

2014-04-23 11:08:40

From: The Mayor
Script writer hasn't logged in since February. I'm sure the walking/SPS map needs updating (as the minimap symbols changed etc.).


Then I guess this script is dead… Only one mining script with banking support is dead… sad.

The Mayor

2014-04-23 18:31:30

From: terrmiits
Then I guess this script is dead… Only one mining script with banking support is dead… sad.


Lol it could be updated in 10 minutes if you know the basics :p

terrmiits

2014-04-23 18:46:45

From: The Mayor
Lol it could be updated in 10 minutes if you know the basics :p


Can you please show me the way to the "basics" ? :) anyway sooner or later I will try to make some script in near future when I will have vacation :)

The Mayor

2014-04-23 20:20:32

From: terrmiits
Can you please show me the way to the "basics" ? :) anyway sooner or later I will try to make some script in near future when I will have vacation :)


In my signature :) I've actually just re-written this script for the lols. I might release it.

masterBB

2014-04-24 12:42:12

Moved to outdated. Report the thread if you want it to be moved back.