I'm not gonna PM, I'm gonna quote.
Why don't you care? Is this a throwaway? Are you trying to look macho? Sticking the finger to Jagex? Just trolling us for our reactions? I am genuinely very curious.
Printable View
i stopped for a while, but with the announcement of mastery capes i decided to start back up again. But when i got the new script (v3.6) i get this when trying to run:
Exception in Script: Unknown declaration "ClaimTicket" at line 760, column 9
Hi I get this error whenever I try to run once of your scripts what am I doing wrong?
Exception in Script: Runtime error: "Access violation" at line 131, column 44
The following DTMs were not freed: [0]
The following bitmaps were not freed: [Minimap Mask, SMART Debug Image]
File[C:\Simba\Includes\SRL-6/logs/SRL log (01-04-14 at 08.40.36 PM).txt] has not been freed in the script, freeing it now.
Turns out that I was using player manager wrong script works great progie soon:D
Got 99 Firemaking with this script. :) Thanks Asha!
Progress Report:|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=| | AshamanBonfire v3.6 | |=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=| | Running For: 14 Hours, 51 Minutes and 16 Seconds | | Maple's Burned: 15,476 Logs/H: 1,042 | | Exp Earned: 0 Exp/Hour: 0 | |___________________________________________________________| |___________________________________________________________|
I changed the banking function a bit and never had the withdrawing issue again. You don't have to use it, but here it is:
Simba Code:Function BankShantay: Boolean;
var
c, tt: integer;
P: TPoint;
T: TTimeMarker;
Time: Integer;
begin
FUNCTIONSTOP:='BANKSHANTAY ENTERED';
if not IsLoggedIn then
Exit;
if (ChooseOption.IsOpen) then
mouseOffClient(4);
T.Start;
if (not Bankscreen.Open(BANK_CHEST_SHANTAY)) And (not BankScreen.IsOpen) then
begin
if (Length(Minimap.GetDots(MM_DOT_NPC,Minimap.GetBounds))>0) And ((CountColorTolerance(459779,Minimap.GetBounds,10)>5000) Or (CountColorTolerance(1774084,Minimap.GetBounds,10)>5000))then
begin
players[currentPlayer].ExitToLobby;
Wait(RandomRange(2000,3000));
if not players[currentPlayer].Login then
if failsafe then
TerminateScript;
Wait(RandomRange(2000,3000));
Minimap.ClickCompass;
MainScreen.SetAngle(MS_ANGLE_HIGH);
Wait(RandomRange(2000,3000));
Timeout.Start;
end else
if SPS.BlindWalk(Point(110,126)) then
begin
While (Minimap.IsPlayerMoving) And (T.GetTime < GaussRangeInt(10000,20000)) Do
Wait(1000);
if (not Bankscreen.Open(BANK_CHEST_SHANTAY)) And (not BankScreen.IsOpen) then
Exit;
end else
if Minimap.FindSymbol(P,MM_SYMBOL_BANK, Minimap.GetBounds) then
begin
Mouse(X+10+GaussRangeInt(-2,2),Y-10+GaussRangeInt(-2,2),Mouse_Left,Mouse_Human);
Wait(RandomRange(5000,9000));
Minimap.ClickCompass;
MainScreen.SetAngle(MS_ANGLE_HIGH);
if (not Bankscreen.Open(BANK_CHEST_SHANTAY)) And (not BankScreen.IsOpen) then
Exit;
end else
begin
Mouse(Point(628,150),Mouse_Left,Mouse_Human);
FastClick(Mouse_left);
Wait(GaussRangeInt(3000,6000));
if (not Bankscreen.Open(BANK_CHEST_SHANTAY)) And (not BankScreen.IsOpen) then
Exit;
end;
end;
Time:=GaussRangeInt(3000,8000);
T.Start;
Repeat
if not IsLoggedIn then
Exit;
if T.GetTime>Time then
begin
if Debug then
Writeln('Took too long to open bank');
Exit;
end;
Wait(Random(100));
Until BankScreen.IsOpen Or PinScreen.IsOpen;
PinScreen.Enter(players[currentPlayer].BankPin);
if BankScreen.GetPackCount > 0 then
BankScreen.QuickDeposit(QUICK_DEPOSIT_INVENTORY);
Repeat
Wait(Random(100));
BankScreen.Withdraw(10, WITHDRAW_AMOUNT_ALL, ['']);
if not IsLoggedIn then
Exit;
tt := (getSystemTime() + 4000);
Repeat
Wait(Random(152));
if not IsLoggedIn then
Exit;
result := bankscreen.isPackFull();
Until (result or (getSystemTime() > tt));
if (not result) then
begin
Writeln('Inventory still not full, WTF??');
SaveScreenshot(ScriptPath + '/fail_.bmp');
end;
inc(c);
Until (result or (c >= 5));
BankScreen.Close;
FUNCTIONSTOP:='BANKSHANTAY EXIT';
end;
I like it Coh3n - simple change. Congrats on the 99 as well!
Sigh...what did I mess up now >.< I did something so that the scrip won't go looking for the fire things when they spawn
What do we do here:
Exception in Script: Runtime error: "Access violation" at line 131, column 44
The following DTMs were not freed: [0]
The following bitmaps were not freed: [Minimap Mask, SMART Debug Image]
File[C:\Simba\Includes\SRL-6/logs/SRL log (04-04-14 at 11.26.12 PM).txt] has not been freed in the script, freeing it now.
I'm also getting
Exception in Script: Runtime error: "Access violation" at line 131, column 44
The following DTMs were not freed: [0]
The following bitmaps were not freed: [Minimap Mask, SMART Debug Image]
File[C:\Simba\Includes\SRL-6/logs/SRL log (14-04-14 at 11.29.56 AM).txt] has not been freed in the script, freeing it now.
But I've checked and triple checked and I setup my players right.
Hey ash, can you add a feature/toggle for whether you are alone or not (whether or not to light fires). Sometimes, for whatever reason, the script goes light-happy and decides to light fires in random places which attracts a lot of suspicion and is frankly quite dangerous. If you are firemaking in a very populated place there isn't really a need for lighting fires because someone else will (assumingly in the right place). That'd be awesome if you could because i no longer feel safe leaving the script running and leaving the room in fear something bad will happen and i can't at least try to defend myself. Thanks!
|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|
| AshamanBonfire v3.6 |
|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|
| Running For: 9 Hours, 15 Minutes and 14 Seconds |
| Maple's Burned: 9,494 Logs/H: 1,026 |
| Exp Earned: 1,320,315 Exp/Hour: 142,676 |
|_________________________________________________ __________|
|_________________________________________________ __________|
Thank you ^.^ Went perfect!
was running the script fine for around half an hour, then came back and the xp/h had dropped by around 50k so had clearly been inactive for a good 5-10 mins. it was hovering over an imp banner carrier doing nothing, but the script was still running, and when i manually opened the bank it withdrew logs and continued.
not sure what caused it, any idea what this could be?
And im pretty sure it wasnt just trying to figure out if it was a fire spirit because the debug only showed my proggy