SRL Archive - RS3 Magic

SlipperySuperheater


SlipperyPickle

2015-02-25 05:08:09

SlipperySuperHeater



I present you! My superheater script! Got me to 99 magic, so I thought I release it to the public now!


Setup:


  1. Setup Simba following this tutorial;
  2. Save items as preset
  3. Have superheat in the first actionbar slot
  4. If using a coal bag, make sure it's in backpack slot 27
  5. Fill in the player form;
  6. Start in front of the bank you've chosen.


Features:


  • Antiban
  • Calculates profit
  • Coal bag
  • Fancy paint
  • Failsafes
  • Break system
  • Works in any bank


Player Form:



This will generate a list of the profit per bar. No more searching on the web!


Just fill in the player form.


Proggys:







Changelog:


V1.0
- Initial release
V1.1
- Minor bugfix
V1.2
- Added coal bag support
- Updated script
- Some minor improvements
V1.3
- If banked failed 10 times, script will stop
- Override the bankScreen method, for when superheat is still selected


Download:


KeepBotting

2015-02-25 09:22:53

Very sexy. I love the profit checker, and the progress report is quite nice as well! :D

SlipperyPickle

2015-02-25 11:50:16

From: KeepBotting
Very sexy. I love the profit checker, and the progress report is quite nice as well! :D


Thanks! Now on to the next project. Thinking about an AIO herb script or something :)

Im New Sry

2015-02-25 12:59:16

Congratulations on the release! Would love to give this a try and I will, soon. :)

Hitac

2015-02-25 13:03:44

Will give it a test.

So i tried to run the script and that doesn't work. It logins but then it keeps stopped.

[ATTACH=CONFIG]25116[/ATTACH]

SlipperyPickle

2015-02-25 13:25:53

From: srpronto
Will give it a test.

So i tried to run the script and that doesn't work. It logins but then it keeps stopped.

[ATTACH=CONFIG]25116[/ATTACH]


Can you post the debug and your player form settings?

Hitac

2015-02-25 13:31:38

