Zummy Posted August 26, 2018 Posted August 26, 2018 I've been running some bots overnight but after all this time my RAM usage per client has increased drastically, some use over 2GB of RAM. Now I've heard people say this is because of webwalking, is this true? Should I over a different method for walking?
H0rn Posted August 26, 2018 Posted August 26, 2018 You should only use WebWalking when walking from unknown places really, in laymans terms don't rely on WebWalking to get you from A to B handling objects as a simple way to walk. You can easily write a few lines of code to walk from x to z. 1
Charlotte Posted August 26, 2018 Posted August 26, 2018 Webwalk uses more resources, eg. ram & cpu. Webwalk to be used when walking to unknown places. Walkpath for less resources, however does not handle obstacles.
Zummy Posted August 26, 2018 Author Posted August 26, 2018 55 minutes ago, H0rn said: You can easily write a few lines of code to walk from x to z. Do you mean just using walkPath with a List of Positions?
H0rn Posted August 26, 2018 Posted August 26, 2018 (edited) 16 minutes ago, Zummy said: Do you mean just using walkPath with a List of Positions? https://osbot.org/api/org/osbot/rs07/event/WalkingEvent.html For example: Area myArea = new Area(x, y, x, y); WalkingEvent walkingEvent = new WalkingEvent(myArea); execute(walkingEvent); Using events like this also means you can change certain event settings, read it all in the api mate. Edited August 26, 2018 by H0rn
Alek Posted August 26, 2018 Posted August 26, 2018 Closing this because the answers here are good, and I don't want the band of trolls ruining this.