-
Posts
763 -
Joined
-
Last visited
-
Feedback
100%
Everything posted by Flamezzz
-
How to filter inventory items that only contains a certein action?
Flamezzz replied to Psvxe's topic in Scripting Help
inventory.filter(new Filter<Item>() { public boolean match(Item item) { return item.hasAction("Eat"); } }); Something like this? -
a very very easy way to make £45-71 extra this weekend (must be 18+)
Flamezzz replied to Chuckle's topic in Spam/Off Topic
Betfred does not allow American, Australian, Austrian, Belgian, Bulgarian, Canadian, Chinese, Cypriot, Czech, Danish, Estonian, Finnish, French, German, Greek, Hungarian, Israeli, Italian, Japanese, Kyrgyz, Latvian, Montenegrin, Dutch, Norwegian, Polish, Portuguese, Romanian, Serbian, Singaporean, Slovakian, South African, Spanish, Swedish, Turkish, or Ukrainian residents to open accounts, deposit funds or place bets on our sportsbook, casino, poker, games or bingo. For all other jurisdictions, it is the individual’s responsibility to ensure that any activity with us does not breach the laws relating to betting of the country or state where the individual is based. Under no circumstances will Betfred be liable for any breach of state or country law that may occur as a result of an individual’s usage of our website. We reserve the right to close any such account and cancel all un-settled bets immediately if the opening of an account or the acceptance or processing of bets has taken place, mistakenly or otherwise. Ugh -
imo java is not suited as a scripting language at all. It could be so much easier to script for osbot if someone creates bindings for some proper scripting language, or create a new one, which can be embedded into java...
-
Yea it has already been reported in the bug section: http://osbot.org/forum/topic/71446-update-broke-mirror-client/
-
it's actually just mirror... that's odd
-
Yes, it needs a low level language (C, C++ etc) to inject itself in the process where the JVM runs the RS client (or something similar). I don't think stuff like connecting to another JVM is supported in pure java.
-
Need some help on last step of VPS botting!
Flamezzz replied to Hermitrage's topic in Community Discussion
I assume you renamed the file to osbot.jar. Then whats left is to specify the correct path to the file. If it's on your desktop it becomes: java -jar ~/Desktop/osbot.jar -
Need some help on last step of VPS botting!
Flamezzz replied to Hermitrage's topic in Community Discussion
In terminal: java -jar osbot.jar -
I think something like this would work if (BANK_AREA.contains(myPlayer())) { if(inventory.isFull()) { // We do not assume open always succeeds if(depositBox.open()) { depositBox.depositAllExcept("Lobster pot", "Coins", "coins", "Harpoon"); } } else { // deposited stuff, now walk somewhere? } }
-
depositBox.depositAllExcept("Lobster pot", "Coins", "coins", "Harpoon") It takes an array (or varargs) of strings Also: if (!depositBox.isOpen()) { if (depositBox != null) { if (depositBox.open()) sleep(random(1000, 3000)); } } depositBox won't be null if you successfully called depositBox.isOpen() right? depositBox.open() checks if it's already open, so no need to double check that
-
If version 52.0 isnt supported it means you're not running osbot with java 8.
-
hey can I have a trial please?
-
Can I have a trial?
-
Ye the API isnt perfect, but most of it works great Well the thing with super is that when you explicitly write super.X() I assume you have overloaded X and still need the method of the parent class (of all java code I've read, I've only seen super being used like this), so for me it was kinda confusing
-
1) Iterating over grounditems/objects/npcs etc should be avoided, use org.osbot.rs07.api.filter instead. 2) Custom "antiban" (mouse/camera movements) is not needed imo, builtin is good enough. Better would be to deposit-5/10 instead of all sometimes, or missclick and pick up other things and then drop it etc. These things would be fairly common if a human would perform the task. 3) Instead of getCamera(), getLocalWalker(), you can just use camera/localwalker etc 4) Not sure why you write this. and super. 5) As for the door handler, you specify a position and it will open a door or smth when there is one between the player location and the given position. I think you're doing exactly that right now in your script, so that should work right?
-
If you're really bored create a parallel version
-
How are you running your RS client, browser applet, osbuddy or official client? Perhaps your account doesn't have the required privileges to inject the dlls or smth like that...
-
http://osbot.org/forum/topic/66800-osbot-mirror-client-your-guide/ Downloaded VC++ shit from microsoft?
-
It should be possible, just route the traffic from/to jp2launcher.exe (the RS applet) through the proxy. There's a guide here somewhere on using proxifier to do this kind of stuff.
-
I can confirm the application is in fact the JVM the rs applet runs in, if you really want to be sure its correct you can always check the tcp flow using something like wireshark to verify you send and receive data from the proxy address.
-
f2p accounts can be botted, but I suggest you alternate tasks every 30-60 min for the first week or so. On a new account they don't have much data acquired obviously, so if fagex detects you walked along 20 waypoints of which 10 have been repeated for several hours, it looks kinda suspicious. Same thing for object/npc interaction and all other shit they keep track of.
-
Intellij for java shit, I prefer sublime for all other beautiful languages like python / C / python and of course python
-
I guess it injects a dll in the java process and then connect directly to the VM using the JNI API. Since RS runs inside this VM it has no way of detecting this as far as I know. Basically reflection on a safer level (anyone can confirm this?)
-
Ye it is, public and abstract modifiers can be omitted in interface method declarations though