i had attempted to try this before this video came out and couldn't quite get it down pat. im very glad this has made it easier to pick where i was going wrong with it :3
Great to hear that it's helped. Unfortunately whilst initially it looked like it may be achievable without c#, it soon became clear that it was needed.
Super useful and great! thank you for setting this up Bud! I ended up adding a simple set GDI test action after to update the death on screen to always show it there and all the ground work was set up beautifully! :D
this was exactly what i have been wanting to add. huge thanks. i am brand new to streamer.bot and its been rough figuring it out. this was simple to follow and everything seems to work fine, except the reset is giving issues. when i try the command to set it back to zero, it asks to specify a number, so when i put in 0 it sets the game counter to 0 but the total is still at the number it was at while testing the commands. i have not changed game categories so all the commands were done with the same game.
Great video, I'm a bit new to Streamer.bot myself and this helped me make a prototype "pop-up" death counter in OBS! I do have a question though: Is it possible to setup this counter so that when the count is incremented, it automatically outputs the new count to a .txt file that is displayed on screen in OBS?
Is there a reason to include the line var Broadcaster = args["Broadcaster"]; since Broadcaster isn't referenced in the rest of the function at all? (as seen at 6:44 for example)
Great spot! There isn't and should be able to be removed! I must had automatically pulled that variable across thinking I may use it and didn't clean up 😁
Hi VRFlad, first things first. Thank you so much for this tutorial. But I have a quenstion this function. Where ist the number of deaths saved? So, can I read the number of deaths in some sort of database where I can take it with another action for showing it in my Overlay in OBS?
Create a copy of the current deaths action and instead of writing to chat, you can get the parts you want and to set as a GDI text source or to save to a file for a GDI text source to use. You can then call this action from the other commands so the text is always up to date.
Awesome work, alle you videos, wished I found you earlyer. Can you please add commands for reset or set the total? I tried myself but its not working correctly
@@VRFlad when I add a command it says I need to specify the count. I have modified it to add a GDI text to appear in a source using the deathcounter variable as well. the command I set up is !death 0, but it does not reset to '0'.
Can't figure out how to set deaths to '0' can anyone help? When I add a command it says I need to specify the count. I have modified it to add a GDI text to appear in a source using the deathcounter variable as well. the command I set up is !death 0, but it does not reset to '0'.
Do I still need to change the default value for the Broadcaster? it seems like the code is set up to read from the variable Broadcaster and if I change it the code might not work correctly. you do this at 1:44. I ask because the game and deathcounter are both showing as the %game% and %deathcounter% and not the actual game and count. I'm also curious if this is because I haven't streamed since setting it up? anyway...thanks for the video!
It should not need setting up anymore with this. Note: This will need a change when 0.1.8 is released (I will do a video on generic changes you need) and the import will also be updated soon after release.
I'm running into an issue where the game and death counter values in the messages aren't populating what's showing as my current game and death total. The actual phrasing %game% and %deathcounter% are showing up in twitch chat. Any workarounds for that?
Please double check the broadcaster global setting correctly in the first sub action. Feel free to Discord DM me a screenshot of the action if it looks right.
You can do it various ways - look at the messages that are sent to twitch chat to base the variables off that and add the sub-actions to do that in the existing actions.
Flad I've been trying in several ways to generate an action to set a death number, but I can't get it, is it possible with your system, or should I stop trying xD I am primarily looking to set the value for each party, not the overall.
I was unable to add this functionality. When I added a new command, I simply did not have a menu with Action. I can’t set the command to bind to imported functions anywhere
Are the deaths supposed to be persistent, even if the bot is closed? Had an issue where the deaths counters were working fine on a stream Monday, shut down the PC, then fired up the next day and they were all gone.
I'm loving this death counter so far! Wondering if you have any info on how to fix a... Bug? I'm running into with it. If i set a typeable command into streamer bot it works fine but using the streamdeck plugin or a voice command to activate any of the death counter stuff, it sends out %game%: %deathcounter% instead of the numbers and game name. Any guesses?
Question, I want to migrate from the stream elements death counter to this one, I have previous values I'd like to set for certain games and for total so it matches what I already have. Any way to manually set these variables within streamerbot? Apologies if this has already been answered.
It seems to me that the code from the description does not work. I tried to enter it and nothing happened. It is also much shorter and therefore different from what is shown on the screen. Can I get the full import code?
How would one read this for say a rotating banner. Say I'm alternating between sub goal/follower goal/donation/time on stream/active viewers/deaths total current game?
@@VRFlad Thank you! I'm used to be somewhere between SQL, a locked down prog, and an SD-Wan, Sometimes you just don't see the nail that sticks up when you're used to my view of things. (sp edit.)
So I've run into a few issues and was hoping to get some help: - It seems to sometimes forget the "total deaths" and resets every stream (think we fixed by re-importing and deleting the global.dat). - I can't seem to just reset "total deaths". I tried just "Set global_totaldeaths" to a value of 0, but it seems to always remember it. >_< - I'm really bad at the new $math function and was hoping to get your opinion on using that in here now, wondering if that might remove the whole scripted section now. :D *playing with new updates is really fun.
Lots to cover here, please do day if I miss anything or want anything clarifies further -total deaths forgetting. Having variable names that do not start with a lower case letter can have this behaviour. If it's intermittent, then it could be something like running the command at the same time (putting a global cooldown may be a good preventative step) - If I remember correctly, the global is totaldeaths. Check capitalisation and to try again -I think the math function may enable to drop the c#. I'll put it in a list to do math examples however I may think of a new scenario to show it off so there's additional functionality there.
@@VRFlad I'm having the same issue with the game death counter resetting to 0 after each stream - but I'm not sure how to execute the fix Artimidorus did?
@@VRFlad Thanks! I've got that going. Now when I'm not currently streaming i'm just seeing %deathcounter% and %game% outputted, but if i'm live will it grab the numbers and game title?
Thanks for another awesome streamerbot guide, Flad. Your hardwork makes it easy for us!
Thanks Kroy. Lots more guides to come!
i had attempted to try this before this video came out and couldn't quite get it down pat. im very glad this has made it easier to pick where i was going wrong with it :3
Great to hear that it's helped. Unfortunately whilst initially it looked like it may be achievable without c#, it soon became clear that it was needed.
yet another awesome vid, I even made a cheeky edit to the code and changed it to a wins and losses counter
Super useful and great! thank you for setting this up Bud! I ended up adding a simple set GDI test action after to update the death on screen to always show it there and all the ground work was set up beautifully! :D
You are most welcome! Great to hear you were able to add to it too!
Hey @PlentyAZach how'd you set up the updated death count on-screen? I'm trying to do something similar myself.
Nice VRFlad, great showcase of bot use, as always
Thank you for the kind words!
This is GENIUS. Thank you so much!!
Thank you so very much for your videos. They have helped me so much. You are a great help!
this was exactly what i have been wanting to add. huge thanks. i am brand new to streamer.bot and its been rough figuring it out. this was simple to follow and everything seems to work fine, except the reset is giving issues. when i try the command to set it back to zero, it asks to specify a number, so when i put in 0 it sets the game counter to 0 but the total is still at the number it was at while testing the commands. i have not changed game categories so all the commands were done with the same game.
Great video and tutorial. Thanks!
Great video, I'm a bit new to Streamer.bot myself and this helped me make a prototype "pop-up" death counter in OBS! I do have a question though: Is it possible to setup this counter so that when the count is incremented, it automatically outputs the new count to a .txt file that is displayed on screen in OBS?
Thanks for this, i think i should be able to add a few bits to add all the features my LB one had, will have to implement my onscreen graphics too :)
I'll be showing how to connect and to manipulate obs soon! I've just scratched the surface of what's available?
@@VRFlad Yeah deffo im keep trying my best to learn as much as i can
For some reason I can't reset the total deathcount. No matter what I do it just goes up and up. I have tried both the reset and set actions.
Add an action / command to set global totaldeathcounter to 0
Is there a reason to include the line var Broadcaster = args["Broadcaster"]; since Broadcaster isn't referenced in the rest of the function at all? (as seen at 6:44 for example)
Great spot! There isn't and should be able to be removed! I must had automatically pulled that variable across thinking I may use it and didn't clean up 😁
Hi VRFlad, first things first. Thank you so much for this tutorial. But I have a quenstion this function. Where ist the number of deaths saved? So, can I read the number of deaths in some sort of database where I can take it with another action for showing it in my Overlay in OBS?
Create a copy of the current deaths action and instead of writing to chat, you can get the parts you want and to set as a GDI text source or to save to a file for a GDI text source to use. You can then call this action from the other commands so the text is always up to date.
Awesome work, alle you videos, wished I found you earlyer.
Can you please add commands for reset or set the total? I tried myself but its not working correctly
The actions were added to the import code after the video, but need commands setting up if you want to use them. Are the other commands working?
@@VRFlad when I add a command it says I need to specify the count. I have modified it to add a GDI text to appear in a source using the deathcounter variable as well. the command I set up is !death 0, but it does not reset to '0'.
I'm having a bit of an issue. I can't get the total deaths to reset to zero.
Can't figure out how to set deaths to '0' can anyone help? When I add a command it says I need to specify the count. I have modified it to add a GDI text to appear in a source using the deathcounter variable as well. the command I set up is !death 0, but it does not reset to '0'.
Do I still need to change the default value for the Broadcaster? it seems like the code is set up to read from the variable Broadcaster and if I change it the code might not work correctly. you do this at 1:44. I ask because the game and deathcounter are both showing as the %game% and %deathcounter% and not the actual game and count. I'm also curious if this is because I haven't streamed since setting it up? anyway...thanks for the video!
It should not need setting up anymore with this. Note: This will need a change when 0.1.8 is released (I will do a video on generic changes you need) and the import will also be updated soon after release.
I'm running into an issue where the game and death counter values in the messages aren't populating what's showing as my current game and death total. The actual phrasing %game% and %deathcounter% are showing up in twitch chat. Any workarounds for that?
Please double check the broadcaster global setting correctly in the first sub action. Feel free to Discord DM me a screenshot of the action if it looks right.
I would like to make a victory and defeat counter directly on my OBS screen, I don't want to chat. What variables should I use?
You can do it various ways - look at the messages that are sent to twitch chat to base the variables off that and add the sub-actions to do that in the existing actions.
Flad I've been trying in several ways to generate an action to set a death number, but I can't get it, is it possible with your system, or should I stop trying xD
I am primarily looking to set the value for each party, not the overall.
I was unable to add this functionality. When I added a new command, I simply did not have a menu with Action. I can’t set the command to bind to imported functions anywhere
Streamer bot 0.2 uses triggers now, where you need to add the command from the action
Are the deaths supposed to be persistent, even if the bot is closed? Had an issue where the deaths counters were working fine on a stream Monday, shut down the PC, then fired up the next day and they were all gone.
They are persistent, can you test between bot shutdowns. You can thankfully add the deaths in relatively easily again
I'm loving this death counter so far! Wondering if you have any info on how to fix a... Bug? I'm running into with it.
If i set a typeable command into streamer bot it works fine but using the streamdeck plugin or a voice command to activate any of the death counter stuff, it sends out %game%: %deathcounter% instead of the numbers and game name. Any guesses?
Check out my video on 0.1.8, it has details of how to fix this.
@@VRFlad Thanks! I managed to get it working with that video!
is there a way to show the death counter on stream via a .txt file?
Yes, In each of the actions that change the count, add in a write to file sub action
How would you go about adding an action for a custom value? Sometimes me and chat misses deaths and need to add 9000+ to the counter.
Can use you a streamdeck with this function?
You can, but since 0.1.8 was released, you need to add in a bit extra. Check out the video I have on the upgrade for how to fix
@@VRFlad thanks for redirecting to the update
Question, I want to migrate from the stream elements death counter to this one, I have previous values I'd like to set for certain games and for total so it matches what I already have. Any way to manually set these variables within streamerbot? Apologies if this has already been answered.
Got it sorted! Thanks for your work VRFlad!
It seems to me that the code from the description does not work. I tried to enter it and nothing happened. It is also much shorter and therefore different from what is shown on the screen. Can I get the full import code?
It is there. Try triple clicking to select the code.
How would one read this for say a rotating banner. Say I'm alternating between sub goal/follower goal/donation/time on stream/active viewers/deaths total current game?
You can add sub actions to write the death details to a file or to GDI text in obs /slobs.
@@VRFlad Thank you! I'm used to be somewhere between SQL, a locked down prog, and an SD-Wan, Sometimes you just don't see the nail that sticks up when you're used to my view of things. (sp edit.)
how do we reset counters?
So I've run into a few issues and was hoping to get some help:
- It seems to sometimes forget the "total deaths" and resets every stream (think we fixed by re-importing and deleting the global.dat).
- I can't seem to just reset "total deaths". I tried just "Set global_totaldeaths" to a value of 0, but it seems to always remember it. >_<
- I'm really bad at the new $math function and was hoping to get your opinion on using that in here now, wondering if that might remove the whole scripted section now. :D *playing with new updates is really fun.
Lots to cover here, please do day if I miss anything or want anything clarifies further
-total deaths forgetting. Having variable names that do not start with a lower case letter can have this behaviour. If it's intermittent, then it could be something like running the command at the same time (putting a global cooldown may be a good preventative step)
- If I remember correctly, the global is totaldeaths. Check capitalisation and to try again
-I think the math function may enable to drop the c#. I'll put it in a list to do math examples however I may think of a new scenario to show it off so there's additional functionality there.
@@VRFlad I'm having the same issue with the game death counter resetting to 0 after each stream - but I'm not sure how to execute the fix Artimidorus did?
@@mxnorthwest Please try removing the actions and re-importing them again from the import here, which was updated again just a few days ago.
@@VRFlad Thanks! I've got that going. Now when I'm not currently streaming i'm just seeing %deathcounter% and %game% outputted, but if i'm live will it grab the numbers and game title?
@@mxnorthwest it should work if you're streaming or not. Do you change the game when not streaming?