Simple Tutorial: Twitch Chat Bot Point System C# [Part 5]



Long video but necessary to teach how to set up a point system for your bot.

Also introduces file manipulation

source

42 comments

  1. Go To The google search And then Type: FreeCodesXXX It happens to be the purely working Microsoft points free codes working these days. Just don't waste your entire available free time in other software

  2. I was thinking about this.. going to your channel and try fool your bot saying this in the chat:
    :tallestone!tallestone@tallestone.tmi.twitch.tv PRIVMSG !reward me 10000 😛

    I'm gonna use regex instead in my bot, im trying to do write/test it tomorrow… I think need something like this as pattern…
    ^:(?<user>[a-zA-Z0-9_]{4,25})!1@1.tmi.twitch.tv PRIVMSG #(?<channel>[a-zA-Z0-9_]{4,25}) :(?<message>.+)$

    then I use the Regex instead of string.,split 🙂 not sure its 1 or $1 in c# I gotta test it out tomorrow:D

  3. Hi. I have a problem where the program is fine but it will not put together the numbers. so when i add for example 200 and then 2 til will not chow u as 202 it shows up as 2 in the Points.ini file

  4. hey tallestone 🙂 how can I add currently watching users every minute 8 points? I know that I need to set up a timer but how can I add only the currently watching users 8 points?

  5. I'm following this, but I wanted to change the message in chat from "you've been awarded points", to "recipient was awarded X points". when I use the recipient variable, it returns blank. If I use "username" or "userName", it returns my own username.

  6. What would need to be added to this or duplicated in the addpoints to make another form of points, like regular points, and loyalty points, and cool points, etc. Just wondering how I could expand on this by having more than one kind of points. Thanks bro, when is the next video, what you gonna do?

  7. How can I make a command that shows how many points others have for example !points talletsttwo. And it shows how many points tallesttwo has? Case "points" + username: ?

  8. Hey Tallestone I am having an issue when I run and use reward. the eroor I am getting is "An exception of type 'System.DllNotFoundException' occurred in Bubbas_bot.exe but was not handled in user code

    Additional information: Unable to load DLL 'kernal32': The specified module could not be found. (Exception from HRESULT: 0x8007007E)" and the this is my lines of code https://hastebin.com/ezurijezul.cs

  9. So I got till here and all is great and working but one problem. Any reason why the bot would stop working/responding after about 15min? Anything to flush or smt?

  10. So i followed your video to the letter but when i go to check the points i get an exception. (An exception of type 'System.EntryPointNotFoundException' occurred in PowerBot v1.2.exe but was not handled in user code

    Additional information: Unable to find an entry point named 'GetprivateProfileString' in DLL 'kernel32'.) i can give and take points just fine but cant check the values…

  11. An int actually supports about two billion (2.1×10^9) in either direction. Using a long would probably be easier, since then you get 9.2×10^18 worth of numbers.

  12. I have a question, how do I smoothly disconnect from the channel. I get a error from inputStream.Readline I do know that the bot still tries to get data from the server causing a crash even after disposing/closing the connection. Any ideas?

  13. Loving the series, blasted through it in about as long as it took to watch (apart from one small but where I was spelling kernel "kernal"… ) Can't wait for part 6!!

  14. Another new question. With my add commands, i would also like to find the certain command and delete everything associated with the command. How could i do that?

Leave a Reply to VintageGaming Cancel reply

Your email address will not be published. Required fields are marked *