Author Topic: Strange bug  (Read 5352 times)

0 Members and 1 Guest are viewing this topic.

Offline wardog300k

  • 28
  • I'm a FREDder
Alright, here it is.

[attachment DELETED!! by Strong Bad]
Crush the NTF-Conflict Zone
One last war, one last hope, one last survival-Final Destination On Delay
Set free from the GTVA-Liberation Wars On Delay

 

Offline niffiwan

  • 211
  • Eluder Class
There's two @Laser Glow entries after each other, try removing one of them.

Code: [Select]
$Name: GTVA Rapid Laser
...
@Laser Glow: 2_laserglow03
@Laser Glow: 2_laserglow03
(etc)
Creating a fs2_open.log | Red Alert Bug = Hex Edit | MediaVPs 2014: Bigger HUD gauges | 32bit libs for 64bit Ubuntu
----
Debian Packages (testing/unstable): Freespace2 | wxLauncher
----
m|m: I think I'm suffering from Stockholm syndrome. Bmpman is starting to make sense and it's actually written reasonably well...

 

Offline wardog300k

  • 28
  • I'm a FREDder
That was Inferno's problem, fixed now.

Here's the new log:
Code: [Select]
==========================================================================
DEBUG SPEW: No debug_filter.cfg found, so only general, error, and warning
categories can be shown and no debug_filter.cfg info will be saved.
==========================================================================
FreeSpace 2 Open version: 3.7.2.11227
Passed cmdline options:
  -missile_lighting
  -noenv
  -noglow
  -nospec
  -nonormal
  -noheight
  -3dshockwave
  -nolightshafts
  -dualscanlines
  -orbradar
  -rearm_timer
  -targetinfo
  -no_glsl
  -old_collision
Building file index...
Found root pack 'D:\Program Files\GOG.com\Freespace 2\Root_fs2.vp' with a checksum of 0xce10d76c
Found root pack 'D:\Program Files\GOG.com\Freespace 2\smarty_fs2.vp' with a checksum of 0xddeb3b1e
Found root pack 'D:\Program Files\GOG.com\Freespace 2\sparky_fs2.vp' with a checksum of 0x164fe65a
Found root pack 'D:\Program Files\GOG.com\Freespace 2\sparky_hi_fs2.vp' with a checksum of 0xa11d56f1
Found root pack 'D:\Program Files\GOG.com\Freespace 2\stu_fs2.vp' with a checksum of 0xd77da83a
Found root pack 'D:\Program Files\GOG.com\Freespace 2\tango1_fs2.vp' with a checksum of 0x4c25221e
Found root pack 'D:\Program Files\GOG.com\Freespace 2\tango2_fs2.vp' with a checksum of 0x86920b82
Found root pack 'D:\Program Files\GOG.com\Freespace 2\tango3_fs2.vp' with a checksum of 0x705e8d71
Found root pack 'D:\Program Files\GOG.com\Freespace 2\warble_fs2.vp' with a checksum of 0xd85c305d
Searching root 'D:\Program Files\GOG.com\Freespace 2\' ... 1786 files
Searching root pack 'D:\Program Files\GOG.com\Freespace 2\Root_fs2.vp' ... 157 files
Searching root pack 'D:\Program Files\GOG.com\Freespace 2\smarty_fs2.vp' ... 10 files
Searching root pack 'D:\Program Files\GOG.com\Freespace 2\sparky_fs2.vp' ... 3027 files
Searching root pack 'D:\Program Files\GOG.com\Freespace 2\sparky_hi_fs2.vp' ... 1337 files
Searching root pack 'D:\Program Files\GOG.com\Freespace 2\stu_fs2.vp' ... 2355 files
Searching root pack 'D:\Program Files\GOG.com\Freespace 2\tango1_fs2.vp' ... 32 files
Searching root pack 'D:\Program Files\GOG.com\Freespace 2\tango2_fs2.vp' ... 15 files
Searching root pack 'D:\Program Files\GOG.com\Freespace 2\tango3_fs2.vp' ... 10 files
Searching root pack 'D:\Program Files\GOG.com\Freespace 2\warble_fs2.vp' ... 52 files
Found 10 roots and 8781 files.
ERROR: Unknown Language Checksum: 589986744
Using default language settings...
Setting language to English
Game Settings Table: Using Standard Loops For SEXP Arguments
Game Settings Table: Using standard event chaining behavior
Game Settings Table: External shaders are DISABLED
Initializing OpenAL...
  OpenAL Vendor     : Creative Labs Inc.
  OpenAL Renderer   : Software
  OpenAL Version    : 1.1

  Found extension "ALC_EXT_EFX".

  Sample rate: 44100 (44100)
  EFX enabled: NO
  Playback device: Generic Hardware on Realtek HD Audio output
  Capture device: Realtek HD Audio Input
