Everything posted by danieljvdm
-
Throws Errors at Snippets of Code
Could you show more of your code? And are you absolutely interface and child IDs are right?
-
AutoFletcher
That's all I need apparently you can't make crossbow stocks from magic logs, so there are only two options. I'll update it ASAP. Edit: It's fixed.
-
AutoFletcher
The widget ids must be different for magic longs. I'll have to get some magics on my account to test. Or if you know how to use the interface explorer you can find it for me.
-
AutoFletcher
Awesome! There's no difference between the methods so idk why the knife was problem was like it
-
AutoFletcher
That makes no sense... I'll look at it tomorrow morning though. There's no reason why it should only start banking it now. What is your set up? And I'll add a failsafe, sovereignty.
-
AutoFletcher
And you're on the latest version? This shouldn't happen I ran it for like 20 level gains with no problem.. Did you start the bot with like a very little bit of xp left to level?
-
AutoFletcher
Yea that's exactly what is is. I've fixed it now. And I'm pretty sure I found the leveling up problem. I only applied my fix to stringing, not fletching. So I just added it to fletching and I'm waiting to level up to see if it works. Just pushed a new update guys! I fixed the leveling up issue! Congrats on being able to overnight now
-
AutoFletcher
Great. I've noticed the xpTL is way off, I accidentally had it set up with Attack, not Fletching :P. I'll post the update once I fix the leveling issue. I'm on a friends account right now trying to trouble shoot it.
-
Scam Report on Angel
Welcome to real life.
-
Final ETA on Randoms + SDN
Thanks for the hard work.
-
AutoFletcher
Thanks for the proggys and updates guys! It really makes me happy to see my work helping you guys. Also motivates me to try even harder to make this a better script!
-
AutoFletcher
I'm going to try test on a lower level account later tonight so I can fix that.
-
AutoFletcher
It didn't even try withdraw anything? Try starting with bank closed.
-
Method to detect if in combat
No
-
Java or Groovy for developing scripts for OsBot?
Groovy sucks in terms of security (no great way to compile into secure files) and it deviates from Java in some places, so you have to learn something in addition to Java... Java works 100% fine, so I wouldn't dream of switching. The only pro I see with groovy is that you don't have to compile on your end.
-
Method to open bank
By the way OP, nothing is broken or missing... the bank class involves interacting with an open bank. Selectentityoption is just one line of code that opens the bank. Doesn't really get simpler.
-
Method to open bank
Are you being serious?
-
AutoFletcher
Sure, I'll PM you my skype.
-
AutoFletcher
Ok I'll look over my leveling up check again. And that's odd, cause that's the ID I have down...
-
AutoFletcher
No problem, the stringing should be completely fail safe, but it is much slower than it could be right now, which disappoints me. There isn't much that I can do until the next bot client comes out. Let me know how it does on leveling up.
-
AutoFletcher
Guys... there's nothing to compile. Download the jar and put it in your scripts folder. Nothing else. It'll run.
-
AutoFletcher
Make sure you guys are using the current version, I have an uploaded jar that you can just put in the scripts folder without doing anything else. Sovereignty - that makes no sense! I just checked the willow logs ID and it looks completely fine. Can you confirm the log id for me by turning on ground item info on the options and dropping it on the ground? And I ran my bot overnight and it continued over two level ups. It would help if I had a lower level account to see the level ups more often... Elemeno - this is java, not groovy, so you can't use notepad anyway.
-
AutoFletcher
Can you give any more details?
-
AutoFletcher
Odd, I'll look into it. Stringing is now supported.
-
Getting percentage to next level?
Rather use this method to work out the XP for each level: public int experienceForLevel(int level) { double total = 0; for (int i = 1; i < level; i++) { total += Math.floor(i + 300 * Math.pow(2, i / 7.0)); } return (int) Math.floor(total / 4); } And then to get percentage, just apply simple math rules... Not trying to be mean or anything, but an understanding of math is instrumental to coding, at least algebra. You should be able to easily work it out in your head. int currentAttLevel = client.getSkills().getCurrentLevel(Skill.ATTACK); int xpForCurrentAttLevel = experienceForLevel(currentAttLevel); int currentAttLevelXp = client.getSkills().getExperience(Skill.ATTACK); int nextAttLevel = currentAttLevel + 1; int nextAttLevelXp = experienceForLevel(nextAttLevel); int percentToNextLevel(nextAttLevelXp - currentAttLevelXp)/(nextAttLevelXp - currentAttLevelXp)*100; Obviously you can make this into a method like Wiz did.