Developer Maxi Posted March 5, 2015 Developer Share Posted March 5, 2015 Dear community, With the new widget system affecting a large area of our code it was inevitable there would occur performance issues. I have profiled the bot and applied a first set of optimisations. I know there are more optimisations to be done on the new system, but this should already make a big difference. Scripts might spike a little cpu usage on start up when the system caches some data. If you still experience issues with performance, please report in detail so I can investigate and optimise further. Your help is appreciated. I will upload the javadocs shortly after. Sincerely, The OSBot team Edit: API java docs have been updated. A packaged version of the docs to use in your IDE's can be found here: https://osbot.org/api/javadocs.zip 4 Link to comment
Lemons Posted March 5, 2015 Share Posted March 5, 2015 Will let you know how it goes, thanks again for the quick updates! Link to comment
Lemons Posted March 5, 2015 Share Posted March 5, 2015 (edited) Works better now thanks! Yep, 100x better, definitely usable now! Edit: Seems turning on "Low CPU" in the menu makes the script nearly unable to do basic dialogue (didn't test interactions). This was with the Customs Officer on Karamja, would move the move a few pixels at the time and lag. Without "Low CPU" enabled it works like a charm though! Edited March 5, 2015 by dudeami Link to comment
DeadlyLazy Posted March 5, 2015 Share Posted March 5, 2015 "With the new widget system affecting a large area of our code it was inevitable there would occur be performance issues" 10/10 would read again, amazing! 2 Link to comment
Developer Maxi Posted March 5, 2015 Author Developer Share Posted March 5, 2015 Yep, 100x better, definitely usable now! Edit: Seems turning on "Low CPU" in the menu makes the script nearly unable to do basic dialogue (didn't test interactions). This was with the Customs Officer on Karamja, would move the move a few pixels at the time and lag. Without "Low CPU" enabled it works like a charm though! Yes dialogues require some optimisations with the new widget system. They will get optimised during this or next week. On another note, API javadocs have been updated. Link to comment
iJodix Posted March 5, 2015 Share Posted March 5, 2015 (edited) [ERROR][Bot #1][03/05 10:47:33 AM]: Error in script executor! java.lang.NullPointerException at org.osbot.rs07.api.Widgets.get(nj:204) at org.osbot.rs07.api.DepositBox.close(do:115) Getting this error while it tries to close the deposit box interface. Edited March 5, 2015 by iJodix 1 Link to comment
eliminetor Posted March 5, 2015 Share Posted March 5, 2015 Some scripts are still not running properly. KWarriors for example wont eat. Nice updates Though. Link to comment
Developer Maxi Posted March 5, 2015 Author Developer Share Posted March 5, 2015 Keep them reports coming, I'll patch them as I go. Link to comment
Lemons Posted March 5, 2015 Share Posted March 5, 2015 Appears bank.close() doesn't do anything, just idles for a while then script continues (without the bank having been closed). Other banking features seem to be working fine though. Link to comment
jst94 Posted March 5, 2015 Share Posted March 5, 2015 My hunter script wont drop and bury bones. Link to comment