Everything posted by Mysteryy
-
OSBot Bot Server Changes
Awesome, I am sure many members will be excited to see this put into action. Other than this, I havent seen members having too many issues with osbot 2. ^_^
-
Null pointers
This is my method for eating food, it might need a small change or two, but I have not yet had an issues with it, nor an exception thrown from it. It seems that you forgot to make sure the inventory tab is open. You cant interact with the food if your inventory tab isn't open. public boolean eatFood(String foodName){ Item food = script.inventory.getItem(foodName); if(food != null && script.inventory.contains(foodName)){ if(script.tabs.getOpen().equals(Tab.INVENTORY)) return food.interact("Eat"); else script.tabs.open(Tab.INVENTORY); } return false; }
-
Null pointers
Ok. Also, look what eric said. Are you passing script to this class? Because if so it needs to be script.log() not log. ^_^
-
Null pointers
Its possible that something is crapping out and killing or messing up the script executor. If this happens then the client would throw an NPE because there would be no script to log to, because log is actually in Script#log(). If script doesnt exist, then you cant log. Thus the NPE on the log method. Just delete that log and do e.printStackTrace() instead. ^_^ What is inside of your try{} that could throw an exception?
-
Old man Timekeeper gettin' to old for this sh!t
Good luck with your endeavors. I hope that you find adventure where ever you go in life. ^_^ Hopefully we will see you around soon.
-
Free Cooking bot
Its not difficult to make if that is what you are asking. Maybe after I finish my current script I will make one. ^_^
-
Anyone watching under the dome
Is that on Amazon video?
-
Anyone watching under the dome
Yea I was watching it last season. I need to watch the premiere for this season still though. :P Did it just air when you posted this?
-
Khal Essence Miner
Such a newb script. I bet it cant run for more than 4 minutes.Terrible code. xD Haha. Nice release, we need some more of the basic necessity scripts. I am sure you will get a good amount of users. ^_^
-
what does this mean?
Every time somebody likes one of your post that number will go up. ^_^
-
Path Walking [OSB2]
It will get the job done. I am not a fan of using while loops in scripts, you should add a timeout so that if the loop runs for more than x seconds it will stop. ^_^
-
Odd Error
You tried to add the library to a resources package?
-
Odd Error
Is this a script that you are trying to make? If so what is on those lines in the class that is giving the error?
-
Scripting Bots
Learning to script can help your learning process. I didn't even know how to use java when I started scripting, although I was fluent in other languages. I have learned so much from my time scripting. I have since taken classes and made far more complex things than scripts, but it has helped me learn. If you want to script, script. Nothing can hold you back but yourself. ^_^
-
Upcoming Updates to OSBot!
Thanks for the update. Looking forward to OSBots new features. ^_^
-
Jacmob and anti bot
Jacmob is a brilliant programmer. He had his own bot client a while back. Long story short, when the bot nuke came out, he got a functional bot back up within a few days, and jagex offered him a job.
-
deselect inventory item snippet
Haha, its all good man. Im just mad that I dont have internet at my house. t.t
-
deselect inventory item snippet
Thus what I was arguing before. Due to the fact that I have no internet at home at the moment, I couldn't prove it. Like I was saying, if the client misclicks, ie. double clicks, then it could mess up. Otherwise, it would be a safe area to click in. :P
-
deselect inventory item snippet
You are assuming that the client would misclick. But yes, if it did misclick it could result in any of those things, I was simply making a suggestion. There are a million places you could click, I am at work so I cant really look at runescape to see where, thus I said chatbox. ^_^
-
deselect inventory item snippet
Its a horrible idea because? If you clicked on the chat box it would deselect the item and have no side effects.
-
deselect inventory item snippet
You could just click on the chat box area if an item is selected to deselect it. :P
-
Compiling .Java Files to .Jar Files?
In cmd prompt cd into the directory of your .java files. Then type in "javac *.java" this will compile all files ending in .java.
-
Finally got a car
Ford is American. XD
-
OSBot 2.0 - Disabling the RunAwayFromCombat antiban
Uhmm look in RandimEventExecutor. I believe there is something like .registerHooks or registerRandoms. I think that method will refresh the random hooks. Again, I'm on my phone so I'm not much help. My Internet has been out for like 12 hours now so I can't do anything. t.t
-
OSBot 2.0 - Disabling the RunAwayFromCombat antiban
So you are saying that code isn't unregistering the random hooks? I think you might have to reload the random handlers after you disable them. Is that code giving you any errors, or is it just not working?