Home   Help Search Login Register  

Author Topic: Description.ext file crashing game  (Read 2229 times)

0 Members and 1 Guest are viewing this topic.

Offline Commando84

  • Members
  • *
Description.ext file crashing game
« on: 24 Aug 2008, 01:47:03 »
Hi i have a problem when i tried  to add a number of scripts to my arma mp mission and some of them wanted me to add lines into description.ext file.
After i added the Ofpec Ils script lines into the description file and saved Arma crashed, then i removed all traces of it and try to load mission in the editor and it crashed  :blink:

anyways here is the code
Code: [Select]
// ============================================================================================

// BAS f - Mission Header
// Version: N/A
// Author(s): N/A (BIS)

class Header
{
  gameType = Coop;
  minPlayers = 1;
  maxPlayers = 10;
};

// ============================================================================================

// BAS f - Respawn Settings
// Version: N/A
// Author(s): N/A (BIS)

respawn=GROUP;
respawndelay=3;

// ============================================================================================

// BAS f - Loading Screen Text
// Version: 4
// Author(s): N/A (BIS)

onLoadMission = "T H E  5 1";
OnLoadMissionTime = False;

// ============================================================================================

// BAS f - Gear Snippets
// Version: 0-0-1 (2007-01-01)
// Author(s): Fer
// Note: Thanks to Biki contributors for compiling the ArmA core information.

class Weapons
{

// ArmA - Weapons PBO - West and Resistance Weapons

class M16A2 {count = 24;};
class M16A2GL {count = 24;};
  class M16A4 {count = 24;};
  class M16A4_GL {count = 24;};
  class M16A4_ACG {count = 24;};
  class M16A4_ACG_GL {count = 24;};
class M4 {count = 24;};
class M4GL {count = 24;};
class M4AIM {count = 24;};
class M4A1SD {count = 24;};
class M4SPR {count = 24;};
class M4A1 {count = 24;};
class M4A1GL {count = 24;};
class G36K {count = 24;};
class G36C {count = 24;};
class G36A {count = 24;};
class MP5A5 {count = 24;};
class MP5SD {count = 24;};
class M249 {count = 24;};
class M240 {count = 24;};
class M24 {count = 24;};
  class M107 {count = 24;};
class M9 {count = 24;};
class M9SD {count = 24;};
class M136 {count = 24;};
class JAVELIN {count = 24;};
class STINGER {count = 24;};

// ArmA - Weapons PBO - East Weapons

class AK74 {count = 24;};
class AK74GL {count = 24;};
class AKS74U {count = 24;};
class AKS74UN {count = 24;};
class AKS74PSO {count = 24;};
class PK {count = 24;};
class SVD {count = 24;};
class KSVK {count = 24;};
class Makarov {count = 24;};
class MakarovSD {count = 24;};
class RPG7V {count = 24;};
class STRELA {count = 24;};

// ArmA - Weapons PBO  - Misc.

class Laserdesignator {count = 24;};
class NVGoggles {count = 24;};
class Binocular {count = 24;};

};

class Magazines
{

// ArmA - Weapons PBO  - West and Resistance Magazines

class 30Rnd_556x45_Stanag {count = 44;};
class 20Rnd_556x45_Stanag {count = 24;};
class 30Rnd_556x45_StanagSD {count = 24;};
class 30Rnd_556x45_G36 {count = 24;};
class 30Rnd_9x19_MP5 {count = 24;};
class 30Rnd_9x19_MP5SD {count = 24;};
class 200Rnd_556x45_M249 {count = 24;};
class 100Rnd_762x51_M240 {count = 24;};
class 5Rnd_762x51_M24 {count = 24;};
  class 10Rnd_127x99_M107 {count = 24;};
class 15Rnd_9x19_M9 {count = 24;};
class 15Rnd_9x19_M9SD {count = 24;};
class M136 {count = 24;};
class JAVELIN {count = 24;};
class STINGER {count = 24;};
class FlareWhite_M203 {count = 24;};
class FlareGreen_M203 {count = 24;};
class FlareRed_M203 {count = 24;};
class FlareYellow_M203 {count = 24;};
class 1Rnd_HE_M203 {count = 24;};

// ArmA - Weapons PBO  - East Magazines

class 30Rnd_545x39_AK {count = 24;};
class 30Rnd_545x39_AKSD {count = 24;};
class 100Rnd_762x54_PK {count = 24;};
class 10Rnd_762x54_SVD {count = 24;};
class 5Rnd_127x108_KSVK {count = 24;};
class 8Rnd_9x18_Makarov {count = 24;};
class 8Rnd_9x18_MakarovSD {count = 24;};
class PG7V {count = 24;};
class PG7VR {count = 24;};
class FlareWhite_GP25 {count = 24;};
class FlareGreen_GP25 {count = 24;};
class FlareRed_GP25 {count = 24;};
class FlareYellow_GP25 {count = 24;};
class 1Rnd_HE_GP25 {count = 24;};

// ArmA - Weapons PBO  - Misc.

class HandGrenade {count = 24;};
class HandGrenadeTimed {count = 24;};
class SmokeShell {count = 24;};
class SmokeShellRed {count = 24;};
class SmokeShellGreen {count = 24;};
class PipeBomb {count = 24;};
class TimeBomb {count = 24;};
class Mine {count = 24;};
class MineE {count = 24;};
class Laserbatteries {count = 24;};

};

