Author Topic: Any way to disable errors?  (Read 2780 times)

0 Members and 1 Guest are viewing this topic.

Offline ShivanSpS

  • 210
Any way to disable errors?
Im doing a crazy show up with a high number of ships, but im on the 4000 subsystems limit and i keep getting the error, there is any way to stop it from showing up?

 

Offline The E

  • He's Ebeneezer Goode
  • Global Moderator
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: Any way to disable errors?
Yes.

Don't use that many ships.
Let there be light
Let there be moon
Let there be stars and let there be you
Let there be monsters and let there be pain
Let us begin to feel again
--Devin Townsend, Genesis

 

Offline Shivan Hunter

  • 210
  • FRED needs lambdas!
Re: Any way to disable errors?
wat

"the 4000 subsystems limit" sounds like the kind of thing that will actually break a mission if you go over it. There are a few FSO errors that you can ignore but most of them are there for a reason. And exactly how many ships do you HAVE in the mission‽

[edit] ninja'd

 

Offline Droid803

  • Trusted poster of legit stuff
  • 213
  • /人 ◕ ‿‿ ◕ 人\ Do you want to be a Magical Girl?
    • Skype
    • Steam
Re: Any way to disable errors?
Could also get rid of unnecessary subsystems.
Surely not every ship needs to have destructible sensors, navs etc. Keep the minimal amount for functionality if you're really going crazy with that many ships :/

