Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not all Cargo airport stand is used #1354

Open
praveenjabakar opened this issue Feb 3, 2022 · 13 comments · May be fixed by #1458
Open

Not all Cargo airport stand is used #1354

praveenjabakar opened this issue Feb 3, 2022 · 13 comments · May be fixed by #1458
Labels
PATHFINDER Pathfinding tweaks or issues Vehicle Behavior Vehicle behavior related issue

Comments

@praveenjabakar
Copy link

When using vanilla , say if i have 3 Cargo airport stand, all placed as row then cargo planes seems to coming to all 3. but with our Mod, it seems always goes to first Cargo stand. I am not sure because of this path finding. Is it possible to switch off using path finding for airport ?

@praveenjabakar praveenjabakar added BUG Defect detected triage Awaiting issue categorisation labels Feb 3, 2022
@originalfoo originalfoo added PATHFINDER Pathfinding tweaks or issues Vehicle Behavior Vehicle behavior related issue labels Feb 3, 2022
@originalfoo
Copy link
Member

@krzychu124 in one of the dev diaries it mentioned CO had changed something with regards to aircraft pathfinding to ensure they use all stands - maybe TM:PE needs to incorporate same update?

image

https://forum.paradoxplaza.com/forum/developer-diary/airports-dev-diary-5-free-update-patch-notes.1506966/

@krzychu124
Copy link
Member

The thing is the aircraft must want to go to different stand. That decision is done outside of TMPE. I'll take a look later.

@praveenjabakar
Copy link
Author

praveenjabakar commented Feb 4, 2022

Again last night , i have ran with vanilla. It goes to all airport stand and noticed, some airplanes are circling around if no taxi way.

Morning i have switched on, cleared traffic. all goes to 1 stand + noticed, airplanes are not circling instead it just lands and vehicles overlapes to each other, means 2 or 3 planes in 1 location standing,

I badly need this mod for main junction , lane connector, vehicle trestriction , dynamic lane , speed limit and timed traffic light. Please help to fix for air craft or ignore it to vanilla for now is highly appreciated.

As of now, i am tricking like. turn off all stand building and keep enabling 1 by 1, once vehicles assigned to 1 stand which is in last position , so atleast all 4 stand gets in use. I dont know how it works permenantly.
Thanks a lot brother.

@krzychu124
Copy link
Member

TM:PE is only searching for path for the aircrafts for now, because TM:PE is replacing whole pathfinding. Pathfinding for aircrafts is 1:1 as vanilla, no tweaks or any changes. Other behaviour like stands assignment, taxiing, taking off, landings are fully handled by vanilla code. Because of that none of TM:PE tools work for taxiways - we don't support such vehicles at all and I don't know yet why they do what they do with TMPE enabled 🤷‍♂️

Adding support will be quite hard as all code is designed for road/rail vehicles only and Aircrafts when moving can do both (move on the ground and also fly, obviously and transition between states (take off/landing)) so a lot of additional code for state detection (on ground/flying) will be required.

It will be huge task.

@praveenjabakar
Copy link
Author

Thanks bro. Is there a way to enable full log?

@praveenjabakar
Copy link
Author

Looks like problem with CitiesHarmony used. I just replaced CitiesHarmony new version ( yeah may be it is under beta not sure) and recompiled. Now Cargo stand is going like expected + all my garbage collector is collecting too. I dont what is the purpose of CitiresHarmony dll. Anyway let me try to check.

@originalfoo
Copy link
Member

Which version of harmony were you using previously?

@praveenjabakar
Copy link
Author

praveenjabakar commented Feb 4, 2022

Currently used in nuget and this mod uses below
CitiesHarmony.API" version="2.0.0"
CitiesHarmony.Harmony" version="2.0.4"

I have used the pre-release vesion as below

"CitiesHarmony.API" version="2.1.0-rc"
"CitiesHarmony.Harmony" version="2.2.0-rc"

@originalfoo
Copy link
Member

I'm assuming you're on Linux?

@praveenjabakar
Copy link
Author

Windows 10 brother

@krzychu124
Copy link
Member

You can use stable version of Harmony, I also tested experimental on 2 days ago, both work without any issues. TMPE is shipped with CitiesHarmony,Api.dll which in game communicates and requests the main Cities.Harmony.dll, either this (stable) or that (experimental) depending on which is installed.
Experimental is currently at final phase so will be released as Stable soon ™️ AFAIK

Without Cities Harmony mod TM:PE won't work at all and it's required since 11.6.x+. Up to v11.5.2 previous version was included(embedded) but now migrated to external version to be easier to keep updated. Also you can't have multiple versions of Harmony installed, just a side note.

@praveenjabakar
Copy link
Author

Agreed bro,let me wait for stable release then and check it again. Currently TM PE mod screws up cargo whereas vanilla pathfinding works fine.

image

@krzychu124
Copy link
Member

I can't reproduce that problem... What I'm doing wrong? (city is super tiny, <1k)🤔

image
image
image

@krzychu124 krzychu124 removed BUG Defect detected triage Awaiting issue categorisation labels Aug 16, 2022
@krzychu124 krzychu124 linked a pull request Aug 16, 2022 that will close this issue
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PATHFINDER Pathfinding tweaks or issues Vehicle Behavior Vehicle behavior related issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants