Trav's Al Kharid Smither
traveler
2010-10-12 21:34:30
Traveler's Al Kharid Smither!Please Sign up on the SMS site to help support the script. Link to site
Remember to fill in your user id and pass before starting the script!AboutThis script was made by me when i wanted to smith today, and the current script was outdated because of the rs update.
SetupFill in lines 59-70.
Supported BarsBronze, Iron, Steel, Mithril, Gold, Silver, Addy, Rune, And Cannon Balls.
Anti-Randoms and Anti-BansYes, these are included!!!!
To-Do List:1. Nothing currently planned, Anything else you guys want to see?
BugsIf you find any bugs with the script, please let me know Immediately!
traveler
2010-10-13 22:04:46
updated in version 1.1:
-Walking to and from furnace updated, is now more reliable.
-Progress Report added
-Opening bank and withdrawing items changed a little
please give feedback if u attempt to use the script, i would really appreciate it.
bolshak25
2010-10-13 22:37:16
running as soon as i finish my smithing run. i like narcs as of now, ill see if your tops it.
ill edit with proggy once i run it.
offtopic: ill pm you about it.
edit1: Out of Ore1. it clicks to the left of it and sits there for a long time. not sure if your using coordinates? other than that works great. also with that actually. it types 5 and presses enter? it says that outloud if it fails to click right. id say just do the premade 5 that is in rs. fastest. it just said 5 three times in a row for me. it does eventually get out of the out of ore1 thing, but it gets in it like every 2/3 loads. ill let it run as is cause im too tired to stay up
edit2: it only did 55. computer restarted so not sure if comp stopped it or it failed. but the missclicking is constantly happening.
bolshak25
2010-10-14 18:40:12
*********************************************
*************Traveler's Smither*************
*********************************************
* Name Exp Number Bars Smelted*
************* 31560 1052 *
*********************************************
nice script. i like everything, but maybe instead of x loads do x bars? for the declare players. because i didnt feel like putting exactly how many i needed i put a huge number. or implement both like pick one or the other? im not sure just a thought
jizzoe
2010-10-15 11:22:17
please add cballs too
traveler
2010-10-15 13:57:57
Updated in V1.2
-Addy, Rune, and Cball Support
-Fixed Withdraw Procedures
-Loads added to the Progress Report
-You now put the amount of ores to be smelted in the declareplayers instead of the load amount.
-Resting at bank or furnace when run is low.
bolshak25
2010-10-15 14:37:56
not sure if its your script or not but bank wont open. it doesnt detect it.
edit: after starting it like 5 times it works, but always goes to bottom bank. not sure if its supposed to?
traveler
2010-10-15 15:07:18
From: bolshak25
not sure if its your script or not but bank wont open. it doesnt detect it.
edit: after starting it like 5 times it works, but always goes to bottom bank. not sure if its supposed to?
That is a problem in the SRL OpenBank() command. If it doesnt detect it with my DDTM, it uses the SRL command to open it, which is buggy in Al Kharid.
Edit: i will try a different way in opening the bank for the next release, see if its better than the current one
traveler
2010-10-15 21:08:24
update again….
in V1.3
-Bank Opening fixed
-SMS STATS ADDED!!!!!!!!!!!!!!!!!!!!!!!!!!!
-fixed silver withdrawing (oops)
bolshak25
2010-10-15 21:16:34
it already works amazing! i feel you can get rid of the clicking x in the bank screen after you get the items. most humans would just click the map and leave.
with the resting though, in the bank i think it should be after you withdraw, or not at the bank at all, just the furnace. when its on random tiles in the bank it seems weird.
traveler
2010-10-15 21:23:36
From: bolshak25
it already works amazing! i feel you can get rid of the clicking x in the bank screen after you get the items. most humans would just click the map and leave.
with the resting though, in the bank i think it should be after you withdraw, or not at the bank at all, just the furnace. when its on random tiles in the bank it seems weird.
ive been meaning to change the resting to after the banking, just kept forgeting. already fixed it for the next release. and no more clicking of the x, forgot to get rid of that too lol.
bolshak25
2010-10-15 22:39:34
random glitch. when i have a full inv of ores and start the script, it puts all in bank then logs out. not sure what or why. and once every 200 or so ores, it says failed to find furnace, and is in the halfway spot. possibly add a failsafe by re going to bank and retrying if furnace isnt found
traveler
2010-10-15 22:43:40
for the first glitch, its not really a glitch, its suppose to deposit everything on script start as a safety measure, but its not suppose to logout. ill look more into that.
as for the not finding the furnace, im going to start working on better failsafes, but ive never had a problem with walking to the furnace, and ive done 3k+ ores at once. but ill look into that too.
bolshak25
2010-10-15 22:46:17
it glitches only with full inv of 5 mith all coal. other than that it doesnt happen.
its happened like 3 times for me. not a common thing
jizzoe
2010-10-17 18:45:53
*******************************************************
******************Traveler's Smither*******************
*******************************************************
* Name Exp Number Bars Smelted Loads *
********* 33178 1296 48 *
*******************************************************
Doing Checks
Finding and Opening Bank
Walking to Furnace
27 Steel bars found
Error Finding Furnace, Quiting
Doing Checks
NextPlayer
JPHamlett
2010-10-18 07:21:08
Lol, only registered users have posted in this thread so far.
Anyways, this script looks very good so far I'll run it while I'm at school and give you feedback.
Edit: Seemed to run very well, and all I have to say is…GreatJob!
*******************************************************
******************Traveler's Smither*******************
*******************************************************
* Name Exp Number Bars Smelted Loads *
*player1 22575 1290 145 *
*******************************************************
traveler
2010-10-18 11:42:21
alright, thanks J_Pizzle.
And jizzoe, im going to update the walking soon, by including more failsafes that what i have already
jizzoe
2010-10-18 12:12:59
thanks alot
traveler
2010-10-18 20:31:19
New in Version 1.4
-SMS Stats more indepth
-More Fail safes in walking
-Script will now notify you when its outdated.
REMEMBER TO USE SMS STATS!
it helps me with what i need to update with the script and how many people are using it.
JPHamlett
2010-10-19 07:34:12
Tested new version and it's flawless!!!
*******************************************************
******************Traveler's Smither*******************
*******************************************************
* Name Exp Number Bars Smelted Loads *
*uzdg 52168 2981 335 *
*******************************************************
traveler
2010-10-19 13:13:53
good to hear J_Pizzle, very good to hear.
bolshak25
2010-10-19 16:42:41
ill run it again after someone uses my mordaut account to make better randoms for us
traveler
2010-10-19 20:18:41
alright, im already working on the next update. basically a better progress report is all that it is.
doublex8
2010-10-22 18:11:19
*******************************************************
******************Traveler's Smither*******************
*******************************************************
* Name Exp Number Bars Smelted Loads *
* account 12660 422 86 *
*******************************************************
EDIT: sorry this looks wierd, i was in the middle of posting it when the backlight on my laptop failed
EDIT2: I was trying to make some silver bars today and the script couldn't identify the silver ore, just kept saying "couldn't find ore1"
blulightning
2010-10-26 20:29:08
I've come across two problems that you might want to look into, and they have occurred repeatedly.
1) When 4 bars fail to smelt, and my inventory has an empty line in it, the script goes back to the bank, even if there is still ore in the inventory
2) After some time after every run, it stops withdrawing from the bank, and just runs back and forth between the furnace and the bank. It still opens the bank window, and clicks on the ore, but doesn't withdraw.
traveler
2010-10-26 20:35:13
doublex8, i will fix the bitmap for the silver ore in the next update. thanks for telling me of the problem.
blulightning, the 4 bars failing to smith, u talking about steel bars into cannonballs? if so, i had a timing issue with the failsafe and it will be fixed in the next update. also with ur second problem, i have no idea whats with that. i have had problems with simba just skipping certain functions after a long time of the script running. so its either a simba problem, or just some random error when you ran the script. ive run the script for 12+ hours at a time with no problems.
blulightning
2010-10-26 20:38:50
From: traveler
doublex8, i will fix the bitmap for the silver ore in the next update. thanks for telling me of the problem.
blulightning, the 4 bars failing to smith, u talking about steel bars into cannonballs? if so, i had a timing issue with the failsafe and it will be fixed in the next update. also with ur second problem, i have no idea whats with that. i have had problems with simba just skipping certain functions after a long time of the script running. so its either a simba problem, or just some random error when you ran the script. ive run the script for 12+ hours at a time with no problems.
Nope, just for iron bars :\
traveler
2010-10-26 21:07:59
oh crap, the timing will be off for iron bars too. ill fix that in the next release too. thanks for bringing that to my attention.
traveler
2010-10-29 22:18:44
Updated in v1.5
-Tons of failsafes added
-Silver Ore fixed
-Progress Report Updated
-New Banking Method
-Other minor updated
any_one
2010-11-05 23:18:24
Works flawless! Once I got it set up properly anyway. It ran until out of ore every time (done ~2.5k steel so far), even when the "RadialWalking One failed" :) Great script! Only thing (not that I have one), does it support using coal bag?
traveler
2010-11-05 23:32:52
it does not support the use of a coal bag. i can try to add support for it after i finish the script i am working on right now. first i would have to obtain a coal bag too. it shouldnt be hard to add.
also, where u walking to the furnace, or to the bank when it said radialwalking one failed?
any_one
2010-11-06 00:48:40
To the bank. It looked like it failsafed to clicking the symbol, running it again when it didnt say that, it clicks at different points in the bank not on the symbol :)
Oh also, it said it while it was at halfway, and did it every time for that run. Once I restarted the script it was fine (like right now, done 1 hour, 400 bars so far :)
smurg
2010-11-06 05:11:10
I've run this a lot. I added a + const to the y component on the symbol for the furnace because i found i ended up in the room above too often.
Other than that, great script.
Serious money + xp with cannonballs. (180k gp/hr and like 12k smith xp/hr)
If you do it though, sell mid-high, always demand from slayer leveling.
traveler
2010-11-06 11:27:35
i have so many failsafes on the walking, and its suppose to click random points in the bank, since is clicking the floor color.
but with the furnace, i have always had a problem. i candt click the floor color because there are those 3 rooms, so i had to click the furnace symbol, but sometimes that symbol is in the upper room. ill figure out a solid solution, maybe if i just have it click the bottom of the symbol or something, idk.
any_one
2010-11-07 06:52:26
Yeah clicking in the middle of the symbol should work, it shouldn't be more than halfway out of the room (?)
traveler
2010-11-07 11:05:58
yeah the symbol clicking should be an easy fix. right now im going to try and get my dungeoneering lvl up so i can get a coal bag
any_one
2010-11-07 21:45:12
Tell me if you find an easy way to get DGing exp.. I tried and failed, maybe im just noob at actually playing the game rather than just autoing :p (I couldn't even find how to get into the dungeon for like 10 minutes hahaha)
Sample proggy:
***********************************************
*********Traveler's Al Kharid Smither**********
***********************************************
*Total Time Runing: 05h 28m 22s *
***********************************************
*Progress Report For: my account *
*---------------------------------------------*
*Time Runing: 05h 26m 05s *
*Bars Made: 2076 *
*Bars Per Hour: 382 *
*Loads: 232 *
*Exp Gained: 36330 *
*Exp Per Hour: 6685 *
*---------------------------------------------*
Stats Sent
Finding and Opening Bank
Found Banker
Out of Ore1
:)
Feroc1ty
2010-11-14 15:35:15
Adding rings of forging support would be bad-ass.
EDIT: Also, your function for getting to the furnace must be bad or something because every other run the character runs into either the tanner or behind the smelting place, which makes the person look stupid, and after a few times of looking stupid it looks like an obvious botter.
Also, when my smithing leveled up the script didn't smelt the other ores in my inventory and ran straight to the bank although it was pretty much full of ores rather than bars.
Just as I tabbed back I saw another genius thing you've done, after my character was done smelting 8 bars he decided he needed to rest and get his energy back, after he was done doing so he ditched the rest of the smelting proccess and ran to the bank…
This is only from about 5 minutes of observing the bot run, won't run it any longer as I don't want to risk my character getting banned, heh as I was about to close saw the bot decide to rest again after 6 bars this time with 60% energy.
EDIT2: 1 second before I was about to close it (finished the last paragraph of this post) the bot decided that I was out of ore and took out a tuna out of my bank, closed it and loged out. ( I had 4k more ores in bank, not like I was gonna keep running the script just sayin )
Anyways GL fixing this stuff unless I'm magically the only person who got these errors.
any_one
2010-11-17 05:10:08
With the walking, it's a bit random certainly however 95% + of the time it works perfect, I have run this multiple times overnight and never once has it not run out of bars. I have not observed the other problems you are mentioning, perhaps check that the graphics settings in SMART are set to safe mode, all low, very bright colours (max brightness). In fact this script is one of the most reliable colour-based scripts I've seen, admittedly it only has to walk a bit over the length of the minimap though :)
I finally managed to get the stats working and I'll probably overtake you at some point trav ;)
traveler
2010-11-17 07:54:32
From: Feroc1ty
Adding rings of forging support would be bad-ass.
EDIT: Also, your function for getting to the furnace must be bad or something because every other run the character runs into either the tanner or behind the smelting place, which makes the person look stupid, and after a few times of looking stupid it looks like an obvious botter.
Also, when my smithing leveled up the script didn't smelt the other ores in my inventory and ran straight to the bank although it was pretty much full of ores rather than bars.
Just as I tabbed back I saw another genius thing you've done, after my character was done smelting 8 bars he decided he needed to rest and get his energy back, after he was done doing so he ditched the rest of the smelting proccess and ran to the bank…
This is only from about 5 minutes of observing the bot run, won't run it any longer as I don't want to risk my character getting banned, heh as I was about to close saw the bot decide to rest again after 6 bars this time with 60% energy.
EDIT2: 1 second before I was about to close it (finished the last paragraph of this post) the bot decided that I was out of ore and took out a tuna out of my bank, closed it and loged out. ( I had 4k more ores in bank, not like I was gonna keep running the script just sayin )
Anyways GL fixing this stuff unless I'm magically the only person who got these errors.
The walking isn't perfect, color walking never is. I plan on re-doing most of my scripts this weekend.
I have it set to run back to the bank after it levels up, which is bad and I'll fix it after I get finished with my tests this week.
As for all the other errors, they are mostly ur fault. Everytime u tab back and forth between the smart window and other windows, it messes up the smart graphics for a split second. If u ever noticed, when you tab back to the smart window, the screen goes black some of the time. Since my script works in color, for that millisecond it goes black, my script only sees the black and it messes up everything.
Feroc1ty
2010-11-17 12:21:00
Alright thanks for pointing that out, just a question though, why use color walking if the script has reflection implemented?
traveler
2010-11-17 12:26:21
this script has no reflection implemented. my essence miner does, this one doesn't.
Goobs
2010-11-18 06:17:48
***********************************************
*********Traveler's Al Kharid Smither**********
***********************************************
*Total Time Runing: 05h 30m 41s *
***********************************************
*Progress Report For: ********* *
*---------------------------------------------*
*Time Runing: 05h 30m 02s *
*Bars Made: 2193 *
*Bars Per Hour: 399 *
*Loads: 245 *
*Exp Gained: 38378 *
*Exp Per Hour: 6977 *
*---------------------------------------------*[/REPORT
Great job!
any_one
2010-11-20 01:14:33
Ok here is a progress report, I think I found a problem also:
***********************************************
*Total Time Runing: 06h 52m 09s *
***********************************************
*Progress Report For: my account *
*---------------------------------------------*
*Time Runing: 06h 49m 28s *
*Bars Made: 2709 *
*Bars Per Hour: 397 *
*Loads: 302 *
*Exp Gained: 47408 *
*Exp Per Hour: 6947 *
*---------------------------------------------*
Finding and Opening Bank
Found Banker
Doing Checks
Walking to Furnace
Found Symbol
Doing Checks
NextPlayer
SwitchToPlayer(PlayerNo: 0, Active: True);
1
2
4
5
1
2
Finding and Opening Bank
It logged out and went to "nextplayer" for absolutely no reason; it was still running perfectly fine, and had just finished smelting bars and didn't walk back to bank. This has happened to me once before but I wasn't sure if it was a repeatable issue. It appears to happen randomly after the script has been running for quite a long time, but always before it has walked back to bank from furnace so it doesn't actually find and open the bank when it logs back in. I woulda had a ~9-10 hour proggy for you if this hadn't happened! :(
traveler
2010-11-20 10:53:43
From: any_one
Ok here is a progress report, I think I found a problem also:
It logged out and went to "nextplayer" for absolutely no reason; it was still running perfectly fine, and had just finished smelting bars and didn't walk back to bank. This has happened to me once before but I wasn't sure if it was a repeatable issue. It appears to happen randomly after the script has been running for quite a long time, but always before it has walked back to bank from furnace so it doesn't actually find and open the bank when it logs back in. I woulda had a ~9-10 hour proggy for you if this hadn't happened! :(
i am adding some stuff to my scripts this weekend and over thanksgiving to fix up a lot of these problems. Hopefully i will get the first revisions out by tomorrow.
Thanks for everyone who uses my scripts!
MeetmeDeath
2010-11-21 16:33:35
Thank you sir. The script works great. Atleast for the cannonballs.
Ill post a progress report after these 4700 bars.
Goobs
2010-11-22 18:24:48
Script works great – when it realizes that I have a hammer in my inventory. For some reason, sometimes, it doesn't realize I have a hammer when it starts, so it banks and deposits everything. This wouldn't be a problem if it withdrew a hammer before reloading up. However, the script simply closes the window and logs off. My only suggestion would be to redo your hammer bmp (or hell, make a DTM…), and maaaaaaaybe add reflection walking (Sometimes the bank symbol and anvil symbol are so far away that the script thinks it's lost and logs me off.) Great script otherwise!!
traveler
2010-11-22 20:51:07
From: ProphesyOfWolf
Script works great – when it realizes that I have a hammer in my inventory. For some reason, sometimes, it doesn't realize I have a hammer when it starts, so it banks and deposits everything. This wouldn't be a problem if it withdrew a hammer before reloading up. However, the script simply closes the window and logs off. My only suggestion would be to redo your hammer bmp (or hell, make a DTM…), and maaaaaaaybe add reflection walking (Sometimes the bank symbol and anvil symbol are so far away that the script thinks it's lost and logs me off.) Great script otherwise!!
when u say hammer, do u mean cannonball holder? my smithing script doesnt use a hammer anywhere that i can remember.
also, sry for the hold up on the update, will be out as soon as i can get it done.
any_one
2010-11-27 00:56:16
After recent update, the bar bitmaps (at least for steel) need to be redone - it wouldn't detect that it had loaded the smelting screen until I made a new bitmap.
For steel:
'steel':
begin
Result := BitmapFromString(16, 11, 'meJxjYmCIjU3Egyor65ERSYoh6k' +
'1NzYlUDERAxcgIv2JM9XCEVTHEMUSqh9hLpHqI4traZlzqkbXAFQO' +
'RkpIyLoswFUPUwxGaRkzFaOrRNGIqZmJgAADoaLc3');
Untested, but is currently working fine.
traveler
2010-11-27 16:10:45
Updated in v1.6
-Fixed all Bitmaps
-Added reflection walking
any_one
2010-11-27 16:31:32
Nice! Running now, it's about 10% faster in bars per hour, much "nicer" (more human) walking too. Pity it's only possible to do with reflection :(
traveler
2010-11-27 17:00:06
From: any_one
Nice! Running now, it's about 10% faster in bars per hour, much "nicer" (more human) walking too. Pity it's only possible to do with reflection :(
no, its not only possible with reflection. its just a lot easier with reflection. i am sure i could have done something different with the color walking, but im just busy right now and reflection was a lot easier.
any_one
2010-12-02 22:20:14
I have overtaken you on SMS for time running this script :) I made some modifications to increase the speed/reliability - basically just whenever there was a
wait(1000+random(x)); // or similar
I replaced it with
repeat
wait(100);
until (condition or timeout)
where timeout was a much longer time like 10 seconds.
Now gets 450 bars per hour. I did that because it was occasionally failing on banking if it took too long for the ores to appear in your inventory, so it withdrew twice the amount of ores and got stuck.
Also, when you are carrying more than 15kg, it is more efficient to walk and run when your energy eventually recovers than to rest every time it gets low. So I removed that also and only made it set run if your energy was around 60-89.
Progress report of iron bars:
*---------------------------------------------*
*Time Runing: 11h 58m 24s *
*Bars Made: 8649 *
*Bars Per Hour: 722 *
*Loads: 387 *
*Exp Gained: 108112 *
*Exp Per Hour: 9029 *
*---------------------------------------------*
botsrs
2010-12-05 14:28:52
Just one bug I've found, when you level up (in my case it only did one bronze bar) it goes to the bank without finishing your bag.
traveler
2010-12-05 16:46:22
From: botsrs
Just one bug I've found, when you level up (in my case it only did one bronze bar) it goes to the bank without finishing your bag.
thats not a bug, I have it set up to do that. i really need to fix it though.
B o l t o n
2010-12-17 18:12:40
***********************************************
*********Traveler's Al Kharid Smither**********
***********************************************
*Total Time Runing: 04h 07m 32s *
***********************************************
*Progress Report For: …………………..*
*———————————————*
*Time Runing: 04h 07m 08s *
*Bars Made: 1650 *
*Bars Per Hour: 401 *
*Loads: 185 *
*Exp Gained: 28875 *
*Exp Per Hour: 7010 *
*———————————————*
Making Steel bars*
Only problem I encountered was with the Drill Sargent, Script thought It failed it when it actually complete'd it
traveler
2010-12-17 22:44:41
nice
botsrs
2010-12-21 00:25:48
It makes one bag of steel bars, then stops. I've tried it 5 times and it just keeps doing that, no exceptions, it just goes to next player.. I have it set to make 5000 bars, then stop. It makes 9.
traveler
2010-12-21 19:51:56
make sure all your graphics settings are right, its thinking that your player is logged out after the first load.
Tlachtli
2011-01-04 11:11:52
After making the changes suggested by any_one, I got it to run for 7 hours and 30 minutes before stopping it manually.
***********************************************
*********Traveler's Al Kharid Smither**********
***********************************************
*Total Time Runing: 07h 30m 20s *
***********************************************
*Progress Report For: ************ *
*---------------------------------------------*
*Time Runing: 07h 30m 06s *
*Bars Made: 3201 *
*Bars Per Hour: 427 *
*Loads: 356 *
*Exp Gained: 56018 *
*Exp Per Hour: 7467 *
*---------------------------------------------*
bobreaze
2011-02-19 08:55:40
Im attempting to make steel bars. However it is with drawing full bags of iron instead of specific numbers. Just wanted to share.