There are a bunch of different parts of BUG python code which will fail when used in the Pitboss host. Mostly, they are bits of code which assume the "active team" will be a valid team; which is not true for the pitboss host. These bugs will usually just cause the particular parts of the code to fail with no ill effects; but they could potentially cause unpredictable behaviour.
To fix this, for K-Mod, I'm intending to just disable all parts of BUG when "isPitbossHost()" is true.
But first, I'd like to confirm that this isn't going to break something, or disable certain game mechanics or anything like that.
In particular, I'd like to know if the BUG event manager is used to run any normal game mechanics. eg. is it used to replace the standard random events system or anything like that? Or can I safely just disable all of the "addEventHandler" things for the Pitboss host without changing the gameplay?
To fix this, for K-Mod, I'm intending to just disable all parts of BUG when "isPitbossHost()" is true.
But first, I'd like to confirm that this isn't going to break something, or disable certain game mechanics or anything like that.
In particular, I'd like to know if the BUG event manager is used to run any normal game mechanics. eg. is it used to replace the standard random events system or anything like that? Or can I safely just disable all of the "addEventHandler" things for the Pitboss host without changing the gameplay?