Pavement Drive Assist Continued

by azaghal

Introduces a driver assistance system that autonomously follows paved roads, while maintaining a preset cruise speed if desired.

Content
5 months ago
1.1 - 2.0
16.4K
Transportation

g Crash when remotely driving a train

3 months ago

Hi!

Here’s the bug: I am cleaning up enemies with my tank, and I only have cruise control activated. While I'm in the tank, I open the map and select a train to drive remotely. After about 1 or 2 seconds, a crash occurs.

I can reproduce it every time. The only way to avoid the crash is to disable cruise control before remotely driving the train.

Maybe the mod doesn’t like having cruise control active when driving a train remotely while the character is seated in a tank? Could it be an easy fix?

The mod Pavement Drive Assist Continued (5.0.0) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event PavementDriveAssistContinued::on_tick (ID 0)
Entity is not car or unit or projectile or artillery-projectile
stack traceback:
[C]: in function 'newindex'
__PavementDriveAssistContinued
/scripts/pda.lua:892: in function 'manage_cruise_control'
PavementDriveAssistContinued/scripts/pda.lua:1213: in function <PavementDriveAssistContinued/scripts/pda.lua:1136>

3 months ago
(updated 3 months ago)

Edit: Oops, my bad—I didn’t mean to post twice.

2 months ago

Hello coolfarmer,

Thank you for reporting the bug and for posting reproduction steps. I will try it out locally first just to confirm. As for whether it is easy to fix - I will know more once I have a look at the code. I have a good idea of what is the most likely cause.

Best regards,
Branko

New response