Death Counter & Soundboard by Kalejin

Feel free to post about anything here.
Post Reply
User avatar
Kalejin
Posts: 124
Joined: Mon Feb 03, 2014 3:45 pm
Contact:

Tue Aug 15, 2017 1:45 am

[QUOTE="Dac4n, post: 46521, member: 110251"]Hello, i was looking for a software to bind audio samples on my keyboard but i'm currently unable to use it.
I installed DC+SB and tried to bind a few sounds, worked great. Closed then reopened the program and since i get this message :

Code: Select all

System.NullReferenceException: La référence d'objet n'est pas définie à une instance d'un objet.
   à DC_SB.MainWindow.AddSound_Click(Object sender, RoutedEventArgs e) dans D:\Jany\Praca\DCSB\DC+SB\Windows\MainWindow.xaml.cs:ligne 123
   à System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   à System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   à System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   à System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
   à System.Windows.Controls.Primitives.ButtonBase.OnClick()
   à System.Windows.Controls.Button.OnClick()
   à System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
   à System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
   à System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   à System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   à System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   à System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   à System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   à System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
   à System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   à System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   à System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   à System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   à System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   à System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   à System.Windows.Input.InputManager.ProcessStagingArea()
   à System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   à System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   à System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   à System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   à System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   à MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   à MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   à System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   à System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   à System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   à MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   à MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
   à System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   à System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
   à System.Windows.Application.RunDispatcher(Object ignore)
   à System.Windows.Application.RunInternal(Window window)
   à System.Windows.Application.Run(Window window)
   à System.Windows.Application.Run()
   à DC_SB.App.Main() dans D:\Jany\Praca\DCSB\DC+SB\obj\Release\App.g.cs:ligne 0
I also uninstalled and reinstalled the software, still the same issue.
Your help would be greatly appreciated. :) [/QUOTE]
Hi, does this message appear right after you open the program or when you try to add sound?
Chceck out my Death Counter & Soundboard for streamers!
Dac4n
Posts: 6
Joined: Mon Aug 14, 2017 1:36 am
Contact:

Tue Aug 22, 2017 7:51 pm

It happens just after the program opens. after my first install i was able to bind some sounds but i had also a few shorcuts without sounds binded to them (planned for later), don't know if that helps.
User avatar
Kalejin
Posts: 124
Joined: Mon Feb 03, 2014 3:45 pm
Contact:

Wed Aug 30, 2017 1:25 am

[QUOTE="Dac4n, post: 46778, member: 110251"]It happens just after the program opens. after my first install i was able to bind some sounds but i had also a few shorcuts without sounds binded to them (planned for later), don't know if that helps.[/QUOTE]
I have tried to reproduce this issue, but wasn't able to do that. Could you please send me your config file located in C:\ProgramData\DeathCounter\config.ini ?
Chceck out my Death Counter & Soundboard for streamers!
Dac4n
Posts: 6
Joined: Mon Aug 14, 2017 1:36 am
Contact:

Thu Aug 31, 2017 2:19 pm

Here you go :

Code: Select all

[Size]
form=445    294
split=168,950998185118
[Sounds]
device=Haut-parleurs
is_second_device_enabled=False
second_device=Haut-parleurs
player=1
volume=30
Log1=Tdeg?    E:\sampleskeyser\Tdeg.ogg    NUMPAD1    50    False
Log2=Okaaay !    E:\samples arma 2\Nouveau dossier\ok.ogg    NUMPAD2    50    False
Log3=haha    E:\samples arma 2\Nouveau dossier\haha.wav    NUMPAD3    50    False
Log4=test        NUMPAD4    50    False
Log5=test        NUMPAD5    50    False
Log6=test        NUMPAD6    50    False
Log7=test        NUMPAD7    50    False
Log8=test        NUMPAD8    50    False
Log9=test        NUMPAD9    50    False
Log10=test        NUMPAD0    50    False
[Settings]
counters_disable=False
sounds_disable=False
Next=MULTIPLY
Previous=
Up=ADD
Down=SUBTRACT
Reset=
Pause=
Continue=
Thanks.
User avatar
Kalejin
Posts: 124
Joined: Mon Feb 03, 2014 3:45 pm
Contact:

Fri Sep 01, 2017 4:54 am

[QUOTE="Dac4n, post: 47157, member: 110251"]Here you go :

Code: Select all

[Size]
form=445    294
split=168,950998185118
[Sounds]
device=Haut-parleurs
is_second_device_enabled=False
second_device=Haut-parleurs
player=1
volume=30
Log1=Tdeg?    E:\sampleskeyser\Tdeg.ogg    NUMPAD1    50    False
Log2=Okaaay !    E:\samples arma 2\Nouveau dossier\ok.ogg    NUMPAD2    50    False
Log3=haha    E:\samples arma 2\Nouveau dossier\haha.wav    NUMPAD3    50    False
Log4=test        NUMPAD4    50    False
Log5=test        NUMPAD5    50    False
Log6=test        NUMPAD6    50    False
Log7=test        NUMPAD7    50    False
Log8=test        NUMPAD8    50    False
Log9=test        NUMPAD9    50    False
Log10=test        NUMPAD0    50    False
[Settings]
counters_disable=False
sounds_disable=False
Next=MULTIPLY
Previous=
Up=ADD
Down=SUBTRACT
Reset=
Pause=
Continue=
Thanks.[/QUOTE]
I was not aware that sound keybinds can be created without attaching any file to them. In new version it is no longer possible. If there are already any sounds with no files attached, then application should handle them without crashing.
You'll have to manualy download newest version, since app crashes before it can auto update.
Chceck out my Death Counter & Soundboard for streamers!
Dac4n
Posts: 6
Joined: Mon Aug 14, 2017 1:36 am
Contact:

