Code Monkey home page Code Monkey logo

improvedpublictransport's People

Contributors

bloodypenguin avatar dnkpp avatar mjm92150 avatar pickuse2013 avatar shg166 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

improvedpublictransport's Issues

Array Index out of range (PassengerFerryAI, PassengerFerryAIDetour)

After some time (approximately 2-3 minutes after loading the city) I constantly receive the Array Index out of range error which comes one after time. Exact error that is written in output log is:

Simulation error: Array index is out of range.
at PassengerFerryAI.UnloadPassengers (UInt16 vehicleID, .Vehicle& data, UInt16 currentStop, UInt16 nextStop) [0x00000] in :0
at ImprovedPublicTransport2.Detour.PassengerFerryAIDetour.ArriveAtTarget (UInt16 vehicleID, .Vehicle& data) [0x00000] in :0
at PassengerFerryAI.ArriveAtDestination (UInt16 vehicleID, .Vehicle& vehicleData) [0x00000] in :0
at FerryAI.SimulationStep (UInt16 vehicleID, .Vehicle& vehicleData, .Frame& frameData, UInt16 leaderID, .Vehicle& leaderData, Int32 lodPhysics) [0x00000] in :0
at PassengerFerryAI.SimulationStep (UInt16 vehicleID, .Vehicle& vehicleData, .Frame& frameData, UInt16 leaderID, .Vehicle& leaderData, Int32 lodPhysics) [0x00000] in :0
at VehicleAI.SimulationStep (UInt16 vehicleID, .Vehicle& vehicleData, UInt16 leaderID, .Vehicle& leaderData, Int32 lodPhysics) [0x00000] in :0
at FerryAI.SimulationStep (UInt16 vehicleID, .Vehicle& data, Vector3 physicsLodRefPos) [0x00000] in :0
at VehicleManager.SimulationStepImpl (Int32 subStep) [0x00000] in :0
at SimulationManagerBase`2[Manager,Properties].SimulationStep (Int32 subStep) [0x00000] in :0
at VehicleManager.ISimulationManager.SimulationStep (Int32 subStep) [0x00000] in :0
at SimulationManager.SimulationStep () [0x00000] in :0
at SimulationManager.SimulationThread () [0x00000] in :0 [Core]

You may see the whole Output_log here:
output_log.txt
and here,
output_log.txt

MoveIt sometimes breaks bus routes

Since installing IPT2, I sometimes get this error:

Simulation error: Array index is out of range.
  at TransportLine.GetNextStop (UInt16 stop) [0x00000] in <filename unknown>:0 
  at ImprovedPublicTransport2.Detour.BusAIDetour.ArriveAtTarget (UInt16 vehicleID, .Vehicle& data) [0x00000] in <filename unknown>:0 
  at BusAI.ArriveAtDestination (UInt16 vehicleID, .Vehicle& vehicleData) [0x00000] in <filename unknown>:0 
  at CarAI.SimulationStep (UInt16 vehicleID, .Vehicle& vehicleData, .Frame& frameData, UInt16 leaderID, .Vehicle& leaderData, Int32 lodPhysics) [0x00000] in <filename unknown>:0 
  at BusAI.SimulationStep (UInt16 vehicleID, .Vehicle& vehicleData, .Frame& frameData, UInt16 leaderID, .Vehicle& leaderData, Int32 lodPhysics) [0x00000] in <filename unknown>:0 
  at VehicleAI.SimulationStep (UInt16 vehicleID, .Vehicle& vehicleData, UInt16 leaderID, .Vehicle& leaderData, Int32 lodPhysics) [0x00000] in <filename unknown>:0 
  at TrafficManager.Custom.AI.CustomCarAI.CustomSimulationStep (UInt16 vehicleId, .Vehicle& vehicleData, Vector3 physicsLodRefPos) [0x00000] in <filename unknown>:0 
  at VehicleManager.SimulationStepImpl (Int32 subStep) [0x00000] in <filename unknown>:0 
  at SimulationManagerBase`2[Manager,Properties].SimulationStep (Int32 subStep) [0x00000] in <filename unknown>:0 
  at VehicleManager.ISimulationManager.SimulationStep (Int32 subStep) [0x00000] in <filename unknown>:0 
  at SimulationManager.SimulationStep () [0x00000] in <filename unknown>:0 
  at SimulationManager.SimulationThread () [0x00000] in <filename unknown>:0   [Core]

More details in VictorPhilipp/Cities-Skylines-Traffic-Manager-President-Edition#185 (comment)

What is your license?

LICENSE files is missing and not specified elsewhere.
Can I distribute it anywhere else?

Please refer GitHub Docs for a tutorial.

(I also wish this have a latest Release for Epic users. GitHub Docs)

Citizen not found Error spamming the output_log (PublicTransportTours)

