Why does the script terminate after the 6 hours are up and you get logged out?
Why does the script terminate after the 6 hours are up and you get logged out?
[|---`~` The Mayor's Plank Banker v.2.42 `~`---|]
|| Time Running: 02h 09m 13s ||
|| Mahogany Planks Made: 1988 (923 PH) ||
|| Profit Made: 1222620 (567,661 PH) ||
|| Loads Done: 71 of 1000 ||
|| Times Rested: Resting disabled ||
|| Time until break: Breaking disabled ||
|| Breaks taken: 0 (0 h & 0 m) ||
|| Logs in bank: 0 (0 gp | 0h & 0m) ||
[|---------------------------------------------|]
-- TPlayerArray.setup()
---- ERROR: Couldn't find army file(pape)
-- TPlayerArray.setup(): false
Successfully executed.
![]()
It can't find your playerfile, check out how to setup the player manager
aand another proggy:
Code:[|---`~` The Mayor's Plank Banker v.2.42 `~`---|] || Time Running: 02h 49m 52s || || Mahogany Planks Made: 2716 (959 PH) || || Profit Made: 1670340 (589,967 PH) || || Loads Done: 97 of 1000 || || Times Rested: Resting disabled || || Time until break: 0h 49m 0s || || Breaks taken: 1 (0 h & 6 m) || || Logs in bank: 1223 (752145 gp | 1h & 16m) || [|---------------------------------------------|]
1B total exp progress
875m / 1B
120s
113/120 Fish
112/120 Dung
Sometimes when it runs to the sawmill it goes down the east side of the bank, it recovers from this but it probably makes me look bot like, I will try and get a picture next time it happens.
Great script thoughthanks
Very nice script. Might you want to add support for using the varrock's teleports? (for those rich players)
Just something I noticed - The minimap was good, there was no black cross on it. I was watching the script run and the script keeps thinking theres a black cross on the minimap when there isn't , and then it actually broke the minimap when it was working fine by switching to OpenGL and back, and then it got stuck xD
how do i use directx with this script?
That is Jagex's fault not Mayor's, you'll have to log in and log out, or teleport around until it goes away.
You can add a check for the minimap glitch into the script though if you don't want to do that, this function is in some of my scripts:
Simba Code:{FUNCTION -- checkforMapGlitch
Purpose: Checks if the map glitched out which would therefore make SPS fail.
Comments: None.}
function checkforMapGlitch: boolean;
begin
if (minimap.getColorPercent(minimap.getBlackBackground(), 0) > 20) then
begin
writeLn('MAP GLITCH DETECTED. Logging in and out.');
players[currentPlayer].exitToLobby();
writeLn('Exited to RuneScape lobby.');
wait(gaussRangeInt(5000, 7000));
players[currentPlayer].login();
writeLn('Logged back in to the game.');
end
else
begin
writeLn('Minimap appears normal.');
end;
end;
Scripts: ClarityNex | ClaritySlayer | ClarityElfThief | ClarityBurialArmour | ClarityMudRunes | ClarityWells | ClarityProTables | ClarityArmadyl | ClarityHarps
ClarityDominonTower | ClarityAltar | ClarityCitadel | ClarityBarrows | ClarityEsswraith | ChampionScrollCamperTools & Extensions: OpenGL ID Highlight Tool | SRL-6 Messaging System | SRL Companion | Item DTM Generator | BBCode Converter
Put the function Clarity posted above the mainloop procedure (near the bottom of the script) and then call it in the mainloop by adding it after findNormalRandoms() in the mainLoop procedure.
Example:
Simba Code:function checkformapglitch(): Boolean; // where you would paste the function
// all of the other stuff that goes with the function.
procedure mainLoop();
begin
repeat
// stuff here
findNormalRandoms();
checkForMapGlitch(); // you can add it anywhere in the mainloop but here is fine.
// other stuff
until(blablabla);
end;
Sorry if none of this made sense, I am writing this from my phone so I can't see the line numbers on the script.
Currently lurking while messing around with dll injection. Will continue contributing after I finish my quest.
Code:[|---`~` The Mayor's Plank Banker v.2.42 `~`---|] || Time Running: 06h 20m 52s || || Mahogany Planks Made: 6020 (948 PH) || || Profit Made: 2865520 (451,403 PH) || || Loads Done: 215 of 1000 || || Times Rested: Resting disabled || || Time until break: 1h 5m 56s || || Breaks taken: 3 (0 h & 23 m) || || Logs in bank: 3 (1428 gp | 0h & 0m) || [|---------------------------------------------|] Terminated script: You have less than 28 logs in the last bank slot Thank you for using The Mayor's Plank Banker - Post proggies on the thread. Successfully executed.
1B total exp progress
875m / 1B
120s
113/120 Fish
112/120 Dung
Scripts: ClarityNex | ClaritySlayer | ClarityElfThief | ClarityBurialArmour | ClarityMudRunes | ClarityWells | ClarityProTables | ClarityArmadyl | ClarityHarps
ClarityDominonTower | ClarityAltar | ClarityCitadel | ClarityBarrows | ClarityEsswraith | ChampionScrollCamperTools & Extensions: OpenGL ID Highlight Tool | SRL-6 Messaging System | SRL Companion | Item DTM Generator | BBCode Converter
The black cross is a directX glitch. Look on the previous page on this thread. I attached a script which attempts to fix it (by switching from dx to openGL and back).
From my experience this doesn't work for the DX glitch, only openGL?
Nice one![]()
Got my mahogs in slot 10, but the script refuses to detect them... Got my RS settings all nice and dandy, got other scripts working but this one wont :/
EDIT: Redownloaded and it works now, just watched it do 4 trips... Dunno what it was, but at this point I dont care. Download go corrupted somehow first time? Thanks for the awesome script though!
its keep saying that i have less than 28 logs in my invenstory. im using teak logs
|| Time Running: 06h 46m 56s ||
|| Oak Planks Made: 7056 (1,040 PH) ||
|| Profit Made: 2780064 (409,896 PH) ||
|| Loads Done: 252 of 10000 ||
|| Times Rested: Resting disabled ||
|| Time until break: Breaking disabled ||
|| Breaks taken: 0 (0 h & 0 m) ||
|| Logs in bank: 21 (8274 gp | 0h & 1m) ||
[|---------------------------------------------|]
Script seems to do not detect mahogany logs here (obs: yes, it is at the slot 10)
Nice one
See below
I mentioned this above, but from what you said it look like it cannot recognise the number of items in slot 10 (the yellow text) so it's returning -1 (and therefore it thinks you have less than 28 logs). When you withdraw some manually, the number of items changes, and then it can read the item amount correctly. I think it might have trouble when there a few zeros at the end (10000, 15000, 2000 etc.).
[|---`~` The Mayor's Plank Banker v.2.42 `~`---|]
|| Time Running: 01h 05m 26s ||
|| Mahogany Planks Made: 1036 (950 PH) ||
|| Profit Made: 423724 (388,518 PH) ||
|| Loads Done: 37 of 1000 ||
|| Times Rested: Resting disabled ||
|| Time until break: 0h 11m 8s ||
|| Breaks taken: 0 (0 h & 0 m) ||
|| Logs in bank: 1008 (412272 gp | 1h & 3m) ||
[|---------------------------------------------|]
Terminated script: Failed to open the bank within 120 seconds
Thank you for using The Mayor's Plank Banker - Post proggies on the thread.
Successfully executed.
The following DTMs were not freed: [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76]
The following bitmaps were not freed: [2]
Script ran great for 30 minutes or so but then kept being unable to find banker
There are currently 1 users browsing this thread. (0 members and 1 guests)