RimWorld

RimWorld

Dynamic Trade Interface
282 kommentarer
Daemonjax For 15 timer siden 
In 1.4 this is somewhat broken -- it doesn't display the quantity for items that your colony or the trader has in the Available column. Perhaps it's an incompatibility with one of these other trade related mods I have installed: Show known techprints, or Social experience from trade.
Zeracronius  [ophavsmand] 24. sep. kl. 15:13 
Both of those textures were added in 1.5. It is a mistake that the version for 1.4 is trying to load them. It will cause no other issues aside from the 2 errors of 'not found' in the log.
It will not try to actually use them.
Daemonjax 24. sep. kl. 14:44 
In 1.4, two red log errors when the game starts for what _seems_ to me like texture references to stuff from Vanilla Books Expanded... https://gist.github.com/HugsLibRecordKeeper/439341871f2ff0d7b5611f61cf9c430c
Instead of modifying the source, I just created two fake textures and that made the red errors go away.
Zeracronius  [ophavsmand] 22. sep. kl. 4:53 
Sorry for the delay, i've been struggling to think of how to best implement it, combined with life going on.
The solution i settled on for now is having all shared as a second tab in the same UI, which behaves exactly the same and seamlessly with the existing ones, but are saved to the mod config file, and so shared across all saves.
月空 30. aug. kl. 13:28 
Thank you so much for considering it!Your ideas for import/export or mod config options sound absolutely perfect.
Zeracronius  [ophavsmand] 30. aug. kl. 12:53 
No problem! This is something i considered, and deliberately designed to be per-game because i thought you were unlikely to be looking for the same things.
I can try mess around with some options for importing and exporting them.
Maybe an option for saving/loading from mod config
月空 30. aug. kl. 12:30 
I apologize. I used a translation tool, so it might have been difficult to understand 。I meant to say 'keep the saved filters between games'.
Zeracronius  [ophavsmand] 30. aug. kl. 12:08 
What do you mean by "round"?
Do you mean keep the saved filters between games? Or just keep the current filter between opening the window?
月空 30. aug. kl. 11:42 
Could the item filtering list from the previous round be saved, please? This way, we wouldn't have to re-enter it every round.
BigFatSMOrc 27. aug. kl. 12:33 
@Zeracronius
Thank you, no rush!
Zeracronius  [ophavsmand] 27. aug. kl. 12:32 
No problem, glad you found it!
Nathan 27. aug. kl. 12:27 
@Zeracronius

I didn't realize how long it's been and didn't look far back enough in the changelog to see it. I really should've checked the options before posting, though. Sorry for bothering you and thank you for the mod and updates!
Zeracronius  [ophavsmand] 27. aug. kl. 12:22 
@BigFatSMOrc
I'll push an update tomorrow that adjusts the reference ID
Zeracronius  [ophavsmand] 27. aug. kl. 12:19 
@Nathan
Alternating row colors has been in the mod since 19th of April.
You can find it in the mod's options menu.
Nathan 27. aug. kl. 12:07 
Hello again,

I hope it's not too much trouble but I was wondering if you had any update regarding the potential for alternating row colors. It's fine if you decided it wasn't worth it or something, I've just been wondering.
BigFatSMOrc 27. aug. kl. 10:09 
Heya! Could you update the mod to be compatible with Quality Colors (Continued) https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3513846773 The original seems to have been abandoned! Thank you!
Zef 27. aug. kl. 7:16 
@Zeracronius: Thanks i tested and it works now, i can type using SHIFT when disabling "dynamic buttons".
Zeracronius  [ophavsmand] 27. aug. kl. 5:08 
Added an option to turn off button behaviour. Assuming the prior description is actually the reason for this issue, then this should hopefully solve it.

It basically makes all buttons permanently visible.
Zeracronius  [ophavsmand] 26. aug. kl. 6:53 
Alternatively, for testing, you can try removing the button column.
Zeracronius  [ophavsmand] 26. aug. kl. 6:51 
It shouldn't matter what layout your keyboard is in, however i am assuming that the issue here is that to type any numbers, you have to press shift, and because shift doubles as a modifier key, this causes the interface to update to visually reflect the new modifiers.
This in tern due to limitation in IMGUI (the UI system), causes it to lose focus on the current input box.

