space-commits / SPT-Realism-Mod-Client

Client-side BepInEx patches for SPTRM: https://hub.sp-tarkov.com/files/file/606-spt-realism-mod/#versions
Other
52 stars 13 forks source link

Traders sell one Euro/Dollar #63

Closed FiveFme closed 6 months ago

FiveFme commented 6 months ago

Traders only sell one Euro/Dollar. After purchase can buy again one Euro/Dollar and sometimes console spam these lines:

[OOB] for item: fdbaf40b7804cfbe5755cbb3; Error message: TypeError: Cannot read properties of undefined (reading 'fill')
[OOB] for item: 742c136fa5a1b70a64583c67; Error message: TypeError: Cannot read properties of undefined (reading 'fill')
[OOB] for item: 7cf472943c5f8d4a0d2f1c06; Error message: TypeError: Cannot read properties of undefined (reading 'fill')
[OOB] for item: e13e95cfea903bf16820787f; Error message: TypeError: Cannot read properties of undefined (reading 'fill')
[OOB] for item: 7ef6c3411411612c2ac79c4e; Error message: TypeError: Cannot read properties of undefined (reading 'fill')
[OOB] for item: b070ce7f4d9e38d8a66472ac; Error message: TypeError: Cannot read properties of undefined (reading 'fill')
[OOB] for item: b070ce7f4d9e38d8a66472ac; Error message: TypeError: Cannot read properties of undefined (reading 'fill')
[OOB] for item: 1d5963e6ec36a810cff428ca; Error message: TypeError: Cannot read properties of undefined (reading 'fill')
[OOB] for item: bc9ae925515304d6190274a9; Error message: TypeError: Cannot read properties of undefined (reading 'fill')
[OOB] for item: bc9ae925515304d6190274a9; Error message: TypeError: Cannot read properties of undefined (reading 'fill')
[OOB] for item: e01dfa6aa4190cae090e41d9; Error message: TypeError: Cannot read properties of undefined (reading 'fill')
[OOB] for item: 9f238d485e93ab792aa8844a; Error message: TypeError: Cannot read properties of undefined (reading 'fill')
[OOB] for item: 1f398e33f72dadd1d038696d; Error message: TypeError: Cannot read properties of undefined (reading 'fill')
[...]

and 2668 lines with different id string.

space-commits commented 6 months ago

tried it with dev profile and wasn't able to reproduce any errors

FiveFme commented 6 months ago

I tested it in on profile which was created in 3.8.0 with no mod (previously only with RM) and it works without any mods. Dev profile with which was created in 3.8.3 with mods all is good. I downloaded RM again and it seems to be working. After the update, I didn't check if config.json had changed, and I always skip it when replacing files. There are now line rand_stock_modifier_min ;p