RimWorld

RimWorld

Caravan Item Selection Enhanced
202 Comments
Nicoman 12 Jul @ 9:51am 
@Kopp of course. Please excuse me.
Kopp  [author] 12 Jul @ 4:18am 
@Nicoman
I guess the comment was meant for another mod?
Kopp  [author] 11 Jul @ 5:26pm 
@NuanKi
Yeah, I already added the incompatibility to the 'About' file.
Glad the mod was useful for you :)
NuanKi 11 Jul @ 5:07pm 
Yeah i just checked and they are modifying and using vanilla isntead of the custom they had

That's sad, i really love this mod :c
NuanKi 11 Jul @ 3:32pm 
I remember they indeed had their own gizmo with dialog instead of using vanilla one, but since I'm just creating my 1.6 mod pack I haven't seen if they changed that
Kopp  [author] 11 Jul @ 3:05pm 
@NuanKi
I never used Vehicle Framework, but didnt they had their own "from vehicle caravan" dialoge?
Seems like they are using the vanilla one now and patching it...
As my mod does the same, seems like from now on (Rw1.6) the two mods are just incompatible.
NuanKi 11 Jul @ 2:38pm 
Thanks
Kopp  [author] 11 Jul @ 2:37pm 
@NuanKi
Happens if loaded together with Vehicle Framework.
I will see what I can do.
NuanKi 11 Jul @ 2:00pm 
Removed this mod and the error is gone
NuanKi 11 Jul @ 1:57pm 
https://gist.github.com/HugsLibRecordKeeper/f423188b0bf9d08a7c28ac7d3e923a9c

Error in static constructor of CaravanItemSelectionEnhanced.Harmony: System.TypeInitializationException: The type initializer for 'CaravanItemSelectionEnhanced.Harmony' threw an exception. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
[Ref EDFD71CB]
Kopp  [author] 26 Jun @ 1:53am 
@Prophet des Duschismus
Description says: "The vanilla feature to "auto select travel supplies" is removed."
Adding it back is not a option at the moment. Maybe some day.
Prophet des Duschismus 25 Jun @ 12:54pm 
The mod is great, many thanks for the work! Just one small remark, is the auto select travel supplies option gone or has it been move to somewhere else? Can you add it back if it is gone?
EAST 30 Apr @ 10:09pm 
It’s a bit complex, but this mod is incredibly versatile and highly recommended.
The core feature of this mod is the ability to create fully customizable categories(★★★★★) and subcategories.
This makes it much easier to filter specific items like sculptures or duster meant for trading, saving you the hassle of manually searching for them.
One of the most valuable unintended features of this mod is that it allows you to view only the desired items stored in a warehouse, making it incredibly useful for tracking quantities, thanks to its categorization system
It even allows you to check scattered inventories of bionic item and durgs all on a single scrollable page.
I would love it if the mod author could separate this excellent unintended inventory categorization feature into its own mod, or at least add a shortcut key or button to access the item list without needing to click form caravan button. Right now, I’m using the transport pod interface just to check it.
望月 21 Apr @ 7:22am 
"RV with built-in PD"'s 'Vehicle Cargo'
望月 21 Apr @ 7:21am 
The UI of 'Vehicle Cargo' is not compatible with 'Caravan Item Selection Enhanced', which causes everything to disappear
kaputzz 2 Apr @ 6:47am 
hello, congrats for the mod. if you end up re-writing this, i suggest you get inspiration from another game inventory system or something. it can be so much more than a "spreadsheet" . May Bob bless you
Kopp  [author] 17 Mar @ 11:19pm 
@SaMaHaJoGu
Not atm.
Maybe I will rewrite the mod at some point and may add that feature then.
SaMaHaJoGu 17 Mar @ 1:06pm 
Is it possible to implement an auto-bedroll?
Kopp  [author] 3 Feb @ 12:22pm 
@sorryjzargo
No matter if there is any errors, can you provide a hugslib log?
Eventually another mod is patching the caravan selection window, that could be helpful to know.
Kopp  [author] 3 Feb @ 12:04pm 
@sorryjzargo
I got a similar report on 7th of january.
Unfortunately I can not reproduce the issue, it works on my end.
Any errors in the log?
sorryjzargo 3 Feb @ 11:45am 
@Kopp I did not try it with only this mod, my resolution is 1920x1080, and pressing escape made a noise but the gui would not close
Kopp  [author] 3 Feb @ 9:22am 
@sorryjzargo
Did you try it with only this mod to rule out a conflict?
Which monitor resolution are you using?
Can you close the gui pressing "esc" ?
sorryjzargo 3 Feb @ 8:09am 
Every time I use this mod and select the settings while putting together a caravan, the Close button doesn't work and I have to restart the game because there's no way to exit out of the settings
eiennohito 15 Jan @ 4:22pm 
Awesome! Thank you very much.
Kopp  [author] 15 Jan @ 12:16pm 
@eiennohito
Issue should be solved.
The problem was that when loading a preset a bool got set to true, which is used to check if we need to call the vanilla method "Notify_TransferablesChanged".
The method calculates the mass of the caravan, tilesPerDay, daysWorthOfFood, ...
But after calling the vanilla method, it never got set to false...
So the vanilla method got called every frame.
eiennohito 15 Jan @ 2:27am 
Maybe recalculating lists of pawns messes with caching logic if it was already present there.
eiennohito 15 Jan @ 2:26am 
Thanks for the very fast reply!

When I press reset button -> lag stops
When I deselect all pawns -> lag also stops

I am not familiar with RimWorld modding at all, but DubsAnalyzer shows (if I am reading it correctly) that as you have said, calculating days of food takes ~180ms. Probably trying to cache the last calculated value if nothing in selection (e.g. pawns/animals) have changed would be the best, it it is doable in that way.
Kopp  [author] 14 Jan @ 12:51am 
@eiennohito
Does the lag stop if you deselect all colonists (or all pawns)?
I can reproduce making the gui laggy.
It seems to be about the calculation for "days of food".
I am pretty sure I dont touch that calculation, but I could not reproduce the issue without the mod...
Thanks for the report, I will see if I can fix the issue.
eiennohito 13 Jan @ 2:21pm 
I tend to have heavy lag (fps dropping to ~2-5) after selecting "load from a preset", selecting stuff manually does not have that lag. I wonder what is the difference between the two options.
Kopp  [author] 7 Jan @ 7:10pm 
@riftssirdrake
I can not reproduce that issue.
Do you only have those two mods (+Harmony) loaded?
Which RW version are you using?
Any error log?
riftssirdrake 7 Jan @ 5:46am 
Not sure if its been reported before, but when I have the 'Caravan Lag Eliminator' mod enabled, when in the tab config menu the close button or esc key will not work, leaving me stuck in the config menus.
Kopp  [author] 24 Dec, 2024 @ 8:31am 
@Torres
You can try to disable the loading list. Maybe thats the cause of the lag. But iirc even vanilla was lagging with extreme amounts of selected stuff...
However, if it is not game breaking I probably wont fix it, but I put it on my list for a eventual rewrite of the mod.
Torres 24 Dec, 2024 @ 8:01am 
The only thing is that sometimes when you're in the selection screen it becomes laggy, no idea why... other than that this is a damn godsend.

Preset "Long Distance Caravan" carries food for 15+ days, tent, meds, 2 people in the truck from the vehicle mod.

Fan-effing-tastic mod.
The Astonished Crow 24 Dec, 2024 @ 7:58am 
Fuck my actual arse HOW IS THIS NOT VANILLA? THANK YOOOOOU!
Torres 22 Dec, 2024 @ 1:54pm 
Amazing stuff, this should be vanilla a big part of me just sending shitty caravans is because I forget stuff mainly due to having to do it manually every.single.damn.time.

Thanks, this rocks.
Kopp  [author] 22 Dec, 2024 @ 12:48pm 
@Torres
If SRTS is using the vanilla caravan system, then yes.
Give it a try, you can remove the mod without issues from a save.
But make a backup of your save, just in case...
Torres 22 Dec, 2024 @ 10:09am 
So as far as I can see this will allow me to save a preset with colonists+equipment to load on my SRTS spaceship?

Because I raid some old structures from other mod's quests and I tend to need to carry stuff like tents+food+medicine and it's a pain to find and select everything manually every time.
El Poyo Locco 2 Dec, 2024 @ 5:32am 
Thanks for trying
KassCrout 20 Nov, 2024 @ 8:23am 
Nice mod thanks.
I wish Resizable Table Columns was supported, or that we could manually resize the window like Dynamic Trade Interface because many object descriptions are truncated like quality or % when I prepare my caravan, it makes items selection a bit tedious - but very nice mod overall!
Kopp  [author] 17 Nov, 2024 @ 3:34am 
@El Poyo Locco
Nevertheless I just tried reproducing the bug (but only with RW v1.5.4069).
I cant.
I loaded both my caravan mods (CISE and CFI) and vehicle framework.
I tried loading vehicle framework first and last.
I tried making a vehicle caravan and a normal caravan.
Works without issues.
Btw, CISE is not loaded in the log you posted.
El Poyo Locco 16 Nov, 2024 @ 9:46am 
alright.
Kopp  [author] 15 Nov, 2024 @ 10:41am 
@El Poyo Locco
According to the log it is not caused by (any of) my mod(s).
El Poyo Locco 15 Nov, 2024 @ 4:05am 
Hi ! there seems to be a bug with Vehicles framework (according to chatgpt), when I select corpses, weight stop being counted. here is the log, at line 5469
https://gist.github.com/HugsLibRecordKeeper/82477e528163c88686f493e4b1ff42a1 h
I hope I'm not mistaken and bothering you by mistake, thank your for your time, great mod §
[岗] Señiorita woofers 12 Nov, 2024 @ 6:34pm 
add me i will send u some screenshots
[岗] Señiorita woofers 12 Nov, 2024 @ 6:33pm 
yes
Kopp  [author] 12 Nov, 2024 @ 5:05pm 
@[岗] Señiorita woofers
Not sure if I got you...
I guess it is the same issue as "Thels" reported on 28th of July.
If not, please give me a step by step instruction to reproduce the issue.
[岗] Señiorita woofers 12 Nov, 2024 @ 10:39am 
When removing the apparel section from a parent tab, all categories in the subcategories dissapear. This is because ur also are disabling the tainted/rotten/smeltable etc.... filters too. You should explain this as i had to find this out myself and it costed me some time :)
Kopp  [author] 22 Sep, 2024 @ 10:10pm 
@Lurmey
Thanks for reporting back!
Lurmey 22 Sep, 2024 @ 2:09pm 
Just a quick update after having played the game without this mod for a few days.. It doesn't seem to have been the cause of the vehicle caravan's not closing the dialog properly upon creation. Thanks
Kopp  [author] 22 Sep, 2024 @ 8:46am 
@Z9527
If the message was "could not load reference ..." then it is harmless. See mod description for more details.