Author Topic: Interactive things crash Blockland  (Read 1173 times)

I've had this problem before. But last time I removed the add-ons that were causing it.

Here's the console.log

This problem is getting annoying : / 

what's crashing you?
just crash on startup?

No, when I click anything interactive the game crashes

like the join game button?
options?
everything?

and, does this happen on a clean install? do you know if it's an addon? did you put the addons that were causing this to happen back into your game?

Vehicle_CrownVictoria, possibly other related vehicles.

like the join game button?
options?
everything?

and, does this happen on a clean install? do you know if it's an addon? did you put the addons that were causing this to happen back into your game?
1)No.
2)No.
3)No. Just things like doors and cars with IVS.
4)No, not on a clean install.

Yup looked through some code. It's Vehicle_CrownVictoria. The CVPI_loopLights.cs file specifically.

Code: [Select]
function armor::onTrigger(%this, %obj, %slot, %val)
Code: [Select]
return Parent::onTrigger(%db,%obj,%slot,%val);
It's calling parent with %db instead of %this.

Yup looked through some code. It's Vehicle_CrownVictoria. The CVPI_loopLights.cs file specifically.

Code: [Select]
function armor::onTrigger(%this, %obj, %slot, %val)
Code: [Select]
return Parent::onTrigger(%db,%obj,%slot,%val);
It's calling parent with %db instead of %this.
So, do I fix the code, or ditch the CV all together?

So, do I fix the code, or ditch the CV all together?
Whichever you want to do.
If you want to fix it, line 91 of CVPI_loopLights.cs
Change
return Parent::onTrigger(%db,%obj,%slot,%val);
to
return Parent::onTrigger(%this,%obj,%slot,%val);

Yeah, that cleared everything up. Thanks for the help.

Wait, no. The problem isn't solved at all. It only helped the Victoria.
FWI: I'm now talking about bricks with the onActivate event.
Updated console log

if you know it's an addon, you should be able to figure out which it is through trial and error

Yeah at this point it's crashing before whatever's causing it gets printed to the console.
You'll have to figure out what it is
through trial and error