copyleft 0 Posted January 24, 2017 Share Posted January 24, 2017 Hello, I've noticed that the wrobot executable uses a lot CPU. World of warcraft: >10% Wrobot: 20-30% Is there anyway to optimize wrobot through settings or other methods to use less CPU? This is necesarry for multiple bot setups. Link to comment https://wrobot.eu/forums/topic/4832-reduce-wrobot-cpu-usage/ Share on other sites More sharing options...
Droidz 2742 Posted January 24, 2017 Share Posted January 24, 2017 Hello, try to disable your fightclasses/wrobot plugin one by one to find what cause this cpu usage. When you have found share here the file I'll try to optimise it. Link to comment https://wrobot.eu/forums/topic/4832-reduce-wrobot-cpu-usage/#findComment-22324 Share on other sites More sharing options...
copyleft 0 Posted January 24, 2017 Author Share Posted January 24, 2017 I'm a new user, so I don't have any plugins yet. The fight class which I am using is this one: I tried disabling it and the CPU usage of wrobot decreased by a LOT. ~5% CPU usage. So it's the fight class. Since it's a DLL I'm not sure how to edit it. But if you could take a look at it, it would be great. Thanks! Link to comment https://wrobot.eu/forums/topic/4832-reduce-wrobot-cpu-usage/#findComment-22326 Share on other sites More sharing options...
Droidz 2742 Posted January 24, 2017 Share Posted January 24, 2017 I cannot edit this, it is .dll file. But @Pasterke can you add in your routine loop (while) code like System.Threading.Thread.Sleep(30); https://msdn.microsoft.com/fr-fr/library/d00bd51t(v=vs.110).aspx Link to comment https://wrobot.eu/forums/topic/4832-reduce-wrobot-cpu-usage/#findComment-22327 Share on other sites More sharing options...
Hapiguy 56 Posted January 24, 2017 Share Posted January 24, 2017 copyleft, another thought to improve system resource usage would be to lower the fps in WoW to 15, if you haven't already. As far as my setups, and I use OLD computers (5-7+ years old), I have no issues running 3-5+ copies per PC, and my processor usage is nowhere near the levels you're experiencing, per instance. Link to comment https://wrobot.eu/forums/topic/4832-reduce-wrobot-cpu-usage/#findComment-22328 Share on other sites More sharing options...
copyleft 0 Posted January 24, 2017 Author Share Posted January 24, 2017 @Hapiguy Wow client CPU usage is not to the problem here. I've limited the FPS to 25. @Droidz I've managed to decompile the dll. Here's a paste of the main .cs : http://pastebin.com/xxxx I've uploaded the whole c# Project also: https://drive.google.com/open?id=xxxxx Link to comment https://wrobot.eu/forums/topic/4832-reduce-wrobot-cpu-usage/#findComment-22329 Share on other sites More sharing options...
Droidz 2742 Posted January 24, 2017 Share Posted January 24, 2017 5 minutes ago, copyleft said: @Hapiguy Wow client CPU usage is not to the problem here. I've limited the FPS to 25. @Droidz I've managed to decompile the dll. Here's a paste of the main .cs If your decompiled code works, try to add this line: System.Threading.Thread.Sleep(30); between "FeralDruid.Routine();" line 309 and " }" line 310 ps: I have remove link to source code, we do not have the owner permission. Link to comment https://wrobot.eu/forums/topic/4832-reduce-wrobot-cpu-usage/#findComment-22330 Share on other sites More sharing options...
copyleft 0 Posted January 24, 2017 Author Share Posted January 24, 2017 I'm missing some libraries/dependencies however they are called in c#. using MemoryRobot; using robotManager.Helpful; using wManager.Wow.Class; using wManager.Wow.Enums; using wManager.Wow.Helpers; using wManager.Wow.ObjectManager; Need to get those before I can try to compile it. Link to comment https://wrobot.eu/forums/topic/4832-reduce-wrobot-cpu-usage/#findComment-22331 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now