Author Topic: Add-on crashing others  (Read 1285 times)

My scorpion tank crashes people and I do not know why. When I spawn it, people crash or get invalid packet ghost object errors, according to what they say. This also occured with my APC vehicle, people claimed to have crashed with it. The one thing I find similar that could cause it is this
Code: [Select]
   // Setup the car with some defaults tires & springs
   for(%i = 0; %i < %this.numWheels; %i++)
   {
      %obj.setWheelTire(%i, %this.defaultTire);
      %obj.setWheelSpring(%i, %this.defaultSpring);
   }
   //Multiple wheels
   %obj.setWheelSteering(0,1);
   %obj.setWheelSteering(1,1);
   %obj.setWheelSteering(2,1);
   %obj.setWheelSteering(3,1);
   %obj.setWheelSteering(4,0);
   %obj.setWheelSteering(5,0);


   //Spring
   %obj.setWheelPowered(0,true);
   %obj.setWheelPowered(1,true);
   %obj.setWheelPowered(2,true);
   %obj.setWheelPowered(3,true);
   %obj.setWheelPowered(4,true);
   %obj.setWheelPowered(5,true);
But I do not know why.
« Last Edit: May 04, 2010, 06:56:38 PM by heedicalking »

I can spawn the turret alone fine, but the vehicle is the one that crashes people.

It might actually be the model.


Your models tend to have errors. I don't know anything about it, I can't manage to make a vehicle model that doesn't crash the server when spawned.

But some people can see it fine. Someone named The Dude could ride it and see it perfectly. Usually it is when someone ghosts the tank, it will give them an error or crash. If the tank is not spawned, nothing will happen.

It's a shame that modellers don't know that they have to change the filename of their model if they update it after hosting a public server.

It's a shame that modellers don't know that they have to change the filename of their model if they update it after hosting a public server.
Wait, Heedicalking didn't know that? Not even Pandan knew it.

Strato didn't either.

It's a shame that modellers don't know that they have to change the filename of their model if they update it after hosting a public server.
Is this what is probably causing the problem? They do not crash while downloading it, only when they render it after spawning or when I spawn it.

Edit: Then why don't my other things: B24, Spat, and the other old stuff, not crash people? Is it because they auto download the new version from RTB or another server or something?

Your models tend to have errors. I don't know anything about it, I can't manage to make a vehicle model that doesn't crash the server when spawned.

Hell, I ported a model from BioShock 2's Game Files, and it wouldn't crash me. And may I remind you I'm on a 6-7 year old eMachines with horrible specs. I'm amazed Blockland runs at all.

Although that's not the point, I mention it...

I looked over your .cs file - nothing obvious to me.

post your console.log showing for when the game crashes.  mabye we can get a better idea from that.