Skip to content

Traffic Trailer Project - DLCtrailers CTD with SCS values #602

@Mike7O

Description

@Mike7O

Describe the bug

TrafficTrailer
project for the DLC trailers
The values inside the traffic_trailer.sui

as example
base: traffic.trailer.scs_fodt

base: traffic.trailer.scs_silo

These causes the game to CTD if the trailer is a dedicated trailer linked to a specific truck.
Using the traffic_storage_trailer_truck
with the entry in gamelog reading:
<ERROR> d:\buildbot\slaves\win_slave\final_build_ets2_157_windows_bin_steam_x64\build\prism\src\p3core\collections\arrays\arrays_base_impl.h(681): ?index_of@?$array_t@V?$owner_ptr_t@Vtraffic_trailer_u@prism@@@prism@@@prism@@QEBA_KQEBV?$owner_ptr_t@Vtraffic_trailer_u@prism@@@2@@Z: Iterator outside array boundaries: 0x0000000000000000 <> [0x00000244164B2CF0, 0x00000244164B2E00)

To Reproduce
Steps to reproduce the behavior:

  1. create a mod with the dedicated assignment to a specific truck
Image
  1. add to modfolder - start the game
  2. as soon as this spawns by the game it CTD.

Screenshots
If the base values are outruled/deleted all is fine.

Image

Trailers spawn as they are supposed to do and no errors.

Image Image

Desktop (please complete the following information):

  • Version [2025.02] reported by user on [2025.01]

Additional context
Tested this several times, so totally convinced this base-thing is something that is to be blamed for CTD.

THANKS to CinosDB for addressing this matter... 👍

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐞 bugSomething isn't working🧹 code cleanupCleaning or optimisation of code base

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions