Courseplay: vehicle drives only with 10 km/h - Mode2 only (?)

Created on 27 Jul 2019  ·  42Comments  ·  Source: Courseplay/courseplay

my tractors and combines only drive 10 km/h even if he is able to drive faster. If i change the settings to maximum speed its the same.

All 42 comments

All repaired ?
Wich Mode ?
What are they doing ?
Logfile ?
Maybe a Screenshot ?

same here - but not on every route and tractor.
fsScreen_2019_07_28_00_18_53
fsScreen_2019_07_28_00_19_15

fsScreen_2019_07_28_00_43_19

2019-07-28 00:45 :20 [dbg14 lp490245] 850 (#5): setCustomTimer(..., "slippingStage1", 3)
2019-07-28 00:45 :21 [dbg14 lp490308] 850 (#5): curStage=0, refSpeed=26.00, curSpeed=9.15 -> resetCustomTimer(..., "slippingStage1")
2019-07-28 00:45 :29 [dbg14 lp490751] 850 (#5): (Align) Ending alignment course but not on alignment course.

I mentioned it earlier in #3996... Its Combi mode problem when course uses 2 or more vehicles...

Respective problem is same also for 2 different courses but both are using same field for combine search

Mine too... constantly accelerating and braking like a weird.

In wich Mode they do it ?
Every Mode ?
I need all conditions listed pls...
If it only happens when 2 or more on the same course in Mode2, then you know whats the problem.
Is it every Mode, but only when 2 or more Vehicles ? Then we got to check on that...
It must be reproducable guys...

It happened so far only on Mode2 for me, but it's a very fresh bug. A versions earlier that issue didn't happen, even with "not working" Mode2.
Trying to reproduce is hard, after restarting savegame, it works. Will try to get a log.
Did unloading of a field chopper, while driving next to chopper it's ok, but when driving to Silo, it bugs sometimes.

Easiest way how to reproduce it:
Set course for Combi mode. Set 2 tractors to that course. Sit to combine with Field work and start combine course. Than manually call unloader.. Problems will start soon..

Imho it has something common with assign tractors to combines..

So it only happens in Mode2 right ?

Yes.

So it only happens in Mode2 right ?

For me, as far as I could see, yes. Haven't had the issue in other modes yet.

I guess it could be a combination of the collission detection change and the ild cp driver of mode2... Will make some test to try to find out. If any of you find out more, pls let us know.

I have the same problem.
If I do it the way like Raxtor explained a few minutes ago, the two tractors run well till unloading each of them the first time. After that point the unloaded tractor slows down and often stucks in traffic whitout an obstacle in his way.
Additionally the hud disappears sometimes.

HUD disappear is mostly a sign of a lua error. If that happens, can you attatch your logfile ?

Yes, collision warning is active too sometimes, but there is no vehicle around.
I think that HUD error and game freezing were fixed.. didnt find it already from versions 252 or higher... but for sure wait for @BambuleBernd confirmation if he is using latest version...

Was reported in #3996

Abfahrer mit Häcksler
Abfahrer Beladung am Startpunkt
The first picture shows mode 2 after unloading the first time with "stuck in traffic".
After that I choose mode 1 and the tractor was driven by ai without a problem.

Also u can fix it for a while when you clear assigned combine to tractor.. but usually it will stucks second tractor soon.

I tried again, but I can´t reproduce the disappearing hud. It happens sporadically.

HUD disappear is mostly a sign of a lua error. If that happens, can you attatch your logfile ?

This is a general problem of Mode2

The problem with the unloading driver started with some changes in collision detection and/or aidriver, maybe since 249?

This one is weird:
@pvaiko know anything about this?
2019-07-28 18:58 Error: Running LUA method 'mouseEvent'.
2019-07-28 18:58 C:/Users/The Go-Kackjens/Documents/My Games/FarmingSimulator2019/mods/Courseplay_6/settings.lua:248: attempt to index field 'cp' (a nil value)

2019-07-28 19:10 Error: Running LUA method 'draw'.
2019-07-28 19:10 C:/Users/The Go-Kackjens/Documents/My Games/FarmingSimulator2019/mods/Courseplay_6/AIDriver.lua:611: attempt to index field 'course' (a nil value)

I tried the version 247 and it´s the same result. I started with the Case 7250 and the problem began immediately. I didn´t need to fill and unload the trailer like I had to with the version 253.
CP could drive another tractor with a trailer to the forage harvester, but after getting filled this tractor got the same problem, too. The log-file shows only the Case 7250 - error.
log.txt
"2019-07-29 10:09 ## Courseplay: aiTrafficCollisionTrigger missing. Traffic collision prevention will not work! vehicle 1100
2019-07-29 10:09 ## Courseplay: aiTrafficCollisionTrigger missing. Traffic collision prevention will not work! vehicle Big Body 900 S
2019-07-29 10:09 data/shared/ai/trafficCollision.i3d (25.38 ms)
2019-07-29 10:09 dataS2/character/humans/player/player02.i3d (329.60 ms)
2019-07-29 10:10 Info: Failed to request rc, HTTP code 0
2019-07-29 10:10 ## Courseplay: aiTrafficCollisionTrigger missing. Traffic collision prevention will not work! vehicle 1100
2019-07-29 10:10 Error: Running LUA method 'update'.
2019-07-29 10:10 C:/Users/The Go-Kackjens/Documents/My Games/FarmingSimulator2019/mods/Courseplay_6/PurePursuitController.lua:309: attempt to index field 'course' (a nil value)
2019-07-29 10:10 Error: Running LUA method 'cpOnTrafficCollisionTrigger'."

Maybe FYI: Tested unloading field chopper with multiple drivers on .238 and there I don't have this issue

So same situation and with 238 it works and 239 doesn't ?

So same situation and with 238 it works and 239 doesn't ?

Not tested yet with .239 but will go on testing to find out what version starts to bug here

Problem fixed oneself after a restart. It only appears in a new savegame that wasn restarted.

OK, after some testing, I figured out that since .250 this issue happens. With .249 it was the last version that was ok. It is not reproduceable one shot, the unloaders have to do some turns from field to silo until the bug happens. Beginning with getting stuck where nothing is in the way until it accelerates and brakes constantly and driving with 10 km/h

6.01.00250 Traffic collision improvements and fixes

I could reproduce the problem with version 247 on Geiselsberg-Map today with standard-tractors.

6.01.00250 Traffic collision improvements and fixes

That was my guess :)

Later today with version 253 I set the Case 7250 and the Deutz 6.61 in mode 2 to the same combine harvester Case 9240.
When the Deutz began to struggle, I set him on a new course with another combine harvester Ideal 9 and struggling was over.

Have the issue with .249 now too... what a mess

Did someone set two tractors on different courses but to the same harvester?
Otherwise I would test it tomorrow morning.

Did someone set two tractors on different courses but to the same harvester?
Otherwise I would test it tomorrow morning.

Not yet... please try it 👍

yes, same trouble.. its related to scanned field and combines on that field. No matter from which course. When 2 or more mode2 vehicles scan same field for combines and are attached to combines, than trouble starts... it has something to do with combine attaching to vehicles in mode2.

Ok... I did again a lot of testing. I can reproduce now on a savegame. With .244 the issue happens, with .242 it is ok. .243 is not available...? So I can't test it. So it has to do with the changes made from 242 to 244.

242: 6.01.00242 Avoid crash when loading a savagema with a non existing co…
Then: improvements of traffic collisions (3975)
243: 6.01.00243 Traffic collision improvements (3916)
244: 6.01.00244 Bale loader moves forward after unloading
245: 6.01.00245 Don't start chopper until pipe is discharging to trailer

Source: https://github.com/Courseplay/courseplay/commits/master

I would still say, something with Traffic Collission, still under some tweaking.

Ok, I hope I did help you guys a little bit

Here is log with channel3 dbg, hope it helps finally..
https://pastebin.com/1cyxm6d0

@Axel32019 hi there, I tested it right now and all seem good...2 tractors in mode 2 and no troubles after 3 unloadings...
I have big request yet.. now when we havent mode3 yet there is no way how to use grain cart. Earlier was possible workaround through mode2/combi for grain cart, which could dump cargo to truck in mode1/grain transport. Is there any easy way how to take grain cart as classic trailer till mode3 will be ready. In latest versions is not possible use grain cart anyhow with CP... thx for collison fix!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

huseyinsayar picture huseyinsayar  ·  3Comments

hoefti10 picture hoefti10  ·  5Comments

cabmac picture cabmac  ·  5Comments

mawie picture mawie  ·  5Comments

fudoido picture fudoido  ·  3Comments