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]

Author Topic: [0.97a+] Dats Alotta Ships v0.1.7b [SHIP PACK] - STALLED  (Read 6961 times)

Godofchaos

  • Ensign
  • *
  • Posts: 24
    • View Profile
Re: [0.97a+] Dats Alotta Ships v0.1.5b [SHIP PACK]
« Reply #15 on: April 06, 2024, 02:48:39 PM »

So i tried to test the ship made completly out of cosmic energy in combat just to see how he fight but i get a big error :

4843935 [Thread-2] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.NullPointerException: Cannot invoke "com.fs.starfarer.api.loading.WeaponSlotAPI.computePosition(com.fs.starfarer.api.combat.CombatEntityAPI)" because "this.attractor" is null
java.lang.NullPointerException: Cannot invoke "com.fs.starfarer.api.loading.WeaponSlotAPI.computePosition(com.fs.starfarer.api.combat.CombatEntityAPI)" because "this.attractor" is null
   at com.fs.starfarer.api.impl.combat.MoteControlScript.isLocationInRange(MoteControlScript.java:487) ~[starfarer.api.jar:?]
   at com.fs.starfarer.api.impl.combat.MoteControlScript.isMouseInRange(MoteControlScript.java:481) ~[starfarer.api.jar:?]
   at com.fs.starfarer.api.impl.combat.MoteControlScript.getInfoText(MoteControlScript.java:437) ~[starfarer.api.jar:?]
   at com.fs.starfarer.E.B.new.update(Unknown Source) ~[port_obf.jar:?]
   at com.fs.starfarer.E.B.OOoOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO.advanceImpl(Unknown Source) ~[port_obf.jar:?]
   at com.fs.starfarer.ui.thissuper.advance(Unknown Source) ~[port_obf.jar:?]
   at com.fs.starfarer.ui.o000.advanceImpl(Unknown Source) ~[port_obf.jar:?]
   at com.fs.starfarer.ui.thissuper.advance(Unknown Source) ~[port_obf.jar:?]
   at com.fs.starfarer.combat.CombatState.traverse(Unknown Source) ~[port_obf.jar:?]
   at com.fs.state.AppDriver.begin(Unknown Source) ~[port.common_obf.jar:?]
   at com.fs.starfarer.combat.CombatMain.main(Unknown Source) ~[port_obf.jar:?]
   at com.fs.starfarer.StarfarerLauncher.super(Unknown Source) ~[port_obf.jar:?]
   at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source) ~[port_obf.jar:?]
   at java.base/java.lang.Thread.run(Thread.java:1575) [?:?]

good luck ;)

Edit : it's about the special of the ship as far as i can understand

Edit 2 : asked chatGPT for the error :

This Java error is a NullPointerException. This means that a method call was made on an object that is null. In this case, the object in question is this.attractor in class com.fs.starfarer.api.impl.combat.MoteControlScript on line 487.

The error occurs when the isLocationInRange method tries to call the computePosition method on this.attractor, but this.attractor is null.

Here is the details of the error:


java.lang.NullPointerException: Cannot invoke "com.fs.starfarer.api.loading.WeaponSlotAPI.computePosition(com.fs.starfarer.api.combat.CombatEntityAPI)" because "this.attractor" is null
   at com.fs.starfarer.api.impl.combat.MoteControlScript.isLocationInRange(MoteControlScript.java:487) ~[starfarer.api.jar:?]
The call stack trace then shows the methods that were called before this error occurred, which can help trace the problem.

To resolve this error, you need to ensure that this.attractor is not null at the time the isLocationInRange method is called. This may involve checking where this.attractor is initialized in the code, and making sure it is correctly instantiated before being used.

Edit 3 : i tested the Battleship DunDun and the hornet, they work perfectly and are powerfull
« Last Edit: April 06, 2024, 03:36:41 PM by Godofchaos »
Logged

JEENAH

  • Lieutenant
  • **
  • Posts: 53
    • View Profile
Re: [0.97a+] Dats Alotta Ships v0.1.5b [SHIP PACK]
« Reply #16 on: April 07, 2024, 12:17:53 AM »

Hello ! I know where is the issue for that ship. Can't believe everything i try just ends in failure (AH AH) ! (I wanted to basically add the Ziggurat special ability to this ship, but seems like its not working).

The Dundun is a custom made version of the Helscaith from another modder (Legio Infernalis) (Basically, its a ship they deleted, it was one of my favorites and had a massive missile launching bay in the front). The dundun wasn't supposed to be in this mod but since i use it for "private" campaigns, but i'm too lazy to create another "Mod" for my private use.


PATCHNOTE FOR v0.1.6b

- Multiple adjustments, nerfs and/or buffs regarding the hull size of some ships and their stats.
- Modified the Ravenous weapon mounts to make the AI better with them (I hope).
- Ruinator have been significantly buffed (Because of its size, i couldn't juse let him have the same stats as an Onslaught, because its way bigger).
- Added the Valkyrion (Not yet completly balanced).
- Deleted the Luminark ability (Causing errors, or because i suck. Maybe).


EDIT : I'm actually finishing the second version of the Valkyrion, they will also be renamed respectivly Valkyrion MKA (For Assault), and MKS (For Support), the stats of the Support version will be nerfed, a little to better symbolise its role as support. Some weapon mounts will also be changed to missiles.

« Last Edit: April 07, 2024, 03:57:15 AM by JEENAH »
Logged

Godofchaos

  • Ensign
  • *
  • Posts: 24
    • View Profile
Re: [0.97a+] Dats Alotta Ships v0.1.5b [SHIP PACK]
« Reply #17 on: April 07, 2024, 04:50:18 AM »

Hello ! I know where is the issue for that ship. Can't believe everything i try just ends in failure (AH AH) ! (I wanted to basically add the Ziggurat special ability to this ship, but seems like its not working).

The Dundun is a custom made version of the Helscaith from another modder (Legio Infernalis) (Basically, its a ship they deleted, it was one of my favorites and had a massive missile launching bay in the front). The dundun wasn't supposed to be in this mod but since i use it for "private" campaigns, but i'm too lazy to create another "Mod" for my private use.


PATCHNOTE FOR v0.1.6b

- Multiple adjustments, nerfs and/or buffs regarding the hull size of some ships and their stats.
- Modified the Ravenous weapon mounts to make the AI better with them (I hope).
- Ruinator have been significantly buffed (Because of its size, i couldn't juse let him have the same stats as an Onslaught, because its way bigger).
- Added the Valkyrion (Not yet completly balanced).
- Deleted the Luminark ability (Causing errors, or because i suck. Maybe).


EDIT : I'm actually finishing the second version of the Valkyrion, they will also be renamed respectivly Valkyrion MKA (For Assault), and MKS (For Support), the stats of the Support version will be nerfed, a little to better symbolise its role as support. Some weapon mounts will also be changed to missiles.

That look nice ! And about the Luminark ability i think it's because you have made mote attractor has a "special" and not has a "system" and the mote exit by a hole from the ziggurat so maybe you missed a part about the code of the ziggurat ship
Logged

JEENAH

  • Lieutenant
  • **
  • Posts: 53
    • View Profile
Re: [0.97a+] Dats Alotta Ships v0.1.6b [SHIP PACK] [Updated 07/04/2024]
« Reply #18 on: April 07, 2024, 05:08:34 AM »

Oh ... I'm gonna have to look into that.

But i think i'll just delete the luminark from the mod. Too ugly to be left alive, like some other ships to be honest :)

THE NEXT UPDATE OF THE MOD WILL BREAK YOUR GAME. (So if you don't want to start a new game, keep the 0.1.6b !)

Next update will have this horrible thing. Wich is a very heavy variant of the vanitor present in the mod, more armor, more dakka, more bays, but slower top speed and worse manoeuvrability.




EDIT 2 : Working on the variants (Finally), ships will FINALLY spawn with basic loadouts. (The better ones, the trashes that will eventually be removed wont get anything).

- All the ships now have their variants ready (Except the Valkyrions and the garbadge ships).


« Last Edit: April 07, 2024, 11:51:10 AM by JEENAH »
Logged

JEENAH

  • Lieutenant
  • **
  • Posts: 53
    • View Profile
Re: [0.97a+] Dats Alotta Ships v0.1.7b [SHIP PACK] [Updated 07/04/2024]
« Reply #19 on: April 08, 2024, 05:12:58 AM »

Mod have been updated to v0.1.7b ! Adding a ton of things, i think its the biggest patch yet.

Working on creating a brand new factions dedicated to my kitbashes, just so the player can have a test of suffering (A little), or a lot.
« Last Edit: April 08, 2024, 07:12:02 AM by JEENAH »
Logged

JEENAH

  • Lieutenant
  • **
  • Posts: 53
    • View Profile
Re: [0.97a+] Dats Alotta Ships v0.1.7b [SHIP PACK] - STALLED
« Reply #20 on: April 15, 2024, 12:14:01 AM »

MOD HAVE BEEN UPDATED TO BE COMPATIBLE WITH MY FACTION MOD ! (Interwars Alliance).

It will, normally no longer crash.
Logged
Pages: 1 [2]