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

[Question] Unloader searching for trailer in farmlands #2663

Closed
Martin-L45 opened this issue Jul 27, 2023 · 5 comments
Closed

[Question] Unloader searching for trailer in farmlands #2663

Martin-L45 opened this issue Jul 27, 2023 · 5 comments
Assignees
Labels
question Further information is requested
Milestone

Comments

@Martin-L45
Copy link

Hi Courseplay team

When using a augerwagon to offload the combine. It seems like when it is full it is looking for a trailer in the farmland connected to the field not the field boundaries.
This causes some issues on a lot of maps. As many maps includes the main farm in the same farmland as the nearest field (where you usually store unused trailers)

Is this correct?
Would it be not better if it was using the field boundaries?

The map i am playing on i had to change the farmlands in Giants Editor to fit the fields. To stop the augerwagon going to the farm.
This is not a huge issue for me as it is not a big deal the change the farmlands. But i believe it can cause some issues for a lot of players.

The pictures are from Elmcreak just to show you whats going on.

Thank you for your hard work on this mod.

Farming Simulator 22 Screenshot 2023 07 27 - 21 23 48 29
Farming Simulator 22 Screenshot 2023 07 27 - 21 24 44 80
Farming Simulator 22 Screenshot 2023 07 27 - 21 24 58 20
Farming Simulator 22 Screenshot 2023 07 27 - 21 26 45 58
Farming Simulator 22 Screenshot 2023 07 27 - 21 27 03 56
log.txt

@Martin-L45 Martin-L45 added the question Further information is requested label Jul 27, 2023
@Tensuko
Copy link
Contributor

Tensuko commented Jul 28, 2023

It is the field boundaries + 20m, not the farmlands.

@Martin-L45
Copy link
Author

Martin-L45 commented Jul 28, 2023

Thats what i thought.
I just tried another setup in field 73 on elmcreak

The pictures show the trailer parked well beyond 20meters from the field border. but just as i move it within the farmlands area the unloader can find it.

This might be something on my end. But you can easily recreate in field 73.
Take a look and if you think it is ok we can just close the question.

Farming Simulator 22 Screenshot 2023 07 28 - 08 37 36 20
Farming Simulator 22 Screenshot 2023 07 28 - 08 38 00 63
Farming Simulator 22 Screenshot 2023 07 28 - 08 38 37 22
Farming Simulator 22 Screenshot 2023 07 28 - 08 38 44 67

Edit. If you move the trailer to the other side of the field where the farmlands fit the field edge the 20meter threshold works just fine.
Farming Simulator 22 Screenshot 2023 07 28 - 09 17 55 92
Farming Simulator 22 Screenshot 2023 07 28 - 09 18 11 21

@Tensuko
Copy link
Contributor

Tensuko commented Jul 28, 2023

Will have a look at this.

@Martin-L45
Copy link
Author

Awesome I cant ask for more than that.

If there is something about this. It might be causing part of the problems on the Huron Michigan 16x map Issue #2372
On this map the farmlands cover multiple fields and and farmyard

Farming Simulator 22 Screenshot 2023 07 28 - 09 38 10 19
Farming Simulator 22 Screenshot 2023 07 28 - 12 39 22 40

@Tensuko
Copy link
Contributor

Tensuko commented Jul 28, 2023

@pvaiko can you take a look?
log.txt
grafik
grafik
grafik

@pvaiko pvaiko self-assigned this Jul 28, 2023
pvaiko added a commit that referenced this issue Jul 29, 2023
Use the actual field polygon to find trailers
on or near the field, instead of the CpFieldUtil
functions as they go indirectly through the farmland
ID to find the field ID which may give false
positives if the farmland is significantly bigger
than the field.

#2663
@Tensuko Tensuko added this to the 7.3.0.0 milestone Jul 30, 2023
Tensuko added a commit that referenced this issue Aug 2, 2023
- fix for #2655
- fix for  #2663

- Modhub Update 7.3.0.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants