SRL Archive - Reflection

AutoSuperheat


Claymore

2010-09-23 02:55:39


AutoSuperheat
Getting you 99 Smithing and Magic, all in one script


About
Superheat can not only train magic effectively, but also smithing! The script can turn all ores into bars respectively! At a fast human-like motion.

Locations Supported
Only Soul Wars Bank

Features
*Supports all ores including
-Runite, -Adamantite, -Mithril, -Gold, -Steel, -Iron

*Built-in and customizable anti-ban and break handler!

*Supports the following banks
-Soul Wars Bank

*Easy to use form, with a save option for quicker start up on your next run.

*Sexy paint! Displays on your SMART screen your progress report.

Screenshots


*Smart Debug = Paint Progress Report. It doesnt really lag TBH. My old,Toshiba laptop can run with it just fine. MAKE SURE TO ENABLE DEBUG TO ALLOW THE PAINT TO BE DISPLAYED!

Instructions

1. Download ZIP file and uncompress with whatever softwares suits.

2. Run script.

3. Fill in the form accurately. IF YOU HAVE NO PIN, LEAVE IT BLANK.

4. Save Options if desired, DO NOT DELETE SETTINGS.INI or your save will be lost.

5. Make sure your character is right in front of the chosen bank.

6. YOUR PLAYER MUST HAVE HIS/HER NATURE RUNE AT THE FAR BOTTOM RIGHT CORNER OF YOUR INVENTORY (Slot 28)!

7. PRIMARY ORES (Runite, Adamantite, Mithril, Iron and Gold) GO ON THE FAR TOP-RIGHT CORNER OF YOUR BANK (SLOT 10), Secondary Ore (Coal) GOES LEFT OF THE PRIMARY ORE (SLOT 9).

8. HAPPY BOTTING!

Also, i achieved 99 Magic and 99 Smithing with this script alone. This script first started as a simple clicker, than it became quite advanced and especially flawless.

So the banner is basically me, wearing Smithing cape, rubbing my 99 Mining (Lawl woops) and Magic all over your face, and the partial screenshot of my 99 Smithing :D

DOWNLOAD IN THIS POST!
Click here to download the latest one!


12/28/10_Revision 3
Changes made by various supporting members of this thread. Thank you!

09/26/10_Revision 2
Added new banks


09/20/10_Revision 1
Initial release, supporting the following ores...
Runite, Adamantite, Mithril, Gold, Steel and Iron.
Supports the following banks...
Only Soul Wars Bank chest.
Form is fully functional!
Paint is fully functional!

BlueWorld

2010-09-23 03:22:51

I would love to use this script, mind PMing some tips? in return i'll test this script very thoroughly

gamer716

2010-09-23 09:38:52

quick question, what bars did you make to 99 magic? I'm trying this with steel bars, the loss is not so great which is fine for me

edit: I like the G.E price checker, very useful! Testing out now

Claymore

2010-09-23 11:04:11

I use the price checker, did steels than runite… than igot impatient and did gold bars from 88 - 99. Cost about 30m?

xzer0bs

2010-09-24 14:25:34

Should add in a few things, a failsafe for when you run out of natures.. i ran out and it sat there online for an hour+ not logging out.

Another thing you should add in the amount of bars you want to smith so the program knows when to stop.

Other than that it ran really well, I'll keep running it and keep you posted.

gamer716

2010-09-24 16:10:49

also, maybe support for G.E? that will be great, planning to use this script for a while so it's a pain going to Soul Wars, G.E multiple times.

Claymore

2010-09-25 02:37:43

Anyone doing ok with this bot? Lol havent used it ever since i got 99 Mage and Smithing :/ Its been working for me, but since no on posted im worried it doesnt work for anyone else :/

Overtime

2010-09-25 03:03:47

I have downloaded it i just haven't had time to run it :X

Been collecting Coal/Mithril and Nature runes to test it at its full potential. :>

gamer716

2010-09-25 10:01:08

From: Deathscytex
Anyone doing ok with this bot? Lol havent used it ever since i got 99 Mage and Smithing :/ Its been working for me, but since no on posted im worried it doesnt work for anyone else :/


no it works perfectly fine! Previous run lasted 3 hours

sharpy172

2010-09-25 14:25:43

wont withdraw iron for me..

null

2010-09-25 21:14:56

awesome script. Try to remember that, if there is any left over coal in the inventory it doesn't need to be deposited.

All you need to do is withdraw how many primary ores (iron, mithril, adamant) you need
Withdraw all coal. Thats it.

But what do i know.

Great script though, thanks!

null

2010-09-25 21:36:36

wont withdraw iron for me..


Yeah, won't do steel bars for me. Mithril works though :D

gamer716

2010-09-25 22:01:52

steel bars works for me, did you place the ores in the right spot? Iron ores should be in the 10th slot of the bank

null

2010-09-25 22:09:10

If the mithril bars work for me, then the steel bars would lol. Because the same settings apply except i change the GUI form to Steel instead of mithril.

null

2010-09-25 22:21:22

If your still updating this script then i recommend trying this method.

The concept is withdrawing 1 extra ore than what it's possible to smelt in one bank load. So for mithril bars, withdraw 6 ores. And that leaves you with 1 coal after every smelt.
Move the mithril ore to slot 14 in your inventory. Super heat and the ore is right under neath your xhair. Just like how people High Alchemy.

Just a thought. Because the fewer mouse moves the less of the chance of a ban.

null

2010-09-25 22:25:31

From: xzer0bs
Should add in a few things, a failsafe for when you run out of natures.. i ran out and it sat there online for an hour+ not logging out.

Another thing you should add in the amount of bars you want to smith so the program knows when to stop.

Other than that it ran really well, I'll keep running it and keep you posted.




That's so true lol.

Bonfield

2010-09-25 23:20:58

i couldnt get it to bank properly, so i added a different bank function, maybe add banking based on player input also it would not withdraw iron ore so i made it withdraw 8, not sure what would cause it in the script though…


other than that great script i will give you a proggy soon

EDIT: i suggest you add
AddOnTerminate('ScriptTerminate');
to your setup as the screenshot is not being saved, that could be the reason you have no progress reports

null

2010-09-26 00:46:37

It worked for an hour until i ran out of nature runes. Went back to soul wars bank and restarted the script. Now it doesn't withdraw from the bank properly. It withdraws 500 mithril instead of 5.

I'm not sure what's wrong here. So it fails after that.

Bonfield

2010-09-26 00:54:38

TakeScreenshot does not work, i would suggest saving the report to text


BlueWorld

2010-09-26 04:06:46

wanna pm the script so i can use it at bank also? =/

null

2010-09-26 11:21:07

Am i the only one having trouble with this script? It doesn't withdraw from the bank correctly. Therefore only being able to execute it for less than 1 minute.

null

2010-09-26 12:08:34

From: BlueWorld
wanna pm the script so i can use it at bank also? =/


what does that mean? lol use it at bank

Claymore

2010-09-26 17:44:32

Next Revision

- Adding GE Bank and the rest of the F2P Bank (Its not that hard TBH <<)
- Adding failsafe to when script player runs out of supplies. (I had like infinity Nature Runes and Gold ore so i wasnt aware of that when i trained magic and smithing >>)
- Improving Iron Ore? To anyone who has problems with it ATM, just increase the Iron Ore's tolerance under "Declare Ores" function.

null

2010-09-26 19:42:23

"Declare Ores" function.


Thank you!

Claymore

2010-09-26 20:44:20

UPDATE

-added F2P banks (GE Bank, Varrock East and Varrock West)
-Fixed Iron ore (Make sure to put it at the FAR RIGHT of your bank. Your coal is at the LEFT of your Iron ore.)
- Added FindNormalRandoms in conjunction to the F2P Bank support. If your in SW bank and you dont need the FindRandoms, just comment it out.

Report bugs, and have a good week guys!

@Null

Sorry i never got a chance to help you before. But did you mess around with the script or anything? Because it shouldnt withdraw 500 :/

My suggestion, MANUALLY open your bank, right-click on your Mithril ore, if you see 'Withdraw-500' or something like 'Withdraw-53434', get rid of it. The script tries to find 'Withdraw-5' and if it finds 'Withdraw-5xxx' (Where x = any number) it will click that instead.

To "get rid of it" right-click your Mithril ore, click Withdraw-x, and enter '5'. Therefore, the next time the script runs, it will click at 'Withdraw-5' thus fixing your problem.

Hope the script works for you.

Bonfield

2010-09-27 03:52:29

have you thought about making your cast function faster? maybe add something like Max_Casts to your TOreArray eg Max_Casts for steel would be 8, that would make the script realize you are out of ore…. thats the only thing i would change atm

