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 ... 3 4 [5] 6

Author Topic: [0.98a] RTSAssist (0.1.3)  (Read 23392 times)

Raatle

  • Ensign
  • *
  • Posts: 47
    • View Profile
Re: [0.98a] RTSAssist (0.1.3)
« Reply #60 on: May 08, 2025, 12:35:30 AM »

just wanted to say this mod is kick ass. no longer will my sissy escorts ships be afraid to die for my flagship because i am overriding their controls and sending them to a wall of glorious gunfire.

I know right.. We could add some kamikaze functionality as well. What you think of that? Let their deaths contribute to the cause.
Logged

DaDuwin

  • Ensign
  • *
  • Posts: 6
    • View Profile
Re: [0.98a] RTSAssist (0.1.3)
« Reply #61 on: May 08, 2025, 09:09:59 PM »

Hello, great mod! I just wanted to double check something. I think this mod is affected by other camera/zoom adjusting mods such as "Larger Zoom Out," and "realistic (or cinematic) combat." Whenever I am in RTS mode in battle the default zoom in and out scroll wheel does not work which I believe is intentional as the scroll wheel I assume is now supposed to control the zoom for the "RTS" version of the camera. So for example in RTS mode, if I have selected a ship a circle is displayed over it, but if I try to zoom in or out, the camera will not zoom in or out but the circle will either shrink or expand. So then I decided to added a secondary binding for the general zoom in/out to my arrow keys and while in RTS mode the camera can now zoom in and out and then the circle selection indicator also scales as well.

Furthermore it seems like the WASD keys doesn't work either for me for camera panning.

So in summary,
Tests done in simulation
RTS mode on > default scroll zoom in/out does not work, selection circle is scaled in and out, WASD keys does not affect camera panning but mouse does.
RTS mode turned off > normal zoom in and out scrollwheel function does not come back.

I'm assuming if there are different mods that affect the camera and its controls and zoom levels then it might cause some strange interactions.

I am curious if anyone else have the same issues
Logged

Raatle

  • Ensign
  • *
  • Posts: 47
    • View Profile
Re: [0.98a] RTSAssist (0.1.3)
« Reply #62 on: May 09, 2025, 12:01:07 AM »

Hi!!.. This is some fantastic feedback thankyou!.

I think this mod is affected by other camera/zoom adjusting mods such as "Larger Zoom Out," and "realistic (or cinematic) combat."

It very well might be. If you would be able to narrow down which mod is conflicting that would be very helpful. Never the less I will be getting around to making realistic combat compatible. But that is still quite awhile away. If larger zoom out is the culprit (I doubt it is), it shouldn't be necessary to include it with this mod. In the RTSAssist config file (lunalib is coming..) you can change how far you want to zoom out.

Whenever I am in RTS mode in battle the default zoom in and out scroll wheel does not work which I believe is intentional as the scroll wheel I assume is now supposed to control the zoom for the "RTS" version of the camera. So for example in RTS mode, if I have selected a ship a circle is displayed over it, but if I try to zoom in or out, the camera will not zoom in or out but the circle will either shrink or expand. So then I decided to added a secondary binding for the general zoom in/out to my arrow keys and while in RTS mode the camera can now zoom in and out and then the circle selection indicator also scales as well.

When using this mod, the scroll wheel should always be used for controlling the zoom. Their is definitely some sort of conflict going on. My guess is realistic combat.

Furthermore it seems like the WASD keys doesn't work either for me for camera panning.

Quite strange that this stops working, but panning is just fine. Just to be sure are you running on windows?

I am curious if anyone else have the same issues.

I guarantee you, you are not alone. This mod is still a baby, only been out a month. I do plan on supporting all the major mods on the platform but thats gonna take a good long while.

All in all fantastic feedback! Let me know if you are able to narrow down the culprit and I may be able to put out a hotfix.
Logged

DaDuwin

  • Ensign
  • *
  • Posts: 6
    • View Profile
Re: [0.98a] RTSAssist (0.1.3)
« Reply #63 on: May 09, 2025, 09:30:01 AM »

Hi!!.. This is some fantastic feedback thankyou!.

I think this mod is affected by other camera/zoom adjusting mods such as "Larger Zoom Out," and "realistic (or cinematic) combat."