Citizen not found!
at System.Environment.get_StackTrace()
at NetNode.RemoveTargetCitizen(UInt16 instanceID, CitizenInstance ByRef data)
at ResidentAI.SetTarget(UInt16 instanceID, CitizenInstance ByRef data, UInt16 targetIndex, Boolean targetIsNode)
at CitizenAI.SetTarget(UInt16 instanceID, CitizenInstance ByRef data, UInt16 targetBuilding)
at HumanAI.StartMoving_Patch1(System.Object , UInt32 , Citizen ByRef , UInt16 , UInt16 )
at HumanAI.StartMoving(UInt32 citizenID, Citizen ByRef data, UInt16 sourceBuilding, TransferOffer offer)
at ResidentAI.StartTransfer(UInt32 citizenID, Citizen ByRef data, TransferReason reason, TransferOffer offer)
at TransferManager.StartTransfer(TransferReason material, TransferOffer offerOut, TransferOffer offerIn, Int32 delta)
at TransferManager.MatchOffers_Patch1(System.Object , TransferReason )
at TransferManager.SimulationStepImpl(Int32 subStep)
at SimulationManagerBase`2.SimulationStep(Int32 subStep)
at TransferManager.ISimulationManager.SimulationStep(Int32 subStep)
at SimulationManager.SimulationStep()
at SimulationManager.SimulationThread() [Core]

IPT: Vehicles of item class [serrvice: PublicTransport, sub service: PublicTransportTours, level: Level5] were requested. None was found.

Multiple buses load/unload at the same time

Feature request:
If multiple buses are at the same stop, is it possible to have the 2nd bus load/unload at the same time? It is painful to see the 2nd bus which is close enough to the stop doesn't load/unload. I understand this may be quite hard to implement.
Thanks!

Default value for unbunching aggressiveness is unreasonably high

I recently deleted my ImprovedPublicTransport2.xml to reset the values back to default. After some issues with buses stopping for over a minute at the bus stops I realized that the unbunching aggressiveness was at the maximum of 52. This is kind of an absurd value and the fact that it's the default could likely be a major issue to people who are new to the mod or C:S in general and don't know what a proper value would be. Even the tooltip indicates that high values will butcher your traffic.

Simulation error: Array index is out of range at BusAI.UnloadPassengers

quay_output_log-1.txt

Simulation error: Array index is out of range.
  at BusAI.UnloadPassengers (UInt16 vehicleID, .Vehicle& data, UInt16 currentStop, UInt16 nextStop) [0x00000] in <filename unknown>:0 
  at ImprovedPublicTransport2.Detour.BusAIDetour.ArriveAtTarget (UInt16 vehicleID, .Vehicle& data) [0x00000] in <filename unknown>:0 
  at BusAI.ArriveAtDestination (UInt16 vehicleID, .Vehicle& vehicleData) [0x00000] in <filename unknown>:0 
  at CarAI.SimulationStep (UInt16 vehicleID, .Vehicle& vehicleData, .Frame& frameData, UInt16 leaderID, .Vehicle& leaderData, Int32 lodPhysics) [0x00000] in <filename unknown>:0 
  at BusAI.SimulationStep (UInt16 vehicleID, .Vehicle& vehicleData, .Frame& frameData, UInt16 leaderID, .Vehicle& leaderData, Int32 lodPhysics) [0x00000] in <filename unknown>:0 
  at VehicleAI.SimulationStep (UInt16 vehicleID, .Vehicle& vehicleData, UInt16 leaderID, .Vehicle& leaderData, Int32 lodPhysics) [0x00000] in <filename unknown>:0 
  at TrafficManager.Custom.AI.CustomCarAI.CustomSimulationStep (UInt16 vehicleId, .Vehicle& vehicleData, Vector3 physicsLodRefPos) [0x00000] in <filename unknown>:0 
  at VehicleManager.SimulationStepImpl (Int32 subStep) [0x00000] in <filename unknown>:0 
  at SimulationManagerBase`2[Manager,Properties].SimulationStep (Int32 subStep) [0x00000] in <filename unknown>:0 
  at VehicleManager.ISimulationManager.SimulationStep (Int32 subStep) [0x00000] in <filename unknown>:0 
  at SimulationManager.SimulationStep () [0x00000] in <filename unknown>:0 
  at SimulationManager.SimulationThread () [0x00000] in <filename unknown>:0   [Core]

Non-depot building was selected as depot

I have the following error:

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

Simulation error: Non-depot building was selected as depot! Actual AI type: ShelterAI
  at ImprovedPublicTransport2.Detour.DepotAIMod.StartTransfer (UInt16 buildingID, .Building& data, TransferReason reason, TransferOffer offer, System.String prefabName) [0x00000] in <filename unknown>:0 
  at ImprovedPublicTransport2.Detour.TransportLineMod.HandleVehicleSpawn (UInt16 lineID, .TransportInfo info, Int32 targetVehicleCount, Int32 activeVehicleCount, TransferOffer offer) [0x00000] in <filename unknown>:0 
  at ImprovedPublicTransport2.Detour.TransportLineMod.SimulationStep (.TransportLine& thisLine, UInt16 lineID) [0x00000] in <filename unknown>:0 
  at TransportManager.SimulationStepImpl (Int32 subStep) [0x00000] in <filename unknown>:0 
  at SimulationManagerBase`2[Manager,Properties].SimulationStep (Int32 subStep) [0x00000] in <filename unknown>:0 
  at TransportManager.ISimulationManager.SimulationStep (Int32 subStep) [0x00000] in <filename unknown>:0 
  at SimulationManager.SimulationStep () [0x00000] in <filename unknown>:0 
  at SimulationManager.SimulationThread () [0x00000] in <filename unknown>:0   [Core]

Will try to investigate what actually causes this - if you have any suggestions how I can do it let me know. The error pops-up every few seconds its hard to investigate.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.