For those of you that know how to compile from source, if you
change line 542 in version 0.1.15 from
PHP Code:
if (IsClientValid(client)) {
to
PHP Code:
if (targetTeam == 2 && IsClientValid(client)) {
You should see a massive performance improvement with specials (regardless of how they spawn). To test, do
abm-mk -24 3 with any version prior to this tip and then do it again after. Tada, performance
Thanks to a good friend running ABM bugging me about how performance seemed bad and the clue being specials to blame. I looked into it and it turns out that
targetTeam == 2 was the missing check that prevents equipping the special infected with a shotgun, bat and shot and etc. They don't need that stuff, sorry about that.
For those of you that would like to try a totally new way to deal with the plaguing spectating bug that also sets up a way forward for dealing with timeouts and other abnormal disconnects, I'll upload 0.1.16 here on this post. If 0.1.15 is experimental already, this one is the extreme alpha pup but I feel pretty confident with it. I also removed tanks from spawning with
abm-mk because I've purposely made them random and random dictates if you want 24 specials, you'll get 24 tanks at some point.
Break it. Let me know which is better? 0.1.15 or 0.1.16?
Thanks