Remember, ships function fully without -any- non-turret subsystems, even fighterbays are unnecessary so as long as there are bay paths - the ship can launch and retrieve fighters just fine without one. The reason subsystems exist is so you can get them to stop functioning when you destroy them.
(´・ω・`)
=============================================================

 

Offline ShivanSpS

  • 210
Re: Any way to disable errors?
I gona say that the limit of subsystem is WAY easy to get to.

Why is that limit? some sort of static variable left behind?

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: Any way to disable errors?
I've made some of the craziest missions ever shipped and man, I've never, ever hit that limit. Can you post your mission file?

 

Offline ShivanSpS

  • 210
Re: Any way to disable errors?
Its not really a mission, im trying to do a big battle as eye candy, i just i cant put fighters if i do, i started as a total of 240 ships and i could cleary see i was lacking turrets on ships, right now its reduced to 120 ships and i stll get the warning at first load, but never again.

 

Offline ShivanSpS

  • 210
Re: Any way to disable errors?
mmm 400 max ships only fighters and a few bombers and i hit the 4000 subsystems limit too, strange.

Also i managed to break the game, as that fight will crash fast haha.

Quote
Assert: attacker_team >= 0 && attacker_team < Num_iffs
File: iff_defs.cpp
Line: 562

ntdll.dll! ZwWaitForSingleObject + 21 bytes
kernel32.dll! WaitForSingleObjectEx + 67 bytes
kernel32.dll! WaitForSingleObject + 18 bytes
fs2_open_3_7_1-DEBUG-20140203_r10396.exe! <no symbol>
fs2_open_3_7_1-DEBUG-20140203_r10396.exe! <no symbol>
fs2_open_3_7_1-DEBUG-20140203_r10396.exe! <no symbol>
fs2_open_3_7_1-DEBUG-20140203_r10396.exe! <no symbol>
fs2_open_3_7_1-DEBUG-20140203_r10396.exe! <no symbol>
fs2_open_3_7_1-DEBUG-20140203_r10396.exe! <no symbol>
fs2_open_3_7_1-DEBUG-20140203_r10396.exe! <no symbol>
fs2_open_3_7_1-DEBUG-20140203_r10396.exe! <no symbol>
fs2_open_3_7_1-DEBUG-20140203_r10396.exe! <no symbol>
fs2_open_3_7_1-DEBUG-20140203_r10396.exe! <no symbol>
fs2_open_3_7_1-DEBUG-20140203_r10396.exe! <no symbol>
fs2_open_3_7_1-DEBUG-20140203_r10396.exe! <no symbol>
fs2_open_3_7_1-DEBUG-20140203_r10396.exe! <no symbol>
fs2_open_3_7_1-DEBUG-20140203_r10396.exe! <no symbol>
fs2_open_3_7_1-DEBUG-20140203_r10396.exe! <no symbol>
fs2_open_3_7_1-DEBUG-20140203_r10396.exe! <no symbol>
fs2_open_3_7_1-DEBUG-20140203_r10396.exe! <no symbol>
fs2_open_3_7_1-DEBUG-20140203_r10396.exe! <no symbol>
fs2_open_3_7_1-DEBUG-20140203_r10396.exe! <no symbol>
fs2_open_3_7_1-DEBUG-20140203_r10396.exe! <no symbol>
fs2_open_3_7_1-DEBUG-20140203_r10396.exe! <no symbol>
fs2_open_3_7_1-DEBUG-20140203_r10396.exe! <no symbol>
kernel32.dll! BaseThreadInitThunk + 18 bytes
ntdll.dll! RtlInitializeExceptionChain + 99 bytes
ntdll.dll! RtlInitializeExceptionChain + 54 bytes
« Last Edit: February 03, 2014, 10:08:27 pm by ShivanSpS »

 

Offline niffiwan

  • 211
  • Eluder Class
Re: Any way to disable errors?
For interests sake, can you post the error you get from the "4000 subsystems limit"?
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 ShivanSpS

  • 210
Re: Any way to disable errors?
Quote
Attempt to page in new subsystems subsystems failed because mission file contains more than 4000 subsystems
ntdll.dll! ZwWaitForSingleObject + 21 bytes
kernel32.dll! WaitForSingleObjectEx + 67 bytes
kernel32.dll! WaitForSingleObject + 18 bytes
fs2_open_3_7_1-DEBUG-20140203_r10396.exe! <no symbol>
fs2_open_3_7_1-DEBUG-20140203_r10396.exe! <no symbol>
fs2_open_3_7_1-DEBUG-20140203_r10396.exe! <no symbol>
fs2_open_3_7_1-DEBUG-20140203_r10396.exe! <no symbol>
fs2_open_3_7_1-DEBUG-20140203_r10396.exe! <no symbol>
fs2_open_3_7_1-DEBUG-20140203_r10396.exe! <no symbol>
fs2_open_3_7_1-DEBUG-20140203_r10396.exe! <no symbol>
fs2_open_3_7_1-DEBUG-20140203_r10396.exe! <no symbol>
fs2_open_3_7_1-DEBUG-20140203_r10396.exe! <no symbol>
fs2_open_3_7_1-DEBUG-20140203_r10396.exe! <no symbol>
fs2_open_3_7_1-DEBUG-20140203_r10396.exe! <no symbol>
fs2_open_3_7_1-DEBUG-20140203_r10396.exe! <no symbol>
fs2_open_3_7_1-DEBUG-20140203_r10396.exe! <no symbol>
fs2_open_3_7_1-DEBUG-20140203_r10396.exe! <no symbol>
fs2_open_3_7_1-DEBUG-20140203_r10396.exe! <no symbol>
kernel32.dll! BaseThreadInitThunk + 18 bytes
ntdll.dll! RtlInitializeExceptionChain + 99 bytes
ntdll.dll! RtlInitializeExceptionChain + 54 bytes

 

Offline niffiwan

  • 211
  • Eluder Class
Re: Any way to disable errors?
Right - the limit is generated from these two defines:

Code: [Select]
#define NUM_SHIP_SUBSYSTEMS_PER_SET          200   (array size)
...
#define NUM_SHIP_SUBSYSTEM_SETS                      20   (array of pointers to array's defined by the above define)
...
Error(LOCATION, "Attempt to page in new subsystems subsystems failed because mission file contains more than %d subsystems", (NUM_SHIP_SUBSYSTEM_SETS* NUM_SHIP_SUBSYSTEMS_PER_SET));

Maybe NUM_SHIP_SUBSYSTEM_SETS should be set to 400 to match MAX_SHIPS, or (preferably I think) set NUM_SHIP_SUBSYSTEM_SETS to 40 to have the same effect, but either could have interesting side effects. Technically it'd probably be better to replaced the linked-list of arrays with a std::vector, but that has even more scope to introduce bugs :) 

Still - this sounds like something is not quite working right since I thought that all fighter should have less than 10 subsystems each, and 10 * 400 should be less than 20 * 200 = 4000. 

mmm 400 max ships only fighters and a few bombers and i hit the 4000 subsystems limit too, strange.

Can you check/confirm how many subsystems each of your fighters has?
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 ShivanSpS

  • 210
Re: Any way to disable errors?
5-6, not sure if the docking port counts, still no way im near 4000.

Anyway, those are the videos, and the missions files, still nothing special on them. the fighters one crash in about 40 seconds to me.



BTW, te fighter one does not give the error because i removed 4 wings to get below the number, still anything over 250 fighters will crash and fast.

[attachment deleted by an evil time traveler]
« Last Edit: February 05, 2014, 07:19:53 pm by ShivanSpS »