# WaspLib WaspLib is a library used to bot a popular MMORPG with Simba 2.0. WaspLib is heavily inspired in previous work done by the SRL Community. This library is meant to do the job of both [SRL-T](https://github.com/Torwent/SRL-T) and the original [WaspLib](https://github.com/Torwent/WaspLib) in Simba 1.4 in a lighter, less confusing way. - - - ## Compiler Directives ```pascal {$DEFINE WL_DISABLE_FAKE_INPUT} {$DEFINE WL_GENERATE_GRAPH_ALWAYS} {$DEFINE WL_DEBUG_MAPLOADER} {$DEFINE WL_DEBUG_MOUSE} {$DEFINE WL_DEBUG_KEYBINDS} {$DEFINE WL_DEBUG_UPTEXT} {$DEFINE WL_DEBUG_INTERFACES} {$DEFINE WL_DEBUG_MAP} {$DEFINE WL_DEBUG_TRANSPORTER} {$DEFINE WL_DEBUG_CHAT_LISTENER} {$DEFINE WL_DEBUG_LEVELUP_LISTENER} {$DEFINE WL_DEBUG_RECORDER} ``` These are the main compiler directives available in the library. They should be self-explanatory. You also have the following to override versions, for more information read {ref}`Version` ```pascal {$DEFINE SCRIPT_SIMBA_VERSION := 'version_hash'} {$DEFINE SCRIPT_WASPLIB_VERSION := 'version_hash'} ``` For the {ref}`WaspClient` you also have the following: ```pascal {$DEFINE WASP_LOCAL_DEVELOPMENT} {$DEFINE WASP_REFRESH_TOKEN := 'refresh_token'} {$DEFINE SCRIPT_ID := 'script_UUID'} {$DEFINE SCRIPT_REVISION := 'script_revision'} ``` They also should be self-explanatory but you can read more about them in {ref}`WaspClient`. All of the directives above must be added **before** including the library to use them, for example: ```pascal {$DEFINE WL_DISABLE_FAKE_INPUT} {$I WaspLib/main.simba} ``` Otherwise WaspLib won't be aware of them. ```{eval-rst} .. toctree:: :maxdepth: 2 :caption: MAIN overrides client mousezoom walker dotfilters fakeinput cacheparser ----------- .. toctree:: :maxdepth: 2 :caption: MAIN -> FINDERS house_layout_finder overheadfinder prayerfinder itemfinder spellfinder ----------- .. toctree:: :maxdepth: 2 :caption: MAIN -> ANTIBAN biometrics antibantasks antiban ----------- .. toctree:: :maxdepth: 2 :caption: MAIN -> POSITION -> HOUSE houseloader houseutils house ----------- .. toctree:: :maxdepth: 2 :caption: MAIN -> POSITION imagemap ----------- .. toctree:: :maxdepth: 2 :caption: MAIN -> POSITION -> MAP mapjson objects entities transporter map mapdebugger maploader ----------- .. toctree:: :maxdepth: 2 :caption: MAIN -> PROJECTION camera mm2ms projection ----------- .. toctree:: :maxdepth: 2 :caption: MAIN -> DATA data ----------- .. toctree:: :maxdepth: 2 :caption: MAIN -> RECORDER recorder_subprocess recorder ----------- .. toctree:: :maxdepth: 2 :caption: MAIN -> FORMS house_form recorder_form goals_form llm_form misc_form prayer_form antiban_form gear_form waspclient_form inventory_form ----------- .. toctree:: :maxdepth: 2 :caption: MAIN -> INTERFACES interface slotinterface chooseoption iteminterface interfacecontrols interfacearea minimap debugging sailing_minimap xpbar ----------- .. toctree:: :maxdepth: 2 :caption: MAIN -> INTERFACES -> GAMETABS achievements houseoptions combat options equipment music worldswitcher inventory emotes friends stats sailing logout prayer magic gametabs ----------- .. toctree:: :maxdepth: 2 :caption: MAIN -> INTERFACES -> CHAT chatoptions make chattabs chat ----------- .. toctree:: :maxdepth: 2 :caption: MAIN -> INTERFACES -> HANDLERS gear_layout consumables inventory_layout ----------- .. toctree:: :maxdepth: 2 :caption: MAIN -> INTERFACES -> LOGIN login lobby worldswitcher(main_interfaces_login) ----------- .. toctree:: :maxdepth: 2 :caption: MAIN -> INTERFACES -> MAINSCREEN goldscreen houseviewer cargohold depositbox anvil interface_template silverscreen mainscreen fairyring shop collectionbox lamp bank xpbarmenu bankpin ----------- .. toctree:: :maxdepth: 2 :caption: MAIN -> INTERFACES -> MAINSCREEN -> FINDERS colorfinder hpbars hitsplats ----------- .. toctree:: :maxdepth: 2 :caption: MAIN -> INTERFACES -> MAINSCREEN -> GRANDEXCHANGE grandexchange grandexchange_chat grandexchange_offer grandexchange_history ----------- .. toctree:: :maxdepth: 2 :caption: MAIN -> LISTENERS levelup_listener chat_listener listeners ```