Fractal Softworks Forum

Please login or register.

Login with username, password and session length

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

Pages: [1]
1
Mods / Re: [0.9.1a] Transfer All Items v1.1 (2020/01/10)
« on: March 28, 2021, 08:57:48 AM »
STRANGE,  it does not work for me. when i press UP arrow or DOWN arrow the mouse just get crazy and it doesnt transfer anything. if i pres it several times well, sometimes it pick some items but.. its just dont working or im doing something wrong


same problem regardless update to 1.2 any solutions or do you need more informations ?
Yes, I need to know the operating system, resolution and whether it is full screen or not. And make sure that speed up is active before you enter the screen.




 When my laptop was in repair service I used old desk pc and it worked there fine. When I copyed game from desk pc to laptop and update all mods (new ship and basic staff nothing like UI or HUD change) the mod stop working for me ... he is working but mouse jump everywhere and clicking to anything randomly

i use microsoft windows 10 my resolutions is 1920x1080 and it is full screen. I start with admin rights and i try turn off and turn on that "spped up" thing and it do nothing to me.



EDIT: i use 1.9.1a

Try to disable other mods and check if it is working.

2
Mods / Re: [0.95a] Transfer All Items v1.2 (2021/03/27)
« on: March 28, 2021, 08:56:22 AM »
So this mod never worked for me. I only decided to take a brief look at the code now more closely and now understand how it works. This mod works by running a script to hold down the CTRL button and moving the mouse to click on everything.

I'm running on Arch Linux using XFCE. The Java Robot doesn't seem to actually be able to press the CTRL button for whatever reason on my setup, so you need to hold it down yourself before pressing up/down. Additionally, the internal state of the MarketMouseClick doesn't seem to be entirely stable (didn't investigate why, too lazy), and sometimes will click sort a bunch of times even though there is nothing in inventory. So while using this mod, you need to be a little careful about what you do immediately after hitting up/down.

Although this works, I'm somewhat leery of the fact that it basically hijacks my keyboard and mouse. It would be great if it could call starsector internal code to transfer items directly instead of doing this sort of keyboard/mouse automation.
I made this type of code due to lack of API resources. The only resource I found to move the items, it moves behind the visual interface not displaying the buy and sell items on the screen. So when it comes to selling items or buying it it wouldn't work. So unfortunately I chose to use the keyboard and mouse that are my best tools.

If you look at the code I had to create devices to get the position of the screen when it is not fullscreen, to know the quantity of items in the stock yet and I even had to create a code to define the mouse click positions. It gave me a lot of work. Really if someone knew somehow that I am unaware of moving the items that are on the screen, I would definitely make that change.

In fact I think that this functionality should be native to the game and would not need someone to create a mod for it. I'm sad to know that it doesn't work with all players, but I hope it works well for most, since I don't know how to improve or what is causing some computers to fail. If anyone can help me with knowledge or ideas on how to improve the process I would be very grateful.

3
Mods / Re: [0.9.1a] Transfer All Items v1.1 (2020/01/10)
« on: March 27, 2021, 04:09:24 PM »
STRANGE,  it does not work for me. when i press UP arrow or DOWN arrow the mouse just get crazy and it doesnt transfer anything. if i pres it several times well, sometimes it pick some items but.. its just dont working or im doing something wrong


same problem regardless update to 1.2 any solutions or do you need more informations ?
Yes, I need to know the operating system, resolution and whether it is full screen or not. And make sure that speed up is active before you enter the screen.

4
Mods / Re: [0.9.1a] Transfer All Items v1.1 (2020/01/10)
« on: March 27, 2021, 03:24:19 PM »
Only moves 129 stacks tops, sometimes even less.
I made an adjustment that probably will not happen again now. If you can test and leave your report it would be of great help. Thanks.

5
Mods / Re: [0.9.1a] Transfer All Items v1.1 (2020/01/10)
« on: March 27, 2021, 03:22:50 PM »
I don't know if this method works on you guys because it works on mine.


1. Go to setting & reset/return to defaults.
2. After defaults, test it, the first row item moves up but not all.
3. Re-launch the game after testing it.
4. Press up & it works.

Note: In step 2 I was on windows mode, have to re-launch because of an fps issue. I then changed full-screen after reading some changelogs on the notes, and etc.

Thanks to "SoƱjer" it gave me an idea, when I tested by changing the keybinding of my pan-view up and still didn't work, I thought maybe reset/defaults will work, and it work for me. Hope so it work on you guys.