great script

EDIT: Also what about just depositing the steel bars nad leaving the coal?


this was with the last version of the script

sharpy172

2010-09-27 13:21:21

loggs me in then keep saying not in magic tab Not in Magic Tab! >:/
Not in Magic Tab! >:/
Not in Magic Tab! >:/

ForgotMyName

2010-09-27 19:38:47

From: Deathscytex

- Added FindNormalRandoms in conjunction to the F2P Bank support. If your in SW bank and you dont need the FindRandoms, just comment it out.


I would suggest you do that conditionally with if statements, since you KNOW what bank the user requested. Far less error prone than asking users to edit the body of your script.

I like the idea of this script. I'm working on something similar but with herblore. (I'm also really really lazy at getting anything done.)

I hope to test this out later when I can. I'm wondering, what's the spellbook setup for this? (which types displayed, combat first or not, etc) Are there specific graphical settings you're expecting?

Thanks.

Claymore

2010-09-27 20:12:08

For spellbook, leave it how it is layed out normally for you. (All spells, ordered in levels.)

If your doing iron ore or gold ore, have your spellbook sorted by combat first. This makes the Superheat icon go to the bottom right of your spellbook, WAY closer to your 27th iron ore. Thus saving time between clicking ores.

And as for GFX set up, leave it as it is. (This means Safe Mode, lowest detail.)

have you thought about making your cast function faster? maybe add something like Max_Casts to your TOreArray eg Max_Casts for steel would be 8, that would make the script realize you are out of ore…. thats the only thing i would change atm

great script

EDIT: Also what about just depositing the steel bars nad leaving the coal?


My script ACTUALLY does that. It checks if it casted x amount of times and than before banking, it goes to your inventory to see if you ran out of primary ores just to be sure. THAN it banks.

And because i did only gold ore when i ran this script (got like 85k exp /hr of smithing and 80k exp /hr of magic) i do not know how effectively this script runs on other ores.

Thus being said, i have no idea how different superheating all the other ores other than gold. So ya i have to work on the other ores and see whether they require me to deposit all of your inventory or just deposit the bars and leave the coal, and also where your primary ores should be place (Especially for mithril).

Overall i need to work on the speed of the script :/

bolshak25

2010-09-27 20:25:21

if you need an account for testing, i can use up to addy if your looking to test speed. just reply or pm me if you need it, or you probably have a high enough level. just offering if you need it

null

2010-09-27 21:26:38

To "get rid of it" right-click your Mithril ore, click Withdraw-x, and enter '5'. Therefore, the next time the script runs, it will click at 'Withdraw-5' thus fixing your problem.

Hope the script works for you



Are you saying that the script has AI and learns?

null

2010-09-27 21:27:39

From: bolshak25
if you need an account for testing, i can use up to addy if your looking to test speed. just reply or pm me if you need it, or you probably have a high enough level. just offering if you need it


^^ wanted your IP/ISP :stirthepot:

All in good fun haha.. maybe you are and maybe your not. Lol

*spam i know, but let me get some posts!*

Claymore

2010-09-27 21:33:40

From: null
Are you saying that the script has AI and learns?


The script's knowledge is limited to what I code in it. As far as I'm concerned, i have not wrote such a code to allow the script to gain AI. If i did, this script would not only Superheat ores, but it will play Runescape for you 24/7, do randoms, and all that shit because it has it's own AI.

No i keed, ofc my script has no AI. Infact why would you even question so?

if you need an account for testing, i can use up to addy if your looking to test speed. just reply or pm me if you need it, or you probably have a high enough level. just offering if you need it


It's alright, my Smithing level is 99 :D

bolshak25

2010-09-27 22:10:40

well if you have 99 you should use mine so mine goes up ;) jk ill use your script when i find time. does this make money with any ores? or is it all something thatll be small losses to gain xp? jw

ForgotMyName

2010-09-28 16:29:39

Seems like someone is going around soul wars bank reporting superheaters. Had someone call my name while I was gone. (I auto with all chats off. But I saw the message when I came back.) I didn't hear of a mass ban the last time someone released a sw bank script (fletching) so I still believe it's generally safe.

gamer716

2010-09-28 17:57:53

From: ForgotMyName
Seems like someone is going around soul wars bank reporting superheaters. Had someone call my name while I was gone. (I auto with all chats off. But I saw the message when I came back.) I didn't hear of a mass ban the last time someone released a sw bank script (fletching) so I still believe it's generally safe.


I still wouldnt take a chance…since the script now supports GE, i would auto over there

ForgotMyName

2010-09-28 18:05:52

From: gamer716
I still wouldnt take a chance…since the script now supports GE, i would auto over there


At GE you risk randoms and failing them. The whole point of SW bank is that randoms won't get you until you choose to leave the portal. There's several people there on every world doing some skilling, and I would bet over half of them are bots.

ForgotMyName

2010-09-28 21:05:14

Not sure what happened, but the script ended up confusing itself. It had the magic tab open but was wildly moving the mouse around and printing that it could not find the superheat icon several times per second.

You should add failsafes for when it can't find something repeatedly, or it has run out of something.

EDIT:

I figured it out. It tried to click what it thought was a gold ore, but in reality lag hit and by then the magic tab was open. (Basically, a superheat had finished meanwhile and so it popped back to the mage tab right as the Mouse procedure was firing.) It just so happens the click landed on the skill spells selector. It disabled the skill spells and then, obviously, it couldn't find the superheat icon.

I'd also really appreciate a limit setting on how many superheats it does before it's done. Thanks.

EDIT2:

I notice you have

if (f > 25) then
begin
WriteLn('Failed 20 times.');
Exit;
end;


I'm not sure why, but that's not getting triggered on my error. Maybe it's going in and out.

EDIT3:

Interesting safeguard, modify the script to expect nats in the second to last slot. It will never want to superheat that slot, conveniently removing the chance it could lag click the skill spells icon. (Currently trying to modify, not succeeding.)

EDIT4:

Ok, changing around line 1098
Deposit(1, 26, True);
Deposit(28, 28, True);

Not very elegant, almost a coincidence it works, but whoo!

Does mess up the ore finding a bit. Now it wants to click far away ones. Kind of a duct tape patch really.

EDIT5:

More monkey patching.
if (TOreArray[0].Amount = 27) then
ClickBox := InvBox(22)


Script works now pretty much just as before. Although (hopefully) just removed the risk of it disabling skill spells in the magic tab.

null

2010-09-29 23:24:59

From: Deathscytex
UPDATE

@Null

Sorry i never got a chance to help you before. But did you mess around with the script or anything? Because it shouldnt withdraw 500 :/
…
….
Hope the script works for you.






I had no idea that I could set the Withdraw-X
Nice, works really good again. I'm such a fool :)

Looking through your code, i really don't know how you do it. But it works.

null

2010-09-29 23:46:51

Btw Death, i'm sure your up for suggestions, and i've already made this one. But here it is again.

For all i know you could whip this up without thought.

For my case, all i do is mithril bars. After the script makes 5 bars, i have two coal left over. Your script deposits the mithril ore, then the coal? You could save at most 1.3 seconds for not depositing the coal.

Maybe it will deposit any item other than inventory slot 28. IDK

But think about it… Thanks for a great script again.

ForgotMyName

2010-09-30 00:10:22

From: null
Btw Death, i'm sure your up for suggestions, and i've already made this one. But here it is again.

For all i know you could whip this up without thought.

For my case, all i do is mithril bars. After the script makes 5 bars, i have two coal left over. Your script deposits the mithril ore, then the coal? You could save at most 1.3 seconds for not depositing the coal.

Maybe it will deposit any item other than inventory slot 28. IDK

But think about it… Thanks for a great script again.


That's how it works. I like it too, as a failsafe. I've watched twice when due to screen display lag the script ended up withdrawing entirely unrelated items from my bank. By depositing everything except the known location of your nats, you avoid this issue.

Trade off speed for reliability.

Btw, please follow my suggestion above and move nats to spot 27 for the reason stated.

null

2010-09-30 00:58:49

Fail safe i gotcha.

After further thinking. This is the way i look at it…
Note i don't know how to script but;

By selecting mithril in the form, the script itself probably has to load a set of variables for that "string" being mithril.

Can't it note that coal is left over, and to ignore the 26-27th slot? Because no item from a random event appears that far down. But i agree with the fail-safe system it's currently using.

If mithril is loaded, why not add a few "checks" or completely ignore that last three spaces.

Thanks. Let me know if i'm too annoying LOL

null

2010-09-30 02:15:35