It very well might be. If you would be able to narrow down which mod is conflicting that would be very helpful. Never the less I will be getting around to making realistic combat compatible. But that is still quite awhile away. If larger zoom out is the culprit (I doubt it is), it shouldn't be necessary to include it with this mod. In the RTSAssist config file (lunalib is coming..) you can change how far you want to zoom out.

Whenever I am in RTS mode in battle the default zoom in and out scroll wheel does not work which I believe is intentional as the scroll wheel I assume is now supposed to control the zoom for the "RTS" version of the camera. So for example in RTS mode, if I have selected a ship a circle is displayed over it, but if I try to zoom in or out, the camera will not zoom in or out but the circle will either shrink or expand. So then I decided to added a secondary binding for the general zoom in/out to my arrow keys and while in RTS mode the camera can now zoom in and out and then the circle selection indicator also scales as well.

When using this mod, the scroll wheel should always be used for controlling the zoom. Their is definitely some sort of conflict going on. My guess is realistic combat.

Furthermore it seems like the WASD keys doesn't work either for me for camera panning.

Quite strange that this stops working, but panning is just fine. Just to be sure are you running on windows?

I am curious if anyone else have the same issues.

I guarantee you, you are not alone. This mod is still a baby, only been out a month. I do plan on supporting all the major mods on the platform but thats gonna take a good long while.

All in all fantastic feedback! Let me know if you are able to narrow down the culprit and I may be able to put out a hotfix.

Hello thank you for the rapid response!

To answer your inquires in brief, its definitely appears to be a conflict with realistic combat (or the derivative based on it "cinematic combat"). As with larger zoom out enabled and realistic combat off, the camera controls now works as intended. WASD panning and zoom in and out works just fine when it is off. I'm also using windows if that helps.

Logged

DaDuwin

  • Ensign
  • *
  • Posts: 6
    • View Profile
Re: [0.98a] RTSAssist (0.1.3)
« Reply #64 on: May 09, 2025, 05:48:27 PM »

New possible issue to look into, it seems while RTS mode is active - "speed up" effects from the speed up mod does not work. Enabling something like 2x or 6x speed, while in game it will notify me if its enabled or disabled, it does not affect the game speed unless I turn RTS mode off.
Logged

DaDuwin

  • Ensign
  • *
  • Posts: 6
    • View Profile
Re: [0.98a] RTSAssist (0.1.3)
« Reply #65 on: May 09, 2025, 07:06:36 PM »

One more thing, sorry for giving you more work hahaha, but as you mentioned in your initial post of adding support for ship packs I understand what you actually meant by that. Low priority issue since it did mention that you were working on a different ship pack currently but from Indie's ship pack there is a ship that "deploys" a frigate and while in RTS mode if that frigate is selected and then given a command the game will crash saying something on the lines of "null pointer exception null system" afterwards the game won't launch unless RTS is disabled and reenabled.
Logged

Raatle

  • Ensign
  • *
  • Posts: 47
    • View Profile
Re: [0.98a] RTSAssist (0.1.3)
« Reply #66 on: May 10, 2025, 12:00:19 AM »

New possible issue to look into, it seems while RTS mode is active - "speed up" effects from the speed up mod does not work. Enabling something like 2x or 6x speed, while in game it will notify me if its enabled or disabled, it does not affect the game speed unless I turn RTS mode off.

This looks like a quick fix to get it to work. Whether a faster time multiplier will effect the mod negatively, you gonna have to tell me. Ill get to this asap.

One more thing, sorry for giving you more work hahaha, but as you mentioned in your initial post of adding support for ship packs I understand what you actually meant by that. Low priority issue since it did mention that you were working on a different ship pack currently but from Indie's ship pack there is a ship that "deploys" a frigate and while in RTS mode if that frigate is selected and then given a command the game will crash saying something on the lines of "null pointer exception null system" afterwards the game won't launch unless RTS is disabled and reenabled.

You need to understand. You are saving me time and effort pointing out what is wrong with this mod. The bugs have to be found. Having other people do it for me is a massive favor and I am grateful for it. Keep it up. Ill take a look at indies ship pack. Some ship packs are very quick to make compatible.

Ill also be looking into Realistic Combat, but I dont see this being a quick fix as it seems their are KEYBIND conflicts which may only be fixable by rebinding the keys. Unfortunately the WASD keys are not rebindable so a fix may have to wait for this to be resolved.
Logged

