SRL Archive - OSR Magic

[AL] AeroMagicPro


Flight

2015-05-03 10:32:01


AeroMagic Pro
By Flight
Current version: 1.1
Current revision: 3
Stats page


Core features:
  • Super-heats iron, bronze, silver, steel, gold, mithril, adamantite and runite bars
  • Auto casts High Alchemy on your item of choice
  • Thorough requirement detection
  • Break system
  • Stats
  • 100% color

Anti-bans:
  • Skill-hovering based on task
  • Moving objects examining
  • Mini-breaks (4-21 seconds)
  • Pause script if the user is typing (optional)

Supported locations (Superheat):
  • Falador west bank
  • Falador east bank
  • Al-kharid bank
  • Edgeville

Requirements:

How to run:
If super-heating start near the bank booths in your preferred bank, if alching run it anywhere.

[Notes]
A simple Magic-trainer I've had for quite some time. I have plans to add item-enchanting, plank-making and humidifying in the future but it's not high priority. If you'd like to see some more supported locations for the super-heater just suggest them here and I'll add them in. As well as pointing out any flaws or defects.

Hyperion

2015-05-03 11:30:14

This was done VERY quickly. Definitely going to give this a try once I have 35 smithing.
Alchemy I'll try out, but only have around 200 casts on me atm. I'll try my best to report with feedback and proggies.

Flight

2015-05-03 12:00:07

From: zaboomasimba
This was done VERY quickly. Definitely going to give this a try once I have 35 smithing.
Alchemy I'll try out, but only have around 200 casts on me atm. I'll try my best to report with feedback and proggies.


Thanks a lot buddy! At the moment both methods are a net loss, even super-heating steel bars as I found out. I hope the price of bars will rise again, I'd love to run the super-heater some more. Also I'd recommend doing Knights Sword quest for a quick 1-29 (nearly 30) Smithing if you plan to superheat steel bars.

Davi

2015-05-03 13:03:56

From: Flight
Thanks a lot buddy! At the moment both methods are a net loss, even super-heating steel bars as I found out. I hope the price of bars will rise again, I'd love to run the super-heater some more. Also I'd recommend doing Knights Sword quest for a quick 1-29 (nearly 30) Smithing if you plan to superheat steel bars.


Nice job on the script, I'll have to try it out some time.

Unfortunately blast furnace is still killer profit at the current price of bars, which is why they're dropping even now - It's hard to make a profit just smelting them. Enchanting is good profit though- It's over 200 gp per sapphire ring at the moment.

woo hoo

2015-05-03 15:28:57

For alching with slot 16, when the spell and item slot overlap, and no mouse movement is required to alch.

//clicks if already hovered over alch spell
if not mouseinbox(pointtobox(point(x, y), 5)) then
begin
missMouse(Point(X,Y), 5, 5);
fastClick(MOUSE_LEFT);
end else fastClick(MOUSE_LEFT);


//clicks if already hovered over item slot
if not mouseinbox(invbox(slot_ALCH)) then interactSlot(slot_ALCH, MOUSE_LEFT)
else fastclick(MOUSE_LEFT);

Solar

2015-05-06 14:43:11

I've tried the superheating part of the script and it seemed to try to click too fast and then go onto inventory tab too fast, before the game would and click use instead of casting on the ore.
I have noticed that a similar thing occurs when depositing items; it will deposit the first bar, and before the game has removed the bars from the inventory, the script tries to deposit the second bar.
I guess this would be same reason that when trying to withdraw ores, it sometimes shuts down and reports (usually) that it has failed to withdraw secondary ores.

I have added some waits into the superheating part of the script and deceased mousespeed to increase a general runtime of about 10 mins to at least 30 mins (depending on my luck when withdrawing and depositing).

All in all though, a nice script and with few adjustments, can run for a long time unattended.

As always, thanks for sharing @Flight;.

Edit: "You must spread some Reputation around before giving it to Flight again."

Flight

2015-05-06 15:35:50

From: Solar
I've tried the superheating part of the script and it seemed to try to click too fast and then go onto inventory tab too fast, before the game would and click use instead of casting on the ore.
I have noticed that a similar thing occurs when depositing items; it will deposit the first bar, and before the game has removed the bars from the inventory, the script tries to deposit the second bar.
I guess this would be same reason that when trying to withdraw ores, it sometimes shuts down and reports (usually) that it has failed to withdraw secondary ores.

I have added some waits into the superheating part of the script and deceased mousespeed to increase a general runtime of about 10 mins to at least 30 mins (depending on my luck when withdrawing and depositing).

All in all though, a nice script and with few adjustments, can run for a long time unattended.

As always, thanks for sharing @Flight;.

Edit: "You must spread some Reputation around before giving it to Flight again."


That's sure odd, I've never had trouble with the script super-heating too fast, especially with the update that creates ques when casting enchantment/alchemy spells. Which type of bar are you super-heating?

