djmango / BlackMarket2

A mod for Factorio economics
https://mods.factorio.com/mod/BlackMarket2
GNU General Public License v3.0
17 stars 7 forks source link

The problem with prices #42

Closed MaxxDnepr1 closed 1 year ago

MaxxDnepr1 commented 1 year ago

Rocket fuel used to cost 150,000 per unit and then suddenly became worth 16 What could be the reason? All my sales are down and now I don't know how to fix it fact

djmango commented 1 year ago

There’s a mechanism in the mod where as you sell lots of a specific item it becomes devalued. You can configure how fast (or if it happens at all) in the mod settings

From: MaxxDnepr1 @.> Date: Tuesday, March 14, 2023 at 11:30 AM To: djmango/BlackMarket2 @.> Cc: Subscribed @.***> Subject: [djmango/BlackMarket2] The problem with prices (Issue #42)

Rocket fuel used to cost 150,000 per unit and then suddenly became worth 16 What could be the reason? All my sales are down and now I don't know how to fix it [fact]https://user-images.githubusercontent.com/39877726/224972937-cec2ba10-624c-4a70-904f-479beba85083.PNG

— Reply to this email directly, view it on GitHubhttps://github.com/djmango/BlackMarket2/issues/42, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGZNIXHXNNRCFCPZOECUI33W4BCFVANCNFSM6AAAAAAV2H3TBI. You are receiving this because you are subscribed to this thread.Message ID: @.***>

MaxxDnepr1 commented 1 year ago

I looked at all the settings of the fac2 mod and turned off these functions a long time ago

djmango commented 1 year ago

Hmm what’s your mods list?


From: MaxxDnepr1 @.> Sent: Tuesday, March 14, 2023 11:35:18 AM To: djmango/BlackMarket2 @.> Cc: Sulaiman Ghori @.>; Comment @.> Subject: Re: [djmango/BlackMarket2] The problem with prices (Issue #42)

I looked at all the settings of the [fac2]https://user-images.githubusercontent.com/39877726/224974136-9fb86a44-cbbe-4817-b204-83e8eeeaaa7e.PNG mod and turned off these functions a long time ago

— Reply to this email directly, view it on GitHubhttps://github.com/djmango/BlackMarket2/issues/42#issuecomment-1467836690, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGZNIXALQLW4M77K2BFAWPDW4BCWNANCNFSM6AAAAAAV2H3TBI. You are receiving this because you commented.Message ID: @.***>

MaxxDnepr1 commented 1 year ago

11 22 33 44

MaxxDnepr1 commented 1 year ago

I play with these mods a lot of time including Market 2 but this error appeared a day ago

MaxxDnepr1 commented 1 year ago

I need to change the price here for the product I want and it will be fine, but I do not understand what these other numbers (11824 is the price in the game and need 160000) 666

djmango commented 1 year ago

Historical price – just change all instances of 11824

From: MaxxDnepr1 @.> Date: Tuesday, March 14, 2023 at 8:04 PM To: djmango/BlackMarket2 @.> Cc: Sulaiman Ghori @.>, Comment @.> Subject: Re: [djmango/BlackMarket2] The problem with prices (Issue #42)

I need to change the price here for the product I want and it will be fine, but I do not understand what these other numbers (11824 is the price in the game and need 160000) [666]https://user-images.githubusercontent.com/39877726/225110622-3ec138f6-c607-491d-a033-d86db7d574d8.PNG

— Reply to this email directly, view it on GitHubhttps://github.com/djmango/BlackMarket2/issues/42#issuecomment-1468674253, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGZNIXEQZ2KQEGTFTHEDHDDW4C6LDANCNFSM6AAAAAAV2H3TBI. You are receiving this because you commented.Message ID: @.***>

MaxxDnepr1 commented 1 year ago

So also has not changed, is it possible to add to the mod itself string that I could change the price is in the game as to these resources? image

djmango commented 1 year ago

Yeah there’s a lua file I believe, you could do that and submit a PR for the option, would be awesome!

From: MaxxDnepr1 @.> Date: Wednesday, March 15, 2023 at 9:57 AM To: djmango/BlackMarket2 @.> Cc: Sulaiman Ghori @.>, Comment @.> Subject: Re: [djmango/BlackMarket2] The problem with prices (Issue #42)

So also has not changed, is it possible to add to the mod itself string that I could change the price is in the game as to these resources? [image]https://user-images.githubusercontent.com/39877726/225257914-58c67321-0dbd-4b70-ba38-e264cd281d28.png

— Reply to this email directly, view it on GitHubhttps://github.com/djmango/BlackMarket2/issues/42#issuecomment-1469602234, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGZNIXFGPHR7EM2MAVQ2ABTW4F76XANCNFSM6AAAAAAV2H3TBI. You are receiving this because you commented.Message ID: @.***>

MaxxDnepr1 commented 1 year ago

I added a couple of lines to the code and now everything works

djmango commented 1 year ago

I added a couple of lines to the code and now everything works

Thats awesome! Great to hear you solved it. Could you post the lines so others could see your solution too?

MaxxDnepr1 commented 1 year ago

I do not understand how to do something on this forum, but I can show you in screenshots what I have added image image