Home   Help Search Login Register  

Author Topic: OFP Crashes when island loaded  (Read 1319 times)

0 Members and 1 Guest are viewing this topic.

Offline Jahve

  • Former Staff
  • ****
    • Jahwerks
OFP Crashes when island loaded
« on: 09 Jul 2003, 12:17:25 »
Im working on an island with WRPedit, because I'm unable to import it into Visitor and if i theoretically was able to, i wouldnt because then all my objects and textures ive placed would be lost.

This island is called "Norvegia" and is a re-make of desert island, dividing it into two halfs connected by a res bridge and has trees, buildings, roads, an aiport, you name it. I've tried really hard now to get it working ingame, and I'm almost convinced my config.cpp is right and working, but when the RECEIVEING bit is done loading, the game crashes to desktop and gives no error messages.. WHATS WRONG!??? :'( I desperately need help with this, as I've been working really hard on it :'( Please help me!

Edit: This is NOT a config.cpp problem. It is a .wrp file problem.
« Last Edit: 10 Jul 2003, 10:14:36 by Jahve »

Offline Garcia

  • Members
  • *
  • Leeds United is the best football team...EVER!
Re:OFP Crashes when island loaded
« Reply #1 on: 09 Jul 2003, 12:41:22 »
hmm...I tried to help you, but I couldn't find anything wrong in the config :-\ Though, I ain't any good with config.cpp, so I think you should post the config here so ppl like Planck and SelectThis can see it ;) Maybe they'll find something that fucks things up...

Garcia

Offline Jahve

  • Former Staff
  • ****
    • Jahwerks
Re:OFP Crashes when island loaded
« Reply #2 on: 09 Jul 2003, 12:46:27 »
allright.. Here it goes:

Code: [Select]
class CfgPatches
{
   class JahNorvegia
   {
      units[] = {};
      weapons[] = {};
      worlds[] = {"JahNorvegia"};
      requiredVersion = 1.90;
   };
};


class CfgWorldList
{
   access=1
   class JahNorvegia {};
};
class CfgWorlds
{
   class DefaultWorld {};
   class Eden: DefaultWorld {};
   class JahNorvegia: Eden
   {
      access=3;
      plateFormat="ER$  ## - ##";
      plateLetters="ABCDEFHIKLMOPRSTVXYZ";
      worldName="\JahNorvegia\nor.wrp";
      description="Norvegia";
      icon="_training.paa";
      startTime="8:30";
      startDate="30/4/84";
      startWeather=0.300000;
      startFog=0.000000;
      forecastWeather=0.300000;
      forecastFog=0.000000;
      seagullPos[]={10738,8509};
      class Sounds
      {
         sounds[]={};
      };
      class Animation
      {
         vehicles[]={};
      };
      class Names {};
   };

};

Offline MI_Fred

  • Members
  • *
  • AA
    • OFP Team Finlanders
Re:OFP Crashes when island loaded
« Reply #3 on: 09 Jul 2003, 13:35:04 »
The cpp should work. One thing I don't know about is having access CfgWorldList. And atleast this line:

worlds[] = {"JahNorvegia"};

can go w/o quotes.

I once got my island crashing after the receiving, it's made with visitor. The problem was solved after optimizing object registry if I remember correctly.
There's gooks over there, there's mines over there, and watch out those goddamn monkeys talk, I'll bite ya.

Offline Jahve

  • Former Staff
  • ****
    • Jahwerks
Re:OFP Crashes when island loaded
« Reply #4 on: 09 Jul 2003, 13:41:39 »
Well i've established now that its something wrong with my wrp file.. dunno what..

667

  • Guest
Re:OFP Crashes when island loaded
« Reply #5 on: 09 Jul 2003, 19:12:06 »
hmm sounds silly perhaps but how do you name your pbo,
nor.pbo or JahNorvegia.pbo ?

Offline Jahve

  • Former Staff
  • ****
    • Jahwerks
Re:OFP Crashes when island loaded
« Reply #6 on: 09 Jul 2003, 20:00:03 »
JahNorvegia.pbo

Offline MI_Fred

  • Members
  • *
  • AA
    • OFP Team Finlanders
Re:OFP Crashes when island loaded
« Reply #7 on: 09 Jul 2003, 21:48:51 »
Sry for being so blind: smack this below seagullpos
centerPosition[]={5931,6747,0};
or any pos whatsoever, just that it is there. I think  ::)
that seagullpos might be out of the map anyways, and aint needed.
« Last Edit: 09 Jul 2003, 21:50:14 by MI_Fred »
There's gooks over there, there's mines over there, and watch out those goddamn monkeys talk, I'll bite ya.

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:OFP Crashes when island loaded
« Reply #8 on: 10 Jul 2003, 00:33:41 »
I found one or two little errors, try this one:

class CfgPatches
{
   class JahNorvegia
   {
      units[] = {};
      weapons[] = {};
      worlds[] = {"JahNorvegia"};
      requiredVersion = 1.90;
   };
};

class CfgWorlds
{
   class DefaultWorld {};
   class JahNorvegia: DefaultWorld
   {
      access=3;
      description="Norvegia";
      icon="_training.paa";
      worldName="\JahNorvegia\nor.wrp";
      plateFormat="ER$ ## - ##";
      plateLetters="ABCDEFHIKLMOPRSTVXYZ";
      startTime="8:30";
      startDate="30/4/84";
      startWeather=0.300000;
      startFog=0.000000;
      forecastWeather=0.300000;
      forecastFog=0.000000;
      seagullPos[]={10738,8509,100};
      centerPosition[]={9735,3964,0};
      class Sounds
      {
      sounds[]={};
      };
      class Animation
      {
      vehicles[]={};
      };
      class Names {};
      {
      };
   };
};

class CfgWorldList
{
   class JahNorvegia {};
};



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

Offline Jahve

  • Former Staff
  • ****
    • Jahwerks
Re:OFP Crashes when island loaded
« Reply #9 on: 10 Jul 2003, 10:15:27 »
I tried, no success. It is NOT a config.cpp problem, but must be something with the wrp file..  :(

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:OFP Crashes when island loaded
« Reply #10 on: 10 Jul 2003, 20:33:25 »
Throw your wrp file my way and I will have a look.

mcnicoll7@yahoo.com


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