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 - altimitmine

Pages: [1]
1
I run my Deepbot 24/7 on a remote server, so I don't always use the built-in Title/Game changer. Sometimes I use the Twitch Dashboard, then go live. But Deepbot will announce the last title input into the built-in title/game when it detects I'm live.

My little request is to simply add an option to automatically reload the game/title from Twitch somewhere in between Deepbot seeing the stream online, and sending the Discord message.

I know I could do it manually, but I am not always connected to the Remote Desktop of the server running Deepbot. Having an option to update it automatically shouldn't be too troublesome to implement and won't hurt the API calls.

2
Help/Support / Re: Deepbot API ... I think I figured it out
« on: September 11, 2016, 09:56:43 AM »
I believe I have sorted out the issue, the socket timeout was too low. This led me on a chase to figure out how to most optimally and quickly obtain the data, and I believe I am satisfied with the solution.

In my case, I am proxying through nginx to add SSL support. But this should work with a direct connection to Deepbot as well.

Here is my updated class:
http://pastebin.com/3Y2i2Mpx

3
Help/Support / Deepbot API Connection Limit? Or am I doing this wrong?
« on: September 07, 2016, 02:00:11 PM »
I made a little PHP class to interface with Deepbot. Another script which uses the class will connect, run a command (such as getPoints) then disconnect. This can happen in quick succession (with milliseconds). Occasionally the class will fail, although I have yet to lock it down to failing to connect or failing to authorize. I was just wondering if I may be handling these requests wrong, and/or if there is a limit of how many simultaneous connections are allowed to the Deepbot API Server (port 3337).

Here is my class:
http://pastebin.com/fZa4bLg1

Thanks in advance.

Pages: [1]