[Mining] Bad Boy JH's Iron Miner and Smelter
Bad Boy JH
2010-10-10 21:46:56
Bad Boy JH's Iron Miner and Smelter
Welcome one and all to my iron miner, and smelter. This little script goes back and forth between Al-Kharid Mine, and Al-Kharid, Mining the rocks, smelting them into bars, and banking the bars.
Features
Multiplayer
Pickaxe can be in inventory
Anti-Ban and Anti-Random
Complex Condition Sets, even moreso than my fisher
High Reflection use, make sure hooks are up to date
Optional Smelting
Optional Gem Dropping
Optional Picking up of dropped iron
Features Not Yet Included
Form…Perhaps
I could add optional banking, but that seems a bit pointless, its so close
Bugs
the Multiplayer is not fully tested, I am working on getting a player a high enough combat level to work in those mines…
bolshak25
2010-10-10 22:10:07
[Hint] (506:10): Variable 'Result' never used at line 505
[Error] (651:19): Unknown identifier 'SmartWorld' at line 650
Compiling failed.
i wrote in true/false for those. looks like you just forgot them in the setup. testing now.
Bad Boy JH
2010-10-10 22:32:58
Yes, I ended up moving it from the very top, and copy pasting it to the setup section, but obviously I got distracted and didn't paste…lol
fixed now..
bolshak25
2010-10-10 22:36:44
are you gonna put top proggies in first post? ill have one by tomorrow probably unless this is just tank and doesnt end
edit: with the smelting, more human-like is typing 33 instead of 28. 33 is faster for a human, and most ppl dont do exact numbers. and before anyone says make it so you dont have to wield the pick, i say ignore that because if they cant wield it, then they shouldnt be mining iron in ak, and most often they shouldnt be botting because they are level 3s.(im not sure if you support that right now or not, this only pertains if you dont support it, and its obviously not my decision) just my thoughts.
edit 2: add amount of time script has run, and/or xp per hour/loads per hour. i feel like im the only one here. im getting off for the night. ill report back tomorrow with that proggie. but as of now its been over an hour and no errors/failures
kingarabian
2010-10-11 00:40:55
Will run it on my main in a few days.
Bad Boy JH
2010-10-11 00:49:19
Thanks for the tips, I will chuck the 33 into it instead, yes I will end up adding a XP/Hour after a while, right now I am trying to figure out how to fix GroundItems in reflection, so I can add an option to pick up iron ore, cause this is supposed to be primarily a Smelting Script.
Becks
2010-10-11 01:45:53
once you update the inventory pic use i'll give it a go :)
BlueWorld
2010-10-11 01:50:36
can you make this so it can mine gold instead? or is somewhere else better to mine gold?
bolshak25
2010-10-11 07:34:16
******************************************************************
**********Welcome To Bad Boy JH's Iron Miner and Smelter**********
******************************************************************
**** Username: 00000000000000000000000000000000000****
**** Iron Ore Mined: 392 ****
**** Iron Bars Smelted: 321 ****
**** Success Rate : 81% ****
**** Loads Done: 13 ****
**** Mining Experience Gained: 13720 ****
**** Mining Levels Gained: 1 ****
**** Smithing Experience Gained: 4012 ****
**** Smithing Levels Gained: 0 ****
******************************************************************
Successfully executed.
it was outside the bank. bars in inv. not sure what happened. if you have time to implement a failsafe, i have one in mind, but not sure how easy it is to add.
ill continue to look at this and test to see what else can be done
******************************************************************
**********Welcome To Bad Boy JH's Iron Miner and Smelter**********
******************************************************************
**** Username: 00000000000000000000000000000000000****
**** Iron Ore Mined: 698 ****
**** Iron Bars Smelted: 560 ****
**** Success Rate : 80% ****
**** Loads Done: 25 ****
**** Mining Experience Gained: 24430 ****
**** Mining Levels Gained: 0 ****
**** Smithing Experience Gained: 7000 ****
**** Smithing Levels Gained: 0 ****
******************************************************************
Successfully executed.
stopped inside bank. not sure why but i was watching and nothing happened. deposited then stopped script
kingarabian
2010-10-11 20:16:02
******************************************************************
**********Welcome To Bad Boy JH's Iron Miner and Smelter**********
******************************************************************
**** Username: 00000000000000000000000000000000000000000000000****
**** Iron Ore Mined: 447 ****
**** Iron Bars Smelted: 334 ****
**** Success Rate : 74% ****
**** Loads Done: 15 ****
**** Mining Experience Gained: 0 ****
**** Mining Levels Gained: 0 ****
**** Smithing Experience Gained: 0 ****
**** Smithing Levels Gained: 0 ****
******************************************************************
Successfully executed.
Manually stopped it.
bolshak25
2010-10-11 20:48:41
for some reason it keeps doing about 1 load, then goes to bank but doesnt bank it.
Bad Boy JH
2010-10-11 21:06:02
bolshak, in your second proggy,you didn't change your setup, the conditions, if you don't understand it, I completely understand, and I can change it to something more simple, it is a bit complicated. It achieved what I had it set to when I uploaded it, which is 25 loads.
bolshak25
2010-10-11 21:39:32
never mind. thank you for that though. i hadnt looked at it really. now i am changing it. i see it and understand, before it was just too late for me to think about it really. ill give it another go now
otavioafm
2010-10-11 23:19:30
the scrip make 3 or more loads and stop to work, in bank or in mine =/
kingarabian
2010-10-11 23:21:03
It takes some time to detect the iron rocks at times. Or does it wait for all 3 rocks to have iron in them?
Bad Boy JH
2010-10-12 06:40:00
kingarabian, It should Detect the rocks as soon as each one appears, but… I am currently looking into it.
otavioafm, The script stopping in the mine I can only attribute to the WalkPath, (part of reflection) assuming the script actually stops.
Bolshak25, feel free to offer any advice.
I should have an update in the next few hours, before bed, which will include the ability to only have pick in inventory, and hopefully multiplayer.
EDIT: UPDATED!
bolshak25
2010-10-12 15:56:51
well firs off, my failsafe would be after a certain amount of time of looking, but not finding anything, say 5 min? it then opens the world map and sets objective on bank in ak. then it clicks the minimap arrow that continues to flash until its in the bank. it reopens the map and undoes the objective so the arrow leaves, and it starts the script from the main loop again.
the other thing that i would say is more human like, would be going to the closest iron ore to the opening of the mining area, instead of running to the back. humans go to the closest in most cases so they can do more faster. so flip the order it looks for the ores in. i see it look at the highest point and work its way down, or i could be way off and its random.
my opinions for more humanlike, and safer for longer run times
edit: and now new interface in case you didnt know. smelting is easier once we get the fix. no more numbers
Bad Boy JH
2010-10-12 21:04:41
yes, last night I saw, Update in 7 minutes, when I was about to start the script, and I thought, bugger this, bed time. I will update this momentarily..
Bolshak, I could try doing something with a world walker that a couple of guys made last year, it should still work…
Other option is I home tele to lumbridge, and then walk to the bank…
kingarabian
2010-10-12 22:47:53
From: Bad Boy JH
yes, last night I saw, Update in 7 minutes, when I was about to start the script, and I thought, bugger this, bed time. I will update this momentarily..
Bolshak, I could try doing something with a world walker that a couple of guys made last year, it should still work…
Other option is I home tele to lumbridge, and then walk to the bank…
Yep look into it. Macrosoft and I were going to test it more, but I dunno what happened to him. Far as I know it was very reliable to get colors for walking etc.
Bad Boy JH
2010-10-13 23:09:37
Since I have recieved an email, I thought I better tell you guys here that its not going to be updated till at least the weekend (2 days), because I am currently doing my HSC (Final High School Exams) and so I am focusing on those, I will hopefully get some time on the weekend to do it, but no promises…
Bad Boy JH
2010-10-15 09:18:31
All of 10 minutes into the weekend, and here it is…its the new release….see top post for details
Edit: upon preparing to update, I noticed I didn't have it uploaded. this is now fixed, with a couple of extra updates to make it more user friendly
otavioafm
2010-10-16 18:50:20
is happening this at the bank
***Didn't move for 10 seconds. Exiting***
=( i want mining and smithing 99 =(
otavioafm
2010-10-16 19:17:19
******************************************************************
**********Welcome To Bad Boy JH's Iron Miner and Smelter**********
******************************************************************
**** Username: sorry ****
**** Iron Ore Mined: 27 ****
**** Iron Bars Smelted: 22 ****
**** Success Rate : 81% ****
**** Loads Done: 1 ****
**** Mining Experience Gained: 35468 ****
**** Mining Levels Gained: 39 ****
**** Smithing Experience Gained: 25788 ****
**** Smithing Levels Gained: 36 ****
**** Failed while: Banking ****
******************************************************************
**** Username: ****
**** Iron Ore Mined: 27 ****
**** Iron Bars Smelted: 22 ****
**** Success Rate : 81% ****
**** Loads Done: 0 ****
**** Mining Experience Gained: 910 ****
**** Mining Levels Gained: 0 ****
**** Smithing Experience Gained: 275 ****
**** Smithing Levels Gained: 0 ****
**** Failed while: Banking ****
******************************************************************
it's stuck alot when go banking=/.
bolshak25
2010-10-16 20:21:51
From: otavioafm
******************************************************************
**********Welcome To Bad Boy JH's Iron Miner and Smelter**********
******************************************************************
**** Username: cristiana fa ****
**** Iron Ore Mined: 27 ****
**** Iron Bars Smelted: 22 ****
**** Success Rate : 81% ****
**** Loads Done: 1 ****
**** Mining Experience Gained: 35468 ****
**** Mining Levels Gained: 39 ****
**** Smithing Experience Gained: 25788 ****
**** Smithing Levels Gained: 36 ****
**** Failed while: Banking ****
******************************************************************
**** Username: ****
**** Iron Ore Mined: 27 ****
**** Iron Bars Smelted: 22 ****
**** Success Rate : 81% ****
**** Loads Done: 0 ****
**** Mining Experience Gained: 910 ****
**** Mining Levels Gained: 0 ****
**** Smithing Experience Gained: 275 ****
**** Smithing Levels Gained: 0 ****
**** Failed while: Banking ****
******************************************************************
it's stuck alot when go banking=/.
please use the report tags next time. and your user name is in there. you might wanna get rid of that.
and to OP, maybe use bank banker instead of bank booth, ive noticed bank booths arent detected very well anymore on alot of scripts.
Bad Boy JH
2010-10-16 20:30:56
I am going to try and get some failsafes.
bolshak25
2010-10-16 20:35:15
ok. i know traveler used banker instead of bank on his new script and i havent had any issues since so maybe if it doesnt find booth, use banker? just a thought
traveler
2010-10-16 22:04:43
yeah the OpenBank() method in Al Kharid is faulty. i recommend using OpenBankNPC instead.
Bad Boy JH
2010-10-16 22:40:40
A. Its R_OpenBankBooth
B. I am making a personal variation
Spent the past few hours frustrated out of my mind, apparently 1 issue was hiding another, which is a pain in the arse…
ive got it running good now, and will release update soon… when I can a XP/Hour bug fixed…
JC_2484
2010-10-17 01:44:53
Sorry for the trouble, I fixed it soon after.
Great script, works like a charm :)
Bad Boy JH
2010-10-17 03:16:23
A. This is a general error, its not related to my script, don't post here…
B. Try searching for 'setup simba'…
Setting Up SimbaC. Script has been updated…
Bad Boy JH
2010-10-22 22:13:11
Hey is anyone using this? I would love some proggies, otherwise I will just forget it.
If people are using I am tempted to add an option that makes it mine at the south varrock iron mine, and smelts, smiths, and then drops the iron, it would be better xp, but no profit. The script would obviously let the user decide.
bolshak25
2010-10-22 23:14:37
where would it smelt and smith?
ill use it when i get my main back
Bad Boy JH
2010-10-23 03:57:16
ah k.
Lumbridge has both a furnace and an anvil
bolshak25
2010-10-23 19:32:12
south varrock to lumby?
interesting.
maybe option for if u can pass gate for free mine ak but do smelt and smith then drop?
sadly nobodys replying for if they can fix randoms wit my account… :( ill giv it a bit more time
Bad Boy JH
2010-10-29 22:47:46
created the paths, and made something to click gate, I already have stuff to clikc the furnace and anvil in lumbridge (a personal bronze miner/smelter/smither) so thats all no issue. However the selection of which thing to smith, and such…is moreso the issue.
Issue Part A: I could have it smith platelegs or scimitars, and sell in al-kharid, smith axes or battleaxes, and sell in lumbridge (specialty stores), or make daggers or platebodies, and sell to the general store…
Issue Part B: The Smithing.scar is old, and innacurate. I need something to do it for me, which I will quite probably have to make *sighs* (I was using co-ordinate clicking in my other script).
any ideas?
Bad Boy JH
2010-11-09 00:49:45
just a quick update, I now have to add selling procedures, and some more walking procedures, and I will be able to update.
enisdude
2010-11-20 04:03:26
Well the script didnt work with me because of this
[Error] (156:6): Unknown identifier 'R_LobbyScreen' at line 155
Compiling failed.
any_one
2010-11-20 04:36:53
Apparently in the latest reflection things were moved around and that procedure was broken, I think you have to use the SRL LobbyScreen (non reflection) until it's fixed.
Hi and thanks for your hard work i am new to this,
and need some kind of help. your SRL i uploaded seems not to work on my cp,
i dont know if its me my computer. Anyways this is the message i get after trying to run script. ([Error]: Unable to find file 'srl/srl/misc/smart.scar' used from ') if u know anything that might help please do..