Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.95a is out! (03/26/21); Blog post: Of Slipstreams and Sensor Ghosts (09/24/21)

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

Pages: [1]
1
Modding / Re: More Officer Skills
« on: October 20, 2019, 06:23:50 AM »
This mod has a bug where a for loop does not use the variable for skill count near the bottom of OfficerLevelupPluginImplMod.java and is a hardcoded value, which causes a crash should you ever change the count of skills to choose at random (Typically when assigning an AI officer or other randomly generated in my case their random skills I believe).

Easy to fix, Im attaching what I changed to correct it should anyone wish to use this mod, I had found myself unable to post on the forums and forgot about this thread.

Just drop the attached file into \More Officer Skills v0.1.0\data\scripts\

I don't recall where though but I had moved around some logging and added some other logging (then commented it all out) - For the creator, there was a hard coded value in a for loop that needed to factor the skillsAmount variable if memory serves me.

[attachment deleted by admin]

Pages: [1]