Page 1 of 1

Lua Crash

PostPosted: Wed Jul 29, 2015 10:35 am
by Jockua1
This is one for devs

tolua++ dbcall failed!: [string"--client\functional\engineWizard_delegates.lu..."]:1662:attempt to index a nil vlaue

I hope this is the correct place to be putting it! ☺

Re: Lua Crash

PostPosted: Wed Jul 29, 2015 11:32 am
by Killrob
What did you do in order to get this? What are the steps to reproduce this?

Re: Lua Crash

PostPosted: Thu Jul 30, 2015 12:45 am
by Jockua1
I got this crash by doing the scenario "Millenium Crash"

I built an engine as normal, (I think it was a 2399CC Inline 4 Engine with a Turbo) and then I got to to the testing stage where it gives you all of the stats + objectives. I got all of the objectives except for the "Economy better than 0.781lb/(hph)" and the "Weight lower than 120kg". After I thought I had put enough time into the engine I clicked on the arrow to lead to trim, presuming this would come up and tell me stats and how I scored on the scenario, but instead the game froze, so I tabbed out and saw this crash error, that came up about 8 times (so pressing ok on a crash dialogue and then another of the same message popping up), and thats how I got this crash. If you want any more info maybe on the spec of my computer or OS then just give me another reply ☺

Re: Lua Crash

PostPosted: Sat Aug 15, 2015 5:32 am
by kokosika
I have similar error when i start the game : Fatal error while loading init.lua: [string"--client\functional\TopBarDelegates_Engines..|..."]:17 attempt to index field 'FactoryInfo' (a nil value) Can you help me ? Thank you from now.

Re: Lua Crash

PostPosted: Mon Aug 17, 2015 11:46 am
by Killrob
@kokosika: Probably some engine save file that got corrupted? :( Try if the game starts and runs normally if you remove the last engine you worked on (or the whole Engines folder) in Documents\My Games\Automation
If you last played a scenario before you got the issues, then try removing that save file here: My Games\Automation\Scenarios

Re: Lua Crash

PostPosted: Tue Aug 25, 2015 5:51 pm
by Falco
I got:

Lua Error:
---------------------------
tolua++ dbcall failed!: [string "--SANDBOX_DATA\CCarCalculator_Suspension.lua..."]:282: attempt to index field 'FrontSuspension' (a nil value)

from trying to load a car previously built.

Re: Lua Crash

PostPosted: Tue Aug 25, 2015 5:58 pm
by Killrob
Falco: That is the saving bug, check out the workaround stickied here in the support forums.

Re: Lua Crash

PostPosted: Wed Sep 02, 2015 1:30 am
by TheColoredCow
I had the same
Lua Error:
---------------------------
tolua++ dbcall failed!: [string "--SANDBOX_DATA\CCarCalculator_Suspension.lua..."]:282: attempt to index field 'FrontSuspension' (a nil value)

You can CTRL+C on this to report it.

and heres a pic of what happened after i hit ok.. :shock:

Re: Lua Crash

PostPosted: Wed Sep 02, 2015 2:40 am
by Falco
TheColoredCow wrote:I had the same
Lua Error:
---------------------------
tolua++ dbcall failed!: [string "--SANDBOX_DATA\CCarCalculator_Suspension.lua..."]:282: attempt to index field 'FrontSuspension' (a nil value)

You can CTRL+C on this to report it.

and heres a pic of what happened after i hit ok.. :shock:


Read Killrob's response above about the saving issue, that worked for me. And I had the exact same error.