Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

[BUG] Ini deleting values #107

Closed
JensvandeWiel opened this issue Nov 11, 2023 · 4 comments · Fixed by #108
Closed

[BUG] Ini deleting values #107

JensvandeWiel opened this issue Nov 11, 2023 · 4 comments · Fixed by #108
Assignees
Labels
bug Something isn't working
Milestone

Comments

@JensvandeWiel
Copy link
Owner

JensvandeWiel commented Nov 11, 2023

Describe the bug
Ini deletes values like:
ConfigOverrideItemMaxQuantity=(ItemClassString="PrimalItemAmmo_AdvancedBullet_C",Quantity=(MaxItemQuantity=100,bIgnoreMultiplier=true))
ConfigOverrideItemMaxQuantity=(ItemClassString="PrimalItemAmmo_AdvancedRifleBullet_C",Quantity=(MaxItemQuantity=100,bIgnoreMultiplier=true))
ConfigOverrideItemMaxQuantity=(ItemClassString="PrimalItemAmmo_AdvancedSniperBullet_C",Quantity=(MaxItemQuantity=250,bIgnoreMultiplier=true))

Expected behavior
dont delete

@JensvandeWiel JensvandeWiel added the bug Something isn't working label Nov 11, 2023
@JensvandeWiel JensvandeWiel self-assigned this Nov 11, 2023
@JensvandeWiel JensvandeWiel added this to the v0.1.0 milestone Nov 11, 2023
@JensvandeWiel
Copy link
Owner Author

Its using unreal engine type ini files, our ini package does not support it

@JensvandeWiel
Copy link
Owner Author

asking help from @August2211 @ItsMePepijn @Ivan0348 , its quite high priority

@JensvandeWiel
Copy link
Owner Author

found the issue, the ini package does not allow duplicate keys:
ConfigOverrideItemMaxQuantity=(ItemClassString="PrimalItemAmmo_AdvancedBullet_C",Quantity=(MaxItemQuantity=100,bIgnoreMultiplier=true))
ConfigOverrideItemMaxQuantity=(ItemClassString="PrimalItemAmmo_AdvancedRifleBullet_C",Quantity=(MaxItemQuantity=100,bIgnoreMultiplier=true))
ConfigOverrideItemMaxQuantity=(ItemClassString="PrimalItemAmmo_AdvancedSniperBullet_C",Quantity=(MaxItemQuantity=250,bIgnoreMultiplier=true))

@JensvandeWiel
Copy link
Owner Author

is should

@JensvandeWiel JensvandeWiel linked a pull request Nov 11, 2023 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
Status: Released
Development

Successfully merging a pull request may close this issue.

1 participant