Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
The mod checks the following things, could you verify this:
1. Car needs working engine
2. Car needs working battery
3. You need to sit in the drivers seat
4. (The obvious) Engine needs to be off and lights turned on
The first 1+2 you can test if you can start the car, or check the vehicle mechanics screen.
[21-05-22 22:15:41.162] ERROR: General , 1653185741162> 288,394,923> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: isDriver of non-table: null at KahluaThread.tableget line:1689..
[21-05-22 22:15:41.162] ERROR: General , 1653185741162> 288,394,923> DebugLogStream.printException> Stack trace:.
[21-05-22 22:15:41.163] LOG : General , 1653185741163> 288,394,925> -----------------------------------------
STACK TRACE
Does this happen when entering a particular vehicle?
unction: ChimeTick -- file: VehicleChime.lua line # 33.
[02-07-22 21:22:22.332] ERROR: General , 1656768142332> 28,756,130> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: isDriver of non-table: null at KahluaThread.tableget line:1689..
[02-07-22 21:22:22.332] ERROR: General , 1656768142332> 28,756,130> DebugLogStream.printException> Stack trace:.
[02-07-22 21:22:22.332] LOG : General , 1656768142332> 28,756,131> -----------------------------------------
STACK TRACE
This occurred to a player of mine that died while in the car. So I guess the loop is still registered after they die, since technically they didn't leave the vehicle? I would offer a suggestion how to fix it but I don't know how to check for a null value there, but if its null it should probably deregister the event.
Died in my car, got errors every millisecond.
function: ChimeTick -- file: VehicleChime.lua line # 33 | MOD: Vehicle Light Chime
ERROR: General , 1665803370418> 190,686,641> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: isDriver of non-table: null at KahluaThread.tableget line:1689.
ERROR: General , 1665803370418> 190,686,641> DebugLogStream.printException> Stack trace:
java.lang.RuntimeException: attempted index: isDriver of non-table: null
[Other stuff, comment too long]
LOG : General , 1665803370420> 190,686,644> -----------------------------------------
STACK TRACE
I've added an additional check for the error:
Hi @GabeTeuton
I've checked the code, but there is no specific check for the fuel level. I use a function by the game called "isEngineWorking", maybe it considers the engine "not working" if there is no fuel.
I'll see if I can do some tests. :)
Thanks for the hint
I'll see if I can test this, very strange behavior since my mod does not change anything in the game, just checks if you are in a car and plays a sound if the lights are on and engine off.
Do you also have other mods installed?