Controller still crashes in Invasion

ManiaControl, the completely new designed and easy to use controller managing all your Maniaplanet server.

Moderators: kremsy, Jocy, Wabbitface, steeffeen, NADEO

Post Reply
User avatar
Dommy
Translator
Translator
Posts: 1899
Joined: 25 Aug 2011, 21:45
Location: Poland
Contact:

Controller still crashes in Invasion

Post by Dommy » 24 Dec 2014, 14:00

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)
Ryzen 7 2700X, GTX 1070 Ti, 16 GB RAM, Windows 10 Insider Build
FORUM MODERATOR • CREATOR OF SHOOTMANIA GALAXY & TRACKMANIA² PURSUIT

Contact me via GALAXY & PURSUIT DISCORD

User avatar
steeffeen
Translator
Translator
Posts: 2472
Joined: 14 Oct 2012, 16:22
Location: Germany

Re: Controller still crashes in Invasion

Post by steeffeen » 24 Dec 2014, 22:54

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)
    Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

    ManiaControl, FancyManiaLinks

    kremsy
    Posts: 1725
    Joined: 21 Jul 2011, 09:51

    Re: Controller still crashes in Invasion

    Post by kremsy » 25 Dec 2014, 11:56

    Made a lots of changes with the callbacks in the last weeks but didn't push the update, could try to release it and you test it again. But basically please never send callbacks from bot-actions!
    Lukas alias Kremsy, Developer of:
    ManiaControl: http://www.maniacontrol.com
    ParagonLeague: http://league.paragon-esports.com
    MPAseco: http://mpaseco.org
    ManiaViewer: http://www.maniaviewer.com

    User avatar
    Dommy
    Translator
    Translator
    Posts: 1899
    Joined: 25 Aug 2011, 21:45
    Location: Poland
    Contact:

    Re: Controller still crashes in Invasion

    Post by Dommy » 25 Dec 2014, 12:07

    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.
    Ryzen 7 2700X, GTX 1070 Ti, 16 GB RAM, Windows 10 Insider Build
    FORUM MODERATOR • CREATOR OF SHOOTMANIA GALAXY & TRACKMANIA² PURSUIT

    Contact me via GALAXY & PURSUIT DISCORD

    kremsy
    Posts: 1725
    Joined: 21 Jul 2011, 09:51

    Re: Controller still crashes in Invasion

    Post by kremsy » 25 Dec 2014, 12:13

    domino54 wrote: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.
    Try to switch in the update-manager of mc to the nightly build and fetch the newest version, (this is the newest nightly state (not released as beta) we have, and we made some changes in the callback system).

    Additionally to that please provide log while crashing.
    Lukas alias Kremsy, Developer of:
    ManiaControl: http://www.maniacontrol.com
    ParagonLeague: http://league.paragon-esports.com
    MPAseco: http://mpaseco.org
    ManiaViewer: http://www.maniaviewer.com

    Post Reply

    Return to “ManiaControl”

    Who is online

    Users browsing this forum: Google [Bot] and 2 guests