... OpenAL successfully initialized!
Initializing OpenGL graphics device at 640x480 with 16-bit color...
  Initializing WGL...
  Requested WGL Video values = R: 5, G: 6, B: 5, depth: 16, stencil: 1, double-buffer: 1
  Actual WGL Video values    = R: 8, G: 8, B: 8, depth: 24, stencil: 8, double-buffer: 1
  OpenGL Vendor    : Intel
  OpenGL Renderer  : Intel 945G
  OpenGL Version   : 1.4.0 - Build 7.14.10.4926

  Using extension "GL_EXT_fog_coord".
  Using extension "GL_ARB_multitexture".
  Using extension "GL_ARB_texture_env_add".
  Using extension "GL_ARB_texture_compression".
  Using extension "GL_EXT_texture_compression_s3tc".
  Using extension "GL_EXT_texture_filter_anisotropic".
  Using extension "GL_ARB_texture_env_combine".
  Using extension "GL_EXT_compiled_vertex_array".
  Using extension "GL_EXT_draw_range_elements".
  Unable to find extension "GL_ARB_texture_mirrored_repeat".
  Unable to find extension "GL_ARB_texture_non_power_of_two".
  Using extension "GL_ARB_vertex_buffer_object".
  Unable to find extension "GL_EXT_pixel_buffer_object".
  Using extension "GL_SGIS_generate_mipmap".
  Unable to find extension "GL_EXT_framebuffer_object".
  Unable to find extension "GL_NV_texture_rectangle".
  Using extension "GL_EXT_bgra".
  Using extension "GL_ARB_texture_cube_map".
  Using extension "GL_EXT_texture_lod_bias".
  Unable to find extension "NV_point_sprite".
  Unable to find extension "GL_ARB_shading_language_100".
  Unable to find extension "GL_ARB_shader_objects".
  Unable to find extension "GL_ARB_vertex_shader".
  Unable to find extension "GL_ARB_fragment_shader".
  Unable to find extension "GL_ATI_shader_texture_lod".
  Unable to find extension "GL_ARB_texture_float".
  Unable to find extension "GL_ARB_draw_elements_base_vertex".
  Found special extension function "wglSwapIntervalEXT".

  Max texture units: 8 (2)
  Max elements vertices: 1024
  Max elements indices: 1024
  Max texture size: 2048x2048
  Can use compressed textures: YES
  Texture compression available: YES
  Post-processing enabled: NO
  Using trilinear texture filter.
