Fractal Softworks Forum

Please login or register.

Login with username, password and session length

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - LazyWizard

Pages: 1 2 [3] 4 5 ... 97
31
The crash still occurs in RC9. It can be replicated by using the Settings command with the console mod, then clicking Misc Console Settings and mousing over the options.

Stack trace in RC9:
Quote
25704 [Thread-3] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.NullPointerException
java.lang.NullPointerException
   at com.fs.starfarer.ui.newui.new$o.Object(Unknown Source)
   at com.fs.starfarer.ui.newui.new$1.createImpl(Unknown Source)
   at com.fs.starfarer.ui.impl.StandardTooltipV2Expandable.create(Unknown Source)
   at com.fs.starfarer.ui.impl.StandardTooltipV2Expandable.beforeShown(Unknown Source)
   at com.fs.starfarer.ui.Q.showTooltip(Unknown Source)
   at com.fs.starfarer.ui.U.super.new(Unknown Source)
   at com.fs.starfarer.ui.U.processInput(Unknown Source)
   at com.fs.starfarer.ui.Q.processInput(Unknown Source)
   at com.fs.starfarer.ui.v.dispatchEventsToChildren(Unknown Source)
   at com.fs.starfarer.ui.v.processInputImpl(Unknown Source)
   at com.fs.starfarer.ui.newui.new.processInputImpl(Unknown Source)
   at com.fs.starfarer.ui.Q.processInput(Unknown Source)
   at com.fs.starfarer.ui.v.dispatchEventsToChildren(Unknown Source)
   at com.fs.starfarer.ui.v.processInputImpl(Unknown Source)
   at com.fs.starfarer.ui.Oo0O.processInputImpl(Unknown Source)
   at com.fs.starfarer.ui.newui.Stringsuper.processInputImpl(Unknown Source)
   at com.fs.starfarer.ui.Q.processInput(Unknown Source)
   at com.fs.starfarer.ui.v.dispatchEventsToChildren(Unknown Source)
   at com.fs.starfarer.ui.v.processInputImpl(Unknown Source)
   at com.fs.starfarer.ui.Q.processInput(Unknown Source)
   at com.fs.starfarer.campaign.CampaignState.processInput(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.o00000(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)

32
The game seems to crash in 0.95a when mousing over a slider in a custom interaction dialog plugin. Here's the stack trace:

Quote
53593 [Thread-3] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.NullPointerException
java.lang.NullPointerException
        at com.fs.starfarer.ui.newui.new$o.00000(Unknown Source)
        at com.fs.starfarer.ui.newui.new$1.createImpl(Unknown Source)
        at com.fs.starfarer.ui.impl.StandardTooltipV2Expandable.create(Unknown Source)
        at com.fs.starfarer.ui.impl.StandardTooltipV2Expandable.beforeShown(Unknown Source)
        at com.fs.starfarer.ui.Q.showTooltip(Unknown Source)
        at com.fs.starfarer.ui.ooOo.super.new(Unknown Source)
        at com.fs.starfarer.ui.ooOo.processInput(Unknown Source)
        at com.fs.starfarer.ui.Q.processInput(Unknown Source)
        at com.fs.starfarer.ui.donew.dispatchEventsToChildren(Unknown Source)
        at com.fs.starfarer.ui.donew.processInputImpl(Unknown Source)
        at com.fs.starfarer.ui.newui.new.processInputImpl(Unknown Source)
        at com.fs.starfarer.ui.Q.processInput(Unknown Source)
        at com.fs.starfarer.ui.donew.dispatchEventsToChildren(Unknown Source)
        at com.fs.starfarer.ui.donew.processInputImpl(Unknown Source)
        at com.fs.starfarer.ui.Oo0OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO.processInputImpl(Unknown Source)
        at com.fs.starfarer.ui.newui.V.processInputImpl(Unknown Source)
        at com.fs.starfarer.ui.Q.processInput(Unknown Source)
        at com.fs.starfarer.ui.donew.dispatchEventsToChildren(Unknown Source)
        at com.fs.starfarer.ui.donew.processInputImpl(Unknown Source)
        at com.fs.starfarer.ui.Q.processInput(Unknown Source)
        at com.fs.starfarer.campaign.CampaignState.processInput(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.o00000(Unknown Source)
        at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)

The sliders haven't been changed since 0.9.1a, and are defined like this:
Code
                    // Console overlay font size
                    options.addSelector("Text Scaling Percentage", Selector.TEXT_SCALE, Color.WHITE, barWidth, 150f, 50, 150, ValueDisplayMode.VALUE,
                            "Scale displayed text by this percentage of the base font size.");
                    options.setSelectorValue(Selector.TEXT_SCALE, (int) (fontScale * 100));

                    // Console overlay font color
                    options.addSelector("Output Color (red)", Selector.COLOR_R, Color.RED, barWidth, 150f, 0f, 255f, ValueDisplayMode.X_OVER_Y_NO_SPACES,
                            "The red component of the overlay's text color.");
                    options.setSelectorValue(Selector.COLOR_R, red);
                    options.addSelector("Output Color (green)", Selector.COLOR_G, Color.GREEN, barWidth, 150f, 0f, 255f, ValueDisplayMode.X_OVER_Y_NO_SPACES,
                            "The blue component of the overlay's text color.");
                    options.setSelectorValue(Selector.COLOR_G, green);
                    options.addSelector("Output Color (blue)", Selector.COLOR_B, Color.BLUE, barWidth, 150f, 0f, 255f, ValueDisplayMode.X_OVER_Y_NO_SPACES,
                            "The green component of the overlay's text color.");
                    options.setSelectorValue(Selector.COLOR_B, blue);

                    options.addOption("Print current color", Option.TEST_COLOR, "Prints an example of the current color for easier comparisons.");
                    dialog.getVisualPanel().showCustomPanel(50f, 50f, new ColorDisplayPlugin());
                    optionSelected("Print current color", Option.TEST_COLOR); // Show the starting color

33
Mods / Re: [0.95a] Autosave v1.1c (released 2021-03-26)
« on: March 26, 2021, 12:15:07 PM »
Version 1.1c has been released. No new features, just a compatibility bump. Grab it here.

And just as a reminder, autosaves are disabled by default. You'll need to launch the game once with this mod enabled, then edit saves/common/config/lw_autosave_settings.json.data[/url] to enable them.

34
Mods / Re: [0.95a] Console Commands v2021.03.26
« on: March 26, 2021, 11:50:53 AM »
A new version with compatibility for Starsector 0.95a is out, get it here. This requires the latest version of LazyLib, 2.6 or higher.

35
Modding Resources / Re: [0.95a] LazyLib v2.6 (released 2021-03-26)
« on: March 26, 2021, 11:25:23 AM »
Version 2.6 is out, get it here!

Changelog:
Quote
2.6 (March 26, 2021)
======================
Updated to be compatible with Starsector 0.95a
Updated bundled libraries:
 - kotlin-stdlib: v1.4.21 -> v1.4.31
 - kotlinx-coroutines: v1.4.2 -> v1.4.3
The Javadoc's index is now one single page
Added org.lazywizard.lazylib.IOUtils:
 - Contains methods to help with reading/writing files using the API
 - byte[] readAllBytes(String filePath), an API-safe port of
   java.nio.Files.readAllBytes()
Changes to LazyFont.DrawableString:
 - Added tab support (2x the base vertical height of the text)
 - Added append(String text)
 - Added append(String text, Color color)
 - Added appendIndented(String text, int indent)
 - Added appendIndented(String text, Color color, int indent)
 - Added getBlendSrc(), setBlendSrc(int blendSrc), getBlendDest(), and
   setBlendDest(int blendDest) to control color blending
Deprecated in LazyFont.DrawableString:
 - Deprecated all appendText() methods in favor of new append() equivalents.
   The append() variants take any object and return the DrawableString so that
   calls can be chained together

36
Modding / MOVED: [0.95a] Old Hyperion 0.1.1
« on: March 26, 2021, 10:48:20 AM »

37
Modding / MOVED: [0.9.1a] Persean Chronicles (updated 2021-2-26)
« on: February 28, 2021, 07:01:15 PM »

38
Modding Resources / Re: [0.9.1a] LazyLib v2.5c (released 2021-01-23)
« on: January 22, 2021, 10:50:30 PM »
Version 2.5c is out, get it here (mirror).

This update adds colored substring support to DrawableString, and also should fix the text rendering issues some users were experiencing since v2.5's release. My thanks to Dream from the Discord server for reporting this and helping test the fix.

Full changelog:
Quote
2.5c (January 23, 2021)
=========================
Changes to LazyFont.DrawableString:
 - Fixed rendering issues on some computers (thanks to Dream from the
   Discord server for reporting the bug and testing the fix)
 - Added colored substring support
 - Added appendText(String text, Color color)
 - Added appendText(String text, Color color, int indent)
 - Appending colored text only colors that substring, and all subsequent
   text will return to the base color chosen at DrawableString creation.
   To change the base color, call DrawableString.setColor()

39
Modding Resources / Re: [0.9.1a] LazyLib v2.5b (released 2021-01-20)
« on: January 20, 2021, 03:56:35 PM »
There have been a few reports of text corruption with the console mod using the latest LazyLib. Unfortunately this seems to be sporadic and only one person has reported it happening more than once. If anyone is affected, could they please use the BugReport console command and send me the results? That command copies its results to the clipboard, so even if the console is illegible you should be able to paste the output elsewhere.

40
Modding Resources / Re: [0.9.1a] LazyLib v2.5b (released 2021-01-20)
« on: January 20, 2021, 03:34:19 PM »
Version 2.5b is out, get it here (mirror).

This update fixes a rare crash bug when a lengthy word in a DrawableString was word-wrapped with a hyphen. I've also retroactively renamed the previous release, 2.4g, to 2.5.

Full changelog:
Quote
2.5b (January 20, 2021)
=========================
Retroactively renamed v2.4g to v2.5
Changes to LazyFont:
 - Added getFontName()
Changes to LazyFont.DrawableString:
 - Fixed a crash with word-wrapped text that includes a hyphenated line break
 - Added setRenderDebugBounds(), which draws a box showing the text's width,
   height, and position

41
Mods / Re: [0.9.1a] Console Commands v2021.01.19
« on: January 19, 2021, 07:14:08 PM »
Version 2021.01.19 is out, get it here. This requires the latest version of LazyLib, which was released yesterday.

There have been several major changes over the last several months. Here are the highlights:
  • The overlay has received a coat of polish, and now shows how much VRAM is remaining in addition to RAM usage.
  • BugReport includes graphics card and system RAM details (thanks to Alex and MesoTroniK for tracking down the vendor-specific OpenGL extensions).
  • You can now use runcode snippets inside of aliases.
  • Fixed a bug where CommandListeners added by other mods could cause the game to crash.
  • The List command has had a major overhaul and now shows more information. You can also include a filter for the results, for example "list conditions hot" will list all conditions with "hot" in either their ID or condition name. Most arguments also work in combat.
  • The Storage command has been reworked, and the "Use Home for Storage" setting has been enabled.

42
Modding Resources / Re: [0.9.1a] LazyLib v2.4g (released 2021-01-18)
« on: January 18, 2021, 02:00:55 PM »
Version 2.4g is up, get it here (mirror).

This update fixes a bug with DrawableString that caused text to become corrupted when rendering in the campaign. It also updates the bundled Kotlin libraries to their latest versions.

Changelog:
Quote
Updated bundled libraries:
 - kotlin-stdlib: v1.3.61 -> v1.4.21
 - kotlinx-coroutines: v1.2.0 -> v1.4.2
 - jetbrains-annotations: v13.0 -> v20.1.0
 - removed kotlinx-atomicfu (this was an erroneous dependency added by
   an earlier version of kotlinx-coroutines and wasn't used for anything)
Changes to LazyFont:
 - Rewrote DrawableString to use vertex buffers instead of display lists.
   This should fix a bug that caused text corruption and visual glitches
   when DrawableStrings were rendered in the campaign layer
Deprecated in LazyFont:
 - Deprecated drawText(String text, float x, float y, float fontSize,
   float maxWidth, float maxHeight), use createText() instead

44
Modding / MOVED: [0.9.1a] Idoneus Citadel Exiles
« on: December 07, 2020, 01:36:41 PM »

45
Mods / Re: [0.9.1a] Version Checker v2.0b (released 2020-08-28)
« on: October 09, 2020, 10:48:56 PM »
Nexerelin includes a bundled version of Version Checker. As for the errors, the simple version is that it's due to Bitbucket (one of the most popular hosts for version files) dropping support for the version of Java that comes with Starsector, making it unable to connect to that site. It's something that has to be fixed on each individual mod authors end, and unfortunately the errors won't go away until you've downloaded an updated version of each mod (and a few mod authors don't plan to release an update until after the next version of Starsector comes out, so their mods will continue to show errors for the rest of 0.9.1a's lifespan).

I'll put out a VC update that ignores mods hosted on Bitbucket soon. That'll at least solve the error spam, but you still wouldn't be able to see when updates are available for any affected mods since your local copy will be pointing at the old URL. You'll have to check their forum threads for updates manually.

TL;DR: Bitbucket = borked, and anything hosted on Bitbucket requires manual update checks like the old days.

Pages: 1 2 [3] 4 5 ... 97