Poll

Is this error a Fatal-ISV?

Probably.
Probably not.

Author Topic: Dedicated server crashing - Object: '-1' is not part of the AudioProfile datablo  (Read 1550 times)

Help! My dedicated server keeps crashing!

The console says: Object: '-1' is not part of the AudioProfile data block!

And then: Blockland.exe has encountered a problem and needs to close. We are sorry for the inconvience!

Is my directory invalid? Please! WHAT THE HECK IS GOING ON?!

Start by deleting Script_Logger.zip

Code: [Select]
Loading Add-On: Script_Logger (CRC:-1954236290)
Add-Ons/Script_Logger/server.cs Line: 14 - Syntax error.
>>> Some error context, with ## on sides of error halt:
^^{
^^^%File = new FileObject();
^^^%File.openForAppend(%FP);
^^^%File.writeLine("Player: "@%cl.getPlayerName()@" (ID: "@%cl.getBLID()@") has entered. Client: "@%cl@" Time: "@getDateTime());
^^}
^^else
^^{
^^^%FP = "config/Server/Logger/Logger.txt"
^^^%File ##=## new FileObject();
^^^%File.openForWrite(%FP);
^^^%File.writeLine("Player: "@%cl.getPlayerName()@" (ID: "@%cl.getBLID()@") has entered. Client: "@%cl@" Time: "@getDateTime());
^^}
^^parent::OnClientEnterGame(%cl);
^}
^function gameConnection::OnClientLeaveGame(%cl)
>>> Error report complete.

ADD-ON "Script_Logger" CONTAINS SYNTAX ERRORS


You're using several add-ons that are pure garbage, including a version of the Mini-Nuke that bypasses the CRC ban.
Code: [Select]
Loading Add-On: Weapon_Mini-Nuke (CRC:2014502746)
Executing Add-Ons/Weapon_Mini-Nuke/server.cs.
Executing Add-Ons/Weapon_Mini-Nuke/weapon_mininuke1.cs.
Executing Add-Ons/Weapon_Rocket_Launcher/weapon_rocket launcher.cs.
Warning: DamageType "RocketDirect" already exists.
Warning: DamageType "RocketRadius" already exists.
ProjectileData - nukeProjectile(1322) - invalid value for lifetime: Scaled value must be between 0 and 1023
19 datablocks added.


