AI drivers are drunk after a break.

JCitron

Trainzing since 12-2003
I'm not kidding when I say this.

I was driving my Gloucester Terminal Electric yesterday. (GFisher's Gloucester Terminal, updated for trolley and freight). I have about 8 AI drivers who drive the trolleys around making stops along with maybe 6 AI portal dudes who come and go, and do not interfere with anyone except when I intervene. Along with this traffic running, I do some local switching.

During my session, I kept getting interrupted and kept pressing Pause then resuming later. I didn't think much of it until a bit later when the session started getting a bit chunky, and the notification box icon was blinking. I exited from my loco and check the other drivers to see what was up. All the trolley drivers got stuck or were stopped in the middle of the route. If I clicked on the guys who stopped in the middle of nowhere, stopped them, and had them continue, they resumed as though nothing was wrong. The other drivers got themselves confused and were stuck at various junctions which normally don't cause any issues. For those guys, I had to do the usual stop, and release junctions manually.

Things ran fine for another loop around, and then they got stuck again in a simliar fashion, but in different spots. After dealing with this a few more times, I exited the session and started again without any hiccups. Everyone was back driving like thy should without getting stuck. I wonder if the pausing caused the AI scripts and threads to get confused. It's either this or they decided that if I took a break, they could too and headed off to the local pub for a few!

John
 
It's well known (at least to me) that pausing the game will affect the AI scripts.

Shane

Thank you, Shane for the confirmation on this. I never ran into this, or as I should say I've never paused the game before in all the years of Trainzing!

@JohnnyC1 - Yup! I'm sure they do. I've seen them pull some really amazing stunts for no reason at all. Like driving all the way to the end of a yard lead to switch to the track next to them, yet they'd do this fine 10 times before. There must be a hidden flask somewhere that has more than regular iced tea in it. :cool:

John
 
No problem. One area I can tell you that does not like pausing is when a train is loading/unloading at a station/industry - the pausing has the effect of the AI simply cancelling the command.

Shane
 
Thank you for bringing this up John and hope you are well, I did not know that the (PAUSE) function can play havoc with the AI, it is something I will have to remember for future use. Hopefully N3V will pick up on this thread and look into why this is happening.

Also thanks to my good friend Shane, has N3V offered you a job yet, I believe they should, given your superb knowledge of everything that runs in the background, hope you are well Shane.

Joe Airtime
 
It happens to me when re starting a driver session, possibly because the Ai was just going over a via trackmark, maybe while the session is loading fully it's passed the tm but not deleted it from the schedule.
Creates chaos if not spotted soon enough.
 
I'm hoping that something in the upcoming SP1 patch will fix it.

Regarding jobs, N3V haven't contacted me on that front, although I'm still waiting to hear from Tony Hilliam over part of the Helpdesk system.

Apart from that, things are running OK here (at least there's no snow around now...)

Shane
 
Hi Joe,

I'm doing okay. :) I'm getting used to the early retirement and becoming a pensioner. It was a forced decision, but for the better now that I think about it more.

Shane,

A fix for that issue would be nice. As Fran noted this happened with trackmarks. With stations it would make sense too because being trams (trolleys over here), there are lots of stops, and they're skipping over the stops that got lost in the pause and return. It's like the scripts continue to go even though the actual action has stopped.

We don't have much snow here either, perhaps 1/8-inch. We're getting some tonight which will turn to freezing rain and sleet for tomorrow - swell!

Good luck with everything else. :)

John
 
Back
Top