It's possible that the spike in CPU usage you're experiencing is related to changes in the game server or operating system that your server is running on. However, there are a few things you can try to help reduce the CPU usage:
Clear the cache files: As you mentioned, clearing the cache files on your server may help to reduce the CPU usage. This can be done by deleting the cache folder in the OSBot directory.
Check for memory leaks: It's possible that your script may be causing memory leaks, which can lead to high CPU usage. You can use a tool like VisualVM to monitor your script's memory usage and check for any leaks.
Add a delay: Adding a delay in your script's loop can help to reduce CPU usage. You can use the sleep() function to add a delay between each iteration of the loop.
Check for unnecessary code: Make sure that your script doesn't contain any unnecessary code or loops that could be causing high CPU usage.
If none of these solutions help, it may be worth contacting the OSBot developers to see if they can provide any additional insight or solutions.