Raatle

  • Ensign
  • *
  • Posts: 47
    • View Profile
Re: [0.98a] RTSAssist (0.1.3)
« Reply #67 on: May 10, 2025, 05:13:57 AM »

Hot-fix v0.1.3b released. Adds support for SpeedUp and Indies Expansion Pack.
Ignore mod version number. It will be corrected in the next release.
« Last Edit: May 10, 2025, 05:26:15 AM by Raatle »
Logged

Raatle

  • Ensign
  • *
  • Posts: 47
    • View Profile
Re: [0.98a] RTSAssist (0.1.3)
« Reply #68 on: May 10, 2025, 05:24:00 AM »

To answer your inquires in brief, its definitely appears to be a conflict with realistic combat (or the derivative based on it "cinematic combat"). As with larger zoom out enabled and realistic combat off, the camera controls now works as intended. WASD panning and zoom in and out works just fine when it is off. I'm also using windows if that helps.

I had a look at Realistic Combat. Everything seems fine on my side. WASD controls work fine and zoom control in unaffected.. Which is strange. I suspect it may be got to do with a combination of mods and how those mods are configured. RTSAssist's camera controls are quite finicky and I suspect it has something to do with your max zoom configuration. Ill look into it further at a later stage.

Otherwise all Indies Expansion Pack ships should be compatible, including the little frigate fighters(which is a sick mechanic btw!!, love it and definately want to try this ship pack out myself), and SpeedUp functionality should work as intended for either RTS modes. Let me know if you have any further problems, either with what you have mentioned before or something new that you have found.

Thanks for the feedback.. I'll always be willing to hear about any problems you find.
Logged

Tron2025

  • Ensign
  • *
  • Posts: 11
    • View Profile
zoom control
« Reply #69 on: May 11, 2025, 04:54:36 PM »

Hello, great mod! I just wanted to double check something. I think this mod is affected by other camera/zoom adjusting mods such as "Larger Zoom Out," and "realistic (or cinematic) combat." Whenever I am in RTS mode in battle the default zoom in and out scroll wheel does not work which I believe is intentional as the scroll wheel I assume is now supposed to control the zoom for the "RTS" version of the camera. So for example in RTS mode, if I have selected a ship a circle is displayed over it, but if I try to zoom in or out, the camera will not zoom in or out but the circle will either shrink or expand. So then I decided to added a secondary binding for the general zoom in/out to my arrow keys and while in RTS mode the camera can now zoom in and out and then the circle selection indicator also scales as well.

Furthermore it seems like the WASD keys doesn't work either for me for camera panning.

So in summary,
Tests done in simulation
RTS mode on > default scroll zoom in/out does not work, selection circle is scaled in and out, WASD keys does not affect camera panning but mouse does.
RTS mode turned off > normal zoom in and out scrollwheel function does not come back.

I'm assuming if there are different mods that affect the camera and its controls and zoom levels then it might cause some strange interactions.

I am curious if anyone else have the same issues

This mode does override the max zoom, but you can edit it in the Config.ini - "maxZoom": 400,
Speed up works fine for me on the 0.97 version
Logged

Requiem952

  • Ensign
  • *
  • Posts: 5
    • View Profile
Re: [0.98a] RTSAssist (0.1.3)
« Reply #70 on: May 11, 2025, 06:21:26 PM »

Running into a StackOverflow issue when I make one of my units retreat with this mod active. Specifically:

Quote
1368792 [Thread-3] ERROR com.fs.starfarer.combat.CombatMain java.lang.StackOverflowError    66355   
java.lang.StackOverflowError                                                                66356   
       at com.fs.starfarer.combat.entities.Ship$ShipAIWrapper.getAIFlags(Unknown Source)      66357   
       at data.scripts.plugins.AISystems.RTS_AIInjector$1.getAIFlags(RTS_AIInjector.java:147)

Is this a known issue with mods without confirmed compatibility?
Logged

Raatle

  • Ensign
  • *
  • Posts: 47
    • View Profile
Re: [0.98a] RTSAssist (0.1.3)
« Reply #71 on: May 11, 2025, 11:42:08 PM »

Running into a StackOverflow issue when I make one of my units retreat with this mod active. Specifically:

Quote
1368792 [Thread-3] ERROR com.fs.starfarer.combat.CombatMain java.lang.StackOverflowError    66355   
java.lang.StackOverflowError                                                                66356   
       at com.fs.starfarer.combat.entities.Ship$ShipAIWrapper.getAIFlags(Unknown Source)      66357   
       at data.scripts.plugins.AISystems.RTS_AIInjector$1.getAIFlags(RTS_AIInjector.java:147)

Is this a known issue with mods without confirmed compatibility?

Hi. Nope. This is a issue with this mod exclusively. Removing this mod should stop this from happening.

This bug would have been introduced in version 0.1.3. Thankyou for finding it!!
Logged

Raatle

  • Ensign
  • *
  • Posts: 47
    • View Profile
Re: zoom control
« Reply #72 on: May 12, 2025, 02:31:59 AM »

Speed up works fine for me on the 0.97 version

Adding support for phase ships, introduced in 0.1.3 meant disabling time warp effects during RTS mode. This is fixed in 0.1.3b.
Logged

Requiem952

  • Ensign
  • *
  • Posts: 5
    • View Profile
Re: [0.98a] RTSAssist (0.1.3)
« Reply #73 on: May 18, 2025, 09:38:19 AM »

Got another crashlog for you, whenever you're up for some bughunting!

Code
10258     654475 [Thread-3] ERROR com.fs.starfarer.combat.CombatMain java.lang.NullPointerException: Cannot read field "cellCoOrd" because the return value of "java.util.HashMap.get(Object)" is null
10259     java.lang.NullPointerException: Cannot read field "cellCoOrd" because the return value of "java.util.HashMap.get(Object)" is null
10260          at data.scripts.plugins.Utils.RTS_ShipLocAPI.findShipNeighbours(RTS_ShipLocAPI.java:175)
10261          at data.scripts.plugins.Utils.RTS_ShipLocAPI.findAlliedShipNeighbours(RTS_ShipLocAPI.java:116)
10262          at data.scripts.plugins.Utils.RTS_ShipLocAPI.findAlliedShipNeighbours(RTS_ShipLocAPI.java:104)
10263          at data.scripts.plugins.Utils.RTS_Pathing.findCollisions(RTS_Pathing.java:201)
10264          at data.scripts.plugins.Utils.RTS_Pathing.findStandardRoute(RTS_Pathing.java:139)
10265          at data.scripts.plugins.Utils.RTS_Pathing.adjustDestCoord(RTS_Pathing.java:65)
10266          at data.scripts.plugins.RTS_ShipMoveToPosition.update(RTS_ShipMoveToPosition.java:167)
10267          at data.scripts.plugins.RTS_ShipMoveToPosition.moveToPosition(RTS_ShipMoveToPosition.java:101)
10268          at data.scripts.plugins.RTS_TaskManager.update(RTS_TaskManager.java:747)
10269          at data.scripts.plugins.RTSAssist.advance(RTSAssist.java:224)
10270          at com.fs.starfarer.title.Object.OO0O$Oo.super(Unknown Source)
10271          at com.fs.starfarer.combat.oOOO.A.o00000(Unknown Source)
10272          at com.fs.starfarer.combat.CombatEngine.advanceInner(Unknown Source)
10273          at com.fs.starfarer.combat.CombatEngine.advance(Unknown Source)
10274          at com.fs.starfarer.combat.CombatState.traverse(Unknown Source)
10275          at com.fs.state.AppDriver.begin(Unknown Source)
10276          at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
10277          at com.fs.starfarer.StarfarerLauncher.o00000(Unknown Source)
10278          at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
10279          at java.base/java.lang.Thread.run(Unknown Source)
Logged

Raatle

  • Ensign
  • *
  • Posts: 47
    • View Profile
Re: [0.98a] RTSAssist (0.1.3)
« Reply #74 on: May 18, 2025, 11:42:56 PM »

Got another crashlog for you, whenever you're up for some bughunting!

Very much appreciated thankyou. Dont suppose you know if you were using any unusual ships?

Regarding your previous post I forgot to mention that the StackOverFlow bug you mentioned is fixed, but that the fix is only coming in version 0.1.4, which is coming soon.
« Last Edit: May 19, 2025, 01:48:39 AM by Raatle »
Logged
Pages: 1 ... 3 4 [5] 6