Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: ARRGH! these 1.85 weapons bring up an annoying error msg  (Read 2286 times)

0 Members and 1 Guest are viewing this topic.

SASeasy_tiger

  • Guest
lo every1

everytime i add a new 1.85 weapon (e.g hunting rifle) i get a nice ' error bis_weaponpack not found' error. I experienced the same prob then resistance came out and remedied it by putting the weapons into ammo crates with the '(res)' extension. However whichever ammo crate i put the weapon into i still get the annoying msg.

any ideas?


p.s u can still use the weapons but that msg is soooo annoying especially in a MP game

Hamdinger

  • Guest
Re:ARRGH! these 1.85 weapons bring up an annoying error msg
« Reply #1 on: 25 Oct 2002, 18:24:05 »
I remember having this problem with the Uzi when Resistance came out.  I'm no expert, but I think it happens when you're missing the appropriate addon declaration in the mission.sqm file.  For example, the top of one of my mission.sqm files looks like this:

Code: [Select]
version=11;
class Mission
{
   addOns[]=
   {
      "bis_resistance"
   };

If the  bis_resistance part is removed, I get the error you mentioned if I pick up an Uzi.

I believe that the official addons will be automatically added to your mission.sqm file if you preview your mission and grab the weapon during your preview.  (Don't forget to save after you preview.)

SASeasy_tiger

  • Guest
Re:ARRGH! these 1.85 weapons bring up an annoying error msg
« Reply #2 on: 26 Oct 2002, 21:26:05 »
ah ha thnx

the addon was defined as "BIS_weaponpack" instead of "bis_weaponpack", i thanged it to lowercase and everythings sorted :D