About the depositing, AeroLib's banking, by default, will wait until the item has been removed from your inventory when depositing to the bank. But in this case I have the script not waiting for this, but you're welcome to adjust it if you wish. Go down to line 547 (hopefully) and find this:

depositSlots(getDepositSlots(), False);
Either change the 'False' to 'True' or remove that second parameter all together, that should fix your issue.

As for the withdrawing issue, have you seen the debug say "Failed to withdraw secondary ore" or "Failed to find secondary ores in the bank"? The first error can almost never occur but the second one I wouldn't be surprised if it happened, and can easily be fixed.

Solar

2015-05-06 15:46:26

The last two times I got the banking error it was the former, about "Failed to withdraw secondary ore".
The superheating issue (I'm doing steel BTW) isn't that it's going too fast for the queue in-game, but that it clicks to cast superheat, and then clicks on the inventory tab before the game has chance to change to it, and then it proceeds to click use on the iron ore.

Hoodz

2015-05-06 16:08:38

well done @Flight;

austintheman1

2015-05-07 12:59:22

oh man a Flight script :spot: if this is anything similar to your old ZMI script.. :wub: :wub:

Will definitely give this a shot later today, will leave some feedback then. Thanks for the script!

Blak Fishy

2015-05-08 04:07:14

Script looks okay, will try it out for a bit. Too bad price of bars is so low right now.

gentlemanboy

2015-05-08 23:11:37

Oh boy, seems to be a nice script! Thanks for that!

Austintheman

2015-05-09 23:59:23

Script isn't working for me, unfortunately. Unsure if it's because i'm not using smart, however when selecting iron it will withdraw the ores, but it will immediately bank them and re-withdraw them and will keep doing this. Also when it banks for some reason it tries to deposit the non-existent ore in the second inventory slot. If this doesn't make sense I can try to create a video doing it.
When I selected gold it scanned my bank and then logged out saying I didn't have any. I assume this is just a DTM issue so i'll replace it some time later.

Suggestion wise, some anti ban i would include are misclicking ore when super heating(maybe on bars as well as the blank space between the ores). Another anti-ban that would be nice but not necessary is misclicking the super heat spell (click the ardy/camelot teleport instead).

Hope this helped! Thanks again for the script :)

lolskilla

2015-05-13 10:58:29

Encountering the same problem with gold ores. Simply keeps depositing and withdrawing gold ore in a loop

Flight

2015-05-13 11:08:25

Thanks for letting me know, I'll run the script myself with ores that don't require secondary ores. I have some improvements since the original version as well. I'm juggling four projects at once now so bare with me. :wacko:

Flight

2015-05-13 16:28:13

Updated to version 1.1. This fixes a couple issues with banking & super-heating. It also brings two new locations Falador East and Edgeville banks. Stats is now linked to the script so you can see your progress on the Stats page.

lolskilla

2015-05-18 13:26:19

[AL] Startup complete!
[SCRIPT] Failed to find primary ores in the bank
Error: The given DTM Index[0] doesn't exist at line 192
Execution failed.
The following DTMs were not freed: [2, 3, 4]


:/ i fail. cannot get it to do gold

woo hoo

2015-05-18 14:11:53

From: lolskilla
[AL] Startup complete!
[SCRIPT] Failed to find primary ores in the bank
Error: The given DTM Index[0] doesn't exist at line 192
Execution failed.
The following DTMs were not freed: [2, 3, 4]

:/ i fail. cannot get it to do gold

Gave it a test, the gold ore DTM has a subpoint that isn't pure black and the tolerance is set to 1. I just removed that subpoint and the DTM editor was able to find gold ores on screen.
If you replace line 98 with:
A := DTMFromString('mlwAAAHicY2dgYBAEYjkgFgdiMSDmZIAAXiBmYUAAHiAWgIqB8O3N0kCSESvmwimDH0MBAO6vAmg=');
it should be able to find gold ores.

lolskilla

2015-05-20 12:33:43

From: woo hoo
Gave it a test, the gold ore DTM has a subpoint that isn't pure black and the tolerance is set to 1. I just removed that subpoint and the DTM editor was able to find gold ores on screen.
If you replace line 98 with:
A := DTMFromString('mlwAAAHicY2dgYBAEYjkgFgdiMSDmZIAAXiBmYUAAHiAWgIqB8O3N0kCSESvmwimDH0MBAO6vAmg=');
it should be able to find gold ores.



thank you. Did a few loads to test. Standard mode does not work, and it h as some trouble finding bank. Otherwise solid

Ez Flow

2015-05-27 20:53:36

Compiling failed.
Error: Unknown declaration "withdrawItem" at line 586
Compiling failed.

doing on lape mode, have aerolib downloaded. perhaps i need to update, although i believe it may auto update? or that may be reflections. ill mess around and see if i can get it started,


Edit: Yes updating aerolib worked =p. will let know how its running in a bit

