Mmmmm still getting hang ups during breaks
Gonna have to call it a night with no breaks xD
Thanks for all the updates today
EDIT:
|=========================================|
| Mayor Resource Dungeon v7.1 |
| Time: 5 hr 1 min 17 sec |
| Ore Mined: 1474 (294 PH) |
| Coal: 1404 |
| Loads Done: 70 |
| Coal bag: False |
| Break in: 4 hr 59 min 9 sec |
|=========================================|
Works well if no breaks XD
Mmmm now it will not run, which is weird because nothing has changed.
-- setupSRL()
---- Setting up SRL...
---- attempting to spawn smart, attempt #: 1
---- initSmart():
------ Attempting to pair to a previously spawned client
------ smartPairToExistingClient():
-------- Found no free clients to pair to
------ smartPairToExistingClient(): result = false
------ Attempting to spawn a new client..
------ smartCreateClient():
-------- ERROR: Error while grabbing parameters
-------- HINT: Make sure you can reach the RS website, and no active firewall is blocking Simba
------ Failed to grab parameters
---- initSmart()
(makes 6 attempts of this)
Followed by..
------ Failed to grab parameters
---- initSmart()
---- FATAL ERROR: smartSetupDrawing(): Unable to setup SMART drawing
---- Succesfully freed SMART[0]
Successfully executed.
The following bitmaps were not freed: [SMART Debug Image]
That smart params thing was fixed last night (jagex changed some stuff with how their client loads).
That breaking thing is so weird though. All it does is literally:
Simba Code:begin
logoutPlayer();
wait(breakTime);
loginPlayer();
end;
So it must be something with the wait, or logging in is buggy (which I don't think it is as logging in works just fine for everything else). I'm gonna try something else later today.
No, you just had to update SRL: https://villavu.com/forum/showthread.php?t=112747
Progress Report:|=========================================| | Mayor Resource Dungeon v7.2 | | Time: 10 hr 15 min 19 sec | | Ore Mined: 2064 (201 PH) | | Coal: 1968 | | Loads Done: 96 | | Coal bag: False | | Break in: 6 min 1 sec | |=========================================|
Break for a few minutes every 20 min so that's ~30 breaks with no problems.
|=========================================|
| Mayor Resource Dungeon v7.2 |
| Time: 24 hr 18 min 55 sec |
| Ore Mined: 7041 (290 PH) |
| Coal: 6725 |
| Loads Done: 316 |
| Coal bag: False |
| Break in: -42 sec |
|=========================================|
Yup, working great now![]()
Nice
Progress Report by The Mayor:|=========================================| | Mayor Resource Dungeon v7.2 | | Time: 25 hr 27 min 11 sec | | Ore Mined: 5711 (224 PH) | | Coal: 5480 | | Loads Done: 231 | | Coal bag: True | | Break in: -54 sec | |=========================================| Taking a 4.87 minute break
Wanted to try out if there was any bugs in the coding. From my short proggy, I think the bot is working as it should be!
Code:|=========================================| | Mayor Resource Dungeon v7.2 | | Time: 13 hr 35 min 46 sec | | Ore Mined: 2221 (163 PH) | | Coal: 2113 | | Loads Done: 108 | | Coal bag: False | | Break in: 24 min 31 sec | |=========================================|
Ran it over the weekend,
|=========================================|
| Mayor Resource Dungeon v7.2 |
| Time: 27 hr 52 min 30 sec |
| Ore Mined: 6960 (250 PH) |
| Coal: 6781 |
| Loads Done: 179 |
| Coal bag: True |
| Break in: 49 min 53 sec |
|=========================================|
not to shabby
Haven't saved the last few progress reports, but this has worked beautifully for the several days I've used it.
|=========================================|
| Mayor Resource Dungeon v7.2 |
| Time: 10 hr 12 min 49 sec |
| Ore Mined: 1979 (194 PH) |
| Coal: 1883 |
| Loads Done: 96 |
| Coal bag: False |
| Break in: 48 min 20 sec |
|=========================================|
Hi thanks for another excellent script.
Proggy for you.
| Mayor Resource Dungeon v7.2 |
| Time: 8 hr 42 min 29 sec |
| Ore Mined: 2531 (291 PH) |
| Coal: 2466 |
| Loads Done: 65 |
| Coal bag: True |
| Break in: 4 min 55 sec |
|=========================================|
Noticed one issue though, not sure if its an intentional anti-ban or not as I've not hard time to delve fully into the script yet.
This randomising part of the script can sometimes interfere with the depositing of coal. It will empty an inventory of coal into the deposit box, then as it exits the window, the anti-ban randomiser hovers over the mining skill rather than emptying the full coal bag. It then proceeds to the mining spot to continue mining. Hence why with 65 completed loads I should have 3510 coal, yet it only collected just over 2500 (bank verified as well).Code:if random(8) = 0 then hoverSkill(SKILL_MINING);
Apart from that though not had a single issue with the script, the anti-ban procedures are just too good! Thanks again and hope this helps!
P.s Just realised I posted this in your gem script miner by accident, corrected this and apologies for the confusion!
Thanks for the report bigP3n0r
Hmm. The hoverSkill actually gets called after the depositing method is finished, so it must not be finding the coalbag in the inventory after it closes the depositbox. I have increased the wait time after the backpack becomes unlocked so see if that helps. https://github.com/SRLTheMayor/Mayor...f498f57f398364
Tried it and after checking at least 75% of the loads completed this is the proggy I got.Hmm. The hoverSkill actually gets called after the depositing method is finished, so it must not be finding the coalbag in the inventory after it closes the depositbox. I have increased the wait time after the backpack becomes unlocked so see if that helps. https://github.com/SRLTheMayor/Mayor...f498f57f398364
|=========================================|
| Mayor Resource Dungeon v7.3 |
| Time: 1 hr 2 min 32 sec |
| Ore Mined: 317 (304 PH) |
| Coal: 309 |
| Loads Done: 8 |
| Coal bag: True |
| Break in: -25 sec |
|=========================================|
However again the number of coal mined doesn't match up with the loads completed. So to make sure I'm not going mad I'll run the script for an hour with an xp tracker so hopefully that will give a more precise indication of the exact number mined.
The delay you added works brilliantly thank you, might just be a counting error?
EDIT: Just noticed the first inventory of coal to be placed in the coal bag (I had 1 coal bag and 2 emeralds in my inventory, so that's 25 coal) only registered as 15 coal mined?
Last edited by TheMilkTree; 05-06-2015 at 02:29 PM.
Used this for a bit; works well (no progress report sadly). The only real "issue" I noticed (and I realize this is more of a restriction of the code than an actual operating issue) is that instead of turning the camera when it can't find any ore (ie. it's on the top half and can't find any), it moves into the middle of the dungeon. Doesn't seem very humanlike, but I don't know whether it would still work effectively with camera turning implemented.
Last edited by masterBB; 05-10-2015 at 07:24 PM.
Updated to revision 10. Strange that none of you leechers reported the DTM wasn't working![]()
hey mayor is there any chance to be able to mine the mithril deposits during each loop?
Well I could do fairly easily (the actual rock finding is already coded), I've just been thinking what is the best way to add it. Should it check the mith rocks just after using the deposit box on it's way back to the coal, or should it run and check the mith rocks every X minutes or....?
Dear Mr. @The Mayor,
love this script, been using since release, only continues to impress.
the addition of mining mithril ore is greatly appreciated!
Would adding the silver veins be difficult?
Your friend, Theron
There are currently 1 users browsing this thread. (0 members and 1 guests)