... OpenGL init is complete!
Size of bitmap info = 742 KB
Size of bitmap extra info = 48 bytes
ANI cursorweb with size 24x24 (25.0% wasted)
GRAPHICS: Initializing default colors...
SCRIPTING: Beginning initialization sequence...
SCRIPTING: Beginning Lua initialization...
LUA: Opening LUA state...
LUA: Initializing base Lua libraries...
LUA: Beginning ADE initialization
ADE: Initializing enumeration constants...
ADE: Assigning Lua session...
SCRIPTING: Beginning main hook parse sequence....
Wokka!  Error opening file (scripting.tbl)!
TABLES: Unable to parse 'scripting.tbl'!  Error code = 5.
SCRIPTING: Inititialization complete.
SCRIPTING: Splash screen overrides checked
SCRIPTING: Splash hook has been run
SCRIPTING: Splash screen conditional hook has been run
Using high memory settings...
Wokka!  Error opening file (interface.tbl)!
WMCGUI: Unable to parse 'interface.tbl'!  Error code = 5.
Dutifully ignoring the extra sound values for retail sound 36, 'l_hit.wav'...
Dutifully ignoring the extra sound values for retail sound 37, 'm_hit.wav'...
Windows reported 16 joysticks, we found 0
Current soundtrack set to -1 in event_music_reset_choices
Wokka!  Error opening file (armor.tbl)!
TABLES: Unable to parse 'armor.tbl'!  Error code = 5.
WARNING: Invalid value found for +Flicker on section 2 of beam BViolet. Valid range is 0.0 to 1.0, values will be adjusted.
WARNING: Invalid value found for +Flicker on section 4 of beam BViolet. Valid range is 0.0 to 1.0, values will be adjusted.
WARNING: Invalid value found for +Flicker on section 2 of beam BFViolet. Valid range is 0.0 to 1.0, values will be adjusted.
WARNING: Invalid value found for +Flicker on section 4 of beam BFViolet. Valid range is 0.0 to 1.0, values will be adjusted.
WARNING: Invalid value found for +Flicker on section 2 of beam UViolet. Valid range is 0.0 to 1.0, values will be adjusted.
WARNING: Invalid value found for +Flicker on section 4 of beam UViolet. Valid range is 0.0 to 1.0, values will be adjusted.
weapons.tbl(line 2683): Error: Required token = [#End] or [$Name:], found [+Miss Factor: 6.0 5.0 4.0 3.0 1.5].

ERROR: weapons.tbl(line 2683):
Error: Required token = [#End] or [$Name:], found [+Miss Factor: 6.0 5.0 4.0 3.0 1.5].

File: parselo.cpp
Line: 333
Freeing all existing models...
Crush the NTF-Conflict Zone
One last war, one last hope, one last survival-Final Destination On Delay
Set free from the GTVA-Liberation Wars On Delay

 

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Now, if you open your weapons.tbl and look at line 2683 and 2684, can you see what the error is?

Oh, and you should probably adjust the Flicker on those violet beams so they actually work properly.
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 wardog300k

  • 28
  • I'm a FREDder
I don't see a problem here.

Code: [Select]
Wrong one posted, the actual problem was SAAA.
« Last Edit: November 05, 2015, 11:45:06 am by wardog300k »
Crush the NTF-Conflict Zone
One last war, one last hope, one last survival-Final Destination On Delay
Set free from the GTVA-Liberation Wars On Delay

 

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
In the weapons.tbl you posted, line 2683 and 2684 are both +Miss Factor lines, one of them needs to be deleted.
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 AdmiralRalwood

  • 211
  • The Cthulhu programmer himself!
    • Skype
    • Steam
    • Twitter
I don't see a problem here.
The log you pasted earlier showed invalid flicker values on sections 2 and 4 of the beams BViolet, BFViolet, and UViolet. For some reason, you've removed the name of this example so we can't see which one it was supposed to be, but if it's one of those three, you've pasted an incomplete entry because it only has three sections (although given the lack of an invalid value for section #2, it seems more likely it's not one of the three weapons your log was complaining about).
Ph'nglui mglw'nafh Codethulhu GitHub wgah'nagl fhtagn.

schrödinbug (noun) - a bug that manifests itself in running software after a programmer notices that the code should never have worked in the first place.

When you gaze long into BMPMAN, BMPMAN also gazes into you.

"I am one of the best FREDders on Earth" -General Battuta

<Aesaar> literary criticism is vladimir putin

<MageKing17> "There's probably a reason the code is the way it is" is a very dangerous line of thought. :P
<MageKing17> Because the "reason" often turns out to be "nobody noticed it was wrong".
(the very next day)
<MageKing17> this ****ing code did it to me again
<MageKing17> "That doesn't really make sense to me, but I'll assume it was being done for a reason."
<MageKing17> **** ME
<MageKing17> THE REASON IS PEOPLE ARE STUPID
<MageKing17> ESPECIALLY ME

<MageKing17> God damn, I do not understand how this is breaking.
<MageKing17> Everything points to "this should work fine", and yet it's clearly not working.
<MjnMixael> 2 hours later... "God damn, how did this ever work at all?!"
(...)
<MageKing17> so
<MageKing17> more than two hours
<MageKing17> but once again we have reached the inevitable conclusion
<MageKing17> How did this code ever work in the first place!?

<@The_E> Welcome to OpenGL, where standards compliance is optional, and error reporting inconsistent

<MageKing17> It was all working perfectly until I actually tried it on an actual mission.

<IronWorks> I am useful for FSO stuff again. This is a red-letter day!
* z64555 erases "Thursday" and rewrites it in red ink

<MageKing17> TIL the entire homing code is held up by shoestrings and duct tape, basically.

  

Offline wardog300k

  • 28
  • I'm a FREDder
So I spent about two and a half hours working with weapons and ships tables (It took this much because I take at least ten minutes to find the thing). All the problems have been sorted out, and I can run FD with FSO 3.7.2 RC5, retail FRED won't run. It was a good upgrade, although it takes way more time for....everything, mostly placing ships in FRED and loading missions. I look forward to using new stuff, to make some SSMs and add more ships!

Credit for these problems goes to Inferno and whoever tabled Nightmare beams.

One final question, is there any guide for newbies to FSO out there?
Crush the NTF-Conflict Zone
One last war, one last hope, one last survival-Final Destination On Delay
Set free from the GTVA-Liberation Wars On Delay

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
The Diaspora FREDdocs are available from here. Although the walkthrough is specific to Diaspora, it does have an explanation for every FRED feature that existed when Diaspora was released 2 years ago. And it's been updated to include some of the newer ones too.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

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

 

Offline AdmiralRalwood

  • 211
  • The Cthulhu programmer himself!
    • Skype
    • Steam
    • Twitter
FSO 3.7.2 RC5
Why not 3.7.2 Final or a recent Nightly Build (you already use -no_glsl so deferred lighting and shadows would be disabled, and so would not kill your performance)?
Ph'nglui mglw'nafh Codethulhu GitHub wgah'nagl fhtagn.

schrödinbug (noun) - a bug that manifests itself in running software after a programmer notices that the code should never have worked in the first place.

When you gaze long into BMPMAN, BMPMAN also gazes into you.

"I am one of the best FREDders on Earth" -General Battuta

<Aesaar> literary criticism is vladimir putin

<MageKing17> "There's probably a reason the code is the way it is" is a very dangerous line of thought. :P
<MageKing17> Because the "reason" often turns out to be "nobody noticed it was wrong".
(the very next day)
<MageKing17> this ****ing code did it to me again
<MageKing17> "That doesn't really make sense to me, but I'll assume it was being done for a reason."
<MageKing17> **** ME
<MageKing17> THE REASON IS PEOPLE ARE STUPID
<MageKing17> ESPECIALLY ME

<MageKing17> God damn, I do not understand how this is breaking.
<MageKing17> Everything points to "this should work fine", and yet it's clearly not working.
<MjnMixael> 2 hours later... "God damn, how did this ever work at all?!"
(...)
<MageKing17> so
<MageKing17> more than two hours
<MageKing17> but once again we have reached the inevitable conclusion
<MageKing17> How did this code ever work in the first place!?

<@The_E> Welcome to OpenGL, where standards compliance is optional, and error reporting inconsistent

<MageKing17> It was all working perfectly until I actually tried it on an actual mission.

<IronWorks> I am useful for FSO stuff again. This is a red-letter day!
* z64555 erases "Thursday" and rewrites it in red ink

<MageKing17> TIL the entire homing code is held up by shoestrings and duct tape, basically.

 

Offline wardog300k

  • 28
  • I'm a FREDder
FSO 3.7.2 RC5
Why not 3.7.2 Final or a recent Nightly Build (you already use -no_glsl so deferred lighting and shadows would be disabled, and so would not kill your performance)?

Because I haven't been following FSO version releases, and had no idea what's the latest one.
Crush the NTF-Conflict Zone
One last war, one last hope, one last survival-Final Destination On Delay
Set free from the GTVA-Liberation Wars On Delay

 

Offline Cyborg17

  • 29
  • Life? Don't talk to me about life....
Just regularly download a nightly, like every two weeks or so, and if you find a mew new bug that you can eliminate when you go back to an older build, then you'll be able to report and help FSO find the bugs it needs to.

On the search for Missingno