yumi-modding / FS17_ContractorMod

7 stars 4 forks source link

FS19 when active/selecter worker is in a vehicle log is filled with this error #55

Closed JensEjvinsson closed 5 years ago

JensEjvinsson commented 5 years ago

FS19 when the active/selected worker is in a vehicle log is filled with this error. If worker exits vehicle, the error spamming stops. If a non-selected worker is in a vehicle there is no error spamming.

2019-05-22 08:49 Error: Running LUA method 'draw'. 2019-05-22 08:49 dataS/scripts/vehicles/specializations/Enterable.lua(1092) : attempt to index field 'playerStyle' (a nil value) 2019-05-22 08:49 Error: Running LUA method 'draw'. 2019-05-22 08:49 dataS/scripts/vehicles/specializations/Enterable.lua(1092) : attempt to index field 'playerStyle' (a nil value) 2019-05-22 08:49 Error: Running LUA method 'draw'. 2019-05-22 08:49 dataS/scripts/vehicles/specializations/Enterable.lua(1092) : attempt to index field 'playerStyle' (a nil value) 2019-05-22 08:49 Error: Running LUA method 'draw'. 2019-05-22 08:49 dataS/scripts/vehicles/specializations/Enterable.lua(1092) : attempt to index field 'playerStyle' (a nil value) 2019-05-22 08:49 Error: Running LUA method 'draw'. 2019-05-22 08:49 dataS/scripts/vehicles/specializations/Enterable.lua(1092) : attempt to index field 'playerStyle' (a nil value) 2019-05-22 08:49 Error: Running LUA method 'draw'. 2019-05-22 08:49 dataS/scripts/vehicles/specializations/Enterable.lua(1092) : attempt to index field 'playerStyle' (a nil value) 2019-05-22 08:49 Error: Running LUA method 'draw'. 2019-05-22 08:49 dataS/scripts/vehicles/specializations/Enterable.lua(1092) : attempt to index field 'playerStyle' (a nil value) 2019-05-22 08:49 Error: Running LUA method 'draw'. 2019-05-22 08:49 dataS/scripts/vehicles/specializations/Enterable.lua(1092) : attempt to index field 'playerStyle' (a nil value) 2019-05-22 08:49 Error: Running LUA method 'draw'. 2019-05-22 08:49 dataS/scripts/vehicles/specializations/Enterable.lua(1092) : attempt to index field 'playerStyle' (a nil value) 2019-05-22 08:49 Error: Running LUA method 'draw'. 2019-05-22 08:49 dataS/scripts/vehicles/specializations/Enterable.lua(1092) : attempt to index field 'playerStyle' (a nil value) 2019-05-22 08:49 Error: Running LUA method 'draw'. 2019-05-22 08:49 dataS/scripts/vehicles/specializations/Enterable.lua(1092) : attempt to index field 'playerStyle' (a nil value)

yumi-modding commented 5 years ago

Hello, Thanks for this feedback. Could you please give additional info like:

JensEjvinsson commented 5 years ago

Hi

  1. New savegame with no other mods, works fine.
  2. New savegame with all my installed mods, error spamming.
  3. Existing savegame with all my installed mods, error spamming.
  4. Existing savegame with no other mods, works fine.

Conclusion: Some of my mods seems to conflict. Question: Is there a way to find out which?

Here is the log file. https://drive.google.com/open?id=1Zxz7GihhxMcchnAgwAaK_KQe3NpZJxxT

yumi-modding commented 5 years ago

Thanks for the details. I will try to reproduce but I see a good quantity of mods, it might be difficult to find out the conflicting one. I would first focus on global specialization mods like Courseplay, followMe, Inspector..

JensEjvinsson commented 5 years ago

Since the error spamming only occurs when the selected worker is inside the vehicle I can definately think that Inspector might be the cause. But also Courseplay or course. I do not think Guidance Steering since the errors come even in a vehicle without Guidance Steering. I will try to test to disable a few of these to see, later today.

yumi-modding commented 5 years ago

Hello I can confirm that issue is due to FS19_Inspector mod. I will analyze further and see how I can prevent the error. Thanks for having open an issue on github.

JensEjvinsson commented 5 years ago

Thanks. I will deactivate Inspector for now.

JensEjvinsson commented 5 years ago

For what it's worth, same error with two different Inspector mods... The FS19_Inspector mod from Modhub and the VehicleInspector (1.5) mod found on for example Modhoster.

yumi-modding commented 5 years ago

Please check it's fixed with the update I just did https://github.com/yumi-modding/FS17_ContractorMod/blob/master/FS19_ContractorMod.zip while waiting for the correction to reach modhub.

yumi-modding commented 5 years ago

For what it's worth, same error with two different Inspector mods... The FS19_Inspector mod from Modhub and the VehicleInspector (1.5) mod found on for example Modhoster.

Please ensure ContractordMod is version 1.0.0.1 (the one pointed by the link). I validated on my side that it was fixing the issue with FS19_Inspector from modhub.

JensEjvinsson commented 5 years ago

Thanks works fine. Love the idea and play style this brings.

yumi-modding commented 5 years ago

Thanks for your feedback. Don't hesitate if you see other issue or eventually enhancement.