This is all assumptions though.

If that is correct however, then rebinding the modifier key to something else than shift, should prevent this behaviour, or alternatively pressing shift first, and then clicking into an input box while holding shift down should also work normally.

It is the act of pressing or releasing shift that would cause the interface to update. (assuming that this is actually what is happening)
Zef 26. aug. kl. 5:20 
Although, .. i'm not sure if it's the mini keyboard or the fact that it's QWERTZ.

It tried with holding shift or CAPS LOCK but no luck, can't type any numbers.
Zef 26. aug. kl. 5:16 
@Zecronius: I have the same issue as @Winterstein

I'm using a german QWERTZ keyboard (60% compact layout) and none of my number keys are working.

It's not the end of the world since i can still use CTRL or SHIFT to increase or decrease the numbers but it would be way easier if i could simply type like in the vanilla trading screen.

As such this is half broken for non QWERTY users
Zeracronius  [ophavsmand] 15. aug. kl. 9:35 
@AstraZeneca
I have now been able to test Medieval 2 bartering on my end and not been able to reproduce any issues.
Keep in mind that the Bartering window and the trade window added by this mod are completely separate things and have no overlap at all.
Neither mod actually impact or alter vanilla trade window either.
Zeracronius  [ophavsmand] 14. aug. kl. 1:32 
It can be found in Rimworld's options => Controls => Keyboard configuration (Modify) => "Modifiers" section
Winterstein 13. aug. kl. 16:55 
Hello @Zeracronius, I've looked in the mod config and controls and I can't see a specific option to rebind the x100 increment. Is it something to change elsewhere?
Winterstein 10. aug. kl. 15:20 
I will try to do this, but is it not possible to not update the button while holding "Shift" but simply checking if this key is pressed onClick?
Zeracronius  [ophavsmand] 10. aug. kl. 13:45 
@Winterstein
Actually, have you tried rebinding the Shift key away from Increment 100x?
When the modifiers change, the buttons update to reflect which ones are and aren't available.
In unity, updating the interface while focused in a text box causes the text box to lose focus. There is an option to try attempt to auto-refocus the control when this happens, however this sometimes ends up a bit too aggressive.

Rebinding the increment multiplier or enabling that option should mitigate the issue.
Zeracronius  [ophavsmand] 10. aug. kl. 12:56 
Thank you, I will try to investigate this
Winterstein 10. aug. kl. 11:42 
I have an AZERTY keyboard with numbers accessibles only through shift (mini keyboard). When I click the rectangle to input a specific number, when I type "Shift", before any other input, the interface do something weird and then when I type a number (1, 2, 3, 4, 5 ...) it does not reflect well on the ui.
Zeracronius  [ophavsmand] 10. aug. kl. 2:54 
This is the first i hear of any input issues. To my knowledge, Unity should be handling that part.
Can you describe what exactly you experience?

For arrows, the mod supports using a number of modifier keys to adjust the increments, following similar standards like in vanilla: Control, Shift, and both, for 10, 100, and 1000 increments.
Winterstein 10. aug. kl. 2:31 
Hello, thanks for your mod. It seems it does not handle welll AZERTY (mini) keyboard. When typings numbers it does not understand it and that's a bit sad because Trade UI handle it perfectly. Do you think you can provide a fix for that?

Most of the time, the arrrows are enough but sometimes (especially with GTG Orbial) I need to enter specific numbers and it's a problem.

Moreover, it would be cool to have a mechanism that detect hold click and automaticaly increase the number without having to click over and over.
Zeracronius  [ophavsmand] 5. aug. kl. 2:52 
It has been reported that there was some incompatibilities with bartering, but not specifically what the issue was.
I have not been able to find any obvious overlap or conflicts with Bartering as it uses its entirely own UI.
But I will try to dig further when I get home from vacation
✪ AstraZeneca 4. aug. kl. 22:47 
Bartering (Trading) with the merchant's guild from VFE-Medieval 2 with this mod causes the merchant's side show nothing. I can still sell but there's nothing to buy.