And whatever the forget this is supposed to be.
Code: [Select]
Loading Add-On: weapon_theioncannon (CRC:-597745714)
Executing Add-Ons/weapon_theioncannon/server.cs.
Executing Add-Ons/weapon_theioncannon/DeathIonCannon.cs.
ParticleData(DeathIonCannonSmokeParticle) lifetimeVariance >= lifetime
ParticleEmitterData(DeathIonCannonSmokeEmitter) periodVariance >= period
ParticleData(DeathIonCannonChargeParticle1) lifetimeVariance >= lifetime
ParticleEmitterData(DeathIonCannonChargeEmitter1) periodVariance >= period
ParticleData(DeathIonCannonPowerSurgeParticle) lifetimeVariance >= lifetime
ParticleEmitterData(DeathIonCannonPowerSurgeEmitter) periodVariance >= period
ParticleEmitterData(DeathIonCannonExplosionRingEmitter) period < 1 ms
Object 'DeathIonCannonExplosionSound' is not a member of the 'AudioProfile' data block class
ExplosionData - DeathIonCannonExplosion(999) - invalid value for lightStartRadius: Must be between 0 and 100
ExplosionData - DeathIonCannonExplosion(999) - invalid value for lightEndRadius: Must be between 0 and 100
WARNING: AddDamageType() - DeathIonCannonDirect file "base/server/scripts/ci/DeathIonCannonDirect.png" does not exist!
WARNING: AddDamageType() - DeathIonCannonRadius file "base/server/scripts/ci/DeathIonCannonRadius.png" does not exist!
ProjectileData - DeathIonCannonProjectile(1000) - invalid value for muzzleVelocity: Must be between 0 and 200
ProjectileData - DeathIonCannonProjectile(1000) - invalid value for bounceElasticity: Must be between 0 and 0.999
ProjectileData - DeathIonCannonProjectile(1000) - invalid value for bounceFriction: Must be between 0 and 1
Object 'DeathIonCannonReloadSound' is not a member of the 'AudioProfile' data block class
Executing Add-Ons/weapon_theioncannon/IonCannon.cs.
Object 'AudioFar3d' is not a member of the 'AudioDescription' data block class
ParticleData(IonCannonSmokeParticle) lifetimeVariance >= lifetime
ParticleEmitterData(IonCannonSmokeEmitter) periodVariance >= period
ParticleData(IonCannonChargeParticle1) lifetimeVariance >= lifetime
ParticleEmitterData(IonCannonChargeEmitter1) periodVariance >= period
ParticleData(IonCannonPowerSurgeParticle) lifetimeVariance >= lifetime
ParticleEmitterData(IonCannonPowerSurgeEmitter) periodVariance >= period
ParticleEmitterData(IonCannonExplosionRingEmitter) period < 1 ms
ExplosionData - IonCannonExplosion(1025) - invalid value for lightStartRadius: Must be between 0 and 100
ExplosionData - IonCannonExplosion(1025) - invalid value for lightEndRadius: Must be between 0 and 100
WARNING: AddDamageType() - IonCannonDirect file "base/server/scripts/ci/IonCannonDirect.png" does not exist!
WARNING: AddDamageType() - IonCannonRadius file "base/server/scripts/ci/IonCannonRadius.png" does not exist!
ProjectileData - IonCannonProjectile(1026) - invalid value for muzzleVelocity: Must be between 0 and 200
ProjectileData - IonCannonProjectile(1026) - invalid value for bounceElasticity: Must be between 0 and 0.999
ProjectileData - IonCannonProjectile(1026) - invalid value for bounceFriction: Must be between 0 and 1
Object 'IonCannonReloadSound' is not a member of the 'AudioProfile' data block class
Executing Add-Ons/weapon_theioncannon/IonCannonAdminOnly.cs.
Object 'AudioFar3d' is not a member of the 'AudioDescription' data block class
ParticleData(IonCannonAdminOnlySmokeParticle) lifetimeVariance >= lifetime
ParticleEmitterData(IonCannonAdminOnlySmokeEmitter) periodVariance >= period
ParticleData(IonCannonAdminOnlyChargeParticle1) lifetimeVariance >= lifetime
ParticleEmitterData(IonCannonAdminOnlyChargeEmitter1) periodVariance >= period
ParticleData(IonCannonAdminOnlyPowerSurgeParticle) lifetimeVariance >= lifetime
ParticleEmitterData(IonCannonAdminOnlyPowerSurgeEmitter) periodVariance >= period
ParticleEmitterData(IonCannonAdminOnlyExplosionRingEmitter) period < 1 ms
ExplosionData - IonCannonAdminOnlyExplosion(1051) - invalid value for lightStartRadius: Must be between 0 and 100
ExplosionData - IonCannonAdminOnlyExplosion(1051) - invalid value for lightEndRadius: Must be between 0 and 100
WARNING: AddDamageType() - IonCannonAdminOnlyDirect file "base/server/scripts/ci/IonCannonAdminOnlyDirect.png" does not exist!
WARNING: AddDamageType() - IonCannonAdminOnlyRadius file "base/server/scripts/ci/IonCannonAdminOnlyRadius.png" does not exist!
ProjectileData - IonCannonAdminOnlyProjectile(1052) - invalid value for muzzleVelocity: Must be between 0 and 200
ProjectileData - IonCannonAdminOnlyProjectile(1052) - invalid value for bounceElasticity: Must be between 0 and 0.999
ProjectileData - IonCannonAdminOnlyProjectile(1052) - invalid value for bounceFriction: Must be between 0 and 1
Object 'IonCannonAdminOnlyReloadSound' is not a member of the 'AudioProfile' data block class
76 datablocks added.


As for the actual problem, I'm not seeing any debugging information in the console.log you posted that would hint to an error.

Do this:
1. Run the game again.
2. Start a server.
3. Press the tilde (`)
4. Type in trace(1); exactly and press enter. It should say "Console Trace Started" and spam a lot of information.
5. Play as normal.
6. Wait for crash.
7. Upload console.log to Mediafire or a similar host. It wil be several megabytes in size, depending on how long you play.
8. Post here.


OR:
1. Delete all your add-ons.
2. Run the game.
3. Enjoy a bug-free game.


I deleted Logger. I am now on trace. Waiting for the crash...

I deleted Logger. I am now on trace. Waiting for the crash...
You gotta trigger it by doing something. What are you doing when it crashes usually?

Building music bricks and a shop. It finally crashed. But, it doesn't look like much of a help.

Building music bricks and a shop. It finally crashed. But, it doesn't look like much of a help.
Upload the console.log to Mediafire, please.


Object '-1' is not a member of the 'AudioProfile' data block class

That's the exact error message.

Code: [Select]
Entering updateBlobsRemaining(1113)
Leaving updateBlobsRemaining() - return
Fatal-ISV: (\dev\Blockland\trunk\engine\blobs\blobBuffer.cpp @ 41) Failed to perform bzip2 decompression

This is another Fatal-ISV error. Badspot will want to hear about this.


I contacted Baadspot. Is there any way to fix it?

I don't think so. It's an error with the game not being able to take the smaller pieces of information the game sends and making it into something usable.

Wait, I couldn't find it in the console.log. Are you sure it is a Fatal-ISV?

Wait, I couldn't find it in the console.log. Are you sure it is a Fatal-ISV?
It's the last line in the console.log you gave me.