Page 1 of 1

Controller still crashes in Invasion

Posted: 24 Dec 2014, 14:00
by Dommy
As Lukas suggested, I removed callbacks from my gamemode an left only important ones. But controller still restarts on map change...

Server login: swinninvasion1@InvasionBeta@domino54

All custom callbacks used:
OnArmorEmpty (only Player death), OnHit (friendly-fire only), OnPlayerRequestRespawn

Mode has ~10 net variables (+ 4 in Libs)

Re: Controller still crashes in Invasion

Posted: 24 Dec 2014, 22:54
by steeffeen
well it seems like the crashes come from nearmiss callbacks that are sent for bots, i guess maniacontrol isn't handling them properly, this is an error on our side
(but usually scripts don't send callbacks for bots to save network resources, so you might want to improve that)

Re: Controller still crashes in Invasion

Posted: 25 Dec 2014, 12:07
by Dommy
I send only hit (FF - Player has hit Player) and armor empty (if dies Player, not a bot).

But I'm not sure about armor empty, should be it send only if Shooter is Null or Shooter is not bot? Actually it sends all player deaths, environmental (offzone) and caused by FF or toads.