Fractal Softworks Forum

Please login or register.

Login with username, password and session length

Author Topic: [0.8.1a RC8] [Console Commands?] Fatal: Number of remaining buffer elements is 0  (Read 1758 times)

Schwartz

  • Admiral
  • *****
  • Posts: 1453
    • View Profile

Ran into this problem with a relatively fresh and clean modded game. The CTD occurred when I pressed Ctrl-Backspace to open the console. Using Console Commands 3.0 WIP 4.

Edit: Welp, looks like there's a fixed .jar file out for this. Disregard!


970759 [Thread-4] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.IllegalArgumentException: Number of remaining buffer elements is 0, must be at least 6787200. Because at most 6787200 elements can be returned, a buffer with at least 6787200 elements is required, regardless of actual returned element count
java.lang.IllegalArgumentException: Number of remaining buffer elements is 0, must be at least 6787200. Because at most 6787200 elements can be returned, a buffer with at least 6787200 elements is required, regardless of actual returned element count
   at org.lwjgl.BufferChecks.throwBufferSizeException(BufferChecks.java:162)
   at org.lwjgl.BufferChecks.checkBufferSize(BufferChecks.java:189)
   at org.lwjgl.BufferChecks.checkBuffer(BufferChecks.java:230)
   at org.lwjgl.opengl.GL11.glReadPixels(GL11.java:2450)
   at org.lazywizard.console.ConsoleOverlayInternal.show(Overlay.kt:55)
   at org.lazywizard.console.ConsoleOverlay.show(Overlay.kt:33)
   at org.lazywizard.console.ConsoleCampaignListener.advance(ConsoleCampaignListener.java:62)
   at com.fs.starfarer.campaign.CampaignEngine.advance(Unknown Source)
   at com.fs.starfarer.campaign.CampaignState.advance(Unknown Source)
   at com.fs.starfarer.BaseGameState.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

LazyWizard

  • Global Moderator
  • Admiral
  • *****
  • Posts: 1365
    • View Profile
    • GitHub Profile

There's a hotfix for this that you can grab here.

Edit: saw your edit. Never mind!
Logged