Freeze superheater
Currently: OutDated
please notic that since the spellbook for member and non-member are different, I only know how to setup spellbook and inventory for f2p
I think this will be the last script been release in this year, since Ill be busy in the next few months.
First, I need to thanks to for Runaway, Ashaman88, and also abu. the dung bank finder are credit to Runeaway, break system is from Ashaman88, and the proggy formate is from abu
Introduce
this script will setup the spell book before super heating so that it can heating all the bar with faster speed.
And it can find the ore automatically.
so how do setup?
(1)open main.simba
(2) fill banktab_index with the banktab you put all materials
(3) fill BarToSmelt with the bar you want to smith
(4) if you want to use coalbag, set UseCoalBag to true.
(5) set Bank_place to the bank you want to use, I suggest using 'dung'
the describe of my anti-leech
Since this script is capable to heating bars with extreme fast speed, I add some anti-leech to prevent this script be widely spread. And also, I made the script a little slower by remove some fancy code, But leaving some comment so let you guys have some idea of how to speed it up.
The Anti-leech contain compile-time error and some bug when you run the script, to make bugs more easy to found, I put Error in every place that contain bug, so the script will terminate itself if you didn't fix it.
The usage of some customlize function
You will find 3 function that has _custom in it's name, these function are the modified version of the origin SRL include. There is reasons why I pull out these things, so i suggest you to look carefully at these stuff. I have leave some comments too.
Something relate to anti-leech
The public release only support steel bar in native,and only support F2p account. But you can easily make it support other bars too. spend some time to understand what are SetupPlay and Loadinfo doing, you can find them in main.simba.
Also, if you find out that you need to place additional ore for clicking, setup the value of additional_ore_slot.
For some example, see the two picture below.
If you want to smith mithril bar without coalbag , your inventory and spellbook will look like this.
set the value of additional_ore_slot to 7
additional notes
I'll put some Question that was asked here, maybe you will find useful answers here.
The user name are modified before past to this thread.
[First one]
Originally Posted by
XXXXXX
hey, been looking over your script trying to fix the antileech for a bit of fun and to learn.
I don't understand the type mismatch in the banking.simba
Simba Code:
begin
amount:= ItemCoordinates_custom('inv', 'dtm', coalDTM, []);
if amount=0 then
Simba Code:
ItemCoordinates_custom(Area, ItemType: string; Item: Integer; Tol: TIntegerArray): TPointArray;
:s
[My reply]
You should be able to find ItemCoordinates_custom at part/global_variable.simba, This function should be the modified version of ItemCoordinates .However, in the public release, the whole function is just a copy of ItemCoordinates and therefore make it become an anti-leech .
ItemCoordinates, which should be found in srl include, is the core function that are used by CountItems. I suggest you to take a look at CountItems and you will understand how to make ItemCoordinates_custom return Integer instead of TPointArray.
At last, if you find out that the bot act strangly when heating bar, check the ItemCoordinates_custom again. This is also a part of anti-leech