Author Topic: Tables error/FRED error  (Read 2477 times)

0 Members and 1 Guest are viewing this topic.

Offline dragonsniper

  • 29
  • Master of the Irrelevant
    • Steam
Tables error/FRED error
Alright, here's my predicament. I'm using a custom table for a custom ship, however when I load up FRED, it will not appear in the list. I am using a 3.6.11 INF Nightly build, from back in Late January iirc. The table info is included below. I am having the same issue with one other ship as well. Everything is in it's proper place, as every other ship and custom weapons that I have done shows up just fine. This one however refuses to show up. Is it possible that I have hit the limit for ships allowed in FRED? (all the FS1 and FS2 ships also come up, since I have FRED set up to do so.) Any help would be appreciated.

Code: [Select]
#Ship Classes
$Name: USSF Darkness
$Short name: USSF Darkness
$Species: Terran
+Type: XSTR("Advanced Assault", -1)
+Maneuverability: XSTR("Good", -1)
+Armor: XSTR("Average", -1)
+Manufacturer: XSTR("Ano Electronics", -1)
+Description: XSTR( " ", -1)
$end_multi_text
+Tech Description:
XSTR("Test fighter", -1)
$end_multi_text
+Length: 26 m
+Gun Mounts: 6
+Missile Banks: 2
$POF file: vampire.pof
$Detail distance: (0, 80, 300, 900)
$Show damage: YES
$Density: 1
$Damp: 0.1
$Rotdamp: 0.35
$Max Velocity: 0.0, 0.0, 70.0 ;; in x/y/z -- z only specified forward. use special tokens for backward movement
$Rotation time: 3.0, 2.6, 5.0
$Rear Velocity: 0.0
$Forward accel: 2.3
$Forward decel: 1.5
$Slide accel: 0.0
$Slide decel: 0.0
$Expl inner rad: 25.0
$Expl outer rad: 55.0
$Expl damage: 4.0
$Expl blast: 850.0
$Expl Propagates: NO ;; If set to Yes, then when the ship dies, the explosion propagates through it.
$Shockwave Speed: 0.0 ;; speed shockwave expands at, 0 means no shockwave
$Allowed PBanks: ( "GARE-MACH5" "SlasherF3" "BG-A" "Densom-CCa" "Inti-Y" "AR-T7" "AR-Z9")
$Allowed Dogfight PBanks: ( )
$Default PBanks: ( "SlasherF3" "BG-A" )
$PBank Capacity: ( 200, 200)
$Allowed SBanks: ( "MisleV2" "Destin CRC" "E-Missle" )
$Allowed Dogfight SBanks: ( )
$Default SBanks: ( "DestinCRC" "DestinCRC" )
$SBank Capacity: (30, 30 )
$Shields: 0
$Shield Color: 100 100 255
$Power Output: 2.0
$Max Oclk Speed: 80.0
$Max Weapon Eng: 80.0
$Hitpoints: 195
$Flags: ( "player_ship" "fighter" "in tech database")
$AI Class: Captain
$Afterburner: YES
    +Aburn Max Vel: 0.0, 0.0, 90.0
    +Aburn For accel: 0.7
    +Aburn Fuel: 300.0
    +Aburn Burn Rate: 50.0
    +Aburn Rec Rate: 25.0
$Countermeasures: 25
$Scan time: 2000
$EngineSnd: 128 ;; Engine sound of ship
$Closeup_pos: 0.0, 0.0, -22
$Closeup_zoom: 0.5
$Shield_icon: none
$Ship_icon: none
$Ship_anim: none
$Ship_overhead: none
$Score: 8
$Trail:
+Offset: -7.75 -2.8 0.75
+Start Width: 0.25
+End Width: 0.05
+Start Alpha: 1.0
+End Alpha: 0.0
+Max Life: 1.0
+Spew Time: 60
+Bitmap: Contrail01
$Trail:
+Offset: 7.75 -2.8 0.75
+Start Width: 0.25
+End Width: 0.05
+Start Alpha: 1.0
+End Alpha: 0.0
+Max Life: 1.0
+Spew Time: 60
+Bitmap: Contrail01
$Subsystem: communication, 10, 0
$Subsystem: navigation, 10, 0
$Subsystem: weapons, 20, 0
$Subsystem: sensors, 10, 0
$Subsystem: engines, 35, 0
#End
Do or do not, there is no try...
~HLP Member and Modder~
          ~~2008-201x~~

 

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: Tables error/FRED error
Hmm. Something tells me that you missed three very obvious steps. One, Do not use nightlies this long. Use 3.6.12 RC2. Two, you apparently didn't run this through a debug build, otherwise you would know what's wrong. Three, you forgot to post the fs2_open.log generated by a debug build.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline dragonsniper

  • 29
  • Master of the Irrelevant
    • Steam