// ============================================================================================

// BAS f - Kegetys Spectator Script for ArmA
// Version: 1-01 (BAS f Edit)
// Author(s): Kegetys

#include "f\common\f_spect\spectating.hpp"

// ============================================================================================
//MadDogX explosion script
#include "MDXexploFX\enhancedFX.hpp"

// ============================================================================================

#Include "TVS\config.hpp"


also i had the code for the ofpec isl at the end but i had deleted it but it still crashed arma  :P
Any1 that can help?

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re: Description.ext file crashing game
« Reply #1 on: 24 Aug 2008, 03:07:49 »
What does your .RPT file say about it?


Planck
I know a little about a lot, and a lot about a little.

Offline Commando84

  • Members
  • *
Re: Description.ext file crashing game
« Reply #2 on: 24 Aug 2008, 13:13:44 »
it says
Code: [Select]
ErrorMessage: Preprocessor failed on file C:\Documents and Settings\Dan Kantola\Mina dokument\ArmA Other Profiles\Snake\missions\co_vallejo_battle.SaraLite\description.ext - error 7.
i dunno what that means at all  :confused:

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re: Description.ext file crashing game
« Reply #3 on: 25 Aug 2008, 02:44:43 »
Not a terribly meaningful error message is it?   :no:

Which basically means I have no idea what error 7 is, or indeed error 6.

There was nothing else in the RPT about it?
Just that one little cryptic clue?

Are you sure that your include paths are correct.
Try removing all the:

//
==========================================


Planck
« Last Edit: 25 Aug 2008, 02:51:58 by Planck »
I know a little about a lot, and a lot about a little.

Offline Commando84

  • Members
  • *
Re: Description.ext file crashing game
« Reply #4 on: 15 Oct 2008, 22:51:08 »
ohh thx will try to remove those lines, will post tomorow night or this weekend if it worked!  :)

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re: Description.ext file crashing game
« Reply #5 on: 15 Oct 2008, 23:19:40 »
I suspect it is one of your #include lines that is causing the failure.

Try disabling them one by one to see which one it is.

Try also putting the hpp files in your mission folder then the include line would not need a complex path statement.



Planck
I know a little about a lot, and a lot about a little.

Offline USM-CPT.Dyson

  • Members
  • *
Re: Description.ext file crashing game
« Reply #6 on: 17 Oct 2008, 00:22:59 »
Actually the following code US supposed to be placed in an init.sqf file, not your description.ext so that is the problem. If you do get an error saying line 7, that would be refering line number 7 in your file. So you could go and look, then copy and paste the code here if you can figure it out. But your problem is putting it in the wrong file. Also bas f uses those equal signs to separate each block of code.
CTI SectorLink
Version: Beta 7
http://hosted.filefront.com/Spyder001/

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re: Description.ext file crashing game
« Reply #7 on: 17 Oct 2008, 14:45:08 »
I don't see any error about Line 7, only error mentioned here was an error called 'error 7'.


Planck
I know a little about a lot, and a lot about a little.

Offline USM-CPT.Dyson

  • Members
  • *
Re: Description.ext file crashing game
« Reply #8 on: 19 Oct 2008, 06:13:08 »
I'm assuming a typo maybe, ive never seen error 7 before. I uses the bas f framework, and the code he posted goes in his init.sqf
CTI SectorLink
Version: Beta 7
http://hosted.filefront.com/Spyder001/

Offline Odin

  • Members
  • *
Re: Description.ext file crashing game
« Reply #9 on: 21 Oct 2008, 23:27:46 »
G'day I think both of these hpp files have sounds defined in each
Code: [Select]
#include "MDXexploFX\enhancedFX.hpp"
#Include "TVS\config.hpp"]
just check and if they have you will need to remove those lines an create a soundfx.hpp or add em straight to the description. I am not sure but worth a look

Odin