Jump to content

[Stable Build] OSBot 2.4.58 - Args, debugger, small fixes


Alek

Recommended Posts

Just a few small updates before we move onto another stable release.

 

1. Widget Debugger

A few releases ago I discussed a bit about combining Inv/Stack. Often times you will come across a widget which is a container; so if their lengths match it would make sense to combine them so you can quickly figure out the structure. As an example, I took a screenshot of debugging the bank:

 

f00bcb708c5d9eb6626277e12424e694.png

 

So instead of having 1656 fields to sort through, we only have 828 (the size of each array). 

 

widget.getInv()[11] == 995 //Coins id

widget.getInvStackSizes()[11] == 3170501 //Amount of coins

 

Hopefully scripters find this a bit easier.

 

2. Command Line arguments

Probably one of the most requested features is a way to start the client and scripts by command line. No, this update doesn't allow you to do that yet however I've started some of the development on it. In the meantime the following arguments now exist:

 

-mem <amount> // The amount of memory allocated in megabytes

-debug <port> //Starts OSBot in debug mode, use port 5005 if you're unsure which port to use
-data <value> //Allows OSBot to collect data used for bot detection analysis; 1 = true
 
51f4ad91dca968c9175b723470843935.png
 
Happy Botting
-The OSBot Staff
  • Like 6
Link to comment
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...