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_MP] Unloader not continuing the after unloading into Trailer #1986

Closed
PapaTim68 opened this issue Oct 7, 2022 · 5 comments
Closed

[BUG_MP] Unloader not continuing the after unloading into Trailer #1986

PapaTim68 opened this issue Oct 7, 2022 · 5 comments
Assignees
Labels
bug Something isn't working mod conflict conflicts with other mods multiplayer regarding multiplayer
Milestone

Comments

@PapaTim68
Copy link

PapaTim68 commented Oct 7, 2022

Steps to reproduce
Dedicated Server
Activate the new unloading mode.

Actual behavior
After loading from the Combine, it drives to the waiting trailer.
Unloads itself and then, just waits with the pipe out.

Expected behavior
Fold the Pipe Back in and go back to the combine or wait for it to be full agian.

Screenshots
Might be related after starting the mode, and it finds the Course to the Combine these show up.
grafik
grafik

Courseplay version
Version used: 7.1.1.3

Client Log
log.txt
Server Log
Server log is also spammed/overflows, no way to get a log that is not just this a few thousend times, with:

2022-10-07 21:57 :06 [info lp103086] [string "dataS/scripts/utils/MathUtil.lua"]:115: bad argument #2 to 'max' (number expected, got nil)
2022-10-07 21:57 LUA call stack:
=D:/home/sid_3118543/farmingSim_2022/profile/mods/FS22_Courseplay/scripts/CpUtil.lua (220) : printCallstack
=[C] (4294967295)
dataS/scripts/utils/MathUtil.lua (115) : max
=D:/home/sid_3118543/farmingSim_2022/profile/mods/FS22_Courseplay/scripts/ai/controllers/PipeController.lua (250) : clamp
=D:/home/sid_3118543/farmingSim_2022/profile/mods/FS22_Courseplay/scripts/ai/controllers/PipeController.lua (191) : moveDependedPipePart
=D:/home/sid_3118543/farmingSim_2022/profile/mods/FS22_Courseplay/scripts/ai/controllers/PipeController.lua (26) : updateMoveablePipe
=D:/home/sid_3118543/farmingSim_2022/profile/mods/FS22_Courseplay/scripts/ai/AIDriveStrategyCourse.lua (265)
=D:/home/sid_3118543/farmingSim_2022/profile/mods/FS22_Courseplay/scripts/ai/AIDriveStrategyCourse.lua (242) : raiseControllerEvent
=D:/home/sid_3118543/farmingSim_2022/profile/mods/FS22_Courseplay/scripts/ai/AIDriveStrategyUnloadCombine.lua (1629) : updateImplementControllers
dataS/scripts/vehicles/specializations/AIFieldWorker.lua (255) : update
=[C] (4294967295)
=D:/home/sid_3118543/farmingSim_2022/profile/mods/FS22_Courseplay/scripts/CpUtil.lua (220) : xpcall
=D:/home/sid_3118543/farmingSim_2022/profile/mods/FS22_Courseplay/scripts/specializations/CpAIFieldWorker.lua (360) : try
dataS/scripts/specialization/SpecializationUtil.lua (19)
dataS/scripts/vehicles/Vehicle.lua (1881) : raiseEvent
dataS/scripts/network/NetworkNode.lua (129) : update
dataS/scripts/network/Server.lua (62) : updateActiveObjects
dataS/scripts/BaseMission.lua (1134) : update
dataS/scripts/FSBaseMission.lua (1972) : update
dataS/scripts/missions/mission00.lua (577) : update
dataS/scripts/main.lua (1229) : update

Player on the server
1

Dedicated server or local hosted server
Dedicated server

Map
NF Marsch x4 oG

Vehicles/ implements involved
Holmer (Giants MOD)
John Deer 8R 310 + Krone GX 520

Relevant script mods
Autodrive and VCA

@PapaTim68 PapaTim68 added bug Something isn't working multiplayer regarding multiplayer labels Oct 7, 2022
@Tensuko Tensuko added the under investigation trying to figure out whats happening label Oct 8, 2022
@PapaTim68
Copy link
Author

I did a more detailed test in SP. Also got a log this time.
log.txt
Also narrowed the start of the Lua Error down to the Unloader extending its pipe.
By accident the combine pushed the waiting trailer and so the unloader never Reached the Trailer, but as soon as the trailer would have been reached and the pip was extended the Error showed up in the log.

@schwiti6190
Copy link
Contributor

@PapaTim68 Hi there does this bug only appear with this overloader mod or also with other overloader vehicles/trailers ?

@schwiti6190 schwiti6190 added mod conflict conflicts with other mods and removed under investigation trying to figure out whats happening labels Oct 9, 2022
schwiti6190 added a commit that referenced this issue Oct 9, 2022
@Tensuko Tensuko added this to the 7.1.1.4 milestone Oct 9, 2022
@PapaTim68
Copy link
Author

I haven't tryed that yet, but I will try later today, when I am back at my PC.

@PapaTim68
Copy link
Author

I just tested it, and it seems like that it's only coming up on the Holmer Overloader. I tested with Vanilla Vehicles and seems like it doesn't come up. Furthermore, I assume it's due to the Holmer only having one movable part, the nuzzle.

Tensuko added a commit that referenced this issue Oct 10, 2022
- Fix for #1990
- Fix for #1985
- Fix for #1986
- Adjust the default pipe position, trailers had to be set +1m to be able to unload the combine. The global pipe position is set +1m towards the front.
- The offset for the unload position was depending on the root vehicle. Depending on the angle between the tractor and the implement, we where too close or too far away.
- Fix seeder refill message, even the tool doesn't have a chamber for fertilizer. #1975 Thanks to @tn4799
@Tensuko
Copy link
Contributor

Tensuko commented Oct 10, 2022

The Callstack with the Holmer and some other AugerWagons should be fixed.

However the problem with the msg is not sure when and how it happens.
This might get investigated later if it still occoures, since we did some changes to MP.
Might make a new Issue when you find something out :)

@Tensuko Tensuko closed this as completed Oct 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working mod conflict conflicts with other mods multiplayer regarding multiplayer
Projects
None yet
Development

No branches or pull requests

3 participants