Your script already knows how many primary ores to withdraw to begin with. Why not start superheating at the last spot of the value that they withdrew? This would leave the mouse clicking in the same spot for X-Times and considered anti-ban.

null

2010-09-30 02:45:47

I currently have 5300 mithril bars from this script. Start - finish.

btw i booze too much, my posts always rank up… so excuse my alcoholism it's unpreventable

xzer0bs

2010-10-01 12:10:09

Does anyone else have a problem with the script not always entering the pin? About 3\4th of the time it will sit and move the mouse randomly over the chest to the right of the pin options.

doublex8

2010-10-01 14:24:49

From: ForgotMyName
At GE you risk randoms and failing them. The whole point of SW bank is that randoms won't get you until you choose to leave the portal. There's several people there on every world doing some skilling, and I would bet over half of them are bots.


Why not support the bank in Daemonheim? You can't get randoms there and it supports f2p as well.

ForgotMyName

2010-10-01 14:31:47

From: doublex8
Why not support the bank in Daemonheim? You can't get randoms there and it supports f2p as well.

Can we get confirmation this is true?

As I understood it, you can still get random'd on daemonheim surface. I know you can near the rewards trader, but I haven't yet gotten a random near the banker.

By the way, could I use your SW banking routine in another script I'm making? I would give credit if it ever goes public.

doublex8

2010-10-01 16:25:58

From: ForgotMyName
Can we get confirmation this is true?

As I understood it, you can still get random'd on daemonheim surface. I know you can near the rewards trader, but I haven't yet gotten a random near the banker.

By the way, could I use your SW banking routine in another script I'm making? I would give credit if it ever goes public.


I have stood on the surface of deamonheim where people gather to find floors for at least 20 minutes without going down into a dungeon, decided to leave the area to check how many tokens I have, and will receive a random right when I walk down the steps near the rewards trainer. I see people alching and superheating all the time at deamonheim for this reason I am assuming. My dungeoneering level is 59 and I have experienced getting randoms after walking to those steps by the rewards trainer many times.

Claymore

2010-10-01 19:31:15

From: ForgotMyName
Can we get confirmation this is true?

As I understood it, you can still get random'd on daemonheim surface. I know you can near the rewards trader, but I haven't yet gotten a random near the banker.

By the way, could I use your SW banking routine in another script I'm making? I would give credit if it ever goes public.


Sure you have permission.

null

2010-10-01 23:37:54

From: xzer0bs
Does anyone else have a problem with the script not always entering the pin? About 3\4th of the time it will sit and move the mouse randomly over the chest to the right of the pin options.


It works without a pin… I don't use one

null

2010-10-02 03:47:52

I sucessfully made 2k gold bars. This script works better and better every day.

I keep running through the lines of code, I'm trying to get used to the format, i want to make a power miner/chopper to start off with.


Well… I could say 2k gold bars, and 7k mithril bars and almost 1k addy bars. Because that's what this script has done. Lol

That's over 28,000 coal. I can't believe it.

doublex8

2010-10-04 15:59:21

From: sharpy172
loggs me in then keep saying not in magic tab Not in Magic Tab! >:/
Not in Magic Tab! >:/
Not in Magic Tab! >:/


I am having this same problem. is there a way to fix this?

josh81193

2010-10-04 18:09:21

From: doublex8
I am having this same problem. is there a way to fix this?


Check your graphic settings. Make sure they're at low, and the screen is fixed.

doublex8

2010-10-04 20:49:30

From: josh81193
Check your graphic settings. Make sure they're at low, and the screen is fixed.


Always is:)

Claymore

2010-10-05 20:56:46

SRL is probably outdated? Because it i used SRL's function therefore it must be SRL. Either update it or wait for the next srl update.

magernub573

2010-10-06 01:57:52

Proggy:

Time Running: 09h 06m 03s
State: Banking
Smithing EXP: 173740
Mage EXP: 526184

Smithing EXP/HR: 19090
Mage EXP/HR: 57816

Very nice! i dont think i should have let it run for 9 hours though :p made like 11k steel bars.

Claymore

2010-10-06 20:28:27

Wow good run!

bolshak25

2010-10-09 20:05:32

srl had been updated alot. but im having the not in magic tab issues. any ideas?

doublex8

2010-10-11 13:11:22

SRL has updated many times since I tried using this last and I still get the not in magic tab error

jizzoe

2010-10-19 21:04:58

nice bot

BlueWorld

2010-10-20 05:00:10

see the only reason i don't use this bot is because of the lack of profit

jizzoe

2010-10-20 09:56:08

you can make profit off, of mith addy steel or rune bars

Becks

2010-10-20 13:26:19

From: jizzoe
you can make profit off, of mith addy steel or rune bars


Pretty sure steal bars are some profit, then you could make into cballs for more profit.

BlueWorld

2010-10-21 05:43:52

For the second one you released someting is wrong with your CastLoop i replaced it with the rev 1 version and i stopped getting the not in magic tab error

went throught 4k steel bars =] only thing to chance would be why it randomly closes in simba, USING SMART

doublex8

2010-10-22 14:41:28

So I took blueworlds advice and used the first revision and it will only smelt bars if the ores are already in my inventory. Will not open bank.

BlueWorld

2010-10-22 22:54:20

okay download the first version look for the funtion:
CastLoop


copy the whole thing and open the second rev and replace that castloop with the one you copied

doublex8

2010-10-24 01:11:42

did what you said and there was still some problems so I switched to a different bank and its wokin like a charm so far. ill post a prog when get done with this 1k addy bars. Also seems sort of pointless to deposit the remaining coal, keeping in the inventory would save time and not look so wierd.

BlueWorld

2010-10-27 00:25:36

Hope it goes well man i did over 8k mith bars with this script i am plan for much more ^~^

Bonfield

2010-10-27 04:41:01

under FindNormalRandoms, you need to add this GameTab(tab_Magic); i am running now and will let you know how it goes

@Death are you still working on this?

EDIT: it look really botty where i suggested, maybe add before bank and change to findnoninventory randoms

Anyone else got any ideas as to when to use FindNormalRandoms as it changes to gametab 7?

EDIT 2: my cast loop
function CastLoop(): Boolean;
var
Bitmap, DTM, i, t, f: Integer;
P, CP: TPoint;
ClickBox: TBox;
begin
DTM := CreateOre(TOreArray[0].Color, TOreArray[0].Tolerance);
Bitmap := BitmapFromString(14, 7, 'meJw9kDEKwkAQRdmNJrFIbpBecPE' +
'MizewtRAsUnsAsbH1CKmtrdNYpYq9jYXYKEFE1EZZEN86IAzhzf9/' +
'Z2ej41ynpR5tqUD1I1sHswvV0pZKehuUaPXUcQ6TgVFUZ44Ch92DV' +
'hktR+Ss13/gk6bACseLwe7uLZXJhPbwBjAfMamaf5Ka7q+EuQsLwJ' +
'JlAPP64PplGGJreH08Sxhgjr/UFHxJOucIyFtwadPTmyQgy5CUZcS' +
'dLB+0AK0k/eSq4Tn8li8k64Ze');
GameTab(28);
i := 0;
f := 0;
if (TOreArray[0].Amount = 27) then
ClickBox := InvBox(27)
else
begin
ClickBox.X1 := MIX1;
ClickBox.X2 := MIX2;
ClickBox.Y1 := MIY1;
ClickBox.Y2 := MIY2;
end;
repeat
if (f > 25) then
begin
WriteLn('Failed 20 times.');
Exit;
end;
GameTab(tab_Magic);
if (GetCurrentTab = tab_Magic) then
begin
if (not(FindBitmapToleranceIn(Bitmap, CP.x, CP.y, MIX1, MIY1, MIX2, MIY2, 20))) then
begin
MMouse(RandomRange(MSX1, MSX2), RandomRange(MSY1, MSY2), 0, 0);
WriteLn('Cannot find Superheat Icon!');
f := f + 1;
Continue;
end;
MMouse(CP.x - 1, CP.y - 12, 17, 18);
if (WaitUpTextMulti(['Cast', 'uperheat'], 1000)) then
begin
GetMousePos(CP.x, CP.y);
Mouse(CP.x, CP.y, 0, 0, True);
end else
begin
WriteLn('Did not find UpText! [#39Cast#39, #39uperheat#39]');
f := f + 1;
Continue;
end;
end else
begin
WriteLn('Not in Magic Tab! >:/');
GameTab(tab_Magic);
f := f + 1;
Continue;
end; //End of finding superheat icon
if (WaitUpTextMulti(['uperheat', 'tem'], 1500)) and (GetCurrentTab = tab_Inv) then
begin
if (FindDTM(DTM, P.x, P.y, ClickBox.x1, ClickBox.y1, ClickBox.x2, ClickBox.y2)) then
begin
Mouse(P.x - 15, P.y - 11, 23 , 22, True);
i := i + 1;
f := 0;
CastCount := CastCount + 1;
WriteLn('Superheated ' + IntToStr(i) + ' times!');
RandomHuman;
MarkTime(t);
while (not(GetCurrentTab = tab_Magic)) do
begin
Wait(RandomRange(25, 50));
if (TimeFromMark(t) >= 1250) then
begin
GameTab(tab_Magic);
Break;
end;
end; //More efficient than just simply using Wait();
end else
begin
if (WaitFindDTM(DTM, P.x, P.y, MIX1, MIY1, MIX2, MIY2)) then
begin
Mouse(P.x - 15, P.y - 11, 23 , 22, True);
i := i + 1;
f := 0;
CastCount := CastCount + 1;
FindNormalRandoms;
WriteLn('Superheated ' + IntToStr(i) + ' times!');
RandomHuman;
MarkTime(t);
while (not(GetCurrentTab = tab_Magic)) do
begin
Wait(RandomRange(25, 50));
if (TimeFromMark(t) >= 1250) then
begin
GameTab(tab_Magic);
Break;
end;
end; //More efficient than just simply using Wait();
end else
begin
WriteLn('Cannot find ORE DTM!');
GetMousePos(P.x, P.y);
Mouse(P.x, P.y, 0, 0, False);
WaitOption('Cancel', 1000);
Break; //If there is no primary ore, loop will break and the last function double checks if it is actually gone.
end;
end;
end else
begin
WriteLn('Could not find Uptext [#39uperheat#39, #39tem#39]');
f := f + 1;
GameTab(tab_Magic);
Continue;
end; //end of superheating an ore.
until (i >= TOreArray[0].Amount);
WriteLn('Yay Finished!');
GameTab(tab_Inv);
FindNormalRandoms;
Result := (not(FindDTM(DTM, P.x, P.y, MIX1, MIY1, MIX2, MIY2)));
FreeDTM(DTM);
FreeBitmap(Bitmap);
end;

seems to work ok, i will watch and hopefully get a random, i never actually changed anything but added FindNormalRandoms in better places

GREEN GIANT

2010-11-02 10:57:32

Hi,
Im was having the "not in mage tab" error, so i did the castloop fix and it succesfully smelted the ore, but when banking it doesnt withdraw the primary ore, it tries click but fails and just withdraws a full inv of coal.
Anyone else having this problem?

doublex8

2010-11-03 16:36:45

From: Bonfield
under FindNormalRandoms, you need to add this GameTab(tab_Magic); i am running now and will let you know how it goes

@Death are you still working on this?

EDIT: it look really botty where i suggested, maybe add before bank and change to findnoninventory randoms

Anyone else got any ideas as to when to use FindNormalRandoms as it changes to gametab 7?

EDIT 2: my cast loop
function CastLoop(): Boolean;
var
Bitmap, DTM, i, t, f: Integer;
P, CP: TPoint;
ClickBox: TBox;
begin
DTM := CreateOre(TOreArray[0].Color, TOreArray[0].Tolerance);
Bitmap := BitmapFromString(14, 7, 'meJw9kDEKwkAQRdmNJrFIbpBecPE' +
'MizewtRAsUnsAsbH1CKmtrdNYpYq9jYXYKEFE1EZZEN86IAzhzf9/' +
'Z2ej41ynpR5tqUD1I1sHswvV0pZKehuUaPXUcQ6TgVFUZ44Ch92DV' +
'hktR+Ss13/gk6bACseLwe7uLZXJhPbwBjAfMamaf5Ka7q+EuQsLwJ' +
'JlAPP64PplGGJreH08Sxhgjr/UFHxJOucIyFtwadPTmyQgy5CUZcS' +
'dLB+0AK0k/eSq4Tn8li8k64Ze');
GameTab(28);
i := 0;
f := 0;
if (TOreArray[0].Amount = 27) then
ClickBox := InvBox(27)
else
begin
ClickBox.X1 := MIX1;
ClickBox.X2 := MIX2;
ClickBox.Y1 := MIY1;
ClickBox.Y2 := MIY2;
end;
repeat
if (f > 25) then
begin
WriteLn('Failed 20 times.');
Exit;
end;
GameTab(tab_Magic);
if (GetCurrentTab = tab_Magic) then
begin
if (not(FindBitmapToleranceIn(Bitmap, CP.x, CP.y, MIX1, MIY1, MIX2, MIY2, 20))) then
begin
MMouse(RandomRange(MSX1, MSX2), RandomRange(MSY1, MSY2), 0, 0);
WriteLn('Cannot find Superheat Icon!');
f := f + 1;
Continue;
end;
MMouse(CP.x - 1, CP.y - 12, 17, 18);
if (WaitUpTextMulti(['Cast', 'uperheat'], 1000)) then
begin
GetMousePos(CP.x, CP.y);
Mouse(CP.x, CP.y, 0, 0, True);
end else
begin
WriteLn('Did not find UpText! [#39Cast#39, #39uperheat#39]');
f := f + 1;
Continue;
end;
end else
begin
WriteLn('Not in Magic Tab! >:/');
GameTab(tab_Magic);
f := f + 1;
Continue;
end; //End of finding superheat icon
if (WaitUpTextMulti(['uperheat', 'tem'], 1500)) and (GetCurrentTab = tab_Inv) then
begin
if (FindDTM(DTM, P.x, P.y, ClickBox.x1, ClickBox.y1, ClickBox.x2, ClickBox.y2)) then
begin
Mouse(P.x - 15, P.y - 11, 23 , 22, True);
i := i + 1;
f := 0;
CastCount := CastCount + 1;
WriteLn('Superheated ' + IntToStr(i) + ' times!');
RandomHuman;
MarkTime(t);
while (not(GetCurrentTab = tab_Magic)) do
begin
Wait(RandomRange(25, 50));
if (TimeFromMark(t) >= 1250) then
begin
GameTab(tab_Magic);
Break;
end;
end; //More efficient than just simply using Wait();
end else
begin
if (WaitFindDTM(DTM, P.x, P.y, MIX1, MIY1, MIX2, MIY2)) then
begin
Mouse(P.x - 15, P.y - 11, 23 , 22, True);
i := i + 1;
f := 0;
CastCount := CastCount + 1;
FindNormalRandoms;
WriteLn('Superheated ' + IntToStr(i) + ' times!');
RandomHuman;
MarkTime(t);
while (not(GetCurrentTab = tab_Magic)) do
begin
Wait(RandomRange(25, 50));
if (TimeFromMark(t) >= 1250) then
begin
GameTab(tab_Magic);
Break;
end;
end; //More efficient than just simply using Wait();
end else
begin
WriteLn('Cannot find ORE DTM!');
GetMousePos(P.x, P.y);
Mouse(P.x, P.y, 0, 0, False);
WaitOption('Cancel', 1000);
Break; //If there is no primary ore, loop will break and the last function double checks if it is actually gone.
end;
end;
end else
begin
WriteLn('Could not find Uptext [#39uperheat#39, #39tem#39]');
f := f + 1;
GameTab(tab_Magic);
Continue;
end; //end of superheating an ore.
until (i >= TOreArray[0].Amount);
WriteLn('Yay Finished!');
GameTab(tab_Inv);
FindNormalRandoms;
Result := (not(FindDTM(DTM, P.x, P.y, MIX1, MIY1, MIX2, MIY2)));
FreeDTM(DTM);
FreeBitmap(Bitmap);
end;

seems to work ok, i will watch and hopefully get a random, i never actually changed anything but added FindNormalRandoms in better places


Thanks for this. I'll give it a go

BlueWorld

2010-11-10 00:18:59

R u still working on this scipt? its wonderful maybe add coal bag support? =]

KingKong

2010-11-17 03:37:03

For some reason, it does'nt work for me. Ive run it atleast 30 times and so far its only superheated two bars. When i run the script the red dot just clicks on inventory and magic tab. and i repeatedly get 'not in magic tab' message.

EDIT: It works fine after i changed the Castloop code to that of Bonfield. Also after changing the CastLoop code I found that it cannot solve randoms.

any_one

2010-11-20 18:54:47

Yeah, using Bonfield's cast loop works fine, I was also having the "not in magic tab" error. Very fast! It fails quite often in the GE - due to the number of people there it often fails to find the bank, and for some reason the uptext is not found when there are fires underneath it (which also happens quite often). Using it in varrock west now and it has no problems. Should have a progress report in a few hours :)

KingKong

2010-11-21 19:56:40

Is there any way for the script to solve randoms after replacing the castloop code to that of the first version?

any_one

2010-11-22 05:07:05

Doesn't seem like it.. you would have to put it in at relevant places.

Bonfield

2010-11-23 03:14:44

   
if (f > 25) then
begin
WriteLn('Failed 20 times.');
FindNormalRandoms;
Exit;
end;

should work, i havent tested it though, i was thinking the writeln would only happen if something goes wrong eg a random or a place to add calibration


@Deathscytex if me updating/hijacking your thread bothers you please pm me or something, im just trying to help

KingKong

2010-11-23 05:35:52

From: doublex8
did what you said and there was still some problems so I switched to a different bank and its wokin like a charm so far. ill post a prog when get done with this 1k addy bars. Also seems sort of pointless to deposit the remaining coal, keeping in the inventory would save time and not look so wierd.


If you want you can replace lines 1109 to 1115 which contains this code:

repeat
Deposit(1, 27, True);
t := t + 1;
if (t > 5) then
Exit;
Wait(750);
until (InvCount = 1);

with this code:

case Players[CurrentPlayer].Integers[6] of
0 or 3..5:
begin
repeat
Deposit(1,27,True);
t := t + 1;
if (t > 5) then
Exit;
Wait(750);
until(InvCount = 1);
end;
2:
begin
repeat
Deposit(1,25,True);
t := t + 1;
if (t > 5) then
Exit;
Wait(750);
until(InvCount = 3);
end;
1:
begin
repeat
Deposit(1,21,True);
t := t + 1;
if (t > 5) then
Exit;
Wait(750);
until(InvCount = 7);
end;
end;

BlueWorld

2010-12-02 22:39:53

Uhm since the update i think your dtm's broke, i know how to make dtm's but can't fix it because your dtm's made out of a subpoint? which i don't understand how to fix, fix it i would run this script often ^~^ as i already do

KingKong

2010-12-03 21:56:18

From: BlueWorld
Uhm since the update i think your dtm's broke, i know how to make dtm's but can't fix it because your dtm's made out of a subpoint? which i don't understand how to fix, fix it i would run this script often ^~^ as i already do


Could you tell your problem in detail? like what errors u got which lines, etc. Because i don't have any troubles with the script.

BlueWorld

2010-12-03 23:23:44

It opens bank and can't seems to find dtm, it keeps reporting dtm fail then exits and terminates

KingKong

2010-12-03 23:33:08

From: BlueWorld
It opens bank and can't seems to find dtm, it keeps reporting dtm fail then exits and terminates


What ore(s) are you using? Did you put the primary ore on the 10 slot of the bank maintab, and secondary ore on the 9 slot?

BlueWorld

2010-12-03 23:34:01

yea i've used it before i know where to set the ore and how much to set x-deposit

KingKong

2010-12-04 01:01:21

Ummmm…try redownloading the code, change the castloop to that of the first version and try running the script then.

P.S. Do you have upto date plugins/srl? Could you upload a screenshot of your character and script when it gives an error.

doublex8

2010-12-04 01:58:50

From: kongking
Ummmm…try redownloading the code, change the castloop to that of the first version and try running the script then.

P.S. Do you have upto date plugins/srl? Could you upload a screenshot of your character and script when it gives an error.


looks like he has been here a while, I'm sure he checked that stuff;)

FighterX

2010-12-05 04:26:21

I can't seem to get the this working. My character will smelt a fine but refuse to bank and withdraw. Suggestions?

KingKong

2010-12-05 16:53:06

From: FighterX
I can't seem to get the this working. My character will smelt a fine but refuse to bank and withdraw. Suggestions?


Which bank are you using to bank? Would you mind explaining your problem in detail(like what does your character do while trying to bank and stuff like that).

FighterX

2010-12-05 22:57:47

I start the script and I enter all the information into the pop up box. Then, it logs me in. If I have a full inventory it proceeds to smelt; however, when it is done smelting it simply stops. In the debug box it says "Yay finished!" After that my character doesn't even try to bank. He will just sit there and log out. Every once ini a while he will run a few steps north… I was using the GE bank.

doublex8

2010-12-05 23:05:36

From: FighterX
I start the script and I enter all the information into the pop up box. Then, it logs me in. If I have a full inventory it proceeds to smelt; however, when it is done smelting it simply stops. In the debug box it says "Yay finished!" After that my character doesn't even try to bank. He will just sit there and log out. Every once ini a while he will run a few steps north… I was using the GE bank.


If you are F2P I would use varrock west bank, and if you are a member use the soul wars chest.

FighterX

2010-12-06 01:34:54

is that bank supported in this script?

P1nky

2010-12-06 03:17:39

Wow loving the Form brotha <3

KingKong

2010-12-06 04:34:02

From: FighterX
is that bank supported in this script?


If you're referring to the varrock west bank then yes. I had some trouble at ge as well, maybe because of too many people there. I personally have been using varrock west bank for quite a while for now.

BlueWorld

2010-12-06 06:00:19

For those who find the script cannot find the DTM ore i have a solution try have the ores for the bars you want to make in your inventory first (example: i wanna makes steel so my inventory has 9 iron ore and 18 coal) the script should then smelt your ores, bank them, and continue to withdraw ores make sure you have your character in the correct bank and the ores in the correct space

crezzur

2010-12-06 06:43:12

this program works perfect after few minor changes,

Program is STILL running has to do like 7-8k more steel bars :)
Only stopped once when a event happend
Time Running: 03h 28m 01s
State: Banking
Smithing EXP: 61932
Mage EXP: 187567

doublex8

2010-12-06 11:42:10

From: crezzur
this program works perfect after few minor changes,

Program is STILL running has to do like 7-8k more steel bars :)
Only stopped once when a event happend
Time Running: 03h 28m 01s
State: Banking
Smithing EXP: 61932
Mage EXP: 187567


Mind sharing your minor changes?

doublex8

2010-12-06 20:28:47

Much appreciated crezzur

KingKong

2010-12-07 01:43:55

From: crezzur

Only stopped once when a event happend
Time Running: 03h 28m 01s
State: Banking
Smithing EXP: 61932
Mage EXP: 187567


Same thing happened to me as well, it finished the random event(drill sargeant) then it logged out saying it couldn't find magic tab. Is this a problem in the script or the way findnormalrandoms work?

crezzur

2010-12-08 02:54:04

normally it should continue its work but for some reason it logs out after solving a random, at least we can be happy it solved the random

Time Running: 10h 22m 21s
State: Casting
Smithing EXP: 47618
Mage EXP: 144213

Reason to stop after 10h 22m ,
Event: Evil bob (island)

Last run:
Time Running: 09h 27m 23s
State: Casting
Smithing EXP: 47565
Mage EXP: 144054

Reason to stop after 09h 27m ,
Event: beehive


Levels i earned with this script:
Magic: From 65 To 80
Smithing: From 80 To 82

crezzur

2010-12-08 13:51:14

Moved to: http://villavu.com/forum/showpost.php?p=761628&postcount=109

KingKong

2010-12-16 03:42:26

Could you replace the castloop with this here:

