SRL Archive - OSR Smithing

[AeroLib] Davi's AIO Al Kharid Smelter


Davi

2015-04-27 11:59:06

Key Features
  • Finds ores anywhere in bank (Faster if at the top)
  • Opens door to the furnace room if closed
  • Supports all common ores (Sorry blurite)
  • Lots of antiban with customizable options
  • A paint to show you the status
  • 100% color

Requirements:
Newest AeroLib
Newest Simba


Set up: Start in Al kharid bank with the ores you need in your bank. If it can't find them in the first tab (without scrolling) it will search for them.

Make sure your brightness is on max, Interpreter is Lape.

Please report any bugs or post programs below.

Changelog

v1.02: Added failsafes and timed breaks everywhere, updated banking, fixed an issue where it would miscount bars smelted, door opening is out of beta and the script has overall improved general efficiency.

v1.01: Added a members button, fixed an issue where it would sometimes withdraw the wrong amount and fixed a bug where it would just smelt one bar

froggy1

2015-04-29 21:23:50

When I first tried it out smelting steel it would constantly withdraw the iron and coal smelt one bar then run back to the bank and repeat itself. I removed the if count = 1 function since to get rid of the left clicking and it would run 2 or 3 trips then withdraw 9 of iron and 9 of coal instead of 18 coal. I then modified it so that ore2 amount is equal to 0 so that the withdrawItem function would use withdraw all and it was able to run for several hours.

Davi

2015-04-30 01:54:59

From: froggy1
When I first tried it out smelting steel it would constantly withdraw the iron and coal smelt one bar then run back to the bank and repeat itself. I removed the if count = 1 function since to get rid of the left clicking and it would run 2 or 3 trips then withdraw 9 of iron and 9 of coal instead of 18 coal. I then modified it so that ore2 amount is equal to 0 so that the withdrawItem function would use withdraw all and it was able to run for several hours.


These are confusing bugs indeed. I'll look into it and see if I can reproduce.

Edit: I fixed the count bug, there were no brackets around each of my cases in the if statement… Yeah.
Still looking in to the X amount being incorrect sometimes.
Edit2: The problem was it would sometimes right-click on the next ore before the first one had finished withdrawing, so the saved withdraw would SHOW as the number required when it would really be the previous ore. I added a randomised delay between the two withdraws and it seems to be working flawlessly now.
Edit3: Uploaded the newer version, download above.

xujnea

2015-05-01 18:53:41

I start at bank,guy talks to banker,but he seems he cant find iron and coal.After bank window opens,he clicks on "deposit" tab,when types " coal " in search,then type " iron ore ",leaves bank and runs to forge with empty backpack,when he runs back to bank and repeats everything forever. :)

Davi

2015-05-01 21:03:06

From: xujnea
I start at bank,guy talks to banker,but he seems he cant find iron and coal.After bank window opens,he clicks on "deposit" tab,when types " coal " in search,then type " iron ore ",leaves bank and runs to forge with empty backpack,when he runs back to bank and repeats everything forever. :)


Are they in your bank? If they're in a tab try moving them out of it into the main section. I ran a 12 hour proggie on steel yesterday.

xujnea

2015-05-02 05:46:08

From: Davi
Are they in your bank? If they're in a tab try moving them out of it into the main section. I ran a 12 hour proggie on steel yesterday.


Yes,they're in bank,default tab. I tried putting them in first slot/new tab,seems like nothing works. Script finds Coal/iron,but it doesn't try to withdraw and sometimes it got stuck at bank too just turning camera angle around till i hit keyboard arrow. Not sure how to help you,to fix it. I would record for you,but I'm using it on my vps.

Davi

2015-05-02 07:09:32

From: xujnea
Yes,they're in bank,default tab. I tried putting them in first slot/new tab,seems like nothing works. Script finds Coal/iron,but it doesn't try to withdraw and sometimes it got stuck at bank too just turning camera angle around till i hit keyboard arrow. Not sure how to help you,to fix it. I would record for you,but I'm using it on my vps.


Is your brightness set to max? Also make sure your AeroLib is up to date as I use some methods only released in the newest version.

xujnea

2015-05-02 07:14:41

From: Davi
Is your brightness set to max?


It's set on second one,if u count from left to right. Lol,man,I set it to max brightness and it works,nice one,ty. But camera rotation still gets stuck,maybe its because of lag on vps?

Davi

2015-05-02 07:35:47

From: xujnea
It's set on second one,if u count from left to right. Lol,man,I set it to max brightness and it works,nice one,ty. But camera rotation still gets stuck,maybe its because of lag on vps?


Try just leaving the camera going and see if it finds the bank eventually. it's a very particular pixel, so it corrects quite a lot and might seem like it's stuck.

