Author Topic: FSPort Crash "weapon error"  (Read 11371 times)

0 Members and 1 Guest are viewing this topic.

FSPort Crash "weapon error"
This happens just after you escort the Galetea through an asteroid belt, it will not continue to the next briefing. I just get:
Error: Invalid weapon name.

In sexpression: ( when
   ( true )
   ( allow-weapon "Avenger" )
   ( tech-add-weapons
      "Avenger"
      "Interceptor#Weak"
   )
   ( tech-add-ships
      "SF Scorpion"
      "SB Shaitan"
      "SC 5"
      "SAC 2"
      "SC Cain"
      "SSG Trident"
   )
)
(Error appears to be: Avenger)
File:J:\src\cvs\fs2_open_3_6_9.final\code\Mission\MissionParse.cpp
Line: 5798
[This filename points to the location of a file on the computer that built this executable]

Call stack:
------------------------------------------------------------------
------------------------------------------------------------------


Help...?
Corruption. It's everywhere!

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: FSPort Crash "weapon error"
I'll send this over the FS1 Port forums.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline colecampbell666

  • I See Dead Pictures
  • 212
  • Evolution and ascension.
Re: FSPort Crash "weapon error"
Make sure that you have no mods installed in your FSport folder.

Oh, and,
:welcomepurple:
HaloBuff!
Gettin' back to dodgin' lasers.

 
Re: FSPort Crash "weapon error"
Thanks for the welcome! And by mods you mean other player-made campains I wonder?

Also, I've been trying to play the Derelict campaign on a separate installation of the game (I made two, one for 1port and one for 2open) and can only get to the second level. It wants me to press '1' to have a 'squadmate deploy a bouy'. Well, I have tried unbinding '1', the '1' on both my gamepad and keyboard (it's a laptop so no numpad) and neither will work or respond. Any suggestions for that one?
Corruption. It's everywhere!

 

Offline colecampbell666

  • I See Dead Pictures
  • 212
  • Evolution and ascension.
Re: FSPort Crash "weapon error"
You don't need to have two installs.

It looks to me like you have FSport installed in your main FS2 directory.

Tell me, how did you install the game.

Post your directory contents (both of the directories) using this.
Gettin' back to dodgin' lasers.

 
Re: FSPort Crash "weapon error"
Ok, moving the mods to another folder worked. I separated the fs2 programs into open (2) and port (1) so I could use a different .exe short cut on my start menu for the two of them, as well as have the correct opening cutseen and menu art selection for either game, as the port overwrote those no matter wich campain I was running. The campain is now working, though the trainer mission for the Intercepter missils isn't showing missils, though I thing another post has something on that. Thanks for your help.

I wonder, does the online function still work? keeps telling me I need to run the program setup (launcher) to use it, but it wants me to select my video card, yet no options are available in its pull down list. any advice there?
Corruption. It's everywhere!

 

Offline Jeff Vader

  • The Back of the Hero!
  • 212
  • Bwahaha
Re: FSPort Crash "weapon error"
If you have the FS2 cutscenes in your root Freespace directory and the FS1 cutscenes in your FSPort folder, they should work correctly. Meaning, when you play FS2 (with mediavps as mod or no mod), FS2 cutscenes will be played, and when playing "FS1" (with FSPort as mod), the FS1 cutscenes will be played.

As for the training mission, you can find a fixed version for it in the Useful stuff for FSO link in my sig. Just extract it to your FSPort/data/missions folder.
23:40 < achillion > EveningTea: ass
23:40 < achillion > wait no
23:40 < achillion > evilbagel: ass
23:40 < EveningTea > ?
23:40 < achillion > 2-letter tab complete failure

14:08 < achillion > there's too much talk of butts and dongs in here
14:08 < achillion > the level of discourse has really plummeted
14:08 < achillion > Let's talk about politics instead
14:08 <@The_E > butts and dongs are part of #hard-light's brand now
14:08 <@The_E > well
14:08 <@The_E > EvilBagel's brand, at least