function CastLoop(): Boolean;
var
Bitmap, DTM, i, t, f: Integer;
P, CP: TPoint;
ClickBox: TBox;
begin
DTM := CreateOre(TOreArray[0].Color, TOreArray[0].Tolerance);
Bitmap := BitmapFromString(14, 7, 'meJw9kDEKwkAQRdmNJrFIbpBecPE' +
'MizewtRAsUnsAsbH1CKmtrdNYpYq9jYXYKEFE1EZZEN86IAzhzf9/' +
'Z2ej41ynpR5tqUD1I1sHswvV0pZKehuUaPXUcQ6TgVFUZ44Ch92DV' +
'hktR+Ss13/gk6bACseLwe7uLZXJhPbwBjAfMamaf5Ka7q+EuQsLwJ' +
'JlAPP64PplGGJreH08Sxhgjr/UFHxJOucIyFtwadPTmyQgy5CUZcS' +
'dLB+0AK0k/eSq4Tn8li8k64Ze');
GameTab(28);
i := 0;
f := 0;
if (TOreArray[0].Amount = 27) then
ClickBox := InvBox(27)
else
begin
ClickBox.X1 := MIX1;
ClickBox.X2 := MIX2;
ClickBox.Y1 := MIY1;
ClickBox.Y2 := MIY2;
end;
repeat
if (f > 25) then
begin
WriteLn('Failed 20 times.');
FindNormalRandoms;
Exit;
end;
GameTab(tab_Magic);
if (GetCurrentTab = tab_Magic) then
begin
if (not(FindBitmapToleranceIn(Bitmap, CP.x, CP.y, MIX1, MIY1, MIX2, MIY2, 20))) then
begin
MMouse(RandomRange(MSX1, MSX2), RandomRange(MSY1, MSY2), 0, 0);
WriteLn('Cannot find Superheat Icon!');
f := f + 1;
Continue;
end;
MMouse(CP.x - 1, CP.y - 12, 17, 18);
if (WaitUpTextMulti(['Cast', 'uperheat'], 1000)) then
begin
GetMousePos(CP.x, CP.y);
Mouse(CP.x, CP.y, 0, 0, True);
end else
begin
WriteLn('Did not find UpText! [#39Cast#39, #39uperheat#39]');
f := f + 1;
Continue;
end;
end else
begin
WriteLn('Not in Magic Tab! >:/');
GameTab(tab_Magic);
f := f + 1;
Continue;
end; //End of finding superheat icon
if (WaitUpTextMulti(['uperheat', 'tem'], 1500)) and (GetCurrentTab = tab_Inv) then
begin
if (FindDTM(DTM, P.x, P.y, ClickBox.x1, ClickBox.y1, ClickBox.x2, ClickBox.y2)) then
begin
FindNormalRandoms;
Mouse(P.x - 15, P.y - 11, 23 , 22, True);
i := i + 1;
f := 0;
CastCount := CastCount + 1;
WriteLn('Superheated ' + IntToStr(i) + ' times!');
RandomHuman;
MarkTime(t);
while (not(GetCurrentTab = tab_Magic)) do
begin
Wait(RandomRange(25, 50));
if (TimeFromMark(t) >= 1250) then
begin
GameTab(tab_Magic);
Break;
end;
end; //More efficient than just simply using Wait();
end else
begin
if (WaitFindDTM(DTM, P.x, P.y, MIX1, MIY1, MIX2, MIY2)) then
begin
FindNormalRandoms;
Mouse(P.x - 15, P.y - 11, 23 , 22, True);
i := i + 1;
f := 0;
CastCount := CastCount + 1;
WriteLn('Superheated ' + IntToStr(i) + ' times!');
RandomHuman;
MarkTime(t);
while (not(GetCurrentTab = tab_Magic)) do
begin
Wait(RandomRange(25, 50));
if (TimeFromMark(t) >= 1250) then
begin
GameTab(tab_Magic);
Break;
end;
end; //More efficient than just simply using Wait();
end else
begin
WriteLn('Cannot find ORE DTM!');
GetMousePos(P.x, P.y);
Mouse(P.x, P.y, 0, 0, False);
WaitOption('Cancel', 1000);
Break; //If there is no primary ore, loop will break and the last function double checks if it is actually gone.
end;
end;
end else
begin
WriteLn('Could not find Uptext [#39uperheat#39, #39tem#39]');
f := f + 1;
GameTab(tab_Magic);
Continue;
end; //end of superheating an ore.
until (i >= TOreArray[0].Amount);
WriteLn('Yay Finished!');
GameTab(tab_Inv);
FindNormalRandoms;
Result := (not(FindDTM(DTM, P.x, P.y, MIX1, MIY1, MIX2, MIY2)));
FreeDTM(DTM);
FreeBitmap(Bitmap);
end;

All i did was change the findnormalrandoms so that it is called before the ore is clicked so that it doesn't click the inventory tab then switch to the magic tab(which looks really botty)

crezzur

2010-12-16 04:59:02

@kongking
Ive added it to my post

All credits still go to Deathscytex and members who posted updates

bolshak25

2010-12-22 22:39:27

now has anybody figured out how to check the random event gift and use them so this doesnt break after randoms?

KingKong

2010-12-22 22:42:41

I think there is a problem with that part, but its still possible to do without using inbuild procedures. You just have to make a dtm/bmp of the box or just use mouseitem then click on the desired reward.

bolshak25

2010-12-22 22:47:54

i havent learned scripting yet. thats this summers project. till then ill try but i dont know any computer languages

KingKong

2010-12-22 22:57:13

Another thing you could do is setup your scrip so that it logs out every now and then which will reduce the chance of the script finding randoms and hence stuffing up

bolshak25

2010-12-23 14:36:43

it stuffs up just because it doesnt open the lamp or box from the random. it works and does everything else fine. it just tries to deposit the lamp which you cant.

KingKong

2010-12-23 18:10:49

Edit the script so that instead of deposit(slot from,slot, varian) it uses r_depositallbutid() and put the id's of nature rune and mystery box. Or you could make the script find the box and click it.

crezzur

2010-12-23 19:19:55

I find it rather annoying every time you want to restart the script it close the used SMART and reload SMART the code below gives u the ability to re-run the script without SMART getting closed

Replace:
begin
ClearDebug;
MainInitForm;
if (EndInitForm) then
TerminateScript;
FreeBitmap(b);
SetUpSRL;
{$IFDEF SMART}
SMART_Server := 81;
SMART_Members := True;
SMART_Signed := True;
{$ENDIF}
DeclareOres;
MainLoop;
LogOut;
end.

With:
begin
ClearDebug;
MainInitForm;
Smart_Server := 1;
Smart_Members:= true;
Smart_Signed := true;
Smart_SuperDetail := false;
SetupSRL;
DeclareOres;
MainLoop;
LogOut;
end.

crezzur

2010-12-23 19:23:52

see : http://villavu.com/forum/showpost.php?p=762563&postcount=119

bolshak25

2010-12-24 11:15:05

crezzur i noticed with part A of what needs adjustment, it seems to be after any random any item it gets it tries to bank but fails.

crezzur

2010-12-24 11:19:58

From: bolshak25
crezzur i noticed with part A of what needs adjustment, it seems to be after any random any item it gets it tries to bank but fails.


noticed the same i'm looking into other scripts maybe i could find some good random handler or maybe someone els know the code to use a xp lamp, or gift??

I have added the Favorite world function, when u have a favorite world selected the program will join that world

// Favorite world code has been used from Tickyy his "Varrock East Miner" script
// all credits go to Tickyy
Function JoinFavoriteWorld: Boolean;
Var
x, y: integer;
B : TBox;
Begin
If(not(LobbyScreen))then
LoginPlayerToLob;
While(not(LobbyScreen)) Do (Wait(100));
Wait(2500); // Extra wait I.S.H. (Incase Shit Happens(Lag or something...))
If(FindColorTolerance(x, y, 6525549, 605, 443, 649, 478, 29))Then
Begin
Writeln('Favorite world found.');
Wait(RandomRange(1000, 1500));
B := IntToBox(610, 453, 649, 478)
MouseBox(B.X1, B.Y1, B.X2, B.Y2, 1);
While(not(LoggedIn)) Do (Wait(100));
Wait(2500); // Extra wait I.S.H. (Incase Shit Happens(Lag or something...))
Result := (LoggedIn);
If (Result) then
begin
if (SRL_Logs < 1) then
SRL_Logs := 1;
Exit
End Else
LoginPlayer;
end else
Writeln('Favorite World was not found, turning normal mode');
LoginPlayer;
end;

// End of Favorite world code.

KingKong

2010-12-24 23:45:30

Its not just this scrip that has troubles with the mystery box, its a problem with the includes.

Tlachtli

2010-12-25 00:00:38

I have 17k steel bars that need smelting (just finished getting all that iron and coal–and 85 mining–this afternoon), so I will definitely try this out. I promised to give my bot Christmas off, but when next I bot I will give a proggie.

bolshak25

2010-12-25 10:35:36

check frequently because after any random it will log out because failed banking the random item

crezzur

2010-12-26 05:57:55

From: bolshak25
check frequently because after any random it will log out because failed banking the random item


i just wait till i hear the sound of the runescape login page :)

from 78 magic to 86
from 74 smith to 80
in like 2 - 3 days ? this script is good ;-)

KingKong

2010-12-26 06:05:55

How long have you been botting for? Because if you abuse it too much, your account might look suspicious.

crezzur

2010-12-26 07:51:22

~ Solved

bolshak25

2010-12-26 10:12:20

it doesnt open. maybe make an if statement for the bank. if a magical force text appears, then exit bank and open and whatnot

crezzur

2010-12-26 15:43:03

Changes made that all players suggested
I DO NOT THAKE CREDIT FOR THIS!!!

Download Attachment below V3.001
If this is the first time u use this script u have to download the original script first and then
replace the AutoSuperheat.simba file with the one attached



Things that may need adjustment:

*ToDo: When you run the script for the first time and your Withdraw X function on your primary ore is not correct (like when making steel it has to be 9) it will fail and result in only withdrawing coal
Temporary solution for this is do a withdraw X yourself for 1 time after that the bot will run without any problems

