Barotrauma

Barotrauma

toomanybaro
kouzouke  [developer] 3 Apr @ 8:38am
BUG
Bug and Issue related to the mod

Before reporting a bug check if someone hasn't already.
< >
Showing 1-8 of 8 comments
I got this error in console when I changed the button to open this mod's menu.
then I re-opened the menu with new assigned button, and click on the 'Option' button(I want to see if mod did change the button correctly).
the menu simply closed itself. try again same result.

TooManyBaro UI open crash handler : '0' is not a valid value for 'Interval'. 'Interval' must be greater than 0. TooManyBaro UI open crash handler : at System.Timers.Timer.set_Interval(Double value) at toomanybaro.ClientSource.GUIoptions.<>c.<drawOptions>b__0_0(GUINumberInput input) at Barotrauma.GUINumberInput.TextChanged(GUITextBox textBox, String text) in B:\programming\c#\Barotrauma\Barotrauma\BarotraumaClient\ClientSource\GUI\GUINumberInput.cs:line 476 at Barotrauma.GUITextBox.set_Text(String value) in B:\programming\c#\Barotrauma\Barotrauma\BarotraumaClient\ClientSource\GUI\GUITextBox.cs:line 258 at toomanybaro.ClientSource.GUIoptions.drawOptions(GUIFrame topFrame) at tooManyBaro.ClientSource.GUI.__unsecure_open(RectTransform rectTransform) at tooManyBaro.ClientSource.GUI.Open(RectTransform rectTransform) TooManyBaro UI open crash handler : item was Medic Crate (identifier: mediccrate) TooManyBaro UI open crash handler : Open is cancel. (item chosen may have caused this, choose another.)

the key I set was 'backslash'
kouzouke  [developer] 15 Jun @ 8:25am 
@Lexington I've just push updates to fix some bugs around that !
It should be resolved but ping me back if it's not. Make you sure you update and restart.
If it doesn't work right away you could try to reset the custom options file by removing it : "TooManyBaro_Options.xml", it's saved in the workshop mod folder. By default on windows it's at :
%appdata%\..\Local\Daedalic Entertainment GmbH\Barotrauma\WorkshopMods
You will see a folder with all you workshop mods installed, and you can search for toomanybaro, id should be "3447054878"
Lexington 15 Jun @ 10:36am 
Beautiful, just tried it and yes the issue is fixed. thank you.

also it seem that any change on button setting got reset to default if exit the match and load back in. (from the mainmenu)
however while in the match and loading between round seem to not cause button setting to reset back to default (O)
maybe it is ok to leave em but Imma edit the default key file so I don't have to set them again.
kouzouke  [developer] 15 Jun @ 1:39pm 
It might get reset after each update be careful about that. But I couldn't find a way to replicate the interaction ?

- Does it still occurs ?
- Are you on Windows / Linux / MacOS ?
- Do the file "TooManyBaro_Options.xml" still exist ?
- Is it empty ?
- Is it filled with the correct settings or default ?
- Do you have space on the disk ?

Sorry for all the question but i'm looking for a way to solve this ! :winter2019happyyul:
Lexington 16 Jun @ 12:40am 
Maybe i didn't explain it well (my ENG isn't good)

When I changed the button setting (to open this mod menu) the default key is 'O'.
to other key, in my case 'Backslash'.
Proceeding to continue playing like dock or undock from the outpost or loading between area, The key to open menu is still 'Backslash'.
But when I save and exit to the game main menu and load up save again, now the key to open this mod menu is changed back to the default key or 'O'.
It mean that everytime I load up the save I have to setting up key again.
So what I did next was I edit the 'default_options.xml' file and replace the 'O' with other key I wanted.

For the questions
- Does it still occurs ?, Kinda Yes, not occurring if I didn't exit to mainmenu and continue playing.
- Are you on Windows / Linux / MacOS ?, Window10.
- Do the file "TooManyBaro_Options.xml" still exist ?, Yes I saw it.
- Is it empty ?, No it almost exactly the same as 'default_options.xml' except the " openHUD="PageDown " while in the 'default_options.xml' is " openHUD="O" ".
- Is it filled with the correct settings or default ? Seem correct except the part I said above ^^^
- Do you have space on the disk ?, Yes install on SSD with max 230GB and free space of 90GB.
Last edited by Lexington; 16 Jun @ 12:59am
kouzouke  [developer] 16 Jun @ 2:26am 
Thank you very much !
I may have grasped the issue. I ajusted a few lines in the code and the delay upon which i save the options. The delay was too big and sometimes missed changes.
I pushed the new update ! It might reset your custom default option file and reset your options, but you should be able to saved them correctly
very nice, just tried it and yes seem all work now.
changed key bind stay after exit to the main menu and even after close the game.
kouzouke  [developer] 16 Jun @ 3:14am 
Perfect !
Thanks for helping me solve that bug !
< >
Showing 1-8 of 8 comments
Per page: 1530 50