Courseplay / courseplay

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

Error: Running LUA method 'update'. - vehicles.lua:899: attempt to index field 'attacherJoint' (a nil value) - Problem with New SYN TRAC tractor #3968

Closed DrDrulia closed 5 years ago

DrDrulia commented 5 years ago

Game crashes sometimes when trying to attach Fertilizer sprayer or even bale collector MOST important is that dont go on planned route do to this error :

2019-07-14 22:15 Error: Running LUA method 'update'. 2019-07-14 22:15 D:/FS19MODS/FS19_courseplay6/vehicles.lua:899: attempt to index field 'attacherJoint' (a nil value)

vehicle lua line 899

20190709233115_1

Tensuko commented 5 years ago

Full logfile pls.

pvaiko commented 5 years ago

@DrDrulia if you can post a savegame on a standard map with everything set up before attaching so we can reproduce the issue then we can look into it.

DrDrulia commented 5 years ago

Hello I will do it tomorrow.

Sent from my iPhone

On 15 Jul 2019, at 12:21, Peter Vaiko notifications@github.com wrote:

@DrDrulia if you can post a savegame on a standard map with everything set up before attaching so we can reproduce the issue then we can look into it.

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

Krahazik-zz commented 5 years ago

I have encountered the same issue. When it happened to me I was hooking upto the towed potato harvester with the 3-point hitch adapter attached. It has been inconsistant with me. When it happend to me, I was experimenting with the mouse controles for the tractor, and had tried the Left+Right mouse combo control to see if I could figure out what it does. Nothing happened at first and then stuff stopped working. Checking the log showed this error.

Krahazik-zz commented 5 years ago

I have game log and save file for you for this one. Setup a test case on a vanilla map with vanilla tools. Log File

I did have a few mods other than Courseplay and Syn Trac installed, but I do not think they were a factor but will list them;

The zip file was to big to include as an attachment so I uploaded it to my onedrive directory. Savegame folder with mods folder in a zip file

DrDrulia commented 5 years ago

I set this up on my work laptop. Just installed game and course play and syn trac. Game dont crash but same lua error

savegame1.zip log.txt

pvaiko commented 5 years ago

Ok, folks, I tried both savegames, whatever I do, the entire game crashes during loading, the last log entries about the SynTrac mod loading, so that's it, this won't be fixed for a while...

Krahazik-zz commented 5 years ago

I do have another save file well before the error occured. Where I had all of the equipment sitting at the shop still.

For me everything was working fine untill I tried to run a course on field 20, the moment I hit start.

Savegame before moving equipment from shop This zip was done before the other zip I did, taken before I had moved any of the mowing equipment or Syn Trac equipment. This one should load, as I had exited the game and reloaded this save myself.

  1. What I did was attach both 3-point hitch adapters.
  2. Then I attached the mower followed by hooking up to the gather wagon.
  3. I drove to my land stopping infront of field 20.
  4. I used the route generator to generate a route to mow field 20.
  5. Set courseplay to start at the start point.

All was good up to that point. That was where I made my 2nd save, just before starting the mowing operation. Figured that would be good as there did not appear to be any errors going on at that point. Then I clicked on start driver, and thats when nothing happened. I checked the log and spamming of the nil value error was going on.

DrDrulia commented 5 years ago

Hello. Cant close case. You running low graphics on your game and mod crashes game. You need delete transclear. dds file from mod.

Krahazik-zz commented 5 years ago

I had to change my texture setting to high to be able to use the Syn Trac, with it set to low the game would crash every time I opened the vehicle in the store.

DrDrulia commented 5 years ago

Or delete transclear.dds from mod

Sent from Mail for Windows 10

From: Benjamin Swem Sent: 16 July 2019 14:09 To: Courseplay/courseplay Cc: DrDrulia; Mention Subject: Re: [Courseplay/courseplay] Error: Running LUA method 'update'. -vehicles.lua:899: attempt to index field 'attacherJoint' (a nil value) -Problem with New SYN TRAC tractor (#3968)

I had to change my texture setting to high to be able to use the Syn Trac, with it set to low the game would crash every time I opened the vehicle in the store. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.