[EDITED]
5. Oh, its the "Campaign 'speed up time' toggle" is messing up this mod, or the mod messing up the game. OFF = All item move, ON = One item at the time(Not the press UP and G kind, but just pressing UP repeatedly).

It was solved in version 1.2. Test please and comment. Thanks.

6
Mods / Re: [0.9.1a] Transfer All Items v1.0 (2019/11/11)
« on: January 11, 2020, 10:52:55 PM »
You can save the store side game you use the mod and send the attachment of your save. It will be easier for me to test and find out what is going on.
Is this error constantly happening? Maybe it's incompatible with some other mod.
This made with previous version, and I've manually ejected everything at once or separately to check if there is really could be an issue with anything specifically, there wasn't.
I've made few tries with different tabs, but they all gave same error.
Spoiler
Code
149025 [Thread-4] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.NullPointerException
java.lang.NullPointerException
at data.scripts.MarketMouseClick.getMarket(MarketMouseClick.java:130)
at data.scripts.MarketMouseClick.clickAllMarket(MarketMouseClick.java:54)
at data.scripts.TransferAllItems.transferCargoMarketToFleet(TransferAllItems.java:62)
at data.scripts.TransferAllItems.checkInput(TransferAllItems.java:49)
at data.scripts.TransferAllItems.advance(TransferAllItems.java:26)
at com.fs.starfarer.campaign.CampaignEngine.advance(Unknown Source)
at com.fs.starfarer.campaign.CampaignState.advance(Unknown Source)
at com.fs.starfarer.BaseGameState.traverse(Unknown Source)
at com.fs.state.AppDriver.begin(Unknown Source)
at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
[close]

***
This one with 1.1
Spoiler
Code
112435 [Thread-4] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.NullPointerException
java.lang.NullPointerException
at data.scripts.MarketMouseClick.getMarket(MarketMouseClick.java:127)
at data.scripts.MarketMouseClick.clickAllMarket(MarketMouseClick.java:55)
at data.scripts.TransferAllItems.transferCargoMarketToFleet(TransferAllItems.java:62)
at data.scripts.TransferAllItems.checkInput(TransferAllItems.java:49)
at data.scripts.TransferAllItems.advance(TransferAllItems.java:26)
at com.fs.starfarer.campaign.CampaignEngine.advance(Unknown Source)
at com.fs.starfarer.campaign.CampaignState.advance(Unknown Source)
at com.fs.starfarer.BaseGameState.traverse(Unknown Source)
at com.fs.state.AppDriver.begin(Unknown Source)
at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
[close]

There isn't much details - in an open space, open inventory and press Down on keyboard, inventory tabs doesn't matter, amount of items in a tab doesn't matter either.

7
Mods / Re: [0.9.1a] Transfer All Items v1.0 (2019/11/11)
« on: January 10, 2020, 04:49:06 AM »
Thank you for the informations. They were helpful in solving the problem. But my solution is totally different from yours. Anyway when you can test my new version and see if it is working correctly at its resolution. I await a return. Thanks.

Thanks for the mod!

Unknown if its a bug but it moves two items then leaves one selected and refuses to move the rest, is this a bug? i hit the up arrow on my keyboard

I'm getting the exact same issue on this one

I was getting the same error too.
There are 2 issues in MarketSizeInfo.java

1. The first is the HEIGHT_MIN_BORDER = 20 (MarketSizeInfo.java - l.18) which is affecting this function: (MarketSizeInfo.java - l.127)

Code
private static float calcRowsVisible() {
        float rowsVisible = (float)Math.floor((getScreenHeight() - HEIGHT_MIN_BORDER * 2 - HEIGHT_TAB * 2 -
                              HEIGHT_INFO_TOP - HEIGHT_BUTTONS_MID - HEIGHT_BAR_BOTTOM) / 2F) / 100;
        return Math.min(rowsVisible, MAX_VISIBLE_ROWS);
    }

For 1080p the total height border is 101 and for 960p is 41. I hard-coded the HEIGHT_MIN_BORDER to 101 for me.

2. The second issue is: (MarketSizeInfo.java - l.91)

Code
private static int getWindowsPosY() {
        if (!Display.isFullscreen()) {
            return Display.getY() + getWinTitleBarHeight();
        }

        return 0;
    }

It doesn't take into account borderless fullscreen, so it still adds getWinTitleBarHeight().