Console shows no error, at least when opening the interface and trading for me. I may have missed it if it did show errors. Works very well otherwise.
Zeracronius  [ophavsmand] 2. aug. kl. 9:33 
Should be fixed now. Thanks for letting me know, and sorry for the inconvenience!
Azazellz 2. aug. kl. 9:25 
Nice!
I am very accustomed to playing with your mod; it is extremely convenient for trading.
Thank you for the fix, and keep up the good work!
Zeracronius  [ophavsmand] 2. aug. kl. 9:18 
@Azazellz
You are indeed correct. Knowing what to look for, i was easily able to find the missing parts.
I'll have a fix up in a moment.
Azazellz 2. aug. kl. 8:52 
It seems that your mod breaks the new “NPC quest” system added in the DLC, where NPCs can give you quests when you interact with them. Merchants, visitors, and even beggars.
In two playthroughs, I was unable to get a single quest from merchants or visitors (i.e., NPCs that open a trade window when interacted with).
I tested this in more detail in developer mode, and without your mod, I was able to get such a quest while trading. Although the chance is quite low, 1 in 10 or so.
At the same time, the quest from “beggars” who come and ask for resources was activated in both cases.
Zeracronius  [ophavsmand] 2. aug. kl. 3:17 
I updated this mod over 2 weeks ago, and only included an updated preview image and translation files.
There is nothing related to UrgentHail nor WorkTypeDefs here.
I imagine KAU is Keyz Allow Utilities
눈꽃잎 1. aug. kl. 21:43 
After the update, an error occurred. When I asked Gemini about it, I received the following response: 'The error message Config error in KAU_UrgentHaul: description has trailing whitespace means that there is unnecessary whitespace at the end of the description field in the WorkTypeDef (work definition) file of a mod called KAU_UrgentHaul.'

I have included a portion of the error log below:
Config error in KAU_UrgentHaul: description has trailing whitespace
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch3 (string)
Zeracronius  [ophavsmand] 1. aug. kl. 1:06 
What do you mean with can't see the names?
If they get cut off or column is otherwise too narrow, you can expand the column by dragging in the edge of the header.
Alternatively check for errors in log.

There is also a button to reset column widths
Cranberry 31. juli kl. 18:37 
For some reason I cant see the names of the items in trade menu. Is that intended? Seems odd. I went into the in-game config but theres only an option to remove the Name column entirely.
Zeracronius  [ophavsmand] 29. juli kl. 2:19 
Loading interface when loading a caravan or shuttle is not touched by this mod.
鱼不爱吃酱 28. juli kl. 20:12 
The clothes of the deceased will not appear in the trading bar when taking the shuttle.
Zeracronius  [ophavsmand] 28. juli kl. 6:24 
@NandoGIP
I have been looking into Medieval 2's batering system, and have not been able to identify any overlap that should cause any conflicts.
What exactly are you experiencing?
NandoGIP 26. juli kl. 22:07 
Nothing is showing in my logs but I have a hunch that this mod may be interacting negatively with the merchant barter trade system from vfe - medieval 2. Sorry I dont have anything else to give you but with it being such a big mod, may be worth it to check it out and confirm
Zeracronius  [ophavsmand] 26. juli kl. 7:33 
Regular Expression search strings can be saved, and then enabled to show notifications for any matches in the filter presets view. Button right of the bell.
Simply clicking the notification bell at that point will filter the view to only the matches.
AmberGlowBug 26. juli kl. 7:24 
Is there a way to add a wishlist like in TradeHelper?
lol 22. juli kl. 12:39 
This is a fantastic piece. Wish htere was similar mod for caravan / shuttle loading interface!
VitaKaninen 20. juli kl. 19:27 
Can you allow this mod to also work with CaravanColonistInfo ? Here is a screenshot showing how it currently looks in your mod, vs with Caravan Colonist Info: https://imgur.com/a/ufJic51
Zeracronius  [ophavsmand] 12. juli kl. 3:39 
Most of tradehelpers features are integrated.