[BO2][MP] Some bots don't attack.
-
Creating a dedicated server and playing lan with my friends, sometimes some bots spawn which do not attack the whole game, only way i can fix is restarting or respawning the bots.
It seems random.. no specific classes or maps are affected more than others..
it may be one or more bots
sometimes no bots.Basically i can stand in front of an enemy bot and it wont even knife..
its super frustrating when we have a little tourny and cant rely on the scores because bots are not consistent.
cant really find anything in the archives which describes my issue.. these Zero bots are a bit of a pita.any known issues ive missed?
-
Try with(out) Bot Warfare depending on if you're already using it or not
-
im using botwarfare, when i remove it my script stops working for spawning bots... am i being dumb here?
setDvar("bots_manage_add",botAmount );
-
wombBlaster this is a Bot Warfare dvar
-
Indeed. Thanks for your suggestion.
Is this a known problem with current bot warfare script or the inbuilts (which i thought were the same actually) or were you just guessing?
Either way the problem persists.. any further advice how i could troubleshoot this issue to make bots consistent?
all the best
-
wombBlaster no
-
u dont have to be a dildo lol not long ago you were the one asking for (and getting) help
-
wombBlaster you asked two questions that can be answered by yes or no, answer is no to both so I said "no"
You have to be pretty stupid to see this as me being a "dildo" whatever the fuck this means -
Basically T6 was not designed to run on dedicated servers with bots joining first as client 0. Basically the engine does some specific stuff for client 0(which would be the host player in peer to peer), and it seems as if this is the reason for the bot being braindead. So solution don't allow bots in client 0.
-
Great info thanks
so im gonna start with something like this.. im sure theres better ways but it seems to work for my use case... if it turns out not ill continue thread.Thanks a bunch!
main(){ //other bits } init(){ //.. setdvar( "bots_main_firstIsHost", true ); level thread spawnBots(botAmount); } spawnBots(amount) { while(!isHost(level.players[0])){ wait(2); // Give some time //quick check for players playerPool = level.players.size; println("There are "+level.players.size+" Players"); if(playerPool>0){ //someone is here.. if (isHost(level.players[0])) { println("Client 0 IS host, rain bots"); wait(2); for (i = 0; i < amount; i++) { addTestClient(); //< i think this is the way... } break; }else{ println("Client 0 IS NOT host"); // maybe here i should kick bots and redo from start } } } println("Bots done!"); }