01:06 < T-Rog > welp
01:07 < T-Rog > I've got to take some very strong antibiotics
01:07 < achillion > penis infection?
01:08 < T-Rog > Chlamydia
01:08 < achillion > O.o
01:09 < achillion > well
01:09 < achillion > I guess that happens
01:09 < T-Rog > at least it's curable
01:09 < achillion > yeah
01:10 < T-Rog > I take it you weren't actually expecting it to be a penis infection
01:10 < achillion > I was not

14:04 < achillion > Sometimes the way to simplify is to just have a habit and not think about it too much
14:05 < achillion > until stuff explodes
14:05 < achillion > then you start thinking about it

22:16 < T-Rog > I don't know how my gf would feel about Jewish conspiracy porn

15:41 <-INFO > EveningTea [[email protected]] has joined #hard-light
15:47 < EvilBagel> butt
15:51 < Achillion> yes
15:53 <-INFO > EveningTea [[email protected]] has quit [Quit: http://www.mibbit.com ajax IRC Client]

18:53 < Achillion> Dicks are fun

21:41 < MatthTheGeek> you can't spell assassin without two asses

20:05 < sigtau> i'm mining titcoins from now on

00:31 < oldlaptop> Drunken antisocial educated freezing hicks with good Internet == Finland stereotype

11:46 <-INFO > Kobrar [[email protected]] has joined #hard-light
11:50 < achtung> Surely you've heard of DVDA
11:50 < achtung> Double Vaginal Double ANal
11:51 < Kobrar> ...
11:51 <-INFO > Kobrar [[email protected]] has left #hard-light []

 

Offline colecampbell666

  • I See Dead Pictures
  • 212
  • Evolution and ascension.
Re: FSPort Crash "weapon error"
You don't need two different .EXEs. The launcher allows you to select mods with a click of the mouse. If you wanted to have two shortcuts you could have used a batch file using something like "C\Games\FreeSpace2\fs2_open_3_6_9.exe" -mod fsport.

To go online read this. A schedule of games is available here.
Gettin' back to dodgin' lasers.

 
Re: FSPort Crash "weapon error"
One problem, the launcher is useless. It wont let me select my video card and thus won't continue from there...

btw, how the heck do you get cheats to work? All I can find is "type - www.volition-inc.com" , well, where do you type it? wont work in menu, wont work in-mission... ???
Corruption. It's everywhere!

 

Offline Cobra

  • 212
  • Snake on a Cain
    • Skype
    • Steam
    • Twitter
Re: FSPort Crash "weapon error"
If it doesn't recognize your video card already you must have screwed something up in the (video card) install.

The cheats for FSPort are the same as FS2.
« Last Edit: September 16, 2007, 05:34:49 pm by Cobra »
To consider the Earth as the only populated world in infinite space is as absurd as to assert that in an entire field of millet, only one grain will grow. - Metrodorus of Chios
I wept. Mysterious forces beyond my ken had reached into my beautiful mission and energized its pilots with inhuman bomb-firing abilities. I could only imagine the GTVA warriors giving a mighty KIAAIIIIIII shout as they worked their triggers, their biceps bulging with sinew after years of Ivan Drago-esque steroid therapy and weight training. - General Battuta

 

Offline colecampbell666

  • I See Dead Pictures
  • 212
  • Evolution and ascension.
Re: FSPort Crash "weapon error"
You just go into a mission and type "www.freespace2.com" (without quotations). Don't mind if com menus pop up and guns switch.


The cheats are as followed:

Hold "~" (without quotations) and type the cheat to get it's corresponding function:

~+w     Unlimited missiles and gun energy.
~+i       Invincibility.
~+k      Kill your target.
~+Alt+Shift+k     Do 10% damage to your target regardless of Hitpoints. (Useful for killing VolitionTM Bravos)
~+Alt+k     Do 10% damage to yourself.
~+Shift+i     Make your target invincible.
~+Shift+w     Give your target unlimited weapons?

That's all that I can think of right now, try gamewinners.com for more.
Gettin' back to dodgin' lasers.

 
Re: FSPort Crash "weapon error"
Thanks for clearing up the cheat isssue, I'll try that...

And for the video card thing, it never worked. The launcher simply wont work. I have to use the fs2open_3_9_something .exe to get it to run. I'm on a laptop, so the video card was installed before I got it and hasn't been changed.
Corruption. It's everywhere!

 
Re: FSPort Crash "weapon error"
ok... I tried the invinibility and it worked, but now the next mission (Destroy the Eva) will only let me arm the starter weapons (M-12 and MX-90) ??? I also got an error message about the tsunami and one other missile in the same format as my first problem. I removed the mods from the main folder and shoved them into 'Mods' folder. That worked before to clear up the previous problem, though now this is happening... any suggestions?
oh, i did switch from one campaign to another with my one pilot, is that bad or something?
Corruption. It's everywhere!

 

Offline Jeff Vader

  • The Back of the Hero!
  • 212
  • Bwahaha
Re: FSPort Crash "weapon error"
Keep each mod in its own folder. Don't throw everything into the root folder or anything like that. And never, ever switch between mods with the same pilot. That will undoubtedly cause pain and misery and loss of mental health. One pilot for one mod. That makes life a lot easier.
23:40 < achillion > EveningTea: ass
23:40 < achillion > wait no
23:40 < achillion > evilbagel: ass
23:40 < EveningTea > ?
23:40 < achillion > 2-letter tab complete failure

14:08 < achillion > there's too much talk of butts and dongs in here
14:08 < achillion > the level of discourse has really plummeted
14:08 < achillion > Let's talk about politics instead
14:08 <@The_E > butts and dongs are part of #hard-light's brand now
14:08 <@The_E > well
14:08 <@The_E > EvilBagel's brand, at least

01:06 < T-Rog > welp
01:07 < T-Rog > I've got to take some very strong antibiotics
01:07 < achillion > penis infection?
01:08 < T-Rog > Chlamydia
01:08 < achillion > O.o
01:09 < achillion > well
01:09 < achillion > I guess that happens
01:09 < T-Rog > at least it's curable
01:09 < achillion > yeah
01:10 < T-Rog > I take it you weren't actually expecting it to be a penis infection
01:10 < achillion > I was not

14:04 < achillion > Sometimes the way to simplify is to just have a habit and not think about it too much
14:05 < achillion > until stuff explodes
14:05 < achillion > then you start thinking about it

22:16 < T-Rog > I don't know how my gf would feel about Jewish conspiracy porn

15:41 <-INFO > EveningTea [[email protected]] has joined #hard-light
15:47 < EvilBagel> butt
15:51 < Achillion> yes
15:53 <-INFO > EveningTea [[email protected]] has quit [Quit: http://www.mibbit.com ajax IRC Client]

18:53 < Achillion> Dicks are fun

21:41 < MatthTheGeek> you can't spell assassin without two asses

20:05 < sigtau> i'm mining titcoins from now on

00:31 < oldlaptop> Drunken antisocial educated freezing hicks with good Internet == Finland stereotype

11:46 <-INFO > Kobrar [[email protected]] has joined #hard-light
11:50 < achtung> Surely you've heard of DVDA
11:50 < achtung> Double Vaginal Double ANal
11:51 < Kobrar> ...
11:51 <-INFO > Kobrar [[email protected]] has left #hard-light []

 

Offline colecampbell666

  • I See Dead Pictures
  • 212
  • Evolution and ascension.
Re: FSPort Crash "weapon error"
Get the latest drivers for your video card. Or get a Radeon. :D


You do realize that you do not have to choose your video card in the launcher? How does the launcher not work? Do errors pop-up? If so, what do they say?

Your best option would be to delete everything pertaining to FS2 and use Turey's to reinstall it right.

EDIT: You do realize that to configure your video card you have to open the launcher.

ONCE AGAIN: DELETE EVERYTHING AND USE TUREY'S FSO INSTALLER.
Gettin' back to dodgin' lasers.

 

Offline Mongoose

  • Rikki-Tikki-Tavi
  • Global Moderator
  • 212
  • This brain for rent.
    • Steam
    • Something
Re: FSPort Crash "weapon error"
Y'know, it occurs to me that telling anyone having trouble with mod installation to "zomg delete everything and use teh installer!!!1" rather counter-intuitively forces the user with the problem into wasting hundreds of megabytes of bandwidth downloading files he/she already has, not to mention the unnecessary bandwidth induced on the server of said files.  If this is a problem with mod installation, perhaps the more prudent solution would be aiding the user in moving files where they need to go, wouldn't it?

HaloBuff, it sounds like you have a few different problems going on at once.  You mentioned that you had to create two separate installs of FS2 in order to play the Port because your video card wasn't being recognized by the launcher.  Let's start with that; what specific type of video card do you have in your laptop?  (If you're unsure, go to your Control Panel, open up System, click on the Hardware tab, open the Device Manager, and look under Display Adapters.)  Like colecampbell said, the SCP launcher doesn't have a drop-box to select one's video card, just to choose between OpenGL and Direct3D8 (and no one should be using Direct3D, anyway).  If you're referring instead to the retail FS2 launcher, I'm fairly certain that running that isn't even necessary anymore.  If you could be more specific about what error you're getting, and where it is (posting a screenshot could help), we can help you iron out the video card issue, and then we can move on to mod installation.

Oh, and while the current SCP team advice does seem to be against using multiple mods under one pilot, I've been doing just that since 3.6.9 was released without experiencing any consequences.  Either I've just been very fortunate, or the original caveat was meant as a "we don't guarantee that this won't glitch your pilot file" disclaimer, rather than a "you are an idiot if you try that" warning.

 

Offline Jeff Vader

  • The Back of the Hero!
  • 212
  • Bwahaha
Re: FSPort Crash "weapon error"
I'm against playing many mods with one pilot. It once cost me the Prometheus S in the main FS2 campaign, and that wasn't funny.

And, as for the graphics card issue. HaloBuff, if you have a file called Launcher.exe in your root FreeSpace directory and you've tried to use itn getting these errors, you really have a severe problem with the game. If you don't have Launcher.exe, get it and use it. You might as well go straight for the Launcher 5.5c. And do consult Karajorma's FreeSpace FAQ on how to install mods (see the link in my signature).
23:40 < achillion > EveningTea: ass
23:40 < achillion > wait no
23:40 < achillion > evilbagel: ass
23:40 < EveningTea > ?
23:40 < achillion > 2-letter tab complete failure

14:08 < achillion > there's too much talk of butts and dongs in here
14:08 < achillion > the level of discourse has really plummeted
14:08 < achillion > Let's talk about politics instead
14:08 <@The_E > butts and dongs are part of #hard-light's brand now
14:08 <@The_E > well
14:08 <@The_E > EvilBagel's brand, at least

01:06 < T-Rog > welp
01:07 < T-Rog > I've got to take some very strong antibiotics
01:07 < achillion > penis infection?
01:08 < T-Rog > Chlamydia
01:08 < achillion > O.o
01:09 < achillion > well
01:09 < achillion > I guess that happens
01:09 < T-Rog > at least it's curable
01:09 < achillion > yeah
01:10 < T-Rog > I take it you weren't actually expecting it to be a penis infection
01:10 < achillion > I was not

14:04 < achillion > Sometimes the way to simplify is to just have a habit and not think about it too much
14:05 < achillion > until stuff explodes
14:05 < achillion > then you start thinking about it

22:16 < T-Rog > I don't know how my gf would feel about Jewish conspiracy porn

15:41 <-INFO > EveningTea [[email protected]] has joined #hard-light
15:47 < EvilBagel> butt
15:51 < Achillion> yes
15:53 <-INFO > EveningTea [[email protected]] has quit [Quit: http://www.mibbit.com ajax IRC Client]

18:53 < Achillion> Dicks are fun

21:41 < MatthTheGeek> you can't spell assassin without two asses

20:05 < sigtau> i'm mining titcoins from now on

00:31 < oldlaptop> Drunken antisocial educated freezing hicks with good Internet == Finland stereotype

11:46 <-INFO > Kobrar [[email protected]] has joined #hard-light
11:50 < achtung> Surely you've heard of DVDA
11:50 < achtung> Double Vaginal Double ANal
11:51 < Kobrar> ...
11:51 <-INFO > Kobrar [[email protected]] has left #hard-light []

 

Offline colecampbell666

  • I See Dead Pictures
  • 212
  • Evolution and ascension.
Re: FSPort Crash "weapon error"
Y'know, it occurs to me that telling anyone having trouble with mod installation to "zomg delete everything and use teh installer!!!1" rather counter-intuitively forces the user with the problem into wasting hundreds of megabytes of bandwidth downloading files he/she already has, not to mention the unnecessary bandwidth induced on the server of said files.  If this is a problem with mod installation, perhaps the more prudent solution would be aiding the user in moving files where they need to go, wouldn't it?

HaloBuff, it sounds like you have a few different problems going on at once.  You mentioned that you had to create two separate installs of FS2 in order to play the Port because your video card wasn't being recognized by the launcher.  Let's start with that; what specific type of video card do you have in your laptop?  (If you're unsure, go to your Control Panel, open up System, click on the Hardware tab, open the Device Manager, and look under Display Adapters.)  Like colecampbell said, the SCP launcher doesn't have a drop-box to select one's video card, just to choose between OpenGL and Direct3D8 (and no one should be using Direct3D, anyway).  If you're referring instead to the retail FS2 launcher, I'm fairly certain that running that isn't even necessary anymore.  If you could be more specific about what error you're getting, and where it is (posting a screenshot could help), we can help you iron out the video card issue, and then we can move on to mod installation.

Oh, and while the current SCP team advice does seem to be against using multiple mods under one pilot, I've been doing just that since 3.6.9 was released without experiencing any consequences.  Either I've just been very fortunate, or the original caveat was meant as a "we don't guarantee that this won't glitch your pilot file" disclaimer, rather than a "you are an idiot if you try that" warning.
I have asked him to do simple things, such as post his directory contents, among other things, but he hasn't. That is why I am telling him to get the installer. He isn't allowing us to help him.

EDIT: The pilot file problem generally only happens if you switch campaigns halfway through.

@HaloBuff: To post a screenshot, when you get the error, select the error window and press ALT+Print Sceen. Open up MSPaint, size te canvas down so that it is very small, and press Control+V. Save it as a .BMP and post it here by clicking the additional options button to the left of the post button.
« Last Edit: September 18, 2007, 04:04:15 pm by colecampbell666 »
Gettin' back to dodgin' lasers.

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Re: FSPort Crash "weapon error"
Oh, and while the current SCP team advice does seem to be against using multiple mods under one pilot, I've been doing just that since 3.6.9 was released without experiencing any consequences.  Either I've just been very fortunate, or the original caveat was meant as a "we don't guarantee that this won't glitch your pilot file" disclaimer, rather than a "you are an idiot if you try that" warning.
There's a lot of noise and a scarcity of justification being thrown around on this issue.  There are only two things that a player should be aware of.  If these are carefully monitored, everything else should proceed flawlessly.  I also have used the same pilot ever since I installed the SCP on this computer (about two years ago) and have never had any trouble.

1) Don't play a campaign with an incompatible mod arrangement, because you won't have the ships and weapons required by the missions.  For example, don't play the FS2 main campaign with Cardinal Spear activated -- Cardinal Spear doesn't have any Shivans, let alone any FS2-era equipment.

2) Don't switch campaigns before you've finished the one you're currently on and expect to be able to go back to it without restarting from the beginning.  Lots of people play the FS2 campaign halfway through, then install the Port and play halfway through, and then try to switch back to the FS2 campaign.  Every time you start a new campaign, it completely hoses your allowed ships and weapons.  So, even if you've managed your mod arrangement flawlessly (see #1), you may find that you are no longer allowed to use the ships or weapons you've been using up until that point.

 
Re: FSPort Crash "weapon error"
thanks for all of your help guys, and sorry for the nonspecific descriptions as I really dont have much time to figure out what is going on, let alone understand it. I did wipe my first install of freespace, and redownloaded it. It seems the installer is smart enough to find and copy all of the mods i have on my machine to where they belong in their own folders... anyhoo I'll give this a try and if I run into any more weapons/ships availability crashes I'll post em here. Thanks again for your help.

Oh, and has anyone figured out the problem of the non-responsive 'press 1' command in the Derelict campain, no one has answered that yet...
Corruption. It's everywhere!