To anyone wondering: The current buy/sell values Better Trader has are constantly changing. I will be taking several passes at adjusting/balancing the values over time. Feel free to check out the Articles tab on this mod page and see the 'Buy and Sell Prices' Article if you want to make suggestions(it would help a lot)! Big thanks to Sinaz20 for making a detailed spreadsheet which Better Trader 1.7.2's values are heavily based on!
Side note: Although EpicLoot and any other mod that adds items to the ObjectDB are supported, Better Trader doesn't have them configured by default. Check out the Articles tab for this mod page to see the contributions people have made or take a look around for configs people have uploaded!
Help me help you If you are having an issue please post on the bug forums and provide as much detail as you can, error messages, screen shots, LogOutput.log. This mod https://www.nexusmods.com/valheim/mods/1302 will add a bunch of info to your LogOutput.log that can help track down what the problem is. I also suggest editing your BepInEx.cfg file and find the [Logging.Disk] section and set LogLevels = All
This mod is a staple for many players and I very much want it to work for as many players as I can. Help me help you.
Notes/FAQ:
There has always been an issue with BT and mod managers. Please try a manual install first.
"The trader will not sell or buy anything, I open the trade window and the lists are empty!" This is most likely caused by missing the config file while installing. Please try using the config file included in the zip file. Without it every items defaults to disabled and a price of 100c. The included config has a bunch of items enabled and prices set for them.
New items are added to the config file and are disabled and set to 100c by default. As a workaround for those missing items. Find them in the config file, enable them and set a price for them.
There is an known issue with the coins that is being looked into. (Fixed)
Hello. My friends and I have started a new server to play Mistlands content.
As such, I have updated my google sheets that generates our Haldor economy.
If anyone is interested in using it, you can find it here: https://docs.google.com/spreadsheets/d/1QUOQgs2qfJy6Wfw2WPGkZ_Rr6cAvuljM96KebMuIwv4/edit?usp=sharing
You can also try downloading the .cgf file from my drive: https://drive.google.com/file/d/1rf-vo6qEs2hjhuJFNQpVnRjMt31NhjER/view?usp=sharing
Notes about this config:
Contains entries for Epic Loot in case you are playing with that mod (you're playing with Epic Loot... right?)
Prices are based on a derived "cost" value that takes into account biome progression locks, the work that goes into acquiring/crafting items, whether it is a treasure or not, and the value of ingredients that go into it.
Haldor applies a markup/down to selling and buying based on the same criteria.
Epic Loot reagents and such are tuned the prices you see in the secret stash, so store prices represent markup/down, making the stash a great value.
Original vanilla store items are tuned to vanilla values (except eggs.)
If you want to make a copy of the spreadsheet and try your hands at manipulating the formulas, feel free to DM me for help. I'll try and remember to keep current on Nexus for a while.
Our group has only just begun testing it, so there may be issues, and our "balancing" is just based on some weekend debating.
Hello, the way I fixed it, is by modifying each element in the config file.I had to set to true any item that i wanted to see in the shop sellable = true or tradable = true/ initially it appears false. That would be the fix in case you are unable to see any items in the shop or the buy/sell buttons. Change them individually to true and set the prices. Then you are good to go I hope this helps
If Better Trader is not showing items to buy or sell then this might help.
After tinkering with my files I was finally able to find the fix. It's a simple fix, the only thing is I use r2modman mod installer from thunderstore.io so this fix might be different for those with Vortex mod installer.
First, you have to locate where vortex or r2modman is storing all the mod config files. Mine is located here: C:\Users\[username]\AppData\Roaming\r2modmanPlus-local\Valheim\profiles\Default\BepInEx\config Replace [username] with your computer username. Again, I'm unsure how Vortex installs mods and where they're kept, do some digging and you can find them.
Next find where your steam library is located, specifically the config files for Valheim. Mine is located here: D:\SteamLibrary\steamapps\common\Valheim\BepInEx\config
Now compare your config files for Better Trader. I had to make sure these were exactly the same by copying one to the other folder.
Side note: I'm not sure if you have to, but I changed the .cfg file name because it came with 2 config files: Menthus.bepinex.plugins.BetterTrader.cfg.vanilla and Menthus.bepinex.plugins.BetterTrader.cfg.full I just used Menthus.bepinex.plugins.BetterTrader.cfg.full only and deleted .full at the end along with the other entire vanilla cfg file so that way there's only 1 config file you're using and they are exactly the same in both folders. A warning pops up for me so I just ignored it and everything seems to work flawlessly.
I hope this helps anyone who is in the same boat as I was.
trying to do this but i dont have a bepin folder in my steam folder for valheim and when i added one it royaly screwed up steam so i had to delete it to get steam running again. i dont have a steam library folder as far as i can see ive moved my steam from program ffiles to the root drive location dunno if that matters. would like to actually use this mod. I use r2modmanager.
К сожалению ничего не сработало, делал все в точности как вы сказали, вижу что у некоторых работает но не понимаю почему не работает у меня, он просто отказывается загружать какие либо ресурсы у торговца как у меня на продажу так и у него на покупку, перепробовал все что было написано в комментариях, не работает, очень жаль
I'm very sad to say that this fix did not work for me. I did a manual install of the mod (no vortex/r2modman) and tried varying combinations of the config files. The issue might be that I'm trying to make it work on a dedicated server or something, but whatever I do (using .full or .vanilla config files) and yes I removed those so the file ended in .cfg... but whatever I do the left pane Buy/sell window is completely empty. This sux alot because the mod is otherwise amazing.
Hello, i wanted to ask you if its possible for you to update the mod on Thunderstore Manager, in not really neccesery but it would be really convenient. Thanks in advence.
Алооо еб*ать!!!, а автор собирается вообще хоть как то пытаться обновить один из лучших (имхо) модов вальхейм?!?!?!?!?!?! Такое ощущение что вальхейм внезапно стал мертвой игрой и все резко забросили что либо делать с модами
[Error :Digitalroot] Source: BetterTrader [Error :Digitalroot] Message: Object reference not set to an instance of an object [Error :Digitalroot] TargetSite: Void UpdatePostfix(StoreGui, TradeItem) [Error :Digitalroot] StackTrace: at BetterTrader.Patches.StoreGui_Patches.UpdatePostfix (StoreGui __instance, Trader+TradeItem ___m_selectedItem) [0x0007d] in <25b30514fa424cfebc57309d5b609b68>:0
This mod makes my console spam this while the game is running. It seems to make fps drop. [Error :Digitalroot] Message: Object reference not set to an instance of an object [Error :Digitalroot] TargetSite: Void UpdatePostfix(StoreGui, TradeItem) [Error :Digitalroot] StackTrace: at BetterTrader.Patches.StoreGui_Patches.UpdatePostfix (StoreGui __instance, Trader+TradeItem ___m_selectedItem) [0x0007d] in <25b30514fa424cfebc57309d5b609b68>:0 [Error :Digitalroot] Source: BetterTrader
[Error :Digitalroot] Message: Object reference not set to an instance of an object [Error :Digitalroot] TargetSite: Void UpdatePostfix(StoreGui, TradeItem) [Error :Digitalroot] StackTrace: at BetterTrader.Patches.StoreGui_Patches.UpdatePostfix (StoreGui __instance, Trader+TradeItem ___m_selectedItem) [0x0007d] in <25b30514fa424cfebc57309d5b609b68>:0 [Error :Digitalroot] Source: BetterTrader
688 comments
Side note: Although EpicLoot and any other mod that adds items to the ObjectDB are supported, Better Trader doesn't have them configured by default. Check out the Articles tab for this mod page to see the contributions people have made or take a look around for configs people have uploaded!
Help me help you
If you are having an issue please post on the bug forums and provide as much detail as you can, error messages, screen shots, LogOutput.log. This mod https://www.nexusmods.com/valheim/mods/1302 will add a bunch of info to your LogOutput.log that can help track down what the problem is. I also suggest editing your BepInEx.cfg file and find the [Logging.Disk] section and set LogLevels = All
This mod is a staple for many players and I very much want it to work for as many players as I can. Help me help you.
Notes/FAQ:
There is an known issue with the coins that is being looked into.(Fixed)As such, I have updated my google sheets that generates our Haldor economy.
If anyone is interested in using it, you can find it here:
https://docs.google.com/spreadsheets/d/1QUOQgs2qfJy6Wfw2WPGkZ_Rr6cAvuljM96KebMuIwv4/edit?usp=sharing
You can also try downloading the .cgf file from my drive:
https://drive.google.com/file/d/1rf-vo6qEs2hjhuJFNQpVnRjMt31NhjER/view?usp=sharing
Notes about this config:
If you want to make a copy of the spreadsheet and try your hands at manipulating the formulas, feel free to DM me for help. I'll try and remember to keep current on Nexus for a while.
Our group has only just begun testing it, so there may be issues, and our "balancing" is just based on some weekend debating.
That would be the fix in case you are unable to see any items in the shop or the buy/sell buttons. Change them individually to true and set the prices. Then you are good to go
I hope this helps
After tinkering with my files I was finally able to find the fix. It's a simple fix, the only thing is I use r2modman mod installer from thunderstore.io so this fix might be different for those with Vortex mod installer.
First, you have to locate where vortex or r2modman is storing all the mod config files. Mine is located here:
C:\Users\[username]\AppData\Roaming\r2modmanPlus-local\Valheim\profiles\Default\BepInEx\config
Replace [username] with your computer username. Again, I'm unsure how Vortex installs mods and where they're kept, do some digging and you can find them.
Next find where your steam library is located, specifically the config files for Valheim. Mine is located here:
D:\SteamLibrary\steamapps\common\Valheim\BepInEx\config
Now compare your config files for Better Trader. I had to make sure these were exactly the same by copying one to the other folder.
Side note: I'm not sure if you have to, but I changed the .cfg file name because it came with 2 config files:
Menthus.bepinex.plugins.BetterTrader.cfg.vanilla and Menthus.bepinex.plugins.BetterTrader.cfg.full
I just used Menthus.bepinex.plugins.BetterTrader.cfg.full only and deleted .full at the end along with the other entire vanilla cfg file so that way there's only 1 config file you're using and they are exactly the same in both folders. A warning pops up for me so I just ignored it and everything seems to work flawlessly.
I hope this helps anyone who is in the same boat as I was.
I cant figure out the right fix for the item to appear on the left trader window.
[Error : Unity Log] NullReferenceException: Null method for harmony-auto-b4bc65b0-7f3b-40eb-b3fd-fb0022ccf741
Stack trace:
HarmonyLib.ReversePatcher.Patch (HarmonyLib.HarmonyReversePatchType type) (at <474744d65d8e460fa08cd5fd82b5d65f>:0)
HarmonyLib.PatchClassProcessor.ReversePatch (System.Reflection.MethodBase& lastOriginal) (at <474744d65d8e460fa08cd5fd82b5d65f>:0)
HarmonyLib.PatchClassProcessor.Patch () (at <474744d65d8e460fa08cd5fd82b5d65f>:0)
Rethrow as HarmonyException: Patching exception in method null
HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) (at <474744d65d8e460fa08cd5fd82b5d65f>:0)
HarmonyLib.PatchClassProcessor.Patch () (at <474744d65d8e460fa08cd5fd82b5d65f>:0)
HarmonyLib.Harmony.<PatchAll>b__11_0 (System.Type type) (at <474744d65d8e460fa08cd5fd82b5d65f>:0)
HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable`1[T] sequence, System.Action`1[T] action) (at <474744d65d8e460fa08cd5fd82b5d65f>:0)
HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) (at <474744d65d8e460fa08cd5fd82b5d65f>:0)
HarmonyLib.Harmony.CreateAndPatchAll (System.Reflection.Assembly assembly, System.String harmonyInstanceId) (at <474744d65d8e460fa08cd5fd82b5d65f>:0)
BetterTrader.BetterTrader.InitializeHarmony () (at <e9a22b3214084113b3ca4051876469bf>:0)
BetterTrader.BetterTrader.Awake () (at <e9a22b3214084113b3ca4051876469bf>:0)
UnityEngine.GameObject:AddComponent(Type)
BepInEx.Bootstrap.Chainloader:Start()
UnityEngine.GameObject:.cctor()
SteamManager:Initialize()
PlatformInitializer:InitializePlatform()
>:P
[Error :Digitalroot] Source: BetterTrader
[Error :Digitalroot] Message: Object reference not set to an instance of an object
[Error :Digitalroot] TargetSite: Void UpdatePostfix(StoreGui, TradeItem)
[Error :Digitalroot] StackTrace: at BetterTrader.Patches.StoreGui_Patches.UpdatePostfix (StoreGui __instance, Trader+TradeItem ___m_selectedItem) [0x0007d] in <25b30514fa424cfebc57309d5b609b68>:0
[Error :Digitalroot] Message: Object reference not set to an instance of an object
[Error :Digitalroot] TargetSite: Void UpdatePostfix(StoreGui, TradeItem)
[Error :Digitalroot] StackTrace: at BetterTrader.Patches.StoreGui_Patches.UpdatePostfix (StoreGui __instance, Trader+TradeItem ___m_selectedItem) [0x0007d] in <25b30514fa424cfebc57309d5b609b68>:0
[Error :Digitalroot] Source: BetterTrader
[Error :Digitalroot] Message: Object reference not set to an instance of an object
[Error :Digitalroot] TargetSite: Void UpdatePostfix(StoreGui, TradeItem)
[Error :Digitalroot] StackTrace: at BetterTrader.Patches.StoreGui_Patches.UpdatePostfix (StoreGui __instance, Trader+TradeItem ___m_selectedItem) [0x0007d] in <25b30514fa424cfebc57309d5b609b68>:0
[Error :Digitalroot] Source: BetterTrader