-
Notifications
You must be signed in to change notification settings - Fork 85
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
Compatibility with Sunset Harbor #794
Conversation
ops... forgot to update CI... |
I compared the code to other custom AI. This is just a comment. no need to make any changes in this PR. |
in the decompiler I noticed there is a line like this:
I compared it to
So you might want to add trolly bus in |
What is the deal with StockPathFind.cs? its not even compiled. is it only for information? If that is the case it is now outdated. maybe delete it or put a comment that it is outdated ? preferably with an issue number. speaking of the devil are there any issues tracking redundant AI/pathfind code? if there is its worth referencing the issue in the code |
its worth to use
and
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I looked at several other places in the code and I can see that it works for as long as there will be no trolly-only custom road assets.
@krzychu124 is that intentional?
Each time there is game update we decompile the stock pathfinder and diff it to the StockPathFind.cs to see what's changed. |
There are definitely trolly only roads being worked on. |
EDIT: we should do some testing after a trolley only road is released. I don't know how to create an asset ( i fail every time i try) otherwise I would have created one myself for testing. This review should be merged in before a trolleyroad road asset is released and then when a trolleybus only road is created we come back to this. @krzychu124 Please search for tram everywhere except for Lane connector also does not work for trolley only roads. |
@kianzarrin ok will do, also I've just noticed that nullpointer fix cause some error on second load, so possibly breaks hot-loading... |
I'll ask around the creator communities to get clearer picture of what they're working on and rough ETA on when it might land in workshop. |
I need to figure out what is wrong with PathManager and it will be ready for merge. |
Yup, we can refer to the PR in both sets of release notes, and just have one release for 11.2.1 |
I think NullPointerException was fixed.
I didn't noticed any issues or errors. Would be good if someone could confirm these results. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This has not been addressed but I don't consider it as part of this review so I approved. |
@kianzarrin can you create issue to track that domant code so we remember to sort it later? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
@kianzarrin I'm not sure what do you mean by a lot of repeated/dormant code, but we will fix it in next PR. Thanks for review 😉 |
@krzychu124 dormant ... I made a mistake. I don't understand how redirection framework works. repeated ... yes. for example trolley bus custom AI looks like a copy of tram custom AI with a couple of minor modifications. Ideally repeated code should be shared. |
No, because you will have hard time to spot a difference when they(CO) change anything |
Compatibility with Sunset Harbor
PathUnits.m_vehicleTypes
error,