Jump to content

Eco

Members
  • Posts

    127
  • Joined

  • Last visited

  • Feedback

    100%

Profile Information

  • Gender
    Male

Recent Profile Visitors

1346 profile views

Eco's Achievements

Steel Poster

Steel Poster (4/10)

14

Reputation

  1. Can having too many errors pop up in the log cause the script to freeze? (still running though) and also this is what keeps popping up while the script is running: [ ERROR][Bot #1][05/11 07:07:39 PM]: Failed to wrap : class client.Kuo java.lang.RuntimeException: Could not initiate wrapper : RS2Widget at org.osbot.core.api.Wrapper.wrap(fk:62) at org.osbot.rs07.api.Widgets.getWidgets(lf:167) at org.osbot.rs07.api.Widgets.get(lf:245) at org.osbot.rs07.api.Worlds$2.condition(jf:253) at org.osbot.rs07.utility.ConditionalSleep.sleep(cd:247) at org.osbot.rs07.api.Worlds.iIiiIIIIIi(jf:61) at org.osbot.rs07.api.Worlds.hop(jf:177) at random.hopWorlds(random.java:113) at random.onLoop(random.java:38) at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(lk:242) at java.lang.Thread.run(Thread.java:745) [ERROR][Bot #1][05/11 07:07:44 PM]: Error in script executor! java.lang.NullPointerException I think it's a mirror mode issue?
  2. Yes it works now:) Thank you so much! It works perfectly now that conditional sleep is added after the trade:D. Also thanks for pointing out my flawed structure and checks this is my first script ever and I'm learning a lot! Uh oh... I get this now [ERROR][bot #1][05/11 01:15:13 PM]: Error in script executor! java.lang.NullPointerException [ERROR][bot #1][05/11 01:15:13 PM]: Error in script executor! java.lang.NullPointerException [ERROR][bot #1][05/11 01:15:13 PM]: Error in script executor! java.lang.NullPointerException [ERROR][bot #1][05/11 01:15:13 PM]: Error in script executor! java.lang.NullPointerException [ERROR][bot #1][05/11 01:15:13 PM]: Error in script executor! java.lang.NullPointerException it just spams that out and bot stops functioning (but still running) after about 5-10 minutes
  3. just kidding about fixing the trading issue this is so frustrating haha, basically when I checked if store is null and if the store is open before buying, something is returning false which causes it to skip over the buying process and goes from trading to closing and worldhopping. When I take away the store.isOpen() the script goes back to working but still trades 3-4 times and gives the getAmount error. ughhh:((( Also side question: if the logger gives too many errors while the script is running, will the script just stop looping (my theory as to why it stops looping at around 20 minutes >.>)
  4. Hmm I implemented that and now it opens up the store and just sits there, eventually skipping the buying then hopping worlds. Edit: Actually nevermind, i managed to fix it by not making a Store instance. Instead, I just used store.getAmount etc without importing the Store class. Now i get this error for world hopping... what does it mean? [ERROR][bot #1][05/11 01:11:05 AM]: Error in script executor! java.lang.NullPointerException at org.osbot.rs07.api.ui.RS2Widget.iiIIiiIIiI(li:106) at org.osbot.rs07.api.ui.RS2Widget.iiIIiiIIiI(li:76) at org.osbot.rs07.api.ui.RS2Widget.getAbsX(li:138) at org.osbot.rs07.api.ui.RS2Widget.getAbsX(li:109) at org.osbot.rs07.api.ui.RS2Widget.getAbsX(li:109) at org.osbot.rs07.api.ui.RS2Widget.getAbsX(li:109) at org.osbot.rs07.api.ui.RS2Widget.getPosition(li:300) at org.osbot.rs07.api.ui.RS2Widget.getBounds(li:244) at org.osbot.rs07.api.Worlds.iiIIiiIIiI(jf:213) at org.osbot.rs07.api.Worlds.iIiiIIIIIi(jf:1) at org.osbot.rs07.api.Worlds.hop(jf:87) at main.onLoop(main.java:100) at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(lk:242) at java.lang.Thread.run(Thread.java:745) This is the line for world hopping: getWorlds().hop(hopWorlds[count]);
  5. Ah gotcha, so should I do something like this? if (example != null && !exampleStore.isOpen()){ example.interact("Trade"); sleep(random(87,167)); }
  6. Hey guys this is my first private script and it basically buys an item from a store, hops, and repeats. However, i keep getting this weird problem where my player trades/closes the store 3-4 times before it actually starts buying the item. In addition, i keep getting this error below but the script continues to run fine. However, after literally 20 minutes every time, the script just stops working and sits there (still running though). the error: [ERROR][bot #1][05/10 11:10:14 PM]: Error in script executor! java.lang.NullPointerException at org.osbot.rs07.api.Store.getAmount(jg:173) at main.onLoop(main.java:48) at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(lk:242) at java.lang.Thread.run(Thread.java:745) Here is the method i use to trade the NPC: NPC example = npcs.closest("Example"); if (example != null){ example.interact("Trade"); sleep(random(87,167)); } Store exampleStore = getStore(); int amount = exampleStore.getAmount("Example item"); while (amount > 200) { exampleStore.buy("Example item", 10); amount = exampleStore.getAmount("Example item"); sleep(random(18,39)); } vialStore.close(); sleep(random(48,107)); So in short, my main questions are: - Why does it keep spam trading/closing 3-4 times? - Why does the script just stop functioning after 20ish minutes? (Could be due to hopping, interactiong, etc. not sure) If someone wants me to pm them my source code just ask! It might be helpful in figuring out whats going on. Thanks so much!
  7. I'm having the same problem:/ hopefully this gets resolved soon
  8. Oh sorry I was confused for a bit. Unfortunately it is registered but I am giving the email as well. The registered email is the same as the login email.
  9. 1. Pictures of the account stats - Also has Bones to Peaches spell unlocked from Mage Training Arena ( 12 hours ) - Has the requirements to create Bones to Peaches tabs which is a 700k+/hr money making method (67 construction) 2. Pictures of the login details 3. Pictures of the total wealth (if there is any) N/A - besides magic cape, ava's 4. Pictures of the quests completed 5. The price you will be starting bids at - 45m 6. The A/W (Auto-win) for your account -110m - This is a much lowerprice than I would want but I don't have enough feedback to back me up. I will do anything, middleman, email change etc. 7. The methods of payment you are accepting - Rsgp 8. Your trading conditions - This is my first time selling so we will probably have to use a middleman 9. Account status 10. Original/previous owners AND Original Email Address - I am the original owner and I will give you the original email account as well. Notes: I'm just trying to earn some money for college and this is my first sale. I know having no feedbacks is foolish of me but if anyone is truly interested I am willing to give a great deal. Sorry I'm not an avid seller and this is honestly my first time selling anything on rs so please consider buying!
  10. Hey this is a dumb question but what do I put in the type field when high alching? I can't seem to get it to work atm. edit: nevermind got it:P
  11. people lowball on here:/ smh account is worth a good amount only bad thing about it is the ban xD
  12. Could i possibly buy 2 and 3? xD
  13. yay should be another great script:P awesome stuff czar
×
×
  • Create New...