sini 32 Share Posted August 28, 2015 (edited) I'm writing an API separate from the DreamBot API that provides more functionality while establishing a clear set of expectations for scripts. A lot of the eveAPI will either directly wrap and service as a buffer between the DreamBot API or will replace entire pieces of functionality to be more reliable. Part of the API will also include a library which people may use to connect to a RESTful service I will be hosting that will give access to a wide array of data. All of my scripts will include anonymous logging of various information if the user opts into the program. It'd be nice if people would also do some anonymous data logging with the users permission The main reason for me wanting to write my own API was the lack of predictability of some API functions. A lot of functions in the dream bot API seize control from the script to complete a task, sometimes not even completing it correctly, and a lot of time cause an issue with the script not being able to manage timing in an effective manner. With the API it's not possible to use both the mouse and keyboard at the same time, which I think is a critical flaw. I went to the drawing board, obviously the bot has realistically two inputs which are the peripherals of the computer, keyboard and mouse. Those are the two only inputs, besides the mouse wheel. I made it so that you could only do one peripheral action at a time, such as move the mouse, click the mouse, type a string to the keyboard, however for each input the task is ran on a separate thread allowing for it to be done asynchronously. When submitting a task a future is provided which gives scripts more functionality to test if the specified action has been completed and to return its result. Repository How do I use it? Wait until it's in a usable state. Examples Basic script Basic lua script Support Planned - *Fill in your imagination because there's a lot of planned support I may not have mentioned but will mention when its important.* - Lua scripts Implemented - Camera - Mouse - Actions REST Service Endpoints Planned - Web based walking : Get key that allows for you to stream points of a web based route on the fly. - Exception monitoring Edited August 28, 2015 by sini Pandemic and _Josh 2 Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now