Everything posted by Mysteryy
-
[#1] SDN Weekly || Script releases || News Updates
banana
-
Finding the Closest Walkable Tile to Any Given Tile
Rofl that would be fitting. xD And yea worst cast is O(n) but since its starting at the central position then chances of it running to n are very low. If it runs to n, then you are probably in the middle of water so there is no walkable tile anyway hue.
-
Finding the Closest Walkable Tile to Any Given Tile
This is much more effective than the alternative :p
-
Finding the Closest Walkable Tile to Any Given Tile
Damn rekt i best retire while i still can.
-
Finding the Closest Walkable Tile to Any Given Tile
You mean like this I actually made this for walking to areas where the provided tile might not be walkable. :p
-
Finding the Closest Walkable Tile to Any Given Tile
[iNFO][bot #1][02/27 08:17:14 AM]: Took ~299 ms to find the walkable tile. Yea I added sleeps in the paint, that is the time to find this particular walkable tile, and its searching in a pretty big area. If the given position is walkable it will just return that position. In most cases, I cant imagine it making more than one or two rings. For example, to find this one: [iNFO][bot #1][02/27 08:19:47 AM]: Took ~5 ms to find the walkable tile. So in most cases it will be not noticeable. And what script is that?
-
Finding the Closest Walkable Tile to Any Given Tile
Figured I would make a non spam post for once. I was working on a script last night and came across the issue of, what if you try to walk to a tile that is not walkable? So I said to myself, well you could just find the first one around it that is walkable and go there? So I started making a method, getClosestWalkablePositionTo(Position P). There were two ways that immediately came to mind: 1) Check every tile in the region, if the tile is walkable, then calculate the distance between that tile and the desired tile. You can then find the closest one that way. Note that this requires ~10k checks and potentially 10k calculations if all tiles are walkable (worst case). You could improve on this by accepting the first one that you find within 3 tiles from it or something of the sort. 2) The idea that I thought up which made more sense, start at the given position, if its not walkable, start spiraling out checking each tile around it until you hit a walkable position, then return. So this is how it turned out: http://i.imgur.com/pC8k0d4.webm Note that the delay that you see between tiles being drawn is not a real delay, I added that in there for the visual spiral effect. The time it takes to actually find the tile is not noticeable. So basically I give it the yellow tile in the middle of the water, and it begins to spiral out until it eventually finds the red tile, which is the first walkable (and reachable) tile that the spiral hits. What do you think? Would anyone use something like this if I released code for it. ^_^
-
Reducing banning rates - Behind the scenes at OSBot - 27 Febuary 2015
If they gave an ETA they would be setting their selves up for an execution if they didnt meet the deadline. Dont force them to give an ETA. :P
-
getCamera().moveYaw()
Oh ok I just reread that. Do your logs execute?
-
getCamera().moveYaw()
Well there are 360 possible degrees in the circle (obviously) and by the looks of it, your code will only execute on 4 of those degrees. 0, 90, 180, 270, or whatever you defined those 4 constants to be.
-
Reducing banning rates - Behind the scenes at OSBot - 27 Febuary 2015
Backwards. The game is being ran on the web browser, and is being mirrored on to the client. This allows for Runescape to be played in its native location (Your browser), but it will still allow the client to interact with the game, i.e. you can still bot even though the game is technically loaded in the web browser.
-
Reducing banning rates - Behind the scenes at OSBot - 27 Febuary 2015
second
-
getCamera().moveYaw()
Just tested strictly the moveYaw method, it works, its slow and jerky and doesnt go to the exact angle, but it works (kinda).
-
getCamera().moveYaw()
Havent tried it, maybe show us the code you are using? I might check it out in a minute.
-
it's time to give assy what he wants
Op sux
-
Osbot Advert
Members If u want it gone get out of that members group
-
#74 OSRS update
Failed to run? I blame mald.
- osbot
-
Would you rather... [Forum Game]
L00l
-
Wont drop FISH
- Gun control
Not gonna lie dudes funny as hell but.. COME GET EM MOTHER FUCKER- OSBot 2.3.33 - GroundItem patch
Thanks for the update homie- Script Bank Organizer
Much work -> Little gain This is not the scripter way of life. XD- Computer vs Computer - help me please :)
Have you checked out a website such as: http://www.ibuypower.com/ This will just make it harder for you, but you can pick every part that you want and they will build it for you. :P- need a free pest control bot PLEASE!
Spoiler alert, nobody is gonna send him one. - Gun control