| Blockland Forums > Help |
| Dedicated server crashing - Object: '-1' is not part of the AudioProfile datablo |
| (1/5) > >> |
| ScratchTehEPICSpaceDude:
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?! |
| CityRPG:
Start by deleting Script_Logger.zip --- Code: ---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 --- End code --- You're using several add-ons that are pure garbage, including a version of the Mini-Nuke that bypasses the CRC ban. --- Code: ---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. --- End code --- And whatever the forget this is supposed to be. --- Code: ---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. --- End code --- 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. |
| Stocking:
^ wrong |
| ScratchTehEPICSpaceDude:
I deleted Logger. I am now on trace. Waiting for the crash... |
| CityRPG:
--- Quote from: ScratchTehEPICSpaceDude on February 04, 2012, 07:52:45 PM ---I deleted Logger. I am now on trace. Waiting for the crash... --- End quote --- You gotta trigger it by doing something. What are you doing when it crashes usually? |
| Navigation |
| Message Index |
| Next page |