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

Mp bug fix and tasks improvement #2838

Merged
merged 6 commits into from
Oct 15, 2023
Merged

Conversation

schwiti6190
Copy link
Contributor

@schwiti6190 schwiti6190 commented Oct 9, 2023

  • Info text message should now be cleared correctly on the server
  • The task desciptions on the ai map, while running where adjusted.

Info: Not every task description is yet used but should be in the near future

Test Multiplayer:

  • Start and stop of every driver
  • Checking if the info text messages are working correctly

@schwiti6190 schwiti6190 requested review from pvaiko and Tensuko October 9, 2023 08:36
end
if hasFinished and vehicle:getCpSettings().foldImplementAtEnd:getValue() then
--- Folds implements at the end if the setting is active.
vehicle:prepareForAIDriving()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't doing this rather belong to the strategy?

Copy link
Contributor

@pvaiko pvaiko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one question

@schwiti6190 schwiti6190 requested a review from pvaiko October 10, 2023 17:53
Copy link
Contributor

@pvaiko pvaiko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One more question ...

--- Event raised when the driver was stopped.
---@param hasFinished boolean|nil flag passed by the info text
function AIDriveStrategyCourse:onFinished(hasFinished)
self:raiseControllerEvent(self.onFinishedEvent, hasFinished)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hasFinished is not used in any onFinished() controller function, or is this for the future only?

schwiti6190 and others added 6 commits October 15, 2023 11:38
… description translations.

- Info text message should now be cleared correctly on the server
- The task desciptions on the ai map, while running where adjusted.
  - No every translation is yet used, but it gives a good roadmap on whats next with the tasks

Test Multiplayer:
- Start and stop of every driver
- Checking if the info text messages are working correctly
@schwiti6190 schwiti6190 force-pushed the MP-Bug-fix-and-tasks-improvement branch from 267bc6d to c1bae97 Compare October 15, 2023 09:39
@Tensuko Tensuko merged commit 8752a07 into main Oct 15, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants