Code Monkey home page Code Monkey logo

walking-api's Introduction

walking-api

This repo is the walking engine that will be used by the PowBot webwalker when the Dax WW setting is enabled, or if you directly call the DaxWalker library. This library makes a call to the DaxWalker server with your account's player details, and in that call it will include various skill levels, varp and varbit values, and other variables. It also includes a list of potential starting points based upon the teleports you have available on your character. The server will return the shortest route back, and the engine then takes over and traverses the path. Most of the engine logic begins in the WalkerEngine class in the engine package.

Many teleports are blacklisted by default to aid in reducing computation time of each call. With those teleports blacklisted, one can expect a call to take roughly .7-1 sec to generate player details, send the request, and receive a response. I took care to only blacklist teleports that are used in specific scenarios, and leave the generally accessible ones available.

Here are the blacklisted teleports
Teleport.BARBARIAN_OUTPOST_TELEPORT_TAB
Teleport.BARROWS_TAB
Teleport.BATTLEFRONT_TAB
Teleport.BURNING_AMULET_BANDIT_CAMP
Teleport.BURNING_AMULET_CHAOS_TEMPLE
Teleport.BURNING_AMULET_LAVA_MAZE
Teleport.CABBAGE_PATCH_TELEPORT
Teleport.CATHERBY_TELEPORT_TAB
Teleport.CONSTRUCTION_CAPE_BRIMHAVEN
Teleport.CONSTRUCTION_CAPE_HOSIDIUS
Teleport.CONSTRUCTION_CAPE_POLLNIVNEACH
Teleport.CONSTRUCTION_CAPE_RIMMINGTON
Teleport.CONSTRUCTION_CAPE_TAVERLEY
Teleport.CONSTRUCTION_CAPE_YANILLE
Teleport.CRAFTING_CAPE_TELEPORT
Teleport.DIGSITE_TELEPORT
Teleport.DRAKANS_MEDALLION_VER_SINHAZA
Teleport.DRAYNOR_MANOR_TAB
Teleport.ECTOPHIAL
Teleport.ELF_CAMP_TELEPORT
Teleport.FARMING_CAPE_TELEPORT
Teleport.FELDIP_HILLS_TELEPORT
Teleport.FENKENSTRAINS_CASTLE_TAB
Teleport.FISHING_GUILD_TELEPORT_TAB
Teleport.HOSIDIUS_TELEPORT_TAB
Teleport.KEY_MASTER_TELEPORT
Teleport.KHAZARD_TELEPORT_TAB
Teleport.LEGENDS_GUILD_TELEPORT
Teleport.LLETYA
Teleport.LUMBERYARD_TELEPORT
Teleport.LUNAR_ISLE_TELEPORT
Teleport.MIND_ALTAR_TAB
Teleport.MORTTON_TELEPORT
Teleport.MOS_LE_HARMLESS_TELEPORT
Teleport.NARDAH_TELEPORT
Teleport.OURANIA_TELEPORT_TAB
Teleport.PEST_CONTROL_TELEPORT
Teleport.POLLNIVNEACH_TELEPORT_TAB
Teleport.RADAS_BLESSING_KOUREND_WOODLAND
Teleport.RADAS_BLESSING_MOUNT_KARUULM
Teleport.RELLEKKA_TELEPORT_TAB
Teleport.REVENANT_CAVES_TELEPORT
Teleport.RIMMINGTON_TELEPORT_TAB
Teleport.ROYAL_SEED_POD
Teleport.SALVE_GRAVEYARD_TAB
Teleport.SLAYER_RING_GNOME_STRONGHOLD
Teleport.SLAYER_RING_MORYTANIA
Teleport.SLAYER_RING_RELLEKKA_CAVE
Teleport.TAVERLEY_TELEPORT_TAB
Teleport.WATERBIRTH_TELEPORT_TAB
Teleport.WATSON_TELEPORT
Teleport.WEST_ARDOUGNE_TELEPORT_TAB
Teleport.XERICS_GLADE
Teleport.YANILLE_TELEPORT_TAB

These methods for managing teleports are available via the PowBot api:

//Get a List<Teleport> of current blacklisted teleports
DaxWalker.getBlacklist()

//Remove the teleports provided via argument from the teleport blacklist
DaxWalker.removeBlacklistTeleports(Teleport... teleports)

//Add the teleports provided via argument to the teleport blacklist
DaxWalker.blacklistTeleports(Teleport...teleports)

//Remove all teleports from the teleport blacklist
DaxWalker.clearTeleportBlacklist()

walking-api's People

Contributors

5henveru2 avatar constt avatar david-rodden avatar ptyb avatar robdearling avatar typiqally avatar

Watchers

 avatar  avatar  avatar

walking-api's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.