pitoluwa 3 Share Posted January 11, 2015 So... Idk what to do next, I can write scripts with separate classes, tasks, states and other craps... But I want to make next step, and don't know where to start, maybe multi-threading scripts? Link to comment Share on other sites More sharing options...
Explicit 213 Share Posted January 11, 2015 Write your own web walker. Notorious 1 Link to comment Share on other sites More sharing options...
Notorious 341 Share Posted January 11, 2015 So... Idk what to do next, I can write scripts with separate classes, tasks, states and other craps... But I want to make next step, and don't know where to start, maybe multi-threading scripts? I would suggest maybe building a task system, or even would be to better a create a remote botting system, so that you can give your bot new tasks, or edit how they are running all remotely. I think that would be pretty cool to see. Write your own web walker. I would wait until my project is done that I have been working on the past couple weeks, and hopefully will fix all the walking problems we have in the client. Pretty much the entire walking and web system are going to be revised. Here is a preview of my map tool that I created to help aid the creation process. Polish Civil and Explicit 2 Link to comment Share on other sites More sharing options...
pitoluwa 3 Author Share Posted January 11, 2015 Remote bot control sounds cool! Have to think about it Notorious 1 Link to comment Share on other sites More sharing options...
Eliot 193 Share Posted January 11, 2015 Multi-threading scripts is generally not useful aside from few specific actions considering most interactions with the game require mouse movement. For me I try to write my code to be as elegant and clean as possible, making it readable and easily expandable. Ericthecmh 1 Link to comment Share on other sites More sharing options...
Chris 154 Share Posted January 11, 2015 Multi-threading scripts is generally not useful aside from few specific actions considering most interactions with the game require mouse movement. For my I try to write my code to be as elegant and clean as possible, making it readable and easily expandable. As far as the main control of the script, that should be on a single thread. On the contrary, anything that does not interact with the client can benefit from multi-threading. Such as calculations done in the paint event (which is already multi-threaded) or calculations you do outside of the main bot loop. You could potentially write a script platform which polls a thread for its next action to complete - have the thread calculate the best move while the client is taking care of the previous command. You should see an increase in efficiency if the decision takes more than one game tic to complete. pitoluwa 1 Link to comment Share on other sites More sharing options...
Polish Civil 90 Share Posted March 5, 2015 make bot. Link to comment Share on other sites More sharing options...
Computor 177 Share Posted March 30, 2015 As far as the main control of the script, that should be on a single thread. On the contrary, anything that does not interact with the client can benefit from multi-threading. Such as calculations done in the paint event (which is already multi-threaded) or calculations you do outside of the main bot loop. You could potentially write a script platform which polls a thread for its next action to complete - have the thread calculate the best move while the client is taking care of the previous command. You should see an increase in efficiency if the decision takes more than one game tic to complete. I used multi threading in my construction bot to constantly get updates on item changes/updates. It works really well, in the sense that it updates the scripts automatically instead of having to wait for the onLoop() to hit the line of code that checks if something is true/false. The second thread has already checked it. Chris 1 Link to comment Share on other sites More sharing options...
DefCon 121 Share Posted March 30, 2015 Come work on AIO RS with me Link to comment Share on other sites More sharing options...
randalthor 6 Share Posted September 13, 2015 I would suggest maybe building a task system, or even would be to better a create a remote botting system, so that you can give your bot new tasks, or edit how they are running all remotely. I think that would be pretty cool to see. I would wait until my project is done that I have been working on the past couple weeks, and hopefully will fix all the walking problems we have in the client. Pretty much the entire walking and web system are going to be revised. Here is a preview of my map tool that I created to help aid the creation process. How did you create that tool? Does it support other levels like upstairs or dungeons? I'm trying to get a script working for the Security stronghold. Care to share the tool? Link to comment Share on other sites More sharing options...
Recommended Posts