Jump to content

nRestocker [Grand Exchange] [Muling] [Bonding] [Gearing] [Script Starting/Queuing] [~100 Different Tasks] [Automate Your Gold Farm]


Naton

Recommended Posts

3 minutes ago, Adventure_Time said:

[13:45:20] java.lang.NullPointerException
[13:45:20] 	at scripts.napi.tribot.b.M(SecurityBypass.java:34)
[13:45:20] 	at scripts.napi.tribot.l.l(PlatformDebugger.java:33)
[13:45:20] 	at scripts.napi.tribot.l.l(PlatformDebugger.java:37)
[13:45:20] 	at scripts.napi.tribot.l.l(PlatformDebugger.java:64)
[13:45:20] 	at scripts.napi.framework.NScript.i(NScript.java:1061)
[13:45:20] 	at scripts.napi.framework.NScript.run(NScript.java:542)
[13:45:20] 	at java.lang.Thread.run(Unknown Source)

I get a NPE on startup. Seems to occur only on clients that have been running other scripts prior. Any idea what might be the cause?

Can you send the entire bot and client debug? What other scripts were running? 

Link to comment
Share on other sites

  • Replies 154
  • Created
  • Last Reply

Top Posters In This Topic

7 minutes ago, Naton said:

Can you send the entire bot and client debug? What other scripts were running? 

  • [13:49:46] [GUI: nRestocker] Invoking GUI creation
  • [13:49:46] [GUI: nRestocker] Overriding default font
  • [13:49:46] [GUI: nRestocker] Waiting for initialization
  • [13:49:46] [GUI: nRestocker] Initializing toolkit
  • [13:49:46] [GUI: nRestocker] Dispatching stage creation
  • [13:49:56] [GUI: nRestocker] Wait for init result: false
  • [13:49:56] java.lang.NullPointerException
  • [13:49:56] at scripts.napi.tribot.l.l(PlatformDebugger.java:43)
  • [13:49:56] at scripts.napi.framework.NScript.i(NScript.java:1061)
  • [13:49:56] at scripts.napi.framework.NScript.run(NScript.java:542)
  • [13:49:56] at java.lang.Thread.run(Unknown Source)
  • [13:49:56] true
  • [13:49:56] false
  • [13:49:56] java.lang.NullPointerException
  • [13:49:56] at scripts.napi.tribot.b.M(SecurityBypass.java:34)
  • [13:49:56] at scripts.napi.tribot.l.l(PlatformDebugger.java:33)
  • [13:49:56] at scripts.napi.tribot.l.l(PlatformDebugger.java:37)
  • [13:49:56] at scripts.napi.tribot.l.l(PlatformDebugger.java:64)
  • [13:49:56] at scripts.napi.framework.NScript.i(NScript.java:1061)
  • [13:49:56] at scripts.napi.framework.NScript.run(NScript.java:542)
  • [13:49:56] at java.lang.Thread.run(Unknown Source)

 

That's the whole debug from start script w/ no arguments.  Scripts were varied, as they were new accounts training; one is a simple combat script the other gets specific skills reqs + completes 5 quests. I'll try to see if it's caused by a specific script if I run into it some more

Edit:

  • [13:49:56] java.lang.RuntimeException: Failed to obtain GUI controller
  • [13:49:56] at scripts.napi.framework.NScript.i(NScript.java:1062)
  • [13:49:56] at scripts.napi.framework.NScript.run(NScript.java:542)
  • [13:49:56] at java.lang.Thread.run(Unknown Source)
  • [13:49:56] Script Ended: nRestocker.

Nevermind. I think I know what caused it. Optimus' fighter breaks GUI's for some reason if you run it. Running with Arguments works fine. Forgot I used them briefly on these accounts to get 18 slayer

 

Edited by Adventure_Time
Link to comment
Share on other sites

