Courseplay / courseplay

Courseplay for Farming Simulator 2019
http://courseplay.github.io/courseplay
GNU General Public License v3.0
953 stars 528 forks source link

Game locks up while Calculating Offsetcourse for Multitool #4994

Closed moose31608 closed 4 years ago

moose31608 commented 4 years ago

After making a course and hit start to drive it locks up computer

Tensuko commented 4 years ago

logfile ? ... https://github.com/Courseplay/courseplay/wiki

moose31608 commented 4 years ago

It’s doesn’t do it when you use 1 tractor. But if you setup multi tools in the same field it locks up

Sent from my iPhone

On Feb 29, 2020, at 5:19 PM, Tensuko notifications@github.com wrote:

 logfile ? ... https://github.com/Courseplay/courseplay/wiki

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

moose31608 commented 4 years ago

And all mods are in game

Sent from my iPhone

On Feb 29, 2020, at 5:19 PM, Tensuko notifications@github.com wrote:

 logfile ? ... https://github.com/Courseplay/courseplay/wiki

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

Tensuko commented 4 years ago

Logfile.......

moose31608 commented 4 years ago

I don’t understand the log file? Where is it at

Sent from my iPhone

On Mar 1, 2020, at 2:54 AM, Tensuko notifications@github.com wrote:

 Logfile.......

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

Tensuko commented 4 years ago

..\My Games\FarmingSimulator2019\log.txt

That file, drag and drop it into the comment box.

moose31608 commented 4 years ago

It’s what ever you changed in 6.01.00388. Because don’t have any problems in 6.01.00387

Sent from my iPhone

On Mar 1, 2020, at 2:54 AM, Tensuko notifications@github.com wrote:

 Logfile.......

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

moose31608 commented 4 years ago

log.txt

moose31608 commented 4 years ago

there problly wont be anything for it when the computer locks up I have to manually shut it down

Tensuko commented 4 years ago

Warning: Loading file with invalid case 'C:/Users/Jim/Documents/My Games/FarmingSimulator2019/mods/Courseplay_6_01_00377.zip'. Load mod: Courseplay_6_01_00377 (Version: 6.01.00377) (Hash: 768e332f6a26954071c158ee22642011)

Warning: Loading file with invalid case 'C:/Users/Jim/Documents/My Games/FarmingSimulator2019/mods/Courseplay_6_01_00387.zip'. Load mod: Courseplay_6_01_00387 (Version: 6.01.00387) (Hash: 38b5a192866cd2cb5864ec5d7f373c19)

Warning: Loading file with invalid case 'C:/Users/Jim/Documents/My Games/FarmingSimulator2019/mods/Courseplay_6_01_00390.zip'. Load mod: Courseplay_6_01_00390 (Version: 6.01.00390) (Hash: 67a40b3b7cf57b969c8b2f47f66ede5a)

This is exactly the reason why I tell ppl to ONLY rename the file to FS19_Courseplay so you will notice when you have more then one Version in mods-Folder.

Delete all old CP Versions (390 is newest) Beside that, what is this one before you load mod: Warning: Loading file with invalid case

moose31608 commented 4 years ago

It still does it with only 6.01.00390

Sent from my iPhone

On Mar 1, 2020, at 11:13 AM, Tensuko notifications@github.com wrote:

 Warning: Loading file with invalid case 'C:/Users/Jim/Documents/My Games/FarmingSimulator2019/mods/Courseplay_6_01_00377.zip'.

Load mod: Courseplay_6_01_00377 (Version: 6.01.00377) (Hash: 768e332f6a26954071c158ee22642011) Warning: Loading file with invalid case 'C:/Users/Jim/Documents/My Games/FarmingSimulator2019/mods/Courseplay_6_01_00387.zip'.

Load mod: Courseplay_6_01_00387 (Version: 6.01.00387) (Hash: 38b5a192866cd2cb5864ec5d7f373c19) Warning: Loading file with invalid case 'C:/Users/Jim/Documents/My Games/FarmingSimulator2019/mods/Courseplay_6_01_00390.zip'. Load mod: Courseplay_6_01_00390 (Version: 6.01.00390) (Hash: 67a40b3b7cf57b969c8b2f47f66ede5a)

