Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.95.1a is out! (12/10/21); Blog post: Uniquifying the Factions, Part 2 (04/30/22)

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 - Kolokol

Pages: [1]
1
Modding / [0.95a] Sensors - mod/utility for event popups on WIN 7/10
« on: August 17, 2020, 11:13:25 AM »
Hello!

Do you like babysitting star system while planets are building stuff?
Do you like watching your AFK fleet decimate [REDACTED] for them sweet cores, 9 times in a row?
Do you like missing those Expeditions and AI Inspections?

No? Well, neither do I!

Sensors to the rescue!

This is a two component mod/utility made for Windows platform.

(SensorsAddon) Mod listens to the events and sends them over to notification utility. It is installed the same way the other mods are.
(SensorsNotifications) Notification utility shows popups in bottom right corner. Tested on both Win 10 and Win 7. You have to run it separately from the game. Its best to launch it first. (Sensors.exe)

Upon successful connection "Connected" popup should appear.
Spoiler


[close]

Another VERY important thing is "mute" option. In case you want to play the game normally. It is achieved by right clicking on "Sensors" icon in icon tray and clicking "Mute". Unmuting is done the same way.
Spoiler

[close]

Types of popups are:
Inspections
Expeditions
Pirate Activity
Combat results
Spoiler






[close]

This is experimental tool I've made to ease up AFK farming the cores whilst working on work stuff, due to recent "illnesses".
Please test it out on a new save file to see if it works for you, before using it on your pristine progression save.
Tests have been done on two machines, so if anyone encounters any issue, please post it.

If you have any questions, please post them here.

Download links are these:
Addon
Notifications application

2
Hello!

I am trying to find a way to get feed of events, that occur on bottom left side of screen.

At first i hooked up "CampaignEventListener", but from what i gathered, it does not have events i need.

Then i've stumbled upon "RaidIntel" (http://www.fractalsoftworks.com/starfarer.api/index.html?com/fs/starfarer/api/impl/campaign/intel/raid/RaidIntel.html). I am more interested in raids and inspections.
Since it implements "IntelInfoPlugin", i thought i could pool for it. So i implemented my own "EveryFrameScript" to pool for new plugins in "Global.getSector().getGenericPlugins()", so i could check if any intel module appears in there, yet nothing appears.

Maybe someone had stumbled into this before and knows where to find it?
To be more precise on my goals:
I need to pool (or listen) for new game events that occur in game on bottom left screen. (Raid, invasion, new bounty, new mission, INSPECTION)

Pages: [1]