Page 1 of 2

CrashToDesktop with bots

Posted: 22 May 2013, 21:59
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!

Re: CrashToDesktop with bots

Posted: 23 May 2013, 11:57
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 ?

Re: CrashToDesktop with bots

Posted: 23 May 2013, 12:01
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

Re: CrashToDesktop with bots

Posted: 23 May 2013, 12:13
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.

Re: CrashToDesktop with bots

Posted: 23 May 2013, 12:14
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

Re: CrashToDesktop with bots

Posted: 23 May 2013, 12:34
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 ^^

Re: CrashToDesktop with bots

Posted: 23 May 2013, 13:05
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.

Re: CrashToDesktop with bots

Posted: 23 May 2013, 13:08
by faserg1
Well, I tested my script - I deleted function for spawn bots - all is normal. No crashes. So, I have same problem.

Re: CrashToDesktop with bots

Posted: 23 May 2013, 13:29
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.

Re: CrashToDesktop with bots

Posted: 23 May 2013, 13:34
by steeffeen
Kak0 wrote:Your map and script will be useful for the CTD though.
i've already sent you a PM :)