Jump to content

SoulPlay nonPlankMaker


xBear
 Share

Recommended Posts

7 minutes ago, djf said:

ok first issue i having is that it doesnt rebank to get more logs. it just does my inventory then scripts closes

Delete this 

  1.         
  2.         if (oakLogAmountBank() < 1 && oakLogAmountBank() < 1&& logAmount() < 1) {
  3.             System.out.println("Out of logs");
  4.             return -1;
  5.         }
     
  6.  

 

 

Link to comment
Share on other sites

 

3 hours ago, djf said:

ok first issue i having is that it doesnt rebank to get more logs. it just does my inventory then scripts closes

Should be fixed now.

3 hours ago, Cyanic said:

Delete this 

  1.         
  2.         if (oakLogAmountBank() < 1 && oakLogAmountBank() < 1&& logAmount() < 1) {
  3.             System.out.println("Out of logs");
  4.             return -1;
  5.         }
     
  6.  

 

 

 

Should be working now correctly.

Link to comment
Share on other sites

  • 2 months later...

getting this error causing the script to stop.

 

Sep 22, 2018 7:55:21 PM xobot.IiIiIiiiIi ALLATORIxDEMO
WARNING: Uncaught exception from task:
java.lang.ClassCastException: IiiIiIiiiiiIiIi cannot be cast to iIiIIIiiiiiiiII
        at iIiiIIiiiiIiIIi.goto(qhb:25)
        at IIiIiIiiiiIIiii.goto(yfb:393)
        at com.soulplayps.client.Client.forItemId(uib)
        at xobot.script.wrappers.interactive.Item.getDefinition(z:124)
        at xobot.script.methods.Bank.getItems(sa:72)
        at xobot.script.methods.Bank.getItem(sa:206)
        at xobot.script.methods.Bank.getItem(sa:215)
        at nonPlankMaker.natureRunesAmount(nonPlankMaker.java:110)
        at nonPlankMaker.loop(nonPlankMaker.java:179)
        at xobot.IiIiIiiiIi.ALLATORIxDEMO(ta:164)
        at xobot.IiIiIiiiIi.run(ta:145)
        at java.lang.Thread.run(Unknown Source)

 

Link to comment
Share on other sites

3 hours ago, Samuel said:

getting this error causing the script to stop.

 


Sep 22, 2018 7:55:21 PM xobot.IiIiIiiiIi ALLATORIxDEMO
WARNING: Uncaught exception from task:
java.lang.ClassCastException: IiiIiIiiiiiIiIi cannot be cast to iIiIIIiiiiiiiII
        at iIiiIIiiiiIiIIi.goto(qhb:25)
        at IIiIiIiiiiIIiii.goto(yfb:393)
        at com.soulplayps.client.Client.forItemId(uib)
        at xobot.script.wrappers.interactive.Item.getDefinition(z:124)
        at xobot.script.methods.Bank.getItems(sa:72)
        at xobot.script.methods.Bank.getItem(sa:206)
        at xobot.script.methods.Bank.getItem(sa:215)
        at nonPlankMaker.natureRunesAmount(nonPlankMaker.java:110)
        at nonPlankMaker.loop(nonPlankMaker.java:179)
        at xobot.IiIiIiiiIi.ALLATORIxDEMO(ta:164)
        at xobot.IiIiIiiiIi.run(ta:145)
        at java.lang.Thread.run(Unknown Source)

 

I only updated the GitHub version, the class file is in the Bin Folder. 

 

Will update compiled download link tommorow. 

Edited by xBear
Link to comment
Share on other sites

8 hours ago, xBear said:

Are the logs visible in bank? Like, is the correct tab open?

 

Run with console, and show me what it says.

Sorry i didn't say before, the script will run just fine but occasionally throw this error out and stop.

Sep 23, 2018 3:49:10 PM xobot.iIiiiiIiII ALLATORIxDEMO
INFO: Starting Script: nonPlankMaker.
We have an total of 4218 nature runes
We have logs and all the runes and earthstaff equipped
We have an total of 4294 nature runes
Missing an item, going to open bank
Clicked use to open bank, waiting for it to open.
Bank is open.
We have 4294 oak logs
We have an total of 4295 nature runes
We have logs and all the runes and earthstaff equipped

 

Edited by Samuel
Link to comment
Share on other sites

  • Neo locked this topic
Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...