Page 1 of 1

Errors (Lua)

PostPosted: Wed Jan 29, 2014 8:03 am
by grr663
This error popped up


Step() failed!: [string "--CCarCalculator_Gearbox.lua..."]:65: attempt to index a nil value

Re: Errors (Lua)

PostPosted: Wed Jan 29, 2014 11:29 am
by Daffyflyer
That doesn't really help without knowing when it came up (what were you doing, had you just clicked on anything for example?)

If we could get a bit more detail about the problem we can work out what's going on here :)

Re: Errors (Lua)

PostPosted: Thu Jan 30, 2014 4:29 am
by grr663
if i remember i was either selecting gear ratios or spacing also a car i made the tires kept on blowing no matter how strong i made them

Re: Errors (Lua)

PostPosted: Thu Jan 30, 2014 6:14 am
by Killrob
The blowing tires stuff sounds weird. Please attach the model you were building if you run into it again.

Re: Errors (Lua)

PostPosted: Sat Feb 01, 2014 5:00 am
by grr663
This is the points of the game where the error occurred


WP_20140131_002.jpg
WP_20140131_002.jpg (1.47 MiB) Viewed 3475 times


WP_20140131_001.jpg
WP_20140131_001.jpg (1.58 MiB) Viewed 3475 times

Re: Errors (Lua)

PostPosted: Sat Feb 01, 2014 5:18 am
by Der Bayer
Something is really weird here. Light car, not too crappy tires, but they blow up. And still the test results are shown (basically it shows old test results when tires did not blow up). I see one thing, which is a bit off: Weight distribution. Try to change it a bit so that it is closer to 60:40. Does that solve the blown tire problem? It already is not a heavy load on the front axle, but maybe thats the cause of the trouble.

I tried recreating the car myself and I have no problems until a car weight of ~1800 kg.

If you have the model saved, please attach it to your next post so that we can take a closer look.

Re: Errors (Lua)

PostPosted: Mon Feb 03, 2014 6:16 am
by grr663
I found out it comes up sometimes when im trying to choose a gearbox thats the main time it happens