This is exactly the reason why I tell ppl to ONLY rename the file to FS19_Courseplay so you will notive when you have more then one Version in mods-Folder.

Delete all old CP Versions (390 is newest) Beside that, what is this one before you load mod: Warning: Loading file with invalid case

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

Tensuko commented 4 years ago

Some other Rules: Only one Map in Mods Folder. I want to see a screenshot of the course, the settings, then tools.

And when you are done with cleaning up I want to see the new logfile if you still have the same error msg.

Why I ask for all this ? -> I don't have any Problem with MultiTools.

moose31608 commented 4 years ago

log.txt

moose31608 commented 4 years ago

And it didn’t start doing this until global company was added. I don’t use it

Sent from my iPhone

On Mar 1, 2020, at 11:33 AM, Tensuko notifications@github.com wrote:

 Some other Rules: Only one Map in Mods Folder. I want to see a screenshot of the course, the settings, then tools.

And when you are done with cleaning up I want to see the new logfile if you still have the same error msg.

Why I ask for all this ? -> I don't have any Problem with MultiTools.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

Tensuko commented 4 years ago

Can't reprodice with only CP and EasyDev (no GC installed). fsScreen_2020_03_07_00_04_24

moose31608 commented 4 years ago

Well never had the problem until 6.01.00389 and beyond

Sent from my iPhone

On Mar 6, 2020, at 6:05 PM, Tensuko notifications@github.com wrote:

 Can't reprodice with only CP and EasyDev (no GC installed).

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

moose31608 commented 4 years ago

How are you settling up the course?

Sent from my iPhone

On Mar 6, 2020, at 6:05 PM, Tensuko notifications@github.com wrote:

 Can't reprodice with only CP and EasyDev (no GC installed).

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

manierim commented 4 years ago

Latest version (6.01.00392) it does not freeze completely for me.

When starting a 2 tools course for cotton harvesting it freezes the game (unresponsive, no radio, etc.) for a rather long time (30 secs), then the vehicle start and everything keep working normally.

It happened for both vehicles...

The log is clean of errors or warnings

Tensuko commented 4 years ago

@manierim this is not a lock up this is the GIANTS Engine getting to its limit while calculating the offset Lanes for the 2 Worktools.

Nothing to worry about.

moose31608 commented 4 years ago

I have waited 5 minutes and still doesn’t work have to shutdown computer manually down

Sent from my iPhone

On Mar 7, 2020, at 6:44 AM, Marco Manieri notifications@github.com wrote:

 Latest version (6.01.00392) it does not freeze completely for me.

When starting a 2 tools course for cotton harvesting it freezes the game (unresponsive, no radio, etc.) for a rather long time (30 secs), then the vehicle start and everything keep working normally.

It happened for both vehicles...

The log is clean of errors or warnings

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

pvaiko commented 4 years ago

Yes, this is due to the multitool change, we now recalculate the entire course for each vehicle of the group otherwise the inner corners will never be smooth. On very big fields with narrow implements this can take a while.

Not sure if there's a better solution, this at least should result in driveable courses for all vehicles.

moose31608 commented 4 years ago

If you guys don’t believe me then come to my house and I’ll prove it to you.

Sent from my iPhone

On Mar 7, 2020, at 8:22 AM, Peter Vaiko notifications@github.com wrote:

 Yes, this is due to the multitool change, we know recalculate the entire course for each vehicle of the group otherwise the inner corners will never be smooth. On very big fields with narrow implements this can take a while.

Not sure if there's a better solution, this at least should result in driveable courses for all vehicles.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

moose31608 commented 4 years ago

It will make the course with know problem. When I hit start to drive that when it locks up

Sent from my iPhone

On Mar 7, 2020, at 8:22 AM, Peter Vaiko notifications@github.com wrote:

 Yes, this is due to the multitool change, we know recalculate the entire course for each vehicle of the group otherwise the inner corners will never be smooth. On very big fields with narrow implements this can take a while.