[00:01:14]: -- setupSRL()
[00:01:14]: ---- Setting up SRL...
[00:01:14]: ---- attempting to spawn smart, attempt #: 1
[00:01:14]: ---- initSmart():
[00:01:14]: ------ Attempting to pair to a previously spawned client
[00:01:14]: ------ smartPairToExistingClient():
[00:01:14]: -------- Found no free clients to pair to
[00:01:14]: ------ smartPairToExistingClient(): result = false
[00:01:14]: ------ Attempting to spawn a new client..
[00:01:14]: ------ smartCreateClient():
[00:01:14]: ---------- smartGetParameters(): Succesfully grabbed paramters
[00:01:14]: -------- getJavaPath():
[00:01:14]: ---------- Attempting to search for your Java path
[00:01:14]: ---------- Found your java path @ C:\Program Files (x86)\Java\jre1.8.0_31\bin\java.exe
[00:01:14]: -------- getJavaPath()
[00:01:14]: -------- Using parameters [[url]http://world53.runescape.com/[/url], f5227575886204634693]
[00:01:14]: -------- Using plugins "OpenGL32.dll,d3d9.dll"
[00:01:21]: -------- Succesfully spawned a client, attempting to target
[00:01:21]: ---------- smartSetAsTarget(): Succesfully set SMART[4204] as Simba's target
[00:01:21]: ------ smartCreateClient(): result = true
[00:01:21]: ------ Succesfully initialized via spawning a new client
[00:01:21]: ---- initSmart()
[00:01:21]: ------ smartSetupDrawing(): Succesfully setup SMART drawing
[00:01:21]: ---- Waiting up to 5 minutes for RS to load...
[00:01:29]: ------ __setInputBoxes(): Set username and password boxes
[00:01:29]: ---- Client is ready.
[00:01:29]: ---- Setup SRL in 15 Seconds
[00:01:29]: -- setupSRL(): True
[00:01:31]: -- TPlayer.login()
[00:01:31]: ---- TPlayer.loginToLobby()
[00:01:31]: ------ Srskiller ()
[00:01:31]: ------ Entering username...
[00:01:35]: ------ Entering password...
[00:01:37]: -------- Saving screenshot: IP_address.png
[00:01:37]: ------ Found lobby screen
[00:01:37]: ---- TPlayer.loginToLobby(): True
[00:01:37]: ------ TRSLobby.findPlayButton(): result = True
[00:01:44]: ------ TRSActionBar.__findButton(): Found the actionbar button @ {X = 566, Y = 396}
[00:01:44]: ------ TRSActionBar.__find(): result = true (height = 75)
[00:01:44]: ------ Dynamic interfaces have been set.
[00:01:44]: ---- Logged in: srskiller
[00:01:44]: -- TPlayer.login(): True
[00:01:50]: -- ERROR: Specified Action Bar slot not in the range of 1 - 14.
[00:01:50]: -- WARNING: actionBar.isSlotActive() will now exit, returning False.
[00:01:50]: ---- TRSGameTab.__initTabs(): Setup gametab properties
[00:01:51]: -- TRSBankscreen.__openChest()
[00:01:51]: ---- ERROR: Failed to find enough good bank chest edges
[00:01:51]: -- TRSBankscreen.__openChest(): result = false
[00:01:52]: -- ERROR: Specified Action Bar slot not in the range of 1 - 14.
[00:01:52]: -- WARNING: actionBar.isSlotActive() will now exit, returning False.
[00:01:52]: -- TRSBankscreen.__openChest()
[00:01:52]: ---- ERROR: Failed to find enough good bank chest edges
[00:01:52]: -- TRSBankscreen.__openChest(): result = false
[00:01:53]: -- ERROR: Specified Action Bar slot not in the range of 1 - 14.
[00:01:53]: -- WARNING: actionBar.isSlotActive() will now exit, returning False.
[00:01:54]: -- TRSBankscreen.__openChest()
[00:01:54]: ---- ERROR: Failed to find enough good bank chest edges
[00:01:54]: -- TRSBankscreen.__openChest(): result = false
[00:01:54]: -- ERROR: Specified Action Bar slot not in the range of 1 - 14.
[00:01:54]: -- WARNING: actionBar.isSlotActive() will now exit, returning False.
[00:01:55]: -- TRSBankscreen.__openChest()
[00:01:55]: ---- ERROR: Failed to find enough good bank chest edges
[00:01:55]: -- TRSBankscreen.__openChest(): result = false
[00:01:56]: -- ERROR: Specified Action Bar slot not in the range of 1 - 14.
[00:01:56]: -- WARNING: actionBar.isSlotActive() will now exit, returning False.
[00:01:56]: -- TRSBankscreen.__openChest()
[00:01:56]: ---- ERROR: Failed to find enough good bank chest edges
[00:01:56]: -- TRSBankscreen.__openChest(): result = false
[00:01:57]: -- ERROR: Specified Action Bar slot not in the range of 1 - 14.
[00:01:57]: -- WARNING: actionBar.isSlotActive() will now exit, returning False.
[00:01:58]: -- TRSBankscreen.__openChest()
[00:01:58]: ---- ERROR: Failed to find enough good bank chest edges
[00:01:58]: -- TRSBankscreen.__openChest(): result = false
[00:01:59]: -- ERROR: Specified Action Bar slot not in the range of 1 - 14.
[00:01:59]: -- WARNING: actionBar.isSlotActive() will now exit, returning False.
[00:01:59]: -- TRSBankscreen.__openChest()
[00:01:59]: ---- ERROR: Failed to find enough good bank chest edges
[00:01:59]: -- TRSBankscreen.__openChest(): result = false
[00:02:00]: -- ERROR: Specified Action Bar slot not in the range of 1 - 14.
[00:02:00]: -- WARNING: actionBar.isSlotActive() will now exit, returning False.
[00:02:01]: -- TRSBankscreen.__openChest()
[00:02:01]: ---- ERROR: Failed to find enough good bank chest edges
[00:02:01]: -- TRSBankscreen.__openChest(): result = false
[00:02:01]: -- ERROR: Specified Action Bar slot not in the range of 1 - 14.
[00:02:01]: -- WARNING: actionBar.isSlotActive() will now exit, returning False.
[00:02:02]: -- TRSBankscreen.__openChest()
[00:02:02]: ---- ERROR: Failed to find enough good bank chest edges
[00:02:02]: -- TRSBankscreen.__openChest(): result = false
[00:02:03]: -- ERROR: Specified Action Bar slot not in the range of 1 - 14.
[00:02:03]: -- WARNING: actionBar.isSlotActive() will now exit, returning False.
[00:02:03]: -- TRSBankscreen.__openChest()
[00:02:03]: ---- ERROR: Failed to find enough good bank chest edges
[00:02:03]: -- TRSBankscreen.__openChest(): result = false
[00:02:04]: -- ERROR: Specified Action Bar slot not in the range of 1 - 14.
[00:02:04]: -- WARNING: actionBar.isSlotActive() will now exit, returning False.
[00:02:05]: -- TRSBankscreen.__openChest()
[00:02:05]: ---- ERROR: Failed to find enough good bank chest edges
[00:02:05]: -- TRSBankscreen.__openChest(): result = false
[00:02:06]: -- ERROR: Specified Action Bar slot not in the range of 1 - 14.
[00:02:06]: -- WARNING: actionBar.isSlotActive() will now exit, returning False.
[00:02:06]: -- TRSBankscreen.__openChest()
[00:02:06]: ---- ERROR: Failed to find enough good bank chest edges
[00:02:06]: -- TRSBankscreen.__openChest(): result = false
[00:02:07]: -- ERROR: Specified Action Bar slot not in the range of 1 - 14.
[00:02:07]: -- WARNING: actionBar.isSlotActive() will now exit, returning False.
[00:02:08]: -- TRSBankscreen.__openChest()
[00:02:08]: ---- ERROR: Failed to find enough good bank chest edges
[00:02:08]: -- TRSBankscreen.__openChest(): result = false
[00:02:09]: -- ERROR: Specified Action Bar slot not in the range of 1 - 14.
[00:02:09]: -- WARNING: actionBar.isSlotActive() will now exit, returning False.
[00:02:09]: -- TRSBankscreen.__openChest()
[00:02:09]: ---- ERROR: Failed to find enough good bank chest edges
[00:02:09]: -- TRSBankscreen.__openChest(): result = false
[00:02:10]: -- ERROR: Specified Action Bar slot not in the range of 1 - 14.
[00:02:10]: -- WARNING: actionBar.isSlotActive() will now exit, returning False.
[00:02:11]: -- TRSBankscreen.__openChest()
[00:02:11]: ---- ERROR: Failed to find enough good bank chest edges
[00:02:11]: -- TRSBankscreen.__openChest(): result = false
[00:02:11]: -- ERROR: Specified Action Bar slot not in the range of 1 - 14.
[00:02:11]: -- WARNING: actionBar.isSlotActive() will now exit, returning False.
[00:02:12]: -- TRSBankscreen.__openChest()
[00:02:12]: ---- ERROR: Failed to find enough good bank chest edges
[00:02:12]: -- TRSBankscreen.__openChest(): result = false
[00:02:13]: -- ERROR: Specified Action Bar slot not in the range of 1 - 14.
[00:02:13]: -- WARNING: actionBar.isSlotActive() will now exit, returning False.
[00:02:13]: -- TRSBankscreen.__openChest()
[00:02:13]: ---- ERROR: Failed to find enough good bank chest edges
[00:02:13]: -- TRSBankscreen.__openChest(): result = false
[00:02:14]: -- ERROR: Specified Action Bar slot not in the range of 1 - 14.
[00:02:14]: -- WARNING: actionBar.isSlotActive() will now exit, returning False.
[00:02:15]: -- TRSBankscreen.__openChest()
[00:02:15]: ---- ERROR: Failed to find enough good bank chest edges
[00:02:15]: -- TRSBankscreen.__openChest(): result = false
[00:02:16]: -- ERROR: Specified Action Bar slot not in the range of 1 - 14.
[00:02:16]: -- WARNING: actionBar.isSlotActive() will now exit, returning False.
[00:02:16]: -- TRSBankscreen.__openChest()
[00:02:16]: ---- ERROR: Failed to find enough good bank chest edges
[00:02:16]: -- TRSBankscreen.__openChest(): result = false
[00:02:17]: -- ERROR: Specified Action Bar slot not in the range of 1 - 14.
[00:02:17]: -- WARNING: actionBar.isSlotActive() will now exit, returning False.
[00:02:18]: -- TRSBankscreen.__openChest()
[00:02:18]: ---- ERROR: Failed to find enough good bank chest edges
[00:02:18]: -- TRSBankscreen.__openChest(): result = false
[00:02:19]: -- ERROR: Specified Action Bar slot not in the range of 1 - 14.
[00:02:19]: -- WARNING: actionBar.isSlotActive() will now exit, returning False.
[00:02:19]: -- TRSBankscreen.__openChest()
[00:02:19]: ---- ERROR: Failed to find enough good bank chest edges
[00:02:19]: -- TRSBankscreen.__openChest(): result = false
[00:02:20]: -- ERROR: Specified Action Bar slot not in the range of 1 - 14.
[00:02:20]: -- WARNING: actionBar.isSlotActive() will now exit, returning False.
[00:02:21]: -- TRSBankscreen.__openChest()
[00:02:21]: ---- ERROR: Failed to find enough good bank chest edges
[00:02:21]: -- TRSBankscreen.__openChest(): result = false
[00:02:21]: -- ERROR: Specified Action Bar slot not in the range of 1 - 14.
[00:02:21]: -- WARNING: actionBar.isSlotActive() will now exit, returning False.
[00:02:22]: -- TRSBankscreen.__openChest()
[00:02:22]: ---- ERROR: Failed to find enough good bank chest edges
[00:02:22]: -- TRSBankscreen.__openChest(): result = false
[00:02:23]: -- ERROR: Specified Action Bar slot not in the range of 1 - 14.
[00:02:23]: -- WARNING: actionBar.isSlotActive() will now exit, returning False.
[00:02:23]: -- TRSBankscreen.__openChest()
[00:02:23]: ---- ERROR: Failed to find enough good bank chest edges
[00:02:23]: -- TRSBankscreen.__openChest(): result = false
[00:02:24]: -- ERROR: Specified Action Bar slot not in the range of 1 - 14.
[00:02:24]: -- WARNING: actionBar.isSlotActive() will now exit, returning False.
[00:02:25]: -- TRSBankscreen.__openChest()
[00:02:25]: ---- ERROR: Failed to find enough good bank chest edges
[00:02:25]: -- TRSBankscreen.__openChest(): result = false
[00:02:26]: -- ERROR: Specified Action Bar slot not in the range of 1 - 14.
[00:02:26]: -- WARNING: actionBar.isSlotActive() will now exit, returning False.
[00:02:26]: -- TRSBankscreen.__openChest()
[00:02:26]: ---- ERROR: Failed to find enough good bank chest edges
[00:02:26]: -- TRSBankscreen.__openChest(): result = false
[00:02:27]: -- ERROR: Specified Action Bar slot not in the range of 1 - 14.
[00:02:27]: -- WARNING: actionBar.isSlotActive() will now exit, returning False.
[00:02:28]: -- TRSBankscreen.__openChest()
[00:02:28]: ---- ERROR: Failed to find enough good bank chest edges
[00:02:28]: -- TRSBankscreen.__openChest(): result = false
[00:02:29]: -- ERROR: Specified Action Bar slot not in the range of 1 - 14.
[00:02:29]: -- WARNING: actionBar.isSlotActive() will now exit, returning False.
[00:02:29]: -- TRSBankscreen.__openChest()
[00:02:29]: ---- ERROR: Failed to find enough good bank chest edges
[00:02:29]: -- TRSBankscreen.__openChest(): result = false
[00:02:30]: -- ERROR: Specified Action Bar slot not in the range of 1 - 14.
[00:02:30]: -- WARNING: actionBar.isSlotActive() will now exit, returning False.
[00:02:31]: -- TRSBankscreen.__openChest()
[00:02:31]: ---- ERROR: Failed to find enough good bank chest edges
[00:02:31]: -- TRSBankscreen.__openChest(): result = false
[00:02:32]: -- ERROR: Specified Action Bar slot not in the range of 1 - 14.
[00:02:32]: -- WARNING: actionBar.isSlotActive() will now exit, returning False.
[00:02:32]: -- TRSBankscreen.__openChest()
[00:02:32]: ---- ERROR: Failed to find enough good bank chest edges
[00:02:32]: -- TRSBankscreen.__openChest(): result = false
[00:02:33]: -- ERROR: Specified Action Bar slot not in the range of 1 - 14.
[00:02:33]: -- WARNING: actionBar.isSlotActive() will now exit, returning False.
[00:02:34]: -- TRSBankscreen.__openChest()
[00:02:34]: ---- ERROR: Failed to find enough good bank chest edges
[00:02:34]: -- TRSBankscreen.__openChest(): result = false
[00:02:34]: -- ERROR: Specified Action Bar slot not in the range of 1 - 14.
[00:02:34]: -- WARNING: actionBar.isSlotActive() will now exit, returning False.
[00:02:35]: -- TRSBankscreen.__openChest()
[00:02:35]: ---- ERROR: Failed to find enough good bank chest edges
[00:02:35]: -- TRSBankscreen.__openChest(): result = false
[00:02:36]: -- ERROR: Specified Action Bar slot not in the range of 1 - 14.
[00:02:36]: -- WARNING: actionBar.isSlotActive() will now exit, returning False.
[00:02:36]: -- TRSBankscreen.__openChest()
[00:02:36]: ---- ERROR: Failed to find enough good bank chest edges
[00:02:36]: -- TRSBankscreen.__openChest(): result = false
[00:02:37]: -- ERROR: Specified Action Bar slot not in the range of 1 - 14.
[00:02:37]: -- WARNING: actionBar.isSlotActive() will now exit, returning False.
[00:02:38]: -- TRSBankscreen.__openChest()
[00:02:38]: ---- ERROR: Failed to find enough good bank chest edges
[00:02:38]: -- TRSBankscreen.__openChest(): result = false
[00:02:39]: -- ERROR: Specified Action Bar slot not in the range of 1 - 14.
[00:02:39]: -- WARNING: actionBar.isSlotActive() will now exit, returning False.
[00:02:39]: -- TRSBankscreen.__openChest()
[00:02:39]: ---- ERROR: Failed to find enough good bank chest edges
[00:02:39]: -- TRSBankscreen.__openChest(): result = false
[00:02:40]: -- ERROR: Specified Action Bar slot not in the range of 1 - 14.
[00:02:40]: -- WARNING: actionBar.isSlotActive() will now exit, returning False.
[00:02:41]: -- TRSBankscreen.__openChest()
[00:02:41]: ---- ERROR: Failed to find enough good bank chest edges
[00:02:41]: -- TRSBankscreen.__openChest(): result = false
[00:02:42]: -- ERROR: Specified Action Bar slot not in the range of 1 - 14.
[00:02:42]: -- WARNING: actionBar.isSlotActive() will now exit, returning False.
[00:02:42]: -- TRSBankscreen.__openChest()
[00:02:42]: ---- ERROR: Failed to find enough good bank chest edges
[00:02:42]: -- TRSBankscreen.__openChest(): result = false
[00:02:43]: -- ERROR: Specified Action Bar slot not in the range of 1 - 14.
[00:02:43]: -- WARNING: actionBar.isSlotActive() will now exit, returning False.
[00:02:44]: -- TRSBankscreen.__openChest()
[00:02:44]: ---- ERROR: Failed to find enough good bank chest edges
[00:02:44]: -- TRSBankscreen.__openChest(): result = false
[00:02:44]: -- ERROR: Specified Action Bar slot not in the range of 1 - 14.
[00:02:44]: -- WARNING: actionBar.isSlotActive() will now exit, returning False.
[00:02:45]: -- TRSBankscreen.__openChest()
[00:02:45]: ---- ERROR: Failed to find enough good bank chest edges
[00:02:45]: -- TRSBankscreen.__openChest(): result = false
[00:02:46]: -- ERROR: Specified Action Bar slot not in the range of 1 - 14.
[00:02:46]: -- WARNING: actionBar.isSlotActive() will now exit, returning False.
[00:02:46]: -- TRSBankscreen.__openChest()
[00:02:46]: ---- ERROR: Failed to find enough good bank chest edges
[00:02:46]: -- TRSBankscreen.__openChest(): result = false
[00:02:47]: -- ERROR: Specified Action Bar slot not in the range of 1 - 14.
[00:02:47]: -- WARNING: actionBar.isSlotActive() will now exit, returning False.
[00:02:48]: -- TRSBankscreen.__openChest()
[00:02:48]: ---- ERROR: Failed to find enough good bank chest edges
[00:02:48]: -- TRSBankscreen.__openChest(): result = false
[00:02:49]: -- ERROR: Specified Action Bar slot not in the range of 1 - 14.
[00:02:49]: -- WARNING: actionBar.isSlotActive() will now exit, returning False.
[00:02:49]: -- TRSBankscreen.__openChest()
[00:02:49]: ---- ERROR: Failed to find enough good bank chest edges
[00:02:49]: -- TRSBankscreen.__openChest(): result = false
[00:02:50]: -- ERROR: Specified Action Bar slot not in the range of 1 - 14.
[00:02:50]: -- WARNING: actionBar.isSlotActive() will now exit, returning False.
[00:02:51]: -- TRSBankscreen.__openChest()
[00:02:51]: ---- ERROR: Failed to find enough good bank chest edges
[00:02:51]: -- TRSBankscreen.__openChest(): result = false
[00:02:52]: -- ERROR: Specified Action Bar slot not in the range of 1 - 14.
[00:02:52]: -- WARNING: actionBar.isSlotActive() will now exit, returning False.
[00:02:52]: -- TRSBankscreen.__openChest()
[00:02:52]: ---- ERROR: Failed to find enough good bank chest edges
[00:02:52]: -- TRSBankscreen.__openChest(): result = false
[00:02:53]: -- ERROR: Specified Action Bar slot not in the range of 1 - 14.
[00:02:53]: -- WARNING: actionBar.isSlotActive() will now exit, returning False.
[00:02:54]: -- TRSBankscreen.__openChest()
[00:02:54]: ---- ERROR: Failed to find enough good bank chest edges
[00:02:54]: -- TRSBankscreen.__openChest(): result = false
[00:02:54]: -- ERROR: Specified Action Bar slot not in the range of 1 - 14.
[00:02:54]: -- WARNING: actionBar.isSlotActive() will now exit, returning False.
[00:02:55]: -- TRSBankscreen.__openChest()
[00:02:55]: ---- ERROR: Failed to find enough good bank chest edges
[00:02:55]: -- TRSBankscreen.__openChest(): result = false
[00:02:56]: -- ERROR: Specified Action Bar slot not in the range of 1 - 14.
[00:02:56]: -- WARNING: actionBar.isSlotActive() will now exit, returning False.
[00:02:56]: -- TRSBankscreen.__openChest()
[00:02:56]: ---- ERROR: Failed to find enough good bank chest edges
[00:02:56]: -- TRSBankscreen.__openChest(): result = false
[00:02:57]: -- ERROR: Specified Action Bar slot not in the range of 1 - 14.
[00:02:57]: -- WARNING: actionBar.isSlotActive() will now exit, returning False.
[00:02:58]: -- TRSBankscreen.__openChest()
[00:02:58]: ---- ERROR: Failed to find enough good bank chest edges
[00:02:58]: -- TRSBankscreen.__openChest(): result = false

[ATTACH=CONFIG]25117[/ATTACH]

Hitac

2015-02-25 13:57:59

Im at burthorpe and now it works really good. Tried alot at lumbridge chest but it didnt work.

SlipperyPickle

2015-02-25 14:27:58

From: srpronto
Im at burthorpe and now it works really good. Tried alot at lumbridge chest but it didnt work.


Really weird since I only tried in Lumbridge. Maybe if you zoom in a little more, and set camera east?

Good it works now! Post a proggy if you have one! :)

Hitac

2015-02-25 14:36:46

[ATTACH=CONFIG]25118[/ATTACH]

Litleeeee one.

SlipperyPickle

2015-02-25 15:16:43

From: srpronto
[ATTACH=CONFIG]25118[/ATTACH]

Litleeeee one.


Thanks! Added to OP! :)

Hitac

2015-02-25 15:18:59

I'll try to post a bigger one tomorrow :)

Sin

2015-02-25 20:23:02

From: KeepBotting
Very sexy. I love the profit checker, and the progress report is quite nice as well! :D


Thanks :P

SlipperyPickle

2015-02-25 20:36:33

From: Sin
Thanks :P


Are you suggesting I stole it from you? Because I wrote that myself?

Only got the getItemPrice() function from The Mayor. The part below was inspired on Bonsais powerminer:
type
BarVar = record
name : string;
oreTextArray : TStringArray;
xpGain : extended;
coalNeeded : integer;
end;

Sin

2015-02-25 20:44:54

From: SlipperyPickle
Are you suggesting I stole it from you? Because I wrote that myself?

Only got the getItemPrice() function from The Mayor. The part below was inspired on Bonsais powerminer:
type
BarVar = record
name : string;
oreTextArray : TStringArray;
xpGain : extended;
coalNeeded : integer;
end;