Edit^2: Script is working great using the alching, I haven't used the superheating option yet, but the alch is great. It is also very easy, and user friendly to setup. I'm sure that the superheating is promising as well.

Thank you for the script release.:spot: it is exactly what i was looking for and needed in this stage of making my 1 def pure.

Cotto

2015-05-29 12:27:38

mine just sits there trying to hop to a members world lol trying to make bronze bars

AFools

2015-05-30 03:38:09

From: Cotto
mine just sits there trying to hop to a members world lol trying to make bronze bars


I too had; real difficulty getting this script to work at edge or fallador. i think it is trying to hop worlds due to it actually trying to log-out. yet the log out button has moved. This may have been fix in the latest hookup date. But i'm a little lazy too update it atm. =p

Flight

2015-05-30 08:35:52

From: Cotto
mine just sits there trying to hop to a members world lol trying to make bronze bars


From: FullPottatoHarry
I too had; real difficulty getting this script to work at edge or fallador. i think it is trying to hop worlds due to it actually trying to log-out. yet the log out button has moved. This may have been fix in the latest hookup date. But i'm a little lazy too update it atm. =p


You need to update your AeroLib to revision #10 which has the updated WorldSwitcher (and logout fixed).

Zerotic

2015-06-05 03:51:18

So it logs me in, opens the bank, types the pin, scrolls halfway down the bank, closes the bank, then logs out.

I have my ores in the first two places of my bank; fire staff equipped; nature runes in inventory.

Am I doing something wrong?

Edit: On another run, it scrolled through my whole bank, stopped and search 'Iron Ore' then gave up and logged out instantly.
Edit 2: It withdrew 9 Bronze Arrows instead of Iron Ore. Welp.

Flight

2015-06-05 06:19:45

From: Zerotic
So it logs me in, opens the bank, types the pin, scrolls halfway down the bank, closes the bank, then logs out.

I have my ores in the first two places of my bank; fire staff equipped; nature runes in inventory.

Am I doing something wrong?

Edit: On another run, it scrolled through my whole bank, stopped and search 'Iron Ore' then gave up and logged out instantly.
Edit 2: It withdrew 9 Bronze Arrows instead of Iron Ore. Welp.


Which type of bar are you trying to super-heat?

Zerotic

2015-06-05 06:55:17

Hey Flight,

Steel bars.

It's worked a few times since then, for varying amounts of time - no longer than 10 minutes though. I'd help with the code, if I could!

Hopefully I can assist by saying what the most common problems are:
- It doesn't withdraw coal with the iron ore, so it will say it's out of secondary ore and log out.
- Whilst it is getting ready and cycles through the inventory and settings, it turns on the re sizing option and stalls the bot, having to restart the client and script.
- It just randomly stops and logs out, saying its not near a bank.

EDIT: Yeah, for some reason it moves to the music tab and then settings tab, turning on the resize option 95% of the time breaking it. Even though in the code, all I see is tab_magic and tab_inventory

Zerotic

2015-06-05 08:33:55

Also, this is my first time coming back to OSRS in under 2 years. This 'Mod Wreath' guy seems to be cracking down on botting a lot. Is botting even safe/worth it anymore? Powerbot used to be what you'd use, and it would be fine, but now it's deprecated and has hardly any working scripts.

superfonz

2015-06-05 13:11:43

From: Zerotic
Also, this is my first time coming back to OSRS in under 2 years. This 'Mod Wreath' guy seems to be cracking down on botting a lot. Is botting even safe/worth it anymore? Powerbot used to be what you'd use, and it would be fine, but now it's deprecated and has hardly any working scripts.


Ive been botting for awhile and on my main i have done hours of botting, on pc, wc and whatnot and havent gotten banned. But when i bot on a lvl 3 or sometimes i lvl them up to like 20 before botting, i still get banned because its suspicious. So what im getting at is if your not obvious about it, it should be good.

so dont bot for 6 hrs straight without breaks or stuff like that.

Zerotic

2015-06-05 20:34:27

From: superfonz
Ive been botting for awhile and on my main i have done hours of botting, on pc, wc and whatnot and havent gotten banned. But when i bot on a lvl 3 or sometimes i lvl them up to like 20 before botting, i still get banned because its suspicious. So what im getting at is if your not obvious about it, it should be good.

so dont bot for 6 hrs straight without breaks or stuff like that.


Okay yeah, cool. People have said similar things, and I agree.
Thanks.

Zerotic

2015-06-05 22:50:37

Just an update: the v1.0 for me superheated 1.2k iron ore (2.4k coal ore) into steel bars with only minor issues (~3 restarts before that long haul of 1k superheats).

So something happened with v1.1 I think.

RedOrm

2015-06-19 08:03:31

From: Flight
Which type of bar are you trying to super-heat?


Hey man, the script is great! Just a few problems with alching for me….

1. Script does not break (For me at least)
2. Unable to run script on more than one account at the same time

Thanks bro!

Fitta

2015-06-19 08:36:52

Nice stuff Flight :)