FAQ  •  Login

LUA file error when in sandbox car editor

<<

VicVictory

User avatar

2-Star Beta Tester
2-Star Beta Tester

Posts: 1113

Joined: Fri Sep 05, 2014 8:32 am

Cars: A MURRICAN truck and a turbo grocery getter.

Post Fri Sep 26, 2014 8:55 am

LUA file error when in sandbox car editor

Over the past day or two the reliability of my copy of Automation has really tanked. Most of these have been video driver errors generated by the OS, but this one was a LUA error generated by the program itself.

---------------------------
Lua Error:
---------------------------
tolua++ dbcall failed!: [string "--client\functional\EngineCombustion_Animatio..."]:294: bad argument #1 to 'rad' (number expected, got nil)

You can CTRL+C on this to report it.
---------------------------
OK
---------------------------

How I got this: I was designing a car in 2003 (yes, for DerBayer's new challenge) and finished up with the body. I started making an engine then realized I could save time and make things "Flow" with my car company's timeline by picking an already saved engine and then bringing it up to date. Well, when I selected this engine (which happened to be build in 1968) then went back to the engine tab to enter it, it flipped out, gave that error (about fifty times), and crashed.
Ardent Motors Corporation
Company ID: 1934101
http://www.automationhub.net/company-catalog&companyID=40

Suzume Motor Manufacturing Industries
Company ID: 1975102
http://www.automationhub.net/company-catalog&companyID=60
<<

nialloftara

User avatar

Supercharged
Supercharged

Posts: 1983

Joined: Wed Feb 05, 2014 2:07 pm

Location: Northeast USA

Cars: 2006 Scion Xb

Post Sat Sep 27, 2014 12:41 am

Re: LUA file error when in sandbox car editor

How old was the engine file? I've had a bunch of issues loading engines from the b1256 era. Also you might want to post the engine file so they can test it.
Chief designer and CEO, Centauri motor works, Centauri Performance Vehicles (CPV)
"Centauri: The Stars Are Within Your Reach."
Centauri engines Centauri cars
CPV engines CPV cars
Company ID: 1943047
<<

VicVictory

User avatar

2-Star Beta Tester
2-Star Beta Tester

Posts: 1113

Joined: Fri Sep 05, 2014 8:32 am

Cars: A MURRICAN truck and a turbo grocery getter.

Post Sat Sep 27, 2014 3:57 am

Re: LUA file error when in sandbox car editor

I'm so new that the only version I've ever run is B1417.

I re-did things in a different order and can safely say it's because I started building a V8 engine then decided to backtrack and use an existing 6 cylinder design. So I don't think it's the file itself. (and when I say "old engine" I mean build year, not software version)
Ardent Motors Corporation
Company ID: 1934101
http://www.automationhub.net/company-catalog&companyID=40

Suzume Motor Manufacturing Industries
Company ID: 1975102
http://www.automationhub.net/company-catalog&companyID=60
<<

nialloftara

User avatar

Supercharged
Supercharged

Posts: 1983

Joined: Wed Feb 05, 2014 2:07 pm

Location: Northeast USA

Cars: 2006 Scion Xb

Post Sat Sep 27, 2014 5:37 am

Re: LUA file error when in sandbox car editor

So you started a new car, began building a engine, then when into the gearbox tab selected a already made engine, then the errors came when switching back to the engine tab?
Chief designer and CEO, Centauri motor works, Centauri Performance Vehicles (CPV)
"Centauri: The Stars Are Within Your Reach."
Centauri engines Centauri cars
CPV engines CPV cars
Company ID: 1943047
<<

VicVictory

User avatar

2-Star Beta Tester
2-Star Beta Tester

Posts: 1113

Joined: Fri Sep 05, 2014 8:32 am

Cars: A MURRICAN truck and a turbo grocery getter.

Post Sat Sep 27, 2014 8:07 am

Re: LUA file error when in sandbox car editor

Precisely.

(and if you were wondering why I went into the engine tab after selecting the engine from the trim tab, it's because the engine I selected had a 1968 build year and I needed to bring it up to snuff for Der Bayer's 2003 CTC challenge)
Ardent Motors Corporation
Company ID: 1934101
http://www.automationhub.net/company-catalog&companyID=40

Suzume Motor Manufacturing Industries
Company ID: 1975102
http://www.automationhub.net/company-catalog&companyID=60
<<

nialloftara

User avatar

Supercharged
Supercharged

Posts: 1983

Joined: Wed Feb 05, 2014 2:07 pm

Location: Northeast USA

Cars: 2006 Scion Xb

Post Sat Sep 27, 2014 10:42 am

Re: LUA file error when in sandbox car editor

Hmm, sounds like a bug that needs addressing, better copy the OP and step by step description to the bug reporting thread.
Chief designer and CEO, Centauri motor works, Centauri Performance Vehicles (CPV)
"Centauri: The Stars Are Within Your Reach."
Centauri engines Centauri cars
CPV engines CPV cars
Company ID: 1943047
<<

Hexxiteqqit

User avatar

Supercharged
Supercharged

Posts: 11

Joined: Mon Oct 06, 2014 9:58 am

Cars: 2007 Toyota Corolla CE
2003 Ford Exploder

Post Sun Oct 12, 2014 2:50 pm

Re: LUA file error when in sandbox car editor

I also got a similar error when trying to open a car:
Image
<<

Pleb

User avatar

4-Star Beta Tester
4-Star Beta Tester

Posts: 1636

Joined: Tue Feb 04, 2014 5:00 am

Location: The Isle of Man - The Land of SPEED!

Cars: I have TWO Peugeots. Please feel sorry for me.

Post Sun Oct 12, 2014 9:57 pm

Re: LUA file error when in sandbox car editor

Did the 1960's engine have Bypass Valves? There's a common bug that relates to this.
<<

VicVictory

User avatar

2-Star Beta Tester
2-Star Beta Tester

Posts: 1113

Joined: Fri Sep 05, 2014 8:32 am

Cars: A MURRICAN truck and a turbo grocery getter.

Post Thu Oct 16, 2014 8:49 am

Re: LUA file error when in sandbox car editor

Negatory. I haven't have ever used bypass valves. Ever.
Ardent Motors Corporation
Company ID: 1934101
http://www.automationhub.net/company-catalog&companyID=40

Suzume Motor Manufacturing Industries
Company ID: 1975102
http://www.automationhub.net/company-catalog&companyID=60
<<

Hexxiteqqit

User avatar

Supercharged
Supercharged

Posts: 11

Joined: Mon Oct 06, 2014 9:58 am

Cars: 2007 Toyota Corolla CE
2003 Ford Exploder

Post Fri Oct 17, 2014 11:06 am

Re: LUA file error when in sandbox car editor

I am now getting this error when I press the back button on the Platforms menu every time:
---------------------------
Lua Error:
---------------------------
tolua++ dbcall failed!: [string "--client\functional\CCarManager.lua..."]:265: attempt to concatenate local 'fileName' (a nil value)

You can CTRL+C on this to report it.
---------------------------
OK
---------------------------

Return to Support

Who is online

Users browsing this forum: No registered users and 2 guests