bloodypenguin / improvedpublictransport Goto Github PK
View Code? Open in Web Editor NEWImproved Public Transport 2 mod for game Cities: Skylines
Improved Public Transport 2 mod for game Cities: Skylines
My first two lines are working properly. New lines are outside the 25 tile "normal" radius. Am having trouble trouble-shooting. Any ideas?
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
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)
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!
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.
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!
video showing problem:
https://drive.google.com/file/d/1QIm4lT8UpGKGU_uDc9CEDQliU0y1juXq/view?usp=sharing
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.
There are quite a few comments in the workshop community posts about this, but no one seems to have opened a GitHub issue yet: https://steamcommunity.com/sharedfiles/filedetails/comments/928128676
Here's a gif showing what happens when you try and edit a vehicle's capacity or maintenance cost. Every time you click Apply, it just randomly sets whatever numbers it wants to.
Hi BloodyPenguin.
I installed a test version of IPT2 from your google Drive.
ModTools shows me an error when in the option I want to change the "vehicle on new lines" slider.
Here is a screenshot https://imgur.com/a/oyCrc4Z
output_log.txt
Feature request:
Is it possible to make bus load passengers when they are waiting for unbunching at the bus stop?
Does unbunching also applies to other vehicles (e.g. tram, etc)? If so, it would be great to have this feature for them too.
Thanks.
This was originally requested in TM:PE VictorPhilipp/Cities-Skylines-Traffic-Manager-President-Edition#158.
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]
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.
As the title suggests you can't make individual prices for each line now. You can just change the prices of every bus line at once.
Running with the mod I get the error
"Field .AircraftAI.m_transpoprtInfo not found. [System.MissingFieldException".
Any ideas?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.