Re: Tables error/FRED error
1. Duh. I'll switch it over right away.
2. I have a lot of various errors, and I know it and am working on getting them fixed. I didn't feel like posing it or the log here for that reason. :)
3. I wanted to know there were any errors in the table file. If there are none, then that gives me several options which I will look into.
Do or do not, there is no try...
~HLP Member and Modder~
          ~~2008-201x~~

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Re: Tables error/FRED error
Well that is exactly what running a debug build will tell you.  What the errors are.
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras

 

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: Tables error/FRED error
And you know, if you post the log, we might be able to tell you exactly what you have to do to fix them....
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline dragonsniper

  • 29
  • Master of the Irrelevant
    • Steam
Re: Tables error/FRED error
This is the proper one, correct?

[attachment deleted by admin]
Do or do not, there is no try...
~HLP Member and Modder~
          ~~2008-201x~~

 

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: Tables error/FRED error
And right off the bat, we find something wrong.

Code: [Select]
-mod Syrk,fsport,fsport_mediavps,mediavpsThe FSPort mediavps need to be loaded BEFORE the fsport.

Code: [Select]
Found root pack 'C:\games\freespace2\mediavps\MV_Complete.vp' with a checksum of 0x31df7754
MV_Complete is deprecated, and should not be used. Use the installer to get the current 3.6.10 mediavps, or install them manually.

Code: [Select]
WARNING: "$Rearm Rate for ballistic primary AR-Z09 not specified.  Defaulting to 100..." at weapons.cpp:1641
WARNING: "$Rearm Rate for ballistic primary QRU-1 HE not specified.  Defaulting to 100..." at weapons.cpp:1641
WARNING: "Unable to find WEAPON_LIST_TYPE string "Ion-2G4" in the player weapon precedence list." at parselo.cpp:2259
WARNING: "Unable to find WEAPON_LIST_TYPE string "Slasher F3" in the player weapon precedence list." at parselo.cpp:2259
WARNING: "Unable to find WEAPON_LIST_TYPE string "Athelen Xen4" in the player weapon precedence list." at parselo.cpp:2259

Ooooh boy. The first two errors are not that bad. Just define a rearm rate for those weapons, and you'll be fine. The other three, however, can be corrected in two ways. Either you remove the "player allowed" flag from the weapon, or you put them in the player weapon precedence list. Consult the weapons.tbl page on the wiki for details.

Code: [Select]
WARNING: "Too many beam sections for weapon SRed - max is 5" at weapons.cpp:2143
WARNING: "Too many beam sections for weapon SRed - max is 5" at weapons.cpp:2143
WARNING: "Too many beam sections for weapon SRed - max is 5" at weapons.cpp:2143
WARNING: "Too many beam sections for weapon SAAA - max is 5" at weapons.cpp:2143
WARNING: "Too many beam sections for weapon SAAA - max is 5" at weapons.cpp:2143
WARNING: "Too many beam sections for weapon SAAA - max is 5" at weapons.cpp:2143
WARNING: "Too many beam sections for weapon LRed - max is 5" at weapons.cpp:2143
WARNING: "Too many beam sections for weapon LRed - max is 5" at weapons.cpp:2143
WARNING: "Too many beam sections for weapon LRed - max is 5" at weapons.cpp:2143
WARNING: "Too many beam sections for weapon BFRed - max is 5" at weapons.cpp:2143
WARNING: "Too many beam sections for weapon BFRed - max is 5" at weapons.cpp:2143
WARNING: "Too many beam sections for weapon BFRed - max is 5" at weapons.cpp:2143
WARNING: "Too many beam sections for weapon AAAf - max is 5" at weapons.cpp:2143
WARNING: "Too many beam sections for weapon AAAf - max is 5" at weapons.cpp:2143
WARNING: "Too many beam sections for weapon AAAh - max is 5" at weapons.cpp:2143
WARNING: "Too many beam sections for weapon AAAh - max is 5" at weapons.cpp:2143
WARNING: "Too many beam sections for weapon S-AAA-Weak - max is 5" at weapons.cpp:2143
WARNING: "Too many beam sections for weapon S-AAA-Weak - max is 5" at weapons.cpp:2143
WARNING: "Too many beam sections for weapon S-AAA-Weak - max is 5" at weapons.cpp:2143

I would bet this is caused by the various -wewp.tbms you have floating around. Try to consolidate them wherever possible.