*ToDo: Break function not 100% correct, more info: http://villavu.com/forum/showpost.php?p=763109&postcount=136

*ToDo: Add a system that controls that u have the required amount of primary and secondary ore in your inventory so when smelting steel
bars u wont make iron when the system fails to take the coal.


*ToDo: Add a system that looks if u have enough primary ore and secondary ore in bank to superheat, if not logs out.

* ToDo: After successfully completing the event "Pillory" and getting a xp lamp the script try to bank it, but runescape does not allow this, the script will stop running.

Updates on skill lamp handler: the code seems to work, however after opening the box it does not look at the skill lamp this needs some fine tuning so it rub's the lamp and choose the skill.


Changes made:
Bonfield: http://villavu.com/forum/showpost.php?p=746073&postcount=69
What does it do?: this fix the cast-loop error (Not in Magic Tab! >:/)
Bonfield: http://villavu.com/forum/showpost.php?p=751452&postcount=77
What does it do?: Wont log out when random happens [no info yet]
Kongking: http://villavu.com/forum/showpost.php?p=751463&postcount=78
What does it do?: 3 different ways your character banks so it look more human like
kongking: http://villavu.com/forum/showpost.php?p=759534&postcount=100
What does it do?: Improve the castloop when trying to search for randoms)
crezzur: http://villavu.com/forum/showpost.php?p=761627&postcount=108
What does it do?: Abilty to Re-run a script using the SMART screen that already is running. (does not close SMART screen to reload it)
crezzur: http://villavu.com/forum/showpost.php?p=761627&postcount=111
What does it do?: Ability to let your bot join the world u chose using favorite world function
crezzur: http://villavu.com/forum/showpost.php?p=761627&postcount=119
What does it do?: genie lamp handler, might solve the random problem

bolshak25

2010-12-26 17:57:15

we need it to open the lamp like you stated, but before that we need it to unclick from superheat. it tries to superheat it and it fails eventually forcing a log out. it needs to click normal on inv and then open item. for the lamp one, it needs to wait after opening the box, then locate and use lamp.

crezzur

2010-12-26 18:17:53

From: bolshak25
we need it to open the lamp like you stated, but before that we need it to unclick from superheat. it tries to superheat it and it fails eventually forcing a log out. it needs to click normal on inv and then open item. for the lamp one, it needs to wait after opening the box, then locate and use lamp.


Did u see this problem happening or do u think this could be the problem?

because normally it should be out of the superheat menu since it opened the box ?

bolshak25

2010-12-26 20:17:08

i saw it. i came out of random and it was in magic menu and clicked superheat, then it tried superheating the box. it continued for a long time. after i got out of the superheat manually, it opened box and went to bank but tried banking the lamp. now ive stopped it and i still have the lamp and im working on fixing the bank part.

crezzur

2010-12-27 05:42:18

From: bolshak25
i saw it. i came out of random and it was in magic menu and clicked superheat, then it tried superheating the box. it continued for a long time. after i got out of the superheat manually, it opened box and went to bank but tried banking the lamp. now ive stopped it and i still have the lamp and im working on fixing the bank part.



that very good il have a look at it too maybe i find it :)

I found the solution to open the box, now it opens the box and chose genie lamp
this is what i did : (This update has been added into V3.001)

function CastLoop(): Boolean;
var
Bitmap, DTM, i, t, f: Integer;
P, CP: TPoint;
ClickBox: TBox;
begin
DTM := CreateOre(TOreArray[0].Color, TOreArray[0].Tolerance);
Bitmap := BitmapFromString(14, 7, 'meJw9kDEKwkAQRdmNJrFIbpBecPE' +
'MizewtRAsUnsAsbH1CKmtrdNYpYq9jYXYKEFE1EZZEN86IAzhzf9/' +
'Z2ej41ynpR5tqUD1I1sHswvV0pZKehuUaPXUcQ6TgVFUZ44Ch92DV' +
'hktR+Ss13/gk6bACseLwe7uLZXJhPbwBjAfMamaf5Ka7q+EuQsLwJ' +
'JlAPP64PplGGJreH08Sxhgjr/UFHxJOucIyFtwadPTmyQgy5CUZcS' +
'dLB+0AK0k/eSq4Tn8li8k64Ze');
GameTab(28);
i := 0;
f := 0;
if (FindNormalRandoms) then
GameTab(tab_Inv);

if (TOreArray[0].Amount = 27) then
ClickBox := InvBox(27)


now il search for the skill lamp problem for some reason it doesnt do anything with it.

Furyan

2010-12-28 07:40:54

It doesn't work for me. It just takes a full bag of the secondary ore and tries to cast Superheat on it.

crezzur

2010-12-28 07:44:45

From: Furyan
It doesn't work for me. It just takes a full bag of the secondary ore and tries to cast Superheat on it.


u have to put coal in the 9th bank slot and iron in the 10th bank slot

Furyan

2010-12-28 07:50:45

From: crezzur
u have to put coal in the 9th bank slot and iron in the 10th bank slot


I know that. I get the following:

Cannot find ORE DTM!
Yay Finished!
Superheated 1 times!
Cannot find Superheat Icon!
Superheated 2 times!
Cannot find Superheat Icon!
Superheated 3 times!

crezzur

2010-12-28 07:55:48

did u download this file ?
http://villavu.com/forum/showpost.php?p=762563&postcount=119

Furyan

2010-12-28 07:58:52

From: crezzur
did u download this file ?
http://villavu.com/forum/showpost.php?p=762563&postcount=119


Yep. Tried both at GE and Varrock West, which gives no difference.

crezzur

2010-12-28 08:02:19

From: Furyan
Yep. Tried both at GE and Varrock West, which gives no difference.


my bot is running as we speak

Time Running: 01h 25m 05s
State: Casting
Smithing EXP: 25848
Mage EXP: 78281

Smithing EXP/HR: 18227
Mage EXP/HR: 55201

did u set up your settings correct ?
http://villavu.com/forum/showthread.php?t=60510

Furyan

2010-12-28 08:12:11

From: crezzur
my bot is running as we speak

Time Running: 01h 25m 05s
State: Casting
Smithing EXP: 25848
Mage EXP: 78281

Smithing EXP/HR: 18227
Mage EXP/HR: 55201

did u set up your settings correct ?
http://villavu.com/forum/showthread.php?t=60510


Yes, all done. And I can run other scripts fine, which wouldn't be the case if it was due to my runescape settings.

crezzur

2010-12-28 08:43:31

i can ensure you that version 3.001 works
U might want to try the varrock east bank? using GE when there allot of players may result in the bot not finding the bank

Furyan

2010-12-28 09:03:05

From: crezzur
i can ensure you that version 3.001 works
U might want to try the varrock east bank? using GE when there allot of players may result in the bot not finding the bank


EDIT: Seems to be fixed when you first set the 'Withdraw X' value to 9.
Sorry for the trouble, thought it would do that automatically.

crezzur

2010-12-28 09:10:56

found your problem , u have to do 1 time withdraw X iron ore then press 9 then start bot again it will works fine now

Furyan

2010-12-28 09:12:34

From: crezzur
found your problem , u have to do 1 time withdraw X iron ore then press 9 then start bot again it will works fine now


Yes I just figured that out myself, see edit above. Thank you, seems to work great now. :)

crezzur

2010-12-28 09:16:25

From: Furyan
Yes I just figured that out myself, see edit above. Thank you, seems to work great now. :)


ive added the problem in the bug list keep an eye on this topic new updates will come in the future

thanks for posting your problem ;-)

Furyan

2010-12-28 10:33:07

From: crezzur
ive added the problem in the bug list keep an eye on this topic new updates will come in the future

thanks for posting your problem ;-)


Great! Just another quick problem that shouldn't be too hard to fix and would make the script even more awesome: the break times seem to be displayed wrong. It takes breaks as expected and filled in in the form, but the console gives different (wrong) info. Just a minor mistake you might want to fix.

Taking a break for 3 Hours, 43 Minutes and 0 Seconds
Break time remaining: 00:14:27
Break time remaining: 00:13:56
Break time remaining: 00:13:25


I'm currently doing 2k steel bars, will post progress report afterwards. :)

Claymore

2010-12-28 19:43:37

From: crezzur
ive added the problem in the bug list keep an eye on this topic new updates will come in the future

thanks for posting your problem ;-)


Thanks for keeping my script up to date crezzur! Feel free to credit yourself you deserve it.

And sorry to all that i cant keep up with this script.

0UT2K1LL

2010-12-31 02:12:35

