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.

Topics - LazyWizard

Pages: 1 2 [3] 4 5 ... 12
33
Modding / MOVED: [0.9a] Vesperon Combine 1.0.0 - 13/01/19
« on: January 14, 2019, 02:36:47 PM »

35
Modding / MOVED: [0.9a] [Utility] Fix Empty Planets
« on: January 06, 2019, 10:39:00 AM »

36
Modding / MOVED: [0.9.0a]Celestial Mount Circle 1.0
« on: December 22, 2018, 01:52:43 PM »

37
Having negative relations start from the right and grow towards the left would make them easier to distinguish from positive relations.

Here's a hastily-edited example:

39
Modding / MOVED: [0.9a] Oga Portrait Pack
« on: December 08, 2018, 06:05:13 AM »

41
Modding / MOVED: [0.9a] Blue (0.4.1a) Mod - November 22, 2018
« on: November 23, 2018, 02:47:09 PM »

43
Modding / MOVED: [0.9.0] MagicLib v0.20 (2018/11/17)
« on: November 17, 2018, 01:57:51 AM »

44
Bug Reports & Support (modded) / CampaignEventListener not being called
« on: November 16, 2018, 06:50:50 PM »
For some reason, reportPlayerEngagement() and reportPlayerMarketTransaction() aren't being called for my campaign event listener. Those are the only two listener methods I'm using, so I'm not sure if the others are affected.

The listener is being registered with
Code: java
        Global.getSector().addTransientScript(saver);
        Global.getSector().getListenerManager().addListener(saver, true);

And the source of the listener itself is here. ListenerManagerAPI.getListeners() shows it's been registered, but the listener's methods are never called.

45
Bug Reports & Support (modded) / TextPanelAPI's setTextWidth() causes a NPE
« on: November 16, 2018, 11:35:48 AM »
Here's the code I'm using:
Code: java
        @Override
        public void init(InteractionDialogAPI dialog)
        {
            this.dialog = dialog;
            this.options = dialog.getOptionPanel();
            this.text = dialog.getTextPanel();
           
            dialog.hideVisualPanel();
            dialog.setTextWidth(Display.getWidth() * .9f);
            goToMenu(Menu.MAIN_MENU);
        }

And here's the crash's stack tracke:
Quote
20527 [Thread-4] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.NullPointerException
java.lang.NullPointerException
        at com.fs.starfarer.ui.newui.U.setTextWidth(Unknown Source)
        at org.lazywizard.versionchecker.UpdateNotificationScript$UpdateNotificationDialog.init(UpdateNotificationScript.java:534)
        at com.fs.starfarer.ui.newui.U.??0000(Unknown Source)
        at com.fs.starfarer.ui.newui.U.<init>(Unknown Source)
        at com.fs.starfarer.ui.newui.U.<init>(Unknown Source)
        at com.fs.starfarer.campaign.CampaignState.showInteractionDialog(Unknown Source)
        at org.lazywizard.versionchecker.UpdateNotificationScript.advance(UpdateNotificationScript.java:160)
        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)

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