xujnea

2015-05-02 07:56:56

From: Davi
Try just leaving the camera going and see if it finds the bank eventually. it's a very particular pixel, so it corrects quite a lot and might seem like it's stuck.


Ok,bro. Ill try to do longer proggy. Thank you for fast replies ! ;)

Hyperion

2015-05-02 10:28:05

From: Davi
Are they in your bank? If they're in a tab try moving them out of it into the main section. I ran a 12 hour proggie on steel yesterday.


Davi, can you please post your proggy? I'd like to see how many bars/h and xp/h and if you coded it in, profit/h steel bars gives.
Thanks a bunch.

Davi

2015-05-02 15:48:02

From: zaboomasimba
Davi, can you please post your proggy? I'd like to see how many bars/h and xp/h and if you coded it in, profit/h steel bars gives.
Thanks a bunch.


Unfortunately I didn't save it, but IIRC it was 400-500 bars/h with max antiban and a few pauses. Each bar is about 100 gp profit.
The real money is turning them into cannonballs though- It's a further 300 gp per bar. I'm planning on writing a script for that later.

liams007

2015-05-02 20:06:56

Hate to be that guy, but I keep receiving the message "exception in Script: Unknown compiler directives at 6:3." I guess it's referring to the line {$DEFINE WALKER}. I updated AeroLib as usual and manually [installed] walker but can't avoid this error. Any idea? :p

Davi

2015-05-03 10:26:53

From: liams007
Hate to be that guy, but I keep receiving the message "exception in Script: Unknown compiler directives at 6:3." I guess it's referring to the line {$DEFINE WALKER}. I updated AeroLib as usual and manually [installed] walker but can't avoid this error. Any idea? :p


Make sure your interpreter is set to Lape.

Script is updated to v1.02 - With a heap load of new features and fail safes.

liams007

2015-05-04 03:07:33

Thank you, I must've been drunk when I asked that question.
Your script isn't flawless (yet), but so far it's working very well! Nicely done

Davi

2015-05-04 04:02:09

From: liams007
Thank you, I must've been drunk when I asked that question.
Your script isn't flawless (yet), but so far it's working very well! Nicely done


Well let me know if there is anything I can do to improve it.

Emin

2015-05-06 17:08:05

Everything is working great so far ! If you are looking for suggestions, I would love a ring of forging option. Will post if I have a long prog

xujnea

2015-05-08 11:42:33

Would be awesome,if you would add enchanting :D

AFools

2015-05-20 05:11:50

Great script! only improvements atm is ring of forge. =D

AFools

2015-05-22 01:46:59

Well; it seems to have trouble locating the Coal; i adjusted the "Tol" and resolved this; Their is no dismissing of randoms. Also while at the furnace making bars. It will start checking for furnace - all to often it will return that it can't locate the furnace; Logging-out. But i have baby sat the script at 55 smithing thus far.

Davi

2015-05-22 21:51:37

From: FullPottatoHarry
Well; it seems to have trouble locating the Coal; i adjusted the "Tol" and resolved this; Their is no dismissing of randoms. Also while at the furnace making bars. It will start checking for furnace - all to often it will return that it can't locate the furnace; Logging-out. But i have baby sat the script at 55 smithing thus far.


Yeah, I plan on changing to DTMs when I get the time as BMPs just suck and they keep not getting found. I don't see dismissing randoms as a priority, I pretty much just ignore them when I play legit anyway. I can't reproduce the furnace problem though, is your brightness on max?

AFools

2015-05-22 22:00:39

I think the furnace problem may be based on the disconnecting issue around DDOS attacks. I have added my own random dismissing.. almost created my own version using reflection to make steel bars and cannonballs =D

Davi

2015-05-22 22:14:02

From: FullPottatoHarry
I think the furnace problem may be based on the disconnecting issue around DDOS attacks. I have added my own random dismissing.. almost created my own version using reflection to make steel bars and cannonballs =D


Nice, I actually use a variation of my Jeweller to make cannonballs - since it already uses the moulds.

phatcal

2015-06-02 08:01:31

From: Davi
Nice, I actually use a variation of my Jeweller to make cannonballs - since it already uses the moulds.


Is there any chance you can post said variation? Pretty please? <3

AFools

2015-06-03 04:36:50

Try make it… they shouldn't be too hard. as the script already looks for a mould and a ore. change the dtm and names for the ore to a bar and the correct mould. Generally such scripts are kept private.. as they are people "money makers", public scripts lead to bans compared to private

akela

2015-06-19 05:53:35

@Davi Is this script 100% color, is there no reflection or injection involved?
Happy to hear answer :')