Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.98a is out! (03/27/25)

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

Author Topic: [0.98a] Tri-Tac Special Circumstances - V 1.2 06/05/25 - A Questionable Update  (Read 189436 times)

Dazs

  • Admiral
  • *****
  • Posts: 1414
    • View Profile
Re: [0.96a] Tri-Tac Special Circumstances - V0.4.5 07/01
« Reply #45 on: July 01, 2023, 02:53:42 AM »

v0.4.5 released today - Save Compatible with v0.4
   -Capitalized the X in Xenocrat - TY SteelSirokos for letting me know
   -Raised the DP of the Kakistocrat from 8 to 11 to properly assign it's power level - TY Moasseman for making the case
   -Fixed a spelling mistake on the description of the Ablation - rear turrets not read turrets :)   
   -Looked over the remaining descriptions and added some missing commas as well as changed a couple poorly written descriptions.
   -Adjusted the code so the mod can now be enabled with OR without Nexerelin - TY Knifiel for letting me know

Decided to start adding the changelog to my update messages instead of re-directing people to the main page. Mostly an error correction update for issues that were brought to my attention by helpful players. I appreciate all the help I get with my mods and look forward to any comments that players have that can make them better for all to enjoy.

justnewaccount3131

  • Lieutenant
  • **
  • Posts: 68
    • View Profile
Re: [0.96a] Tri-Tac Special Circumstances - V0.4.5 07/01
« Reply #46 on: July 01, 2023, 10:02:41 AM »

crash in Linux after updating the mod to new version.

game crashes right at 99% loaded

32256 [Thread-4] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.RuntimeException: Error loading [data.scripts.TTSC_modPlugin]
java.lang.RuntimeException: Error loading [data.scripts.TTSC_modPlugin]
   at com.fs.starfarer.loading.scripts.ScriptStore$3.run(Unknown Source)
   at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.ClassNotFoundException: 1 error(s) while compiling unit "data/scripts/TTSC_modPlugin.java"
   at org.codehaus.janino.JavaSourceClassLoader.generateBytecodes(JavaSourceClassLoader.java:226)
   at org.codehaus.janino.JavaSourceClassLoader.findClass(JavaSourceClassLoader.java:178)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
   ... 2 more
Caused by: org.codehaus.commons.compiler.CompileException: 1 error(s) while compiling unit "data/scripts/TTSC_modPlugin.java"
   at org.codehaus.janino.UnitCompiler.compileUnit(UnitCompiler.java:326)
   at org.codehaus.janino.JavaSourceClassLoader.generateBytecodes(JavaSourceClassLoader.java:224)
   ... 5 more
Logged

Dazs

  • Admiral
  • *****
  • Posts: 1414
    • View Profile
Re: [0.96a] Tri-Tac Special Circumstances - V0.4.5 07/01
« Reply #47 on: July 01, 2023, 10:56:40 AM »

crash in Linux after updating the mod to new version.

game crashes right at 99% loaded

32256 [Thread-4] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.RuntimeException: Error loading [data.scripts.TTSC_modPlugin]
java.lang.RuntimeException: Error loading [data.scripts.TTSC_modPlugin]
   at com.fs.starfarer.loading.scripts.ScriptStore$3.run(Unknown Source)
   at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.ClassNotFoundException: 1 error(s) while compiling unit "data/scripts/TTSC_modPlugin.java"
   at org.codehaus.janino.JavaSourceClassLoader.generateBytecodes(JavaSourceClassLoader.java:226)
   at org.codehaus.janino.JavaSourceClassLoader.findClass(JavaSourceClassLoader.java:178)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
   ... 2 more
Caused by: org.codehaus.commons.compiler.CompileException: 1 error(s) while compiling unit "data/scripts/TTSC_modPlugin.java"
   at org.codehaus.janino.UnitCompiler.compileUnit(UnitCompiler.java:326)
   at org.codehaus.janino.JavaSourceClassLoader.generateBytecodes(JavaSourceClassLoader.java:224)
   ... 5 more
Oh my I do apologize that I did not check the changes against Linux. I am at a loss though atm since all I had done with TTSC_modPlugin.java was comment out lines that referred to Nexerelin. That should not have caused a new crash since I did not add any code. I do not have Linux to test on but you could try deleting out the commented lines on your end and see if that does it. If you open the file with notepad++ delete lines 18-24 and 41-47 they should all be in green text with // in front of them.

In the mean time I will look into those error codes and see what I can decipher. Please let me know if the above steps fixed the issue. 

justnewaccount3131

  • Lieutenant
  • **
  • Posts: 68
    • View Profile
Re: [0.96a] Tri-Tac Special Circumstances - V0.4.5 07/01
« Reply #48 on: July 01, 2023, 03:58:17 PM »

still crashes


43873 [Thread-4] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.RuntimeException: Error loading [data.scripts.TTSC_modPlugin]
java.lang.RuntimeException: Error loading [data.scripts.TTSC_modPlugin]
   at com.fs.starfarer.loading.scripts.ScriptStore$3.run(Unknown Source)
   at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.ClassNotFoundException: 1 error(s) while compiling unit "data/scripts/TTSC_modPlugin.java"
   at org.codehaus.janino.JavaSourceClassLoader.generateBytecodes(JavaSourceClassLoader.java:226)
   at org.codehaus.janino.JavaSourceClassLoader.findClass(JavaSourceClassLoader.java:178)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
   ... 2 more
Caused by: org.codehaus.commons.compiler.CompileException: 1 error(s) while compiling unit "data/scripts/TTSC_modPlugin.java"
   at org.codehaus.janino.UnitCompiler.compileUnit(UnitCompiler.java:326)
   at org.codehaus.janino.JavaSourceClassLoader.generateBytecodes(JavaSourceClassLoader.java:224)
   ... 5 more



just in case you want to run a secondary Linux as a dual windows bootable and want one that also plays games:
I use EndeavourOS, an Arch based distro, like what Valve/Steam uses for its Steam deck.
as desktop (Linux has many) KDE Plasma (just like Valve does). steam games run flawlessly with most of the games I play.

good thing about EndeavourOS is that the installation will *actually ask* you where to put the boot loader... I'd always recommend putting linux dual boot not on the windows ssd, cause a reinstallation of windows could delete the boot loader, but unless you do that, it'll be fine. Linux never touches Windows or messes with it.

but you can read and write to windows drives under Linux, just not vice versa.

at install of EndeavourOS, choose KDE Plasma, and when you're asked if you want to use systemd for boot or Grub. choose Grub. Grub will launch your windows or Linux, whatever you choose at system boot.
you can set the Grub boot as priority in bios, cause windows boot loader won't let you choose. it'll simply always boot windows.

fyi: when you take out your Linux ssd and put it into another computer, your system will just work. cause all drivers are baked into the kernel. you never install drivers in Linux (I at least never needed to).
if you take out a windows ssd, it'll not work in another computer as a system at least.

EndeavourOS, KDE Plasma, Grub after install
after install, open the terminal
sudo pacman -Syu     (updates everything)
then: sudo pacman -S discover  for the graphical KDE package manager /app store that's not installed by default.
a lot of programs are available as flatpaks. self-contained, isolated programs. they will not clog up the system cause they're not installed per se.
usually, you need an Arch version of a program for Arch, a Debian for Debian and so on. flatpaks run on any Linux distro. so that's a big advantage.
flathub dot org. there are flatpak versions of firefox and steam and so on. to install flathub,
sudo pacman -Syu
then
sudo pacman -S flatpak
then lastly
flatpak remote-add --if-not-exists flathub (this part is a link to the repo, but I did not want to post links here. the line is on flathub in the description)
from then on you have a graphical 'app' store like experience when you open discover.

and if you never want ads again on twitch or youtube, install in firefox addons: NoScript and uBlock Origin. they're not ad blockers. they block the connection to the source. and prohibit scripts you don't want and don't spy on you, like ad blockers do
you need to allow very little usually to get a website to work fine. e.g. on twitch you only need to allow twitchcdn.net and twitch.com in noscript.
I can have hundreds of tabs open like this.


did I mess up? the file looks like this:
package data.scripts;

import com.fs.starfarer.api.BaseModPlugin;
import com.fs.starfarer.api.Global;
import com.fs.starfarer.api.PluginPick;
import com.fs.starfarer.api.campaign.CampaignPlugin;
import com.fs.starfarer.api.campaign.econ.MarketAPI;
import com.fs.starfarer.api.campaign.StarSystemAPI;
import com.fs.starfarer.api.characters.PersonAPI;
import com.fs.starfarer.api.impl.campaign.ids.Skills;
import data.scripts.world.TTSCGEN;
import exerelin.campaign.SectorManager;



public class TTSC_modPlugin extends BaseModPlugin {



   public void onApplicationLoad() {
        {
            boolean hasLazyLib = Global.getSettings().getModManager().isModEnabled("lw_lazylib");
            if (!hasLazyLib) {
                throw new RuntimeException("Tri-Tac Special Circumstances LazyLib!"
                        + "\nGet it at http://fractalsoftworks.com/forum/index.php?topic=5444");
            }

            boolean hasMagicLib = Global.getSettings().getModManager().isModEnabled("MagicLib");
            if (!hasMagicLib) {
                throw new RuntimeException("Tri-Tac Special Circumstances requires MagicLib!" + "\nGet it at http://fractalsoftworks.com/forum/index.php?topic=13718");
            }
        }
    }

   public void onGameLoad(boolean newGame) {
  }
   
}
« Last Edit: July 01, 2023, 04:08:36 PM by justnewaccount3131 »
Logged

Dazs

  • Admiral
  • *****
  • Posts: 1414
    • View Profile
Re: [0.96a] Tri-Tac Special Circumstances - V0.4.5 07/01
« Reply #49 on: July 01, 2023, 04:11:24 PM »

Your error code called for an error on line 21 regarding SectorManager and that is one of the lines I commented out. But now that I look again it is no longer in the code you posted, had you edited the post deleting that line or was that just my imagination?

justnewaccount3131

  • Lieutenant
  • **
  • Posts: 68
    • View Profile
Re: [0.96a] Tri-Tac Special Circumstances - V0.4.5 07/01
« Reply #50 on: July 01, 2023, 05:31:26 PM »

yes. I checked right after I posted the first time and saw that I messed up. made sure I actually deleted the right things this time and posted it again and deleted the old part
Logged

Dazs

  • Admiral
  • *****
  • Posts: 1414
    • View Profile
Re: [0.96a] Tri-Tac Special Circumstances - V0.4.5 07/01
« Reply #51 on: July 01, 2023, 10:59:45 PM »

I went through the mod with a critical eye and I THINK I may have solved your issue - try this version and please let me know:

https://www.dropbox.com/s/razsevbr0jwr3tf/Tri-Tac%20Special%20Circumstances%200.4.6.zip?dl=0

If it works for you, I'll release it wide.

SOSmayday

  • Ensign
  • *
  • Posts: 3
    • View Profile
Re: [0.96a] Tri-Tac Special Circumstances - V0.4.5 07/01
« Reply #52 on: July 01, 2023, 11:20:47 PM »

hello author, I found this mod few days ago and i like it much, can the newest version of mod be run on 0.951 game? If so , i wish i can get permission to translate your work into chinese version, because many friends of mine wish to play it, it's your decision, i hope to get your respond soon, thank you!
Logged

justnewaccount3131

  • Lieutenant
  • **
  • Posts: 68
    • View Profile
Re: [0.96a] Tri-Tac Special Circumstances - V0.4.5 07/01
« Reply #53 on: July 02, 2023, 03:13:04 AM »

I went through the mod with a critical eye and I THINK I may have solved your issue - try this version and please let me know:

https://www.dropbox.com/s/razsevbr0jwr3tf/Tri-Tac%20Special%20Circumstances%200.4.6.zip?dl=0

If it works for you, I'll release it wide.

no crash any more at launch
Logged

Dazs

  • Admiral
  • *****
  • Posts: 1414
    • View Profile
Re: [0.96a] Tri-Tac Special Circumstances - V0.4.5 07/01
« Reply #54 on: July 02, 2023, 04:37:12 AM »

no crash any more at launch
Phew I am so glad to hear that. Took me a bit to hunt it down and if this update did not fix it I would have been at a loss to help further. :)
hello author, I found this mod few days ago and i like it much, can the newest version of mod be run on 0.951 game? If so , i wish i can get permission to translate your work into chinese version, because many friends of mine wish to play it, it's your decision, i hope to get your respond soon, thank you!
Hello there! Some of my mods are already translated and on Fossic but I believe you are the first to request TTSC. I am flattered that you would like to share it with the Chinese fandom and am happy to give you permission to translate it. As to the .951 compatibility I am sorry to say I do not think it would work as I had to change some code to make it .96a complaint. You are welcome to test it and please let me know if it works.

v0.4.6 released this fine morning - Save Compatible with v0.4.5
   -Some code changes for Linux compatibility - TY justnewaccount3131 for helping me

SOSmayday

  • Ensign
  • *
  • Posts: 3
    • View Profile
Re: [0.96a] Tri-Tac Special Circumstances - V0.4.6 07/02
« Reply #55 on: July 02, 2023, 05:00:04 AM »

so you do not have 0.951 version on your hand now? Thats really awful, but there's no other way, thank you
Logged

justnewaccount3131

  • Lieutenant
  • **
  • Posts: 68
    • View Profile
Re: [0.96a] Tri-Tac Special Circumstances - V0.4.6 07/02
« Reply #56 on: July 02, 2023, 05:38:44 AM »

thanks for fixing it that quickly by the way.
Logged

Dazs

  • Admiral
  • *****
  • Posts: 1414
    • View Profile
Re: [0.96a] Tri-Tac Special Circumstances - V0.4.6 07/02
« Reply #57 on: July 02, 2023, 05:54:39 AM »

so you do not have 0.951 version on your hand now? Thats really awful, but there's no other way, thank you
Version 0.2 is the last version of the mod that was .951 compatible before I updated TTSC to 9.6a. Here is a link to that version:
https://www.dropbox.com/s/zjb3lh5g2of7c2f/Tri-Tac%20Special%20Circumstances_v0.2.rar?dl=0
Just know it will be lacking the mod changes that were made from 0.2.5 to the current version of 0.4.6 but it will work under 0.951
Best I can do, hope that works for you.

thanks for fixing it that quickly by the way.
Glad to do it, thank you for letting me know. It is not the first time one of my mods ran afoul of Linux so I had some clue what the issue was and it felt good to figure it out :)

SOSmayday

  • Ensign
  • *
  • Posts: 3
    • View Profile
Re: [0.96a] Tri-Tac Special Circumstances - V0.4.6 07/02
« Reply #58 on: July 02, 2023, 06:44:11 AM »

i will translate your mod with pleasure, thank you for your support!
Logged

FortunaDraken

  • Ensign
  • *
  • Posts: 15
    • View Profile
Re: [0.96a] Tri-Tac Special Circumstances - V0.4.6 07/02
« Reply #59 on: July 09, 2023, 01:32:41 AM »

Hey, I went to load this mod up to try it today, and I think the bug with it needing Nexerelin is back. It's causing a crash on load looking for a Nex file.

Spoiler
57835 [Thread-3] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.RuntimeException: Error loading [data.scripts.TTSC_modPlugin]
java.lang.RuntimeException: Error loading [data.scripts.TTSC_modPlugin]
   at com.fs.starfarer.loading.scripts.ScriptStore$3.run(Unknown Source)
   at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.ClassNotFoundException: File 'data/scripts/world/TTSCGen.java', Line 11, Column 7: A class 'exerelin.campaign.SectorManager' could not be found
   at org.codehaus.janino.JavaSourceClassLoader.generateBytecodes(JavaSourceClassLoader.java:226)
   at org.codehaus.janino.JavaSourceClassLoader.findClass(JavaSourceClassLoader.java:178)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
   ... 2 more
Caused by: org.codehaus.commons.compiler.CompileException: File 'data/scripts/world/TTSCGen.java', Line 11, Column 7: A class 'exerelin.campaign.SectorManager' could not be found
   at org.codehaus.janino.UnitCompiler.compileError(UnitCompiler.java:10174)
   at org.codehaus.janino.UnitCompiler.getSingleTypeImport(UnitCompiler.java:8644)
   at org.codehaus.janino.UnitCompiler.compile2(UnitCompiler.java:365)
   at org.codehaus.janino.UnitCompiler.access$400(UnitCompiler.java:185)
   at org.codehaus.janino.UnitCompiler$2.visitPackageMemberClassDeclaration(UnitCompiler.java:347)
   at org.codehaus.janino.Java$PackageMemberClassDeclaration.accept(Java.java:1139)
   at org.codehaus.janino.UnitCompiler.compile(UnitCompiler.java:354)
   at org.codehaus.janino.UnitCompiler.compileUnit(UnitCompiler.java:322)
   at org.codehaus.janino.JavaSourceClassLoader.generateBytecodes(JavaSourceClassLoader.java:224)
   ... 5 more
[close]
Logged
Pages: 1 2 3 [4] 5 6 ... 12