CrashToDesktop with bots

Moderator: NADEO

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

CrashToDesktop with bots

Post by steeffeen »

I have constant CTDs with bots

the crashes happen as soon as several bots with the following values spawn

Code: Select all

_Player.Driver.Behaviour					= CSmPlayerDriver::ESmDriverBehaviour::Saunter;
_Player.Driver.Saunter_BaseChillingTime		= 500;
_Player.Driver.Saunter_ChillingTimeDelta	= 400;
_Player.Driver.Saunter_Radius				= 70.;
i couldn't figure out whether it's a combination of these values or if it's caused by a certain one

here are some crash logs
http://dl.dropboxusercontent.com/u/5888 ... B8A934.txt
http://dl.dropboxusercontent.com/u/5888 ... A934_2.txt
http://dl.dropboxusercontent.com/u/5888 ... A934_3.txt

and:

Code: Select all

CSmPlayerDriver::ESmDriverBehaviour::IA;
doesn't work anymore, the bots don't move with this behaviour... before the update on May 16th it worked just great!
    Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

    ManiaControl, FancyManiaLinks
    Kak0
    Posts: 156
    Joined: 11 May 2012, 09:25

    Re: CrashToDesktop with bots

    Post by Kak0 »

    Since it is another bug I moved your message in a new thread. I'm going to investigate about the CTD.
    steeffeen wrote:

    Code: Select all

    CSmPlayerDriver::ESmDriverBehaviour::IA;
    doesn't work anymore, the bots don't move with this behaviour... before the update on May 16th it worked just great!
    That will be fixed in next update. Just so you know, this Behaviour isn't doing much, just attacking a target in range and going in random places when the target was lost. Using ForcedTarget should do the trick while I complete this Behaviour, what did you need it for ?
    User avatar
    steeffeen
    Translator
    Translator
    Posts: 2463
    Joined: 14 Oct 2012, 16:22
    Location: Germany

    Re: CrashToDesktop with bots

    Post by steeffeen »

    Kak0 wrote:Since it is another bug I moved your message in a new thread. I'm going to investigate about the CTD.
    thanks :)
    Kak0 wrote:That will be fixed in next update. Just so you know, this Behaviour isn't doing much, just attacking a target in range and going in random places when the target was lost. Using ForcedTarget should do the trick while I complete this Behaviour, what did you need it for ?
    yeah that's completely enough :) i've used it for my InstaDM mode, the behaviour works great for melee modes
    i tried saunter for example but it seems as if you have to set the anchor point and that's annoying
      Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

      ManiaControl, FancyManiaLinks
      Kak0
      Posts: 156
      Joined: 11 May 2012, 09:25

      Re: CrashToDesktop with bots

      Post by Kak0 »

      steeffeen wrote:
      Kak0 wrote:That will be fixed in next update. Just so you know, this Behaviour isn't doing much, just attacking a target in range and going in random places when the target was lost. Using ForcedTarget should do the trick while I complete this Behaviour, what did you need it for ?
      yeah that's completely enough :) i've used it for my InstaDM mode, the behaviour works great for melee modes
      i tried saunter for example but it seems as if you have to set the anchor point and that's annoying
      By default the AnchorPoint is the bot's spawn location, so you shouldn't have to set it. I don't understand what you were trying to do and/or what the problem was.
      User avatar
      steeffeen
      Translator
      Translator
      Posts: 2463
      Joined: 14 Oct 2012, 16:22
      Location: Germany

      Re: CrashToDesktop with bots

      Post by steeffeen »

      Kak0 wrote:By default the AnchorPoint is the bot's spawn location, so you shouldn't have to set it. I don't understand what you were trying to do and/or what the problem was.
      the bots are running straight into a corner of the map and stay there without setting the anchor point...
      give me some minutes and i will link a replay
      Last edited by steeffeen on 23 May 2013, 13:35, edited 1 time in total.
        Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

        ManiaControl, FancyManiaLinks
        User avatar
        steeffeen
        Translator
        Translator
        Posts: 2463
        Joined: 14 Oct 2012, 16:22
        Location: Germany

        Re: CrashToDesktop with bots

        Post by steeffeen »

        ..it's not easy to capture even one replay with all the crashes :lol:
        i finally got one: https://dl.dropboxusercontent.com/u/588 ... Replay.Gbx
        i can offer the script and map if needed
        bot values are only:

        Code: Select all

        _Player.Driver.AttackFilter		= CSmPlayerDriver::ESmAttackFilter::AllOpposite;
        _Player.Driver.Behaviour			= CSmPlayerDriver::ESmDriverBehaviour::Saunter;
        because it crashed with some more values ^^
          Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

          ManiaControl, FancyManiaLinks
          Kak0
          Posts: 156
          Joined: 11 May 2012, 09:25

          Re: CrashToDesktop with bots

          Post by Kak0 »

          Map and script would be useful indeed, because in the scripts I use I don't need to set the AnchorPoint for it to work ^^ It will also help me fix the CTD anyway :p You can send me a PM if you don't want other people to see your script/map.
          User avatar
          faserg1
          Posts: 446
          Joined: 06 Jul 2011, 19:54
          Location: Russia
          Contact:

          Re: CrashToDesktop with bots

          Post by faserg1 »

          Well, I tested my script - I deleted function for spawn bots - all is normal. No crashes. So, I have same problem.
          Есть вопросы? Только скайп - faserg1.
          Image
          Жизнь - это динамика ритма. Life is dynamic of rhythm.
          Kak0
          Posts: 156
          Joined: 11 May 2012, 09:25

          Re: CrashToDesktop with bots

          Post by Kak0 »

          steeffeen wrote:
          Kak0 wrote:By default the AnchorPoint is the bot's spawn location, so you shouldn't have to set it. I don't understand what you were trying to do and/or what the problem was.
          the bots are running straight into a corner of the map and stair there without setting the anchor point...
          give me some minutes and i will link a replay
          Found what's wrong : it works only if the bot is spawned with a BotPath, so there is indeed a bug when it is spawned in a BlockSpawn.

          Your map and script will be useful for the CTD though.
          User avatar
          steeffeen
          Translator
          Translator
          Posts: 2463
          Joined: 14 Oct 2012, 16:22
          Location: Germany

          Re: CrashToDesktop with bots

          Post by steeffeen »

          Kak0 wrote:Your map and script will be useful for the CTD though.
          i've already sent you a PM :)
            Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

            ManiaControl, FancyManiaLinks
            Locked

            Return to “Shootmania Storm Reports”

            Who is online

            Users browsing this forum: No registered users and 0 guests