Fractal Softworks Forum

Please login or register.

Login with username, password and session length

Author Topic: Color Parameter crash?  (Read 1499 times)

Alebeard

  • Ensign
  • *
  • Posts: 1
    • View Profile
Color Parameter crash?
« on: September 28, 2017, 11:16:59 AM »

Hey guys, I've been using the same mod setup for a few weeks now and just got this crash
not sure what's up. I'm using Nemo's list of mods. Not sure what the problem is but here's the log. 
if anyone has an answer that'd be awesome. if not no biggie, thanks!

Here's the mod list
https://pastebin.com/MRgzWkpF

I havent update any since I downloaded them.

java.lang.IllegalArgumentException: Color parameter outside of expected range: Red
   at java.awt.Color.testColorValueRange(Unknown Source)
   at java.awt.Color.<init>(Unknown Source)
   at com.fs.starfarer.D.new.Ò00000(Unknown Source)
   at com.fs.starfarer.D.new.Object(Unknown Source)
   at com.fs.starfarer.renderers.super.H.Object(Unknown Source)
   at com.fs.starfarer.renderers.super.H.o00000(Unknown Source)
   at com.fs.starfarer.renderers.super.H.o00000(Unknown Source)
   at com.fs.starfarer.renderers.super.B.super(Unknown Source)
   at com.fs.starfarer.combat.CombatState.traverse(Unknown Source)
   at com.fs.state.AppDriver.begin(Unknown Source)
   at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 24118
    • View Profile
Re: Color Parameter crash?
« Reply #1 on: September 28, 2017, 11:42:05 AM »

Can't say which mod it would be, but looks like it's due to a ship's current hull value either exceeding the ship's maximum hull points, or being negative. Fixed it up on my end so that it doesn't crash when that happens.
Logged

Gamma40

  • Ensign
  • *
  • Posts: 1
    • View Profile
Re: Color Parameter crash?
« Reply #2 on: August 20, 2022, 10:32:28 PM »

did you ever find a solution?
Logged

Histidine

  • Admiral
  • *****
  • Posts: 4682
    • View Profile
    • GitHub profile
Re: Color Parameter crash?
« Reply #3 on: August 21, 2022, 08:52:52 AM »

I imagine the original case is already fixed; any new occurrences are due to a mod directly specifying invalid colors somewhere.
(which is annoying that it CTDs instead of just clamping the input, but that's how it is)

Post the error message from starsector.log if you have the issue again.
Logged