Code: [Select]
WARNING: "Unable to find WEAPON_LIST_TYPE string "VLL-9 Laser"  in ship: GTF Ulysses's primary banks." at parselo.cpp:2259
WARNING: "Unable to find WEAPON_LIST_TYPE string "Disruptor"  in ship: GTF Ulysses's primary banks." at parselo.cpp:2259
WARNING: "Unable to find WEAPON_LIST_TYPE string "D-Advanced"  in ship: GTF Ulysses's primary banks." at parselo.cpp:2259
WARNING: "Unable to find WEAPON_LIST_TYPE string "Avenger"  in ship: GTF Ulysses's primary banks." at parselo.cpp:2259
WARNING: "Unable to find WEAPON_LIST_TYPE string "Flail"  in ship: GTF Ulysses's primary banks." at parselo.cpp:2259
WARNING: "Unable to find WEAPON_LIST_TYPE string "Prometheus"  in ship: GTF Ulysses's primary banks." at parselo.cpp:2259
WARNING: "Unable to find WEAPON_LIST_TYPE string "Prometheus A"  in ship: GTF Ulysses's primary banks." at parselo.cpp:2259
WARNING: "Unable to find WEAPON_LIST_TYPE string "Railgun"  in ship: GTF Ulysses's primary banks." at parselo.cpp:2259
WARNING: "Unable to find WEAPON_LIST_TYPE string "S-Breaker"  in ship: GTF Ulysses's primary banks." at parselo.cpp:2259
WARNING: "Unable to find WEAPON_LIST_TYPE string "Leech Cannon"  in ship: GTF Ulysses's primary banks." at parselo.cpp:2259
WARNING: "Unable to find WEAPON_LIST_TYPE string "UD-1 Volz"  in ship: GTF Ulysses's primary banks." at parselo.cpp:2259
WARNING: "Unable to find WEAPON_LIST_TYPE string "VLL-9 Laser"  in ship: GTF Ulysses's primary dogfight banks." at parselo.cpp:2259
WARNING: "Unable to find WEAPON_LIST_TYPE string "Disruptor"  in ship: GTF Ulysses's primary dogfight banks." at parselo.cpp:2259
WARNING: "Unable to find WEAPON_LIST_TYPE string "D-Advanced"  in ship: GTF Ulysses's primary dogfight banks." at parselo.cpp:2259
WARNING: "Unable to find WEAPON_LIST_TYPE string "Avenger"  in ship: GTF Ulysses's primary dogfight banks." at parselo.cpp:2259
WARNING: "Unable to find WEAPON_LIST_TYPE string "Flail"  in ship: GTF Ulysses's primary dogfight banks." at parselo.cpp:2259
WARNING: "Unable to find WEAPON_LIST_TYPE string "Prometheus"  in ship: GTF Ulysses's primary dogfight banks." at parselo.cpp:2259
WARNING: "Unable to find WEAPON_LIST_TYPE string "Prometheus A"  in ship: GTF Ulysses's primary dogfight banks." at parselo.cpp:2259
WARNING: "Unable to find WEAPON_LIST_TYPE string "Railgun"  in ship: GTF Ulysses's primary dogfight banks." at parselo.cpp:2259
WARNING: "Unable to find WEAPON_LIST_TYPE string "S-Breaker"  in ship: GTF Ulysses's primary dogfight banks." at parselo.cpp:2259
WARNING: "Unable to find WEAPON_LIST_TYPE string "Leech Cannon"  in ship: GTF Ulysses's primary dogfight banks." at parselo.cpp:2259
WARNING: "Unable to find WEAPON_LIST_TYPE string "UD-1 Volz"  in ship: GTF Ulysses's primary dogfight banks." at parselo.cpp:2259
WARNING: "Unable to find WEAPON_LIST_TYPE string "Avenger"  in ship: GTF Ulysses's default primary banks." at parselo.cpp:2259

This whole bunch of errors means that the weapons with those names were not found in the virtual weapons.tbl the game constructs out of the various tbms it loads.

Code: [Select]
ASSERTION: "(sip->primary_bank_weapons[i] >= 0)" at ship.cpp:1792
 
in ship: GTF Ulysses. No $Default PBanks supplied for bank 0

This means that the game could not find a suitable default primary weapon for the Uly. This is BAD.

The lesson here is that, when you are constructing a new mod pack, you should always, always, ALWAYS use debug builds, and correct warnings as soon as they appear. Do not let them lie around like this.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline dragonsniper

  • 29
  • Master of the Irrelevant
    • Steam
Re: Tables error/FRED error
Alright, thanks. I'll look into getting these fixed asap. :)
Do or do not, there is no try...
~HLP Member and Modder~
          ~~2008-201x~~

  

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: Tables error/FRED error
I am quite sure that there are more errors lurking in there, since the game aborts before having finished to load everything. if you don't know how to fix these errors, feel free to post them here (and always remember to post a full log to accompany it).

Another very valuable tip would be to join the Hard-Light IRC channel. You will usually find people there who know the engine in and out.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline dragonsniper

  • 29
  • Master of the Irrelevant
    • Steam
Re: Tables error/FRED error
Thanks again E. I'll look into these tomorrow, and will ask if needed. :)
Do or do not, there is no try...
~HLP Member and Modder~
          ~~2008-201x~~

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Re: Tables error/FRED error
It's possible once you switch the load order around and fix the one bug the rest might work.  Again a good reason to run debug anytime you are doing modding.  Better to find out sooner there is a problem before it snowballs. 
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras

 

Offline dragonsniper

  • 29
  • Master of the Irrelevant
    • Steam
Re: Tables error/FRED error
before it snowballs. 
Kind of like in this case I'm assuming? ;) Thanks again guys. I'll ask if problems or questions arise. :)
Do or do not, there is no try...
~HLP Member and Modder~
          ~~2008-201x~~