Fri Sep 01, 2017 2:02 pm

It's working fine now, thanks Kalejin ! :)
User avatar
Kurg79
Posts: 5
Joined: Sat Nov 14, 2015 10:38 am
Contact:

Thu Sep 14, 2017 7:20 am

i set up my keys and sounds, i close program, then i open it again and keys are not there anymore
what im doing wrong ?
User avatar
Kalejin
Posts: 124
Joined: Mon Feb 03, 2014 3:45 pm
Contact:

Thu Sep 14, 2017 9:52 am

[QUOTE="Kurg79, post: 47628, member: 64487"]i set up my keys and sounds, i close program, then i open it again and keys are not there anymore
what im doing wrong ?[/QUOTE]
Hi, can you please check if you have this file and if it is not marked as Read Only?
C:\ProgramData\DeathCounter\config.ini
Chceck out my Death Counter & Soundboard for streamers!
User avatar
Kurg79
Posts: 5
Joined: Sat Nov 14, 2015 10:38 am
Contact:

Thu Sep 14, 2017 9:55 am

it was not marked - i marked it
but it don't helped
User avatar
Kurg79
Posts: 5
Joined: Sat Nov 14, 2015 10:38 am
Contact:

Thu Sep 14, 2017 9:55 am

[QUOTE="Kalejin, post: 47634, member: 8373"]Hi, can you please check if you have this file and if it is not marked as Read Only?
C:\ProgramData\DeathCounter\config.ini[/QUOTE]
it was not marked - i marked
but it not help
User avatar
Kalejin
Posts: 124
Joined: Mon Feb 03, 2014 3:45 pm
Contact:

Thu Sep 14, 2017 9:59 am

[QUOTE="Kurg79, post: 47636, member: 64487"]it was not marked - i marked
but it not help[/QUOTE]
Yeah, well it should not be marked as Read Only in order to work correctly :)
Can you please share this file with me so I can take a look if it is not corrupted and prevents saving new content?
Chceck out my Death Counter & Soundboard for streamers!
User avatar
Kurg79
Posts: 5
Joined: Sat Nov 14, 2015 10:38 am
Contact:

Thu Sep 14, 2017 9:59 am

[QUOTE="Kalejin, post: 47637, member: 8373"]Yeah, well it should not be marked as Read Only in order to work correctly :)
Can you please share this file with me so I can take a look if it is not corrupted and prevents saving new content?[/QUOTE]
how i can do it ?
User avatar
Kalejin
Posts: 124
Joined: Mon Feb 03, 2014 3:45 pm
Contact:

Thu Sep 14, 2017 10:00 am

[QUOTE="Kurg79, post: 47638, member: 64487"]how i can do it ?[/QUOTE]
You can just paste its contents here
Chceck out my Death Counter & Soundboard for streamers!
User avatar
Kurg79
Posts: 5
Joined: Sat Nov 14, 2015 10:38 am
Contact:

Thu Sep 14, 2017 10:02 am

[QUOTE="Kalejin, post: 47639, member: 8373"]You can just paste its contents here[/QUOTE]
[Size]
form=974 610
split=566
[Sounds]
device=Zestaw słuchawkowy
is_second_device_enabled=False
second_device=Zestaw słuchawkowy
player=1
volume=30
[Settings]
counters_disable=False
sounds_disable=False
Next=MULTIPLY
Previous=
Up=ADD
Down=SUBTRACT
Reset=
Pause=
Continue=
AngryAnniePlays
Posts: 3
Joined: Mon Oct 16, 2017 5:06 pm
Contact:

Mon Oct 16, 2017 5:07 pm

What folder is config.ini located in for Windows 10? I've searched all the usual locations, and quite a few unusual ones, but I'm unable to locate it.
AngryAnniePlays
Posts: 3
Joined: Mon Oct 16, 2017 5:06 pm
Contact:

Mon Oct 16, 2017 5:18 pm

UPDATE: Found the file in C:\ProgramData\DeathCounter (ProgramData is a hidden folder) and adjusted the sizes for the window, but there are no options for changing the size of the popup window. I assume there is supposed to be a button to open the file selector in the popup, but I can't see one. Right-clicking the file field does nothing, and nothing can be typed into it.
AngryAnniePlays
Posts: 3
Joined: Mon Oct 16, 2017 5:06 pm
Contact:

Mon Oct 16, 2017 5:25 pm

UPDATE: nevermind all that. It suddenly started working. I have no idea what the problem was, but it's working now.
User avatar
Jebedahia
Posts: 1
Joined: Mon Jul 31, 2017 6:53 pm
Contact:

Sun Oct 22, 2017 9:37 am

Thank you man it really helps ! Looked all over for something like that !
TheRealDadBeard_
Posts: 5
Joined: Wed Dec 20, 2017 4:27 am
Contact:

Wed Dec 20, 2017 4:29 am

Is it possible to get an overlapping feature like EXP Soundboard so that i can spam sounds without it interrupting itself? EXP is just really lagging while playing sounds and thats the only thing I'm missing here really.
User avatar
Kalejin
Posts: 124
Joined: Mon Feb 03, 2014 3:45 pm
Contact:

Wed Dec 20, 2017 5:20 am

[QUOTE="TheRealDadBeard_, post: 52257, member: 117939"]Is it possible to get an overlapping feature like EXP Soundboard so that i can spam sounds without it interrupting itself? EXP is just really lagging while playing sounds and thats the only thing I'm missing here really.[/QUOTE]
It is not currently possible, but I'll add it to list of things to implement :)
Chceck out my Death Counter & Soundboard for streamers!
Post Reply