What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal
RebornBuddy Forums

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

CPU Spikes

h00n3r

New Member
Joined
Feb 9, 2011
Messages
19
My bot gets frequent spikes in CPU which amount to the game client freezing for about 1 second. This in turn causes the bot to overshoot its destinations quite a bit, which for my marauder is a problem because I end up walking through my target and spend a lot of time with my back to the target. Is this considered "normal" behavior for the bot, or did I miss something very simple that will make me feel stupid? I have an i5 2500k overclocked to 4.2GHz, 16GB of RAM, and a 560ti overclocked, so I would be shocked to hear that my computer is simply not fast enough. Changing the games graphics settings appears to have zero effect on this, adjusting thread priority didn't seem to help. This started with a clean install of BW and I have tried both the default combat routine as well as Wingit. This happens with a variety of profiles, both grinding and questing. It occurs on both a Marauder and a Sniper. I am running Win7 with no additional programs running save Ventrilo at times, but for testing sake I did try to run the bot on my bootcamped i7 MBP, same results. If I understand it correctly this bot pulls mesh data from "the cloud" as opposed to locally stored information, which is different from how honorbuddy works. Because of this I also took my laptop to work to try it on a faster connection. I get the same results whether at home on my 50/2 internet, or at work on my 100/100. I went ahead and attached a log, although I am not sure how useful this will be, the bot was successful overall. But this toon is also only 14, and the game gets much less forgiving later on, I think the way it is running I will face many deaths. Thanks in advance for any advice, and kudos to the devs of the bot, profiles, and routines they seem to be very well done. I hope I included enough information to work with, just let me know if I need to provide anything else.
 

Attachments

this happens to me as well.. sometime my game client freezes altogether and i have to restart the game and the bot.
 
this happens to me also! I posted a thread under support issues too -- hope they will get on this and have it fixed soon. CANNOT AFK BOT w/ this problem... :(
 
I don't know if this will help you or not. I have to assign my Processes in the task manager. After launching swtor, I filter by Memory(higher at the top) in the processes tab. I set the affinity for the first swtor.exe and check the boxes CPU 0 -CPU 3 leave CPU 4 - CPU 7 unchecked. Then for the 2nd swtor.exe in the processes tab, to the opposite. So this is what it should look like so far:

swtor.exe (1)
(CHECKED) (UNCHECKED)
CPU 0-------CPU 4
CPU 1-------CPU 5
CPU 2-------CPU 6
CPU 3-------CPU 7
swtor.exe (2)
(UNCHECKED) (CHECKED)
CPU 0----------CPU 4
CPU 1----------CPU 5
CPU 2----------CPU 6
CPU 3----------CPU 7

Once I've logged into the game with my character, I will launch buddywing. Once launched, I once more go into the processes tab and change the affinity for the buddywing.exe

buddywing.exe
(UNCHECKED) (CHECKED)
CPU 0----------CPU 4
CPU 1----------CPU 5
CPU 2----------CPU 6
CPU 3----------CPU 7

Hope that helps.
 
Sorry it took me so long to respond to this, I was finishing out my first 50 legit. This actually has had incredible improvements to my bot. I don't have 8 threads, because I don't hyperthread, but I gave SWTOR.exe 0 and 1, and buddywing.exe 2 and 3. Does anyone know if it's the game or the bot that is mishandling multi-core CPUs? My guess is the game, it's so full of problems, that's why I wasn't too worried about this bot not being the most amazing thing ever to me. It's impossible to make a perfect bot for an imperfect game. :) Either way this has been amazing advice, this is something that would probably go well in a getting started guide or something of the like, by far the most useful tip I have gotten.
 
I don't know if this will help you or not. I have to assign my Processes in the task manager. After launching swtor, I filter by Memory(higher at the top) in the processes tab. I set the affinity for the first swtor.exe and check the boxes CPU 0 -CPU 3 leave CPU 4 - CPU 7 unchecked. Then for the 2nd swtor.exe in the processes tab, to the opposite. So this is what it should look like so far:

swtor.exe (1)
(CHECKED) (UNCHECKED)
CPU 0-------CPU 4
CPU 1-------CPU 5
CPU 2-------CPU 6
CPU 3-------CPU 7
swtor.exe (2)
(UNCHECKED) (CHECKED)
CPU 0----------CPU 4
CPU 1----------CPU 5
CPU 2----------CPU 6
CPU 3----------CPU 7

Once I've logged into the game with my character, I will launch buddywing. Once launched, I once more go into the processes tab and change the affinity for the buddywing.exe

buddywing.exe
(UNCHECKED) (CHECKED)
CPU 0----------CPU 4
CPU 1----------CPU 5
CPU 2----------CPU 6
CPU 3----------CPU 7

Hope that helps.

What if you don't have an 8core CPU? I have a i5-2500K
 
Basically you want to split the cpu's in half. So if you have 4 cores, put 0 and 1 on the first swtor.exe leaving 2 and 3 unchecked. Then for the second swtor.exe and the buddywing.exe have 0 and 1 unchecked, and have 2 and 3 checked off.
 
I first proposed this a while back, do a search. The reason this happens is because the game renderer is split from every other function, dividing cycles and what not. That's why there are 2 .EXE in memory for one game. Its so very, very inefficient. You can also see the main executable getting bigger and bigger and bigger if you play for a while without reloading or resetting (did someone say bloat?)

So this is a SWTOR problem, not a BW problem. I think this procedure should be explained to all BW users in a faq or howto or something.

Welcome to the BW community.
 
What a mess this game's development procedure is. What the hell happened to this huge project of theirs? Wasn't this the most expensive mmo project of all time? it's really sad
 
ok i have said this time and time again, setting affinity does NOTHING.

And older computers run this bot alot better then newer ones.

But hey, keep trying what you want, doesnt phaze me :)

if you would have done research through alot of mine and smoops older posts you would have seen alot more info.
 
BTW

nevermind, if people cant search for themselves i aint helping them.

I'm not really sure who it is that needs you to help them? My issue is resolved, sammyjenkins' suggestion of splitting affinity works great on multiple computers for me. I was unable to find anything in my research, so I posted, I must have missed the post where this was suggested previously. Or perhaps I read comments following it saying that it doesn't work and I believed those comments, and shouldn't have. Thanks again sammyjenkins my bot has been smooth ever since.
 
No worries. Just relaying what wn2142 suggested way back when buddywing was still fresh.

And cylak12, yes splitting the affinity does work bro. Without doing it, my swtor lags like shit when running buddywing.
 
Back
Top