Mogli12 / VehicleControlAddon

Farming Simulator 22: Smoother steering with the key board and more...
336 stars 179 forks source link

Error: Running LUA method 'draw'. #124

Closed Powerbrille77 closed 5 years ago

Powerbrille77 commented 5 years ago

Error: Running LUA method 'draw'. FS19_KeyboardSteer/keyboardSteerMogli.lua:1368: attempt to perform arithmetic on a nil value

Version 0.0.3.9

Dieser Fehler tritt nur auf dem Dedicated Server auf. ( Nitrado) Dann habe ich festgestellt das beim manuellen Gangwechsel bei Vollgas die Drehzahl am Ende auf 900 Umdrehungen runter geht

Mogli12 commented 5 years ago

Kannst Du bitte die komplette log.txt in Gist hochladen? Treten diese Einträge nur im Server, im Client oder auf beiden Seiten auf? Welches Getriebe war gewählt und was wurde vorher gemacht?

wriley commented 5 years ago

We've been seeing this occasionally on our server but I don't have steps to reproduce. I had one case last night where the other player had seen this error in his console but it wasn't on mine. Everything was working so we ignored it. When he left the server I immediately got the errors on my console and was unable to drive anything. Pushing accelerate would cause the brake lights to go off (they're on all the time unless you're accelerating on multiplayer) but any vehicle I tried would remain still. I had to restart the server to get functionality back. I know this doesn't help fix anything but thought I'd share.

Mogli12 commented 5 years ago

Please check the lastest version of VCA.

Powerbrille77 commented 5 years ago

Error: Running LUA method 'draw'. FS19_VehicleControlAddon/vehicleControlAddon.lua:1153: attempt to concatenate local 'text' (a boolean value) Version 0.0.0.6 der Fehler tritt nach wie vor nur bei den Getrieben mit manueller Schaltung auf und der Drehzahlabfall ist auch weiterhin vorhanden. Macht das was wenn man in der Config alles auf false geändert hat ? die Log vom Server kann ich leider nicht einsehen

wriley commented 5 years ago

Version 0.0.0.6 on dedicated server

2019-01-18 09:47 Error: Running LUA method 'draw'. 2019-01-18 09:47 C:/Users/Computer User/Documents/My Games/FarmingSimulator2019/mods/FS19_VehicleControlAddon/vehicleControlAddon.lua:1153: attempt to perform arithmetic on a nil value 2019-01-18 09:47 Error: Running LUA method 'draw'. 2019-01-18 09:47 C:/Users/Computer User/Documents/My Games/FarmingSimulator2019/mods/FS19_VehicleControlAddon/vehicleControlAddon.lua:1153: attempt to perform arithmetic on a nil value 2019-01-18 09:47 Error: Running LUA method 'draw'. 2019-01-18 09:47 C:/Users/Computer User/Documents/My Games/FarmingSimulator2019/mods/FS19_VehicleControlAddon/vehicleControlAddon.lua:1153: attempt to perform arithmetic on a nil value 2019-01-18 09:47 Error: Running LUA method 'draw'. 2019-01-18 09:47 C:/Users/Computer User/Documents/My Games/FarmingSimulator2019/mods/FS19_VehicleControlAddon/vehicleControlAddon.lua:1153: attempt to perform arithmetic on a nil value

Mogli12 commented 5 years ago

Please post the complete log. I assume that you have many mods installed and one of the other mods has a problem in the multiplayer coding. The only variable that could be nil in line 1153 is self.vcaMaxSpeed. But this variable must not be nil. The only reason I can see that it is nil is that some other mod did read too many bytes from the MP byte stream.

Jayshua83 commented 5 years ago

I don't think #131 is related to this!

Mogli12 commented 5 years ago

The error message are the same. Sadly, nobody did upload the complete log. But I believe that this is a mod conflict.

Jayshua83 commented 5 years ago

I just responded to the other thread and so did @wriley .

I don't get errors in my log. My log is CLEAN.

Jayshua83 commented 5 years ago

I'll do some trial and error and see if I can find if it is another mod.

Powerbrille77 commented 5 years ago

Log https://gist.github.com/Powerbrille77/22dbf24db312a00c2e82282ffbe95e07

Ich habe nur dein Mod auf dem Server

wriley commented 5 years ago

This bug is unrelated to #131 - I've uploaded new info and logs there

Powerbrille77 commented 5 years ago

Version 0.0.0.7 Der Fehler ist jetzt nicht mehr da Jetzt ist nur noch im manuellen Modus (Automatik aus) bei allen Schaltgetrieben ab dem 2. Gang das die Drehzahl bei Vollgas auf 900 fällt. Wenn Automatik an ist ist alles ok

Mogli12 commented 5 years ago

Project is stopped as it does not work together with sleep on Dedi server.