3 minutes ago, Adventure_Time said:
  • [13:49:46] [GUI: nRestocker] Invoking GUI creation
  • [13:49:46] [GUI: nRestocker] Overriding default font
  • [13:49:46] [GUI: nRestocker] Waiting for initialization
  • [13:49:46] [GUI: nRestocker] Initializing toolkit
  • [13:49:46] [GUI: nRestocker] Dispatching stage creation
  • [13:49:56] [GUI: nRestocker] Wait for init result: false
  • [13:49:56] java.lang.NullPointerException
  • [13:49:56] at scripts.napi.tribot.l.l(PlatformDebugger.java:43)
  • [13:49:56] at scripts.napi.framework.NScript.i(NScript.java:1061)
  • [13:49:56] at scripts.napi.framework.NScript.run(NScript.java:542)
  • [13:49:56] at java.lang.Thread.run(Unknown Source)
  • [13:49:56] true
  • [13:49:56] false
  • [13:49:56] java.lang.NullPointerException
  • [13:49:56] at scripts.napi.tribot.b.M(SecurityBypass.java:34)
  • [13:49:56] at scripts.napi.tribot.l.l(PlatformDebugger.java:33)
  • [13:49:56] at scripts.napi.tribot.l.l(PlatformDebugger.java:37)
  • [13:49:56] at scripts.napi.tribot.l.l(PlatformDebugger.java:64)
  • [13:49:56] at scripts.napi.framework.NScript.i(NScript.java:1061)
  • [13:49:56] at scripts.napi.framework.NScript.run(NScript.java:542)
  • [13:49:56] at java.lang.Thread.run(Unknown Source)

 

That's the whole debug from start script w/ no arguments.  Scripts were varied, as they were new accounts training; one is a simple combat script the other gets specific skills reqs + completes 5 quests. I'll try to see if it's caused by a specific script if I run into it some more

Can you also include the client debug? Are you running xPrayer or another script by xCode? I've seen this before and its due to previously used scripts on that client that unnecessarily shutdown javafx even if they aren't using it. xPrayer is an example of a script that does it; use it and try to load any script that uses javafx and it will crash. 

Edited by Naton
Link to comment
Share on other sites

  • 3 weeks later...

Added first iteration of more realistic name generation when placing offers in the grand exchange

If this is well-received I can add it to my other scripts

Link to comment
Share on other sites

  • 1 month later...

I don't usually post updates on forums  (mostly keep them in my discord) but I may change that

Added boots of lightness task (located in misc.)

Link to comment
Share on other sites

Added empty tome of fire task

Added lighting candle if tinderbox + candle in inventory and no lit candle

Fixed issue where the script wouldn't stop right away when pressing stop script/script naturally ending due to trying to connect to a mule

 

Added support for weight reducing items in equip gear task (these items ids actually change when you equip them so previously the task would fail)

 

Added Get Slayer Task Task, Check Slayer Task Task, and Slayer Task Condition

The first will get a slayer task from a slayer master, and store the task

The second with check your slayer task using a tracking item, and store the task

The third will check the stored task as a condition lmk of any bugs might be missing something

Link to comment
Share on other sites

  • 1 month later...

I have used the trial of this script as a test for automating the preparation phase of my gold farm. I am very enthusiastic. The script works flawlessly, and greatly reduces my efforts to get my seperate gold farms prepared for a run. Props to the author, keep up the good work! You have a new customer :).

spacer.png1873465337_scriptoboy(1).png.0a05fdc7708a7502995d467b71a97c0f.png

