Courseplay / Courseplay_FS22

Courseplay for Farming Simulator 2022
GNU General Public License v3.0
841 stars 179 forks source link

[BUG_SP] Incorrect detection of field boundaries for grape/olive fields at a 0 degree angle #3177

Closed JoneZ42 closed 6 months ago

JoneZ42 commented 6 months ago

Steps to reproduce Place a Grape or Olive field in a exact 0-degree angle ( maybe same at 90° - was not tested by me) Set up a field job

Actual behavior The field boundary is narrow and runs diagonally to the corners, the course is a single diagonal line.

Expected behavior The field boundary is detected and the course is set up correctly

Screenshots courseplay olives

Courseplay version Courseplay for FS22 v7.4.1.1

Log log.txt

Map Erlengrad

Vehicles/ implements involved Which vehicle or implement? - All Vehicles Mod yes/no ? - No

Relevant script mods Tested in a Savegame with only Curseplay on

Tensuko commented 6 months ago

Thats not the complete logfile.

Tensuko commented 6 months ago

Tried as perfect straight as possible. No problems. Need the complete logfile. Also what tractor and tool do you use there? grafik

JoneZ42 commented 6 months ago

Hi, Oh dear, I think I found a edge-case - I'm feeling like the most accurate farmer on earth...

Here is a "HowTo: I create a perfect 0-degree olive field."

  1. Make a Straight line with the painting tool or use a field border as orientation. fsScreen_2024_03_30_16_12_03
  2. Choose the olives and activate the "raster mode" (C) - in German, it's "Raster Platzierung"
  3. While placing the first row, try to figure out if on or beside the orientation line, place it when you think it fits fsScreen_2024_03_30_16_15_28
  4. Control in TopDown View, if it's 100% accurate (no "steps" in the field border) - the longer the row is, the better it can be seen - to be sure fsScreen_2024_03_30_16_16_07
  5. expand the field as usual

Then, set up the course, etc. fsScreen_2024_03_30_16_17_35 fsScreen_2024_03_30_16_18_05

Here is the log file of the complete process. log.txt

It's a fresh savegame with only couseplay on and the one tractor as you can see in the screenshots, but I tried to create a course with other machines - it's the same (if the field is created as above)

Tensuko commented 6 months ago

Because you painted the field. I also just used the the field border.

Do not paint it. Use I think it is F4 do show the grid if you rly need it.

JoneZ42 commented 6 months ago

I don't now, i think its not becouse of the painting... grafik Note: With grapes and grid(f4) it is much easier to catch the 0° I unintentionally tested at 90°, no problem - so it only seems to be the case at 0°

I don't want to bother you - i'm at a point where it feels like this, couse i can rly live with this bug

but still, thx for the advice with f4 - could be useful in other cases

FarmerBoy2007 commented 6 months ago

Just ran into exactly the same issue, here's a log file from a fresh save game: log.txt

An easy way I found to place your vines perfectly straight is to first place a single vine segment (as short as possible) with grid snapping on, and then extend it.

Tensuko commented 6 months ago

Why you actually have to do it 0.000° straight... Its a game guys.... To be honest if it is just happening with perfect straight by doing special tricks, I am tempted to close this as won't fix...

JoneZ42 commented 6 months ago

You're right. It's just a game, but every person plays it differently. Some people like perfection. I initially found this bug on a field I created when I played without course play. I wanted a field I could easily drive over with GPS, so I made one with - as it turned out later - 0°.

From my point of view, the bug does not need to be fixed. If I feel like it, I can create fields with 90° or 45° in perfect angles.

So long, and thx for your time

Tensuko commented 6 months ago

Well, it might be fixed when we have the new generator up and running, then we also make a refactoring of the vine generator.