Author Topic: Working with VPS?  (Read 4197 times)

0 Members and 1 Guest are viewing this topic.

Kolli88

  • Youngling
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
  • Twitch Name: MrMcKolliHD
Working with VPS?
« on: April 24, 2014, 02:45:56 AM »
Hi,
i don't want to run my pc 24/7 but want to allow my viewers to earn points while I am offline.
Is it possible to run the bot on a cheap VPS?

Am I right that the points earned are saved in a cloud provided by deepbot? Could I run the bot on different systems and the points for my viewers will stay synchronized?

And last but not least:
Is there any possibility to get the points of each viewer? I would like to have a website where the viewers are ranked by earned points.

Regards

Dante557

  • Advisor
  • Councilor
  • **
  • Posts: 555
  • Karma: +26/-0
  • Sometimes Helpful, Sometimes Not :D
    • View Profile
    • My Twitch Page
  • Twitch Name: Dante557
Re: Working with VPS?
« Reply #1 on: April 24, 2014, 07:54:01 PM »
Hi,

With Regards To Hosting On A Cheap VPS

Most webhosts tend to block port 6667 (You can change this to Port 443 or Port 80 within Deepbot, Port 80 is unlikely to be blocked by webhosts) which is needed by Deepbot to communicate with the Twitch chat servers. You'd also need to make sure the webhost you chose was running Windows Server 2008 or 2003 (Unless they allowed visualisation on Linux for a Windows OS). As far as if it'd work....I don't know, that's Expert's area of expertise but I doubt you could do it for cheap. I was actually doing research to see if it was possible to visualise a windows OS on a Raspberry Pi to run Deepbot from but all my searches have come up blank.

Unless you have a bandwidth cap, it'll probably be a lot cheaper to find a really low power machine and host it yourself, you'd be surprised how much you'd save. Just make sure you can visualise a Windows OS on it. Of course not the idea solution for you but it's all I can think of, sorry.

With Regards to Cloud Storage

As far as I know, cloud storage isn't currently available. You'll notice that if you click the cloud storage tab in Deepbot it won't load anything. Obviously this will be implemented further down the line but if you are looking to synchronise the bot between multiple computers at this current point in time, you'll need to copy the latest "users" and "usersconfig" across. Also copy "chanmsgconfig" over for good measure to keep your commands synchronised. Bit of a pain, I know, but file sharing websites like Dropbox and Google Drive should make this easier.

Hell, you could probably shove Deepbot into your Dropbox folder and get it synchronised that way, get cloud storage that way :). Haven't tested that myself though so just a theory.

With Regards to Getting User Points

The database itself is held in the "users" file but you'll find that it is encrypted. Although that sounds a good idea for user interaction so when I see Experts next I'll let him know of the suggestion, thanks.

Regards,
Dante557
If you need to get through to me you can try to contact me on Twitter @ http://www.twitter.com/dante556

Crowbarx

  • Youngling
  • *
  • Posts: 6
  • Karma: +1/-0
    • View Profile
  • Twitch Name: Crowbarx
Re: Working with VPS?
« Reply #2 on: April 25, 2014, 07:13:27 PM »
I've been running deepbot on a VPS and here are the issues I've run into, everything works fine, except you lose the ability to do music requests because the requests don't export directly to your streaming platform, OBS/Xplit ect. So you would have to keep another version on your streaming PC for this to work, problem is points don't sync between these two platforms, so what I've been doing as a workaround in the meantime is uploading my version with all my files to my VPS when I'm done doing song requests, and then when I want to start doing song requests again for the games I use the song request feature on I export the version I have on my VPS to my PC. It's fairly annoying, but this way I don't have to keep my streaming PC on 24/7. If you're looking for a cheap windows VPS I use https://bermanhosting.com/ and they've been great so far.

It would be great if I could sync my user database on the cloud so I don't have to keep moving these files around.