/* If you don't want to make waves, be mediocre, be normal and fit in *\
 

 

Link to comment
Share on other sites

Hey, I wanna report a tiny bug:

 

When its selling very cheap items in big stacks (that are worth 3gp ea for example) and it tries to reduce the price 15%, it gets stuck in a loop bc the price cannot be lower than 1gp each. Any thoughts on how to fix this? 

 

Cheers, you have a new customer!

spacer.png1873465337_scriptoboy(1).png.0a05fdc7708a7502995d467b71a97c0f.png

/* If you don't want to make waves, be mediocre, be normal and fit in *\
 

 

Link to comment
Share on other sites

2 hours ago, scriptoboy said:

Hey, I wanna report a tiny bug:

 

When its selling very cheap items in big stacks (that are worth 3gp ea for example) and it tries to reduce the price 15%, it gets stuck in a loop bc the price cannot be lower than 1gp each. Any thoughts on how to fix this? 

 

Cheers, you have a new customer!

Can you send me the debug? Follow this gif to grab it easily: JruOAaz.gif

Link to comment
Share on other sites

13 hours ago, Naton said:

Can you send me the debug? Follow this gif to grab it easily: JruOAaz.gif

 

Im out of town for the weekend, but ill make a demonstration on one of my mules next mondag and post the logs! Thanks for the quick response, and once again, one of the best scripts out there for mass gold farmers :).

 

spacer.png1873465337_scriptoboy(1).png.0a05fdc7708a7502995d467b71a97c0f.png

/* If you don't want to make waves, be mediocre, be normal and fit in *\
 

 

Link to comment
Share on other sites

On 2/7/2020 at 9:02 PM, Naton said:

Can you send me the debug? Follow this gif to grab it easily: JruOAaz.gif

I have uploaden the logs, but I do not really see anything special happening there.

It gets in this loop every time it can not reduce the price further than 1gp. Hope you can make a fix for it, as it is quite annoying when doing a fully automated process.

 

https://pastebin.com/J3W3Fgnq

spacer.png1873465337_scriptoboy(1).png.0a05fdc7708a7502995d467b71a97c0f.png

/* If you don't want to make waves, be mediocre, be normal and fit in *\
 

 

Link to comment
Share on other sites

2 hours ago, scriptoboy said:

I have uploaden the logs, but I do not really see anything special happening there.

It gets in this loop every time it can not reduce the price further than 1gp. Hope you can make a fix for it, as it is quite annoying when doing a fully automated process.

 

https://pastebin.com/J3W3Fgnq

Can you take a gif of this?

Edit: Never mind, just submitted a fix

Edited by Naton
Link to comment
Share on other sites

  • 1 month later...
3 hours ago, Androbolic said:

can you make an option to drop junk items if it has more than 400 bank spaces and f2p?

Also, could you make another option to turn private off if it is already not an option?

I just added in an option for setting private chat mode, you can find it under Game Settings.

Some sort of dropping task is possible.

Link to comment
Share on other sites

1 hour ago, Naton said:

I just added in an option for setting private chat mode, you can find it under Game Settings.

Some sort of dropping task is possible.

Could you try getting a drop task for junk items because my bots keep getting stuck trying to deposit with a full bank.  How would I make it drop junk which settinggs

Edited by Androbolic
Link to comment
Share on other sites

9 minutes ago, Androbolic said:

Could you try getting a drop task for junk items because my bots keep getting stuck trying to deposit with a full bank.  How would I make it drop junk which settinggs

What do you mean by stuck? If it keeps sitting there trying to deposit then please take a screenshot of the chat message and I can add a failsafe to end the script. The script doesn't have a drop junk task yet but as I said its definitely possible.

Link to comment
Share on other sites

16 hours ago, Naton said:

What do you mean by stuck? If it keeps sitting there trying to deposit then please take a screenshot of the chat message and I can add a failsafe to end the script. The script doesn't have a drop junk task yet but as I said its definitely possible.

the script already has a failsafe I believe when the bank is full.  I was just using it to collect money from a mule, and the script would end and I'd have to manually drop items from the bank until it was less than 400 for the script to start and work properly.  Was just hoping to have a setting in the future that would implement junk item dropping with a possible setting on only doing it if it has more than an "X" amount of bank spaces being used.

Link to comment
Share on other sites

5 hours ago, tdiaz97 said:

Hi, does this support buying from charter ships and banking? Was hoping to buy crafting supplies on my ironman lol

Technically it might be able to do that but you'd probably be better off buying a script that is fully suited for buying, I believe tribot has one.

Link to comment
Share on other sites

I am trying to connect a mule via nMule using a different computer from the bot accounts.  I am putting my ip address from the other computer, however I get an error and the client debug in tribot says to forward port 45008.  How do I forward port?  I couldn't figure it out so easily

Link to comment
Share on other sites

39 minutes ago, Androbolic said:

I am trying to connect a mule via nMule using a different computer from the bot accounts.  I am putting my ip address from the other computer, however I get an error and the client debug in tribot says to forward port 45008.  How do I forward port?  I couldn't figure it out so easily

Port forwarding is specific to your network setup. You should be able to find a lot of information on it if you google port forwarding

Link to comment
Share on other sites

8 hours ago, Naton said:

Port forwarding is specific to your network setup. You should be able to find a lot of information on it if you google port forwarding

I tried port forwarding to use a mule on a different computer following this guide however I get connection failure still when I try to connect the bot to the mule.  I am forwarding to port 45008

 

Link to comment
Share on other sites

On 4/15/2020 at 1:17 AM, Naton said:

Port forwarding is specific to your network setup. You should be able to find a lot of information on it if you google port forwarding

i was putting port 45008 instead of 45001, i screwed up lol

Link to comment
Share on other sites

I am using n restocker to trade a mule over some coins, however when it goes to worldhop it gets stuck here and keeps clicking until I stop the script.  Anyway to make the script proceed in the chat box instead of getting stuck world hopping?  It is a one time message that goes away if you tell it to stop appearing.  

https://gyazo.com/7e576c4a317ff51a1330b5ab7d166de9

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...