Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - BlooRooster1

Pages: [1]
1
Bug: @savelog@ causes error in @readfile@[line#,file\path.txt]

Info: When using @savelog@, it appears to added an extra blank line (as if the bot typed the previous line and hit 'enter') to text file.  For some reason, Deepbot has an issue @readfile@ with a line number when this happens on loop when this happens.  I delete the extra line break, and the @readfile@ runs with no issue.

How did you come across this bug?:
Creating a betting system that works as follows: Everytime a user enters a bet, there name is @savelog@'d to a text file (betters.txt), while simultaneously, the number saved in a seperate text file (betnum.txt) is incremented by 1.  When the bets are payed out, a loop is run that first checks if betnum.txt == 0.  If true, it reads a line from betters.txt equal to the number on betnum.txt and pays out the name on that line.  It then decrements 1 from betnum.txt, and repeats until betnum.txt == 0.  It does not payout the last person to bet, and instead returns "Error reading file"
I created a text file myself with a similiar "read-decrement-repeat" loop, and as long as their was an extra line break at the bottom of the text file, the bottom number (first number to be read in the loop) would return an error rather than read.

Pic:

2
Closed Beta Applications / Re: Closed Beta Applications Phase 2 - Now Open
« on: February 02, 2016, 09:45:09 AM »
Where did you hear about DeepBot from?  Google Searching
Your stream name? BlooRooster1
Twitch bot account name? RoosterBot1
Your streaming schedule? M-F: 1pm-5pm + Random weekends and evenings.
Is your stream partnered with Twitch? No
Average number of users on your channel? 10-20 per stream.
Do you need to migrate an existing points system over to DeepBot?  No.

System Edit : Application Accepted. Install complete. Thanks for the support!

Pages: [1]