ThaPwned / WCS

Warcraft: Source using Source.Python to be faster, expandable, and flexible
GNU General Public License v3.0
30 stars 23 forks source link

Bots keep getting kicked #74

Open NosferatuJoe opened 3 years ago

NosferatuJoe commented 3 years ago

I tried to isolate the problem but can't find what is causing it. I've already isolated it to WCS but I'm not sure why they get kicked. The kick reason is: "Bot X Kicked from session"

ManifestManah commented 3 years ago

I think I might have an idea of what could be the cause of this issue. I believe it may be caused as a result of altering the player's movement state with paralyzing skills. It may sound weird at first, but I noticed it happening on multiple occasions when I was playing around with the paralyzing flags, when bots would have their flags altered they would occasionally (not always) leave the server. You can try disabling races and see whether or not this issue still persists. If they do keep disappearing then it ought to be something in the core and not related to the paralyze skills. :-)

NosferatuJoe commented 3 years ago

This sounds very interesting and a plausible case. Do freeze skills like that from human alliance fall under the "paralyzing" effect or do you have an example I could use to test this out?

Would love to get this annoying issue fixed.

ManifestManah commented 3 years ago

Human alliance might not do this, I don't believe freeze effects do this, but if you look at Hell Sloth's paralyze skill, I know that one does it for a fact :)

NosferatuJoe commented 3 years ago

I just noticed a bot getting kicked at the start of a round. He might've been paralyzed but I'm quite sure it wasn't the case, he just got "deleted" from the server randomly

ThaPwned commented 2 years ago

This is a rather odd one, if you've already isolated it to being WCS. I can only imagine the bots is getting commands executed too fast, and thus kicks the bot but other than that, I'm blank.

Manifest's theory is indeed weird but if that's the case, it's not going to be easy to narrow it down to where it happens.