Does Soul Wars now have random events? After using AutoSuperHeat for about 30 minutes I checked back and was in lumbridge…

I've ran the script multiple times (within Soul Wars) and it has always worked smoothly and with ease. I cannot think of any other way that I could end up there. Do randoms work in Soul Wars now or is this maybe a sign of Jagex knowing something?

I'll make sure to post proggies soon.
Any help with this experience is greatly appreciated =]


From: kongking
Probably the script clicked too fast and ended up clicking the tele to home instead of the ores.

That's what I figured, but wouldn't the actions like Banking and Superheating cancel the long casting time? I guess a bit of Anti-Ban could've synced with the time to cast the tele though.

KingKong

2010-12-31 02:19:38

Probably the script clicked too fast and ended up clicking the tele to home instead of the ores.

crezzur

2010-12-31 08:02:00

From: kongking
Probably the script clicked too fast and ended up clicking the tele to home instead of the ores.


Thats whats happened noticed the script doing it one time

icecap666

2011-01-14 13:20:13

***** STR: 'Abyssal Teleport' RANDOM SOLVED SUCCESSFULLY! *****
Superheated 1 times!
Cannot find ORE DTM!
Yay Finished!
Found Reward Item: XP
Stopped at Banking
Successfully executed.

ran for about 3 hours then failed after it finished the random. it didnt use the lamp but tried to deposit. Other than that. Amazing script.

Becks

2011-01-20 14:28:20

From: icecap666
***** STR: 'Abyssal Teleport' RANDOM SOLVED SUCCESSFULLY! *****
Superheated 1 times!
Cannot find ORE DTM!
Yay Finished!
Found Reward Item: XP
Stopped at Banking
Successfully executed.

ran for about 3 hours then failed after it finished the random. it didnt use the lamp but tried to deposit. Other than that. Amazing script.


That is an error with srl not the script itself.

crezzur

2011-01-20 16:39:09

From: Becks
That is an error with srl not the script itself.


No there is still a problem with the codding of the script, it opens the gift box and takes the skill lamp then it try to deposit the lamp. this still need update but i do not have allot of time atm maybe someone els gives a look at it.

KingKong

2011-01-20 22:15:14

The whole solving randoms and opening the giftbox and using the skill lamp is done in findnormalrandoms, so its srl's fault, not the scripts.

smurg

2011-01-20 23:06:45

From: kongking
The whole solving randoms and opening the giftbox and using the skill lamp is done in findnormalrandoms, so its srl's fault, not the scripts.


But it has to call the findnormalrandoms, break out of loops after x seconds, etc.

Not SRL's fault in the least if it loops clicking the box for 3 hours.

Mike408

2011-01-23 22:36:53


Not in Magic Tab! >:/
Not in Magic Tab! >:/
Not in Magic Tab! >:/
Not in Magic Tab! >:/
Not in Magic Tab! >:/
Not in Magic Tab! >:/
Not in Magic Tab! >:/
Not in Magic Tab! >:/
Not in Magic Tab! >:/
Not in Magic Tab! >:/
Not in Magic Tab! >:/
Not in Magic Tab! >:/
Not in Magic Tab! >:/

New bug?

KingKong

2011-01-23 22:46:42

Did you change the castloop that of version one?

Mike408

2011-01-23 22:48:22

From: KongKing
Did you change the castloop that of version one?

No I didn't. This is what comes up when I start the script. It seems to not recognize the magic tab

josh81193

2011-01-23 22:50:01

From: Mike408
No I didn't. This is what comes up when I start the script. It seems to not recognize the magic tab


Check your graphics settings, I had that issue at first.

KingKong

2011-01-23 22:56:19

download the attached file at this link:
http://villavu.com/forum/showpost.php?p=762563&postcount=119

JPHamlett

2011-01-24 22:30:44

Running now, I have over 10k steel bars to make. Will post my report after.


Edit:

Didn't even do one cast.

Bonfield

2011-01-24 23:27:49

whats wrong? and what version are you using?

abudtoker

2011-01-28 22:35:24

attachment below doesnt even get mt simba window to pop up
"ensure target page has applet direction"

http://villavu.com/forum/showpost.php?p=762563&postcount=119

?

KingKong

2011-01-29 03:17:45

Then download both the files from the first page and replace the castloop of the second one with the first one.

abudtoker

2011-01-29 18:41:14

From: KingKong
They download both the files from the first page and replace the castloop of the second one with the first one.


^^Did that. Working now. So far so good!

King of the Nites

2011-02-06 19:40:50

AutoSuperheat Pro Revision 1
Villavu.com - Deathscytex

Time Running: 30m 24s
State: Casting
Smithing EXP: 7052
Mage EXP: 21359

Smithing EXP/HR: 13918
Mage EXP/HR: 42152
Very Nice! Only thing stopping this is randoms… which I get a lot of :o

i luffs yeww

2011-02-06 19:53:23

From: King of the Nites
Progress Report:
AutoSuperheat Pro Revision 1
Villavu.com - Deathscytex

Time Running: 30m 24s
State: Casting
Smithing EXP: 7052
Mage EXP: 21359

Smithing EXP/HR: 13918
Mage EXP/HR: 42152

Very Nice! Only thing stopping this is randoms… which I get a lot of :o


Bad sign if you get a lot of randoms.. you should play legit for awhile if you care about the account. :x

King of the Nites

2011-02-06 20:01:13

From: i luffs yeww
Bad sign if you get a lot of randoms.. you should play legit for awhile if you care about the account. :x


Meh. haha. I feel like its just because this script rakes in so much xp and its clicking so much that i get a lot of randoms. But yeah im taking a break after i finish up the rest of these steel bars.

EDIT:
AutoSuperheat Pro Revision 1
Villavu.com - Deathscytex

Time Running: 42m 02s
State: Casting
Smithing EXP: 9905
Mage EXP: 29998

Smithing EXP/HR: 14139
Mage EXP/HR: 42820

i luffs yeww

2011-02-06 21:11:38

I got 1-99 craft in four days and got less than ten randoms, iirc. It's not about xp/hr.

weequ

2011-02-07 16:21:39

From: i luffs yeww
I got 1-99 craft in four days and got less than ten randoms, iirc. It's not about xp/hr.
I remember using fm brawling gloves in wildy for 4x xp and getting randoms every 5-10 minutes or so. Also seen a video on youtube where someone used his juices from a minigame to get fast thieving xp. He got a random atleast two times a minute.

nielskool

2011-02-07 16:46:02

AutoSuperheat Pro Revision 1
Villavu.com - Deathscytex

Time Running: 01h 06m 03s
State: Banking
Smithing EXP: 17955
Mage EXP: 54378

Smithing EXP/HR: 16307
Mage EXP/HR: 49387

works good;)

Cheeter

2011-02-08 08:25:49

I get "Unknown identifier 'SmartIsKeyDown'" :(

bevardis

2011-02-08 09:15:00

What's with 99 mining on the banner?

XRaye

2011-02-09 20:26:32

From: bevardis
What's with 99 mining on the banner?

Think it was a mistake :p

But this script is awesome, made almost 10k mith bars so far, about to make 5k more =D
I keep forgetting to save the proggies though >.< will try to get the next one.

Time Running: 02h 08m 33s
State: Banking
Smithing EXP: 50400
Mage EXP: 89040

Smithing EXP/HR: 23522
Mage EXP/HR: 41556
Used all bars :) (This wasn't 5k total)

EE:
Time Running: 03h 17m 07s
State: Banking
Smithing EXP: 76500
Mage EXP: 135150

Smithing EXP/HR: 23284
Mage EXP/HR: 41136
Stopped because of random

If anyone is still maintaining this is there some way to make it not click magic, inventory, then back to magic? seems kind of like a waste of time.

gamer716

2011-04-12 18:47:54

Could use a update :D
at the moment, unable to find superheat spell in magic tab.

EDIT: Found update in another thread haha

Claymore

2011-04-13 00:22:56

Hey nice to see my script is still popular! Ah… remember getting both those capes. I was so happy :) I got 99 Magic during Calculas, opened my laptop, opened Teamviewer, logged into my desktop and found out my bot got me 99 Magic 20 minuites ago. The rest of the day i was just happy.

gamer716

2011-04-13 01:17:27

Oh yea! I used it way back when it was released. But I decided to move to high alch and was banned after I reached 99 mage :(
Did you bot consecutively?

GTFO

2011-04-16 01:16:11

wait, so does this still work?

KingKong

2011-04-16 02:35:13

Yes, it should.

mr-sjb

2011-05-23 05:36:36

it works for me for 1 load… dont know if you can call that working?