Everything posted by Flamezzz
-
[+85 FB] Questing, Defenders, Barbarian Assault, Void!
Quests/Services you need: plague, biohazard, tree gnome, tourist trap and grand tree Your Skype: flamezzztw2 Do you agree with my T.o.S: Yep EDIT: Service completed. Very fast thanks!
-
Config builder for frameworks with concrete configurations
My god so much effort I'm personally more a fan of: don't touch the variables/methods starting with an underscore, if you do anyway it's your fault. Config? just pass a dict/map. But it's nice to see a good Builder example, been a while since I looked into design patterns
-
Selecting spot in inventory
inventory.getItems() returns an array of items index it with length-1 to get the last Item object if length > 0 then use item.interact()
-
Need C++/Visual C Help D:
- What errors do you get? - I assume the source is public, where can I find it?
-
@Maxi @Alek [Randomize Mouse Speed] Suggestion.
"this will make it impossible for JaGeX to check if you're a human or a robot" Please...
-
Looking for a developer to create a bot (NOT RS)
I briefly searched on amazon image search and found they offer this functionality in their app. I assume you already knew this. How is this different from the search options they offer in their app?
-
Question about web walking
I'm not sure what you want to do with all walkable tiles in a global pathfinding system. You could create nodes at intersections: with as much detail as you like, you should create a script to assist you. Then you use A* to compute a path. To traverse the edges you either write your own local walking function or use the builtin one. Your web or whatever people call it is now just a list of nodes (tiles) and associated edges (undirected in this case), which you should indeed store in a file.
-
Interacting (clicking) with widget w/o any interactActions
You should have access to the mouse api in your script, so you can use mouse.click(false) directly. You can not create a new mouse since that mouse doesn't have access to the bot instance and can therefore not inject mouse events.
-
Interacting (clicking) with widget w/o any interactActions
There already is a mouse, no need to create a new one :p
-
Get the time a account exists in the botclient
So you want to find the k-shortest paths and based on 'experience' you pick one of them. This would result in a 'verteran' player always taking the same route right? Why not just find the k-shortest paths and take the shortest the most often?
-
Serious Discussion
Yes, the empty script. But given the task of the script is not trivial, chances are fagex will completely remove the task and thus the script breaks. If thats not the case then even when hooks break you could resort to CPU heavy computer vision algorithms (like SURF/SIFT), which would work even after minor object/npc changes. Now if there are no weird updates which break the script, and hooks work then obviously a script can be flawless.
-
objects.get(int, int) and groundItems.get(int, int) not working?
Well you pass a Filter of a specific type to objects.filter, groundItems.filter, npcs.filter etc. A Filter has the method match, in which you specify when an object/npc/grounditem meets certain requirements. Using Java 8 lambda expressions (probably needs to be enabled in your IDE) you can specify this as: objects.filter(variable -> requirements) Which is the same as ( Java < 8 ): objects.filter( new Filter<RS2Object>() { public boolean match(RS2Object variable) { if (requirements) return true; else return false; } }); Each time you return true for a specific object/npc/grounditem it passes the filter and is added to the list, which will be returned
-
objects.get(int, int) and groundItems.get(int, int) not working?
Looks like get(x,y) is gone (or it's new, still using the 2.3.58 api) But you can always use a filter: objects.filter(obj -> obj.getPosition().equals(trapPosition));
-
Webwalker
Yes I do understand the problem. But if you don't want to implement the A* algorithm and you create your vertices/edges in such a way that with teleports you only have to traverse like 6 edges to get pretty much anywhere (a lot of walking can be done locally), you can get away with a much simpler, but less efficient algorithm (breadth-first search for example).
-
Webwalker
Or if performance is not really an issue, you don't want to spend too much time on it and 1-2s of computation is perfectly fine: BFS
-
Looking for (free) IP changer
Unplug your router or call your ISP? Or are you simply looking for a free vpn/proxy?
-
Where do I go now to continue learning?
"Don't limit yourself to one language." I cannot emphasize this enough. There are plenty of amazing free online courses (MOOCs): Machine learning: https://www.coursera.org/learn/machine-learning (requirements: basic matlab programming, basic linear algebra) Other AI stuff with pathfinding etc: https://www.edx.org/course/artificial-intelligence-uc-berkeleyx-cs188-1x-0#! (took this course a while ago, highly recommend it) Crypto: https://www.coursera.org/course/crypto (might be too advanced, you do need some number theory to understand RSA and other algorithms) Many more are listed here: https://www.class-central.com/subject/cs
-
HOW DO I OPEN THE .JAR FILE I HAVE WINDOWS 8
Do you have Java Runtime Environment (JRE) 8?
-
How to filter inventory items that only contains a certein action?
An even nicer and actually readable solution would be (if you want to use java 8 with lambda expressions): List<Item> food = inventory.filter( item -> item.hasAction("Eat") );
-
How to filter inventory items that only contains a certein action?
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+)
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
-
Random antiban for client
Ye I like the idea, but it's better to use the first x bits of something like hash(in game name) and not our osbot id since that would result in similar behavior for all your bots.
-
Before you start wanting to create a "script".
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...
-
'Error loading hooks'
Yea it has already been reported in the bug section: http://osbot.org/forum/topic/71446-update-broke-mirror-client/
-
Update broke mirror-client
it's actually just mirror... that's odd