I don't work with Java or these APIs usually so I hard-coded my fixes for 1080p borderless.
If you want the same fix replace TransferAllItems.jar in /jars with the attached file while we get an update.

8
Mods / Re: [0.9.1a] Transfer All Items v1.0 (2019/11/11)
« on: January 10, 2020, 04:47:01 AM »
Quote
...between your fleet and the market or storage
Yep, can't transfer into throwaway hatch aka "the f**k outta here", would like to be able to.
Crashed a game with blind attempt to get rid of "allweapons & allwings" results -
Spoiler
3804747 [Thread-4] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.NullPointerException
java.lang.NullPointerException
   at data.scripts.MarketMouseClick.getMarket(MarketMouseClick.java:130)
   at data.scripts.MarketMouseClick.clickAllMarket(MarketMouseClick.java:54)
   at data.scripts.TransferAllItems.transferCargoMarketToFleet(TransferAllItems.java:62)
   at data.scripts.TransferAllItems.checkInput(TransferAllItems.java:49)
   at data.scripts.TransferAllItems.advance(TransferAllItems.java:26)
   at com.fs.starfarer.campaign.CampaignEngine.advance(Unknown Source)
   at com.fs.starfarer.campaign.CampaignState.advance(Unknown Source)
   at com.fs.starfarer.BaseGameState.traverse(Unknown Source)
   at com.fs.state.AppDriver.begin(Unknown Source)
   at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
[close]
Had to sell for 150mil and throw away usb-wallet into airlock instead. ;D

PS - thanks for the mod, it's invaluable at exploration & stockpiling stage

Is this error constantly happening? Maybe it's incompatible with some other mod.

9
Mods / [0.95a] Transfer All Items v1.2 (2021/03/27)
« on: November 11, 2019, 03:02:21 AM »
Transfer All Items

What is this?
Transfer All Items is a mod for quickly transfer multiple items between your fleet and the market or storage.

Demonstration:
Spoiler
[close]

Compatibility:
It should work with any other mod and does not require a new game. It only transfers items between the fleet and the market or storage.

How to use:
1. Download and install this mod
2. Make sure this mod is enabled
3. On the market or storage screen:
    - Push the button (Upwards Arrow): Transfers all items from the selected Fleet tab to the market or storage.
    - Push the button (Downwards Arrow): Transfers all items from the selected market or storage tab to the fleet.

Changelog:
Spoiler
Quote
Version 1.2 (March 27, 2021)
===============================
Bug fix that happens when the speed up option is active.
===============================
 Version 1.1 (January 10, 2020)
===============================
Bug fix that does not work correctly on some non fullscreen resolutions.
After you transfer the last item, you force the rating to leave the screen organized.
===============================
 Version 1.0 (November 11, 2019)
===============================
Initial release
[close]

Credits:
For the developers of the game Starsector
LazyWizard
Unofficial Starsector Discord

10
Modding / Move Cargo on Market UI
« on: November 03, 2019, 03:43:41 AM »
I want to create a plugin to make it easy to sell / move all items on the market or storage screen.
I already created a buggy version. But I wanted to make it functional for everyone. Currently works with hotkeys. But if you can answer me, I want to share it with everyone.

1 - How can detect which tab the player is interacting with on the Market screen such as "All", "Resources", "Gun Ship" and "Other"?
2 - How to move the load on the market screen by API doing the same buying operations as the player does with the mouse? (Buy and Sell History Log on Left Side)
3 - Is it possible to add buttons on the market screen?

I did the test with the command, it moves the load, but depending on the tab does not update and the purchase log does not appear on the left.



[attachment deleted by admin]

11
Suggestions / Re: Easier multi-stack transfer
« on: November 01, 2019, 03:55:46 AM »
I searched the forums a lot, saw this solution, but I believe that many people really need is just a button to move all items from the base to the fleet or the reverse. For example, when using a store and wanting to store all my weapons and get all my weapons and others, I have to click on items and keep scrolling on each tab. If I had a button to move all items on the current tab, I could click on the tab and move all my weapons or all of my features. That would make it much easier to move from one to the other. It looks like this workaround used by this player. https://www.reddit.com/r/starsector/comments/ditmqf/mass_transfer_alt_key_and_autohotkey_script_for/ If you see two videos playing on youtube, one of them will be working. https://www.youtube.com/watch?v=Y-z50VpZlSg&feature=youtu.be
This is very useful for selling or storing all weapons after combat.

Pages: [1]