Not sure if there's a better solution, this at least should result in driveable courses for all vehicles.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

Misamangame commented 4 years ago

Hello all,

I can confirm this issue from atleast .390 version. I just tried newest .392 and it is still the same. when I set the course for 5 combines, course will set up nicely, but when I start first combine to run game freezes completely. log.txt

Course 33

moose31608 commented 4 years ago

Thank you.

Sent from my iPhone

On Mar 7, 2020, at 9:04 AM, Misamangame notifications@github.com wrote:

 Hello all,

I can confirm this issue from atleast .390 version. I just tried newest .392 and it is still the same. when I set the course for 5 combines, course will set up nicely, but when I start first combine to run game freezes completely. log.txt

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

pvaiko commented 4 years ago

@Misamangame can you turn on debug channels 14 and 7 and post a log?

Misamangame commented 4 years ago

@pvaiko sure I can, turned them on before course generation, log.txt

pvaiko commented 4 years ago

Bummer. Not much to see there. Can you post the xml file of this course?

moose31608 commented 4 years ago

Don’t know what had changed but I didn’t have any problem with 6.01.00387 but after that update that’s when my computer started locking up.

Sent from my iPhone

On Mar 7, 2020, at 3:15 PM, Peter Vaiko notifications@github.com wrote:

 Bummer. Not much to see there. Can you post the xml file of this course?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

Tensuko commented 4 years ago

We know what have changed.

Misamangame commented 4 years ago

@pvaiko not sure if I did it correctly https://gist.github.com/Misamangame/1bf7e9c31352ce5408def398667963eb

Tensuko commented 4 years ago

What I can for sure say is that it is not the Computer that locks up, it is simply the game Engine that takes a long time to calculate the Offsetcourse. How can I tell you this ? -> The rest on my Computer runs smooth. And it does work: fsScreen_2020_03_08_11_35_10 This is Wild West x16 Map, not the biggest Field but 4k+ Waypoints. There is maybe an improovement in calculation needed.

pvaiko commented 4 years ago

@Misamangame thanks, got it, tried on the Ravenport map (don't know which map you are using, in any case, it covers the entire standard map), here's what I see.

  1. This course is quite big, has over 9000 waypoints, of which 3000 are on the headland (these take long to generate with offset), almost 50 km long.
  2. Just loading this course from the disk takes 50 seconds on my laptop.
  3. It takes 2 minutes for my slow laptop to generate the offset course for a combine but I see no lock up or freeze.
pvaiko commented 4 years ago

Was a stupid bug, try with 394 and later.

moose31608 commented 4 years ago

That fixed it. It took 3 to 5 seconds to start. Thank you

Sent from my iPhone

On Mar 8, 2020, at 9:16 AM, Peter Vaiko notifications@github.com wrote:

 Was a stupid bug, try with 394 and later.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

Tensuko commented 4 years ago

I guess this is fixed then, closed.

moose31608 commented 4 years ago

Its doing it on the seeding log.txt

Tensuko commented 4 years ago

Thats a different Issue, pls make a new one: (Sry I was typing many words in german, forgot to swith my Brain...) 2020-03-08 13:01 Error: Running LUA method 'update'. 2020-03-08 13:01 C:/Users/Jim/Documents/My Games/FarmingSimulator2019/mods/Courseplay_6_01_00394/PurePursuitController.lua:537: attempt to index field 'course' (a nil value)

moose31608 commented 4 years ago

I don’t know how to do it. I just download them and use it

Sent from my iPhone

On Mar 8, 2020, at 1:14 PM, Tensuko notifications@github.com wrote:

 Das ist ein anderer Fehler, bitte neues Issue machen: 2020-03-08 13:01 Error: Running LUA method 'update'. 2020-03-08 13:01 C:/Users/Jim/Documents/My Games/FarmingSimulator2019/mods/Courseplay_6_01_00394/PurePursuitController.lua:537: attempt to index field 'course' (a nil value)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.