Why yes, how very astute of you.

Okay, i'll let this go:


//mine
type
Bar = record
barType, oreType:String;
barXP, coalReq:Integer;
maxCasts, profit:Integer;
end;

//yours
type
BarVar = record
name : string;
oreTextArray : TStringArray;
xpGain : extended;
coalNeeded : integer;
end;

I'm sure you got the inspiration from bonsai's script, days after you used my superheater. However, Coh3n's had the same bar storing method so I can't take credit for it either.

Price grabbing:


//mine
function getProfitBar(oreName, barName:String; coalAmt:Integer):integer;
var
orePrice, barPrice, natPrice:Integer;
begin
orePrice := getItemPrice(oreName, 1);
barPrice := getItemPrice(barName, 1);
natPrice := getitemPrice('Nature_rune', 1);
Result := barPrice - orePrice - natPrice - (coalAmt * getItemPrice('Coal', 1));
end;


//yours
function calculateProfit(): integer;
begin
orePrice := getItemPrice(barVariables.oreTextArray[2], 1);
barPrice := getItemPrice(barVariables.oreTextArray[3], 1);
natPrice := getitemPrice('Nature_rune', 1);
coalPrice := barVariables.coalNeeded * getItemPrice('Coal', 1);
Result := barPrice - coalPrice - orePrice - natPrice;
end;

I'll let this one go too, since there aren't many ways to grab a price. Might wanna consider using different variable names though, just to avoid giving others the misconception that you lifted it off their script.

This is what i'm most pissed about -_-


//mine
writeln('Loading variables, hang on - this might take a while!');


//yours
writeLn('Be patient! Takes a few seconds.');

Come on man, be original. There's other stuff, but I have more pressing matters to deal, namely a midterm which I know jack shit about. But it's alright man, everyone copies things in the beginning. I know I did. I just wish you gave a little credit.

Best of luck with your script.

P.S., might wanna kill a few of those infinite loops. This place needs some #turnitin

Kyle

2015-02-25 20:47:46

From: SlipperyPickle
Are you suggesting I stole it from you? Because I wrote that myself?



Unless you just happened to write it identical, with exact same variable names, then yes, it was taken from @Sin;

https://www.diffchecker.com/164aehr4

Sin

2015-02-25 20:55:50

From: elfyyy
Unless you just happened to write it identical, with exact same variable names, then yes, it was taken from @Sin;

https://www.diffchecker.com/164aehr4


That's actually by Mayor. #awks

Kyle

2015-02-25 20:58:44

From: Sin
That's actually by Mayor. #awks


Ahh I see that now. So Mayor made it, Sin used it, and señor Pickle used it..

Damn, that function get's around!

SlipperyPickle

2015-02-25 20:59:33

From: elfyyy
Unless you just happened to write it identical, with exact same variable names, then yes, it was taken from @Sin;

https://www.diffchecker.com/164aehr4


That part of the code comes from The Mayor:
https://villavu.com/forum/showthread.php?t=107485&highlight=getitemprice

Sin

2015-02-25 20:59:45

From: elfyyy
Ahh I see that now. So Mayor made it, Sin used it with credits, and señor Pickle used it with out credit..

Damn, that function get's around!


It could give Kim Kardashian a run for her money.

SlipperyPickle

2015-02-25 21:00:35

From: elfyyy
Ahh I see that now. So Mayor made it, Sin used it with credits, and señor Pickle used it with out credit..

Damn, that function get's around!


I have credits in my code! Just read above the getItemPrice() function!

Kyle

2015-02-25 21:01:13

From: SlipperyPickle
I have credits in my code! Just read above the getItemPrice() function!


You ninja'd my post edit :'(

SlipperyPickle

2015-02-25 21:07:24

From: elfyyy
You ninja'd my post edit :'(


Sorry! I was a little angry I had to defend myself after releasing a script to the public.

ffcfoo

2015-02-26 16:06:42

Iron worked, but Adamantite ore does not. It will take it out of bank (Preset), then hover over the slot that I put it on, where the Adamantite is, and it will just not click it at all and just go back to bank and press the Preset button again and so and so forth. In other words, Does not smelt Adamantite just hovers over it and goes back into bank.

3Garrett3

2015-02-26 16:46:39

From: ffcfoo
Iron worked, but Adamantite ore does not. It will take it out of bank (Preset), then hover over the slot that I put it on, where the Adamantite is, and it will just not click it at all and just go back to bank and press the Preset button again and so and so forth. In other words, Does not smelt Adamantite just hovers over it and goes back into bank.


If it's anything like Cohen's when I used that, it requires a full inventory. If the *right* amount of ores doesn't fill the inventory it just keeps thinking it's done because the last ore slot is empty. Make your preset load up with extra coal and it might work (or Addy is actually broken IDK)

SlipperyPickle

2015-02-26 17:14:27

From: ffcfoo
Iron worked, but Adamantite ore does not. It will take it out of bank (Preset), then hover over the slot that I put it on, where the Adamantite is, and it will just not click it at all and just go back to bank and press the Preset button again and so and so forth. In other words, Does not smelt Adamantite just hovers over it and goes back into bank.


From: 3Garrett3
If it's anything like Cohen's when I used that, it requires a full inventory. If the *right* amount of ores doesn't fill the inventory it just keeps thinking it's done because the last ore slot is empty. Make your preset load up with extra coal and it might work (or Addy is actually broken IDK)


That's true, the backpack must be full. But I also had a grammatical error in my script. When it hovers over the ore it checks if it's the right ore. It went wrong in that check, updated the script now!

Sorry for the inconvenience!

niekasnieko

2015-02-28 05:57:21

Thank you for this script. Cant wait to try it out.

zack317

2015-04-19 15:48:48

thanks for the script man

Thomas

2015-04-19 16:33:21

I seem to like all of your script, although some parts seem super familiar (mainly the breaking system, that I use myself from mayors miner because it is so simplistic), but I don't like how your superheat procedure is setup at all. Anyway good release, it seems to have most of the features users would require!