Everything posted by Pandemic
- When is osbot v2
-
OSBot 2 Release Countdown
3 hours after they said it'll be released
-
[Contest] Win 1,000,000gp!
That's the only acceptable answer I like the scripters here that actually care about quality and great customer service
-
Scrub's Auto Fighter
Scrub, getFacing() is working fine, I'm pretty sure it's isUnderAttack() that's all screwy. I updated my mechanics today using getFacing() and a timeout and it's working fine
-
Best Alching Script AIO
I will take 17 please
-
OSBot's (First?) Web Walker
Yeah dij is pretty slow, the web walker is using something very similar to A*, path finding (in my AIO Walker) takes no longer than 2ms though.
-
OSBot's (First?) Web Walker
You add a ton of paths (normally taken), and the web walker will create the edges by connecting everything and merging redundant nodes. Look at my AIO Walker, that was made with minimal effort using this. Never thought of that, but can still be moderately easy to fix. I'll try it out and see if they connect, and if they do I'll clean it up. Thanks ;)
-
@Verified
I have a feeling this thread will be verified soon
-
OSBot's (First?) Web Walker
Huge update, made connecting now connect all nodes, not only beginning and ending nodes of paths, and also added a merging function to remove redundant nodes. I've also added 400 nodes that I collected today, check out my AIO Walker for available locations.
-
New release problems [Cmb]
Yeah, they changed a few major methods that combat scripts use, messing everything up :P If they don't plan on fixing it, we'll have to just change the way we handle combat.
-
Pandemic's Scripting Series: Part II - Path Walking and Simple Banking [UPDATED FOR OSBOT 2]
Nested and unnested ifs and loops are basic java knowledge and I told them they should know java before using these tutorials. Have you ever used the API's walk method? I assure you it's far from OK, it'll click the same position 3 or 4 times before it recognizes it's done. The code is quite presentable and works just fine, there are no errors at all.
- Pandemic's Scripting Series: Part II - Path Walking and Simple Banking [UPDATED FOR OSBOT 2]
-
Pandemic's Scripting Series: Part II - Path Walking and Simple Banking [UPDATED FOR OSBOT 2]
By static variables I'll assume you're talking about my constants, and they're not strictly needed, but they make it easier to look at. Where are my braces not consistent? I'm not seeing it My walking method is far from perfect, this is a tutorial for learning purposes, so I'm not going to write some sophisticated walking method that the new scripters here won't understand. The API's walking will keep clicking the same spot (not because I'm calling it 100 times, you only have to call it once and it just spam clicks the position). There's no need to check if the object is on screen, because the interact function handles that. I agree it could get in an infinite loop, but once again, this is just a beginners tutorial so it'll work for learning purposes. Thanks for reading.
-
Good Webhosting?
I love them, I've been hosting one of my sites (~250k views a month) with them and there's hardly any downtime (I don't think I've ever seen it ) for almost 2 years now.
-
OSBot's (First?) Web Walker
@Polish, I don't think you fully understand what this is, haha. There is no limit on tiles/nodes (besides memory) using this, I'll have a rough map up tonight so you guys can see how it works.
-
OSBot's (First?) Web Walker
Yeah I realize that and I'm using A* now ;)
-
OSBot's (First?) Web Walker
This isn't one of those path finders, this takes many already defined "nodes/edges" (positions essentialy) then traverses via the best way through (known) edges. The pathfinding itself (168 node test) takes under 1ms and initial time cost is in the 35ms area. I know it isn't as robust as a grid where every tile is on it, but it works very well for where it's supported.
-
OSBot's (First?) Web Walker
If by collision data you mean the positions, I somewhat agree, but I'm adding all surface nodes as we speak
-
OSBot's (First?) Web Walker
That's super cool to play with, I know what I'll be doing for the next 30 minutes or so
-
OSBot's (First?) Web Walker
Haha, beat you to it Well, there isn't a heuristic yet, but I might add that soon ;)
-
OSBot's (First?) Web Walker
Yeah it's a WIP, haha, I'll definitely improve it based on what you suggest EDIT: How's that?
-
OSBot's (First?) Web Walker
A* uses heuristics, which I'm not interested in doing (I'd like to make sure the shortest path is available, not just guesses or approximations). "Dijkstra is a special case for A* (when the heuristics is zero)." Going through more nodes (in my opinion) is a good thing, as it opens it up to seeing more available paths (even while being slightly less efficient). I managed to add and connect 111 nodes in 34ms, so efficiency really isn't an issue here. Ultimately, it works, and that's all that really matters, right?
- Scrub's Auto Fighter
-
OSBot's (First?) Web Walker
Not at all, this is a web walker. Say you add the nodes (positions) from lumbridge to varrock, and varrock to falador, and falador to edgeville. You can (given you're near any node) generate a path to any other node in your list (you could get the path from lumbridge to edgeville in one line). Also, once I add all of the nodes, you can essentials walk anywhere given you know where the ending position is and it will generate a path.
-
OSBot's (First?) Web Walker
Currently I'm not storing any nodes, that's for you to add. Just change the fillWalkNodes() to add your nodes to walkNodes array list