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

[BUG_SP] Multiple tools broken #3379

Closed
nitroSkirata opened this issue Sep 1, 2024 · 8 comments · Fixed by #3433
Closed

[BUG_SP] Multiple tools broken #3379

nitroSkirata opened this issue Sep 1, 2024 · 8 comments · Fixed by #3433
Assignees
Labels
bug Something isn't working
Milestone

Comments

@nitroSkirata
Copy link

nitroSkirata commented Sep 1, 2024

READ FIRST
https://github.com/Courseplay/Courseplay_FS22/wiki

Steps to reproduce
Generate a course with 3 tools, then try to start any vehicle.
Only the center one starts, the rest stay where they are with the log error:
Courseplay_FS22/scripts/Course.lua:1454: attempt to call global 'calculateHeadlandTrack' (a nil value)

Actual behavior
Only the center one starts, the rest stay where they are with the log error:
Courseplay_FS22/scripts/Course.lua:1454: attempt to call global 'calculateHeadlandTrack' (a nil value)

Expected behavior
All vehicles work

Screenshots
(https://youtu.be/suxX4fvXptg)
Courseplay version
Version used: 7.4.2.0

Log
Please attach a log with all debug channels active.
For help with the debug channels,
please check out the readme at the github front page.

log.txt

Map
Map played on.
Elmcreek

Vehicles/ implements involved
Which vehicle or implement?
Topliner combine

Mod yes/no ?
No

Relevant script mods
Mods like Autodrive or VCA and so on.
None

@nitroSkirata nitroSkirata added the bug Something isn't working label Sep 1, 2024
@bbielcentennial
Copy link

I am having the same issue, tested with potatoes and carrots with 3 combine courses that were working on previous version.

@Snigyman
Copy link

Snigyman commented Sep 1, 2024

I have the same problem, when i want start or generate course with two vehicles, i recive same error.

@pvaiko
Copy link
Contributor

pvaiko commented Sep 1, 2024

Sorry about this folks, looks like we somehow completely missed testing the multitools.

@Maestro-Ralf
Copy link

I have the same problem.If there is more than 1 tool .

@Rambo99
Copy link

Rambo99 commented Sep 3, 2024

I confirm the existence of the problem.
2024-09-03 11:37 Error: Running LUA method 'update'.
C:/Users/User_name/Documents/My Games/FarmingSimulator2022/mods/FS22_Courseplay/scripts/Course.lua:1454: attempt to call global 'calculateHeadlandTrack' (a nil value)

@anothergene
Copy link

Ditto with two. Same error.

@CrazyCarrot911
Copy link

I can create tools with 2-5 tools but they all do not work as intended. One problem is the tool offset, I need to manually offset left and right tool from middle tool so the didnt overlap by like 90% (!). Another issue is with the large Giant plow. You cannot create a multi tool course that doesn't have funny loops and circles, also reaching beyond field borders, if you have more than 2 tools and 2 headlands or 3 or more tools... the lanes also overlap by like 90%, can manually adjust with offset but that's not working when the plow changes sides :(

@CrazyCarrot911
Copy link

Tobi,
I had the same "not starting" for some multi-tools. I had to reload the game to get them moving....but that only led to the next problem. Wrong course/offset kind of thing.
Best is to not use Multi-Tool until fixed or revert back to the previous version, which I did as I need Multi-Tool quite often

@pvaiko pvaiko linked a pull request Sep 15, 2024 that will close this issue
@Tensuko Tensuko added this to the 7.4.2.1 milestone Sep 17, 2024
Tensuko added a commit that referenced this issue Sep 20, 2024
WARNING: While this version is backwards compatible with older savegames, it'll write the courses to the savegame in a new format. Vesions before 7.4.2.0 WILL NOT BE ABLE TO READ the games saved with this version! If you install this version, and decide to revert to an old one, YOU MUST BACK UP YOUR OLD SAVEGAME before!

- Even row width setting does work now #3423
- Fix for a strange waypoint transformation #3399
- Narrow field is now fixed too #3387
- Transition fix #3387
- Another fix for Bale Unloader #3381
- Fix for #3378
- Fix for plows not starting the work after headland #3413
- Vehicles in 180° turns near a diagonal field border are not leaving the field anymore.
- Fix for Multitool #3379

New for Multitool:
- A multitool now contains 2-5 single course for each lane depending on the amount of vehicles you selected.
- That course is switched when switching the lane.
- The old "symetric lane change" got renamed to "switching lanes" and hopefully is more clear about what it does and have to be selected in the generator before generating the course.
- Multitool courses saved by older versions will not work, you'll need to regenerate them!

Known Issue:
After reconnecting to the server, the selected lane setting for multitool gets reset and won't show the correct lane, but the tool keeps working on the correct one. This will be fixed in a later version, as we don't want to wait longer with important fixes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

9 participants