Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Couple of questions. #35

Open
Skullmonkey opened this issue Jan 28, 2014 · 12 comments
Open

Couple of questions. #35

Skullmonkey opened this issue Jan 28, 2014 · 12 comments

Comments

@Skullmonkey
Copy link

I have adapted the bot to work with Twitch.tv and has served very well for my needs. Basically, I just added a password to the config file and had it send before the NICK.

On to my questions:
1: One thing I would like to do is create a check for new followers and subscribers (once the person I made it for finally gets his button). I have it made right now where it works via command but would like to make it automatically check every so often. Is there any way to achieve this?

I just got the idea to check any time someone says something and then put a spam timer-ish type deal... I would like to use a more efficient way though.

2: I am getting a lot of blank log lines from the output.

28.01.2014 - 17:08:58     [ LOG ]
28.01.2014 - 17:09:58     [ LOG ]
28.01.2014 - 17:10:58     [ LOG ]
28.01.2014 - 17:11:09     [ LOG ]       PING tmi.twitch.tv
28.01.2014 - 17:11:09     [ COMMAND ]   PONG tmi.twitch.tv
28.01.2014 - 17:12:09     [ LOG ]
28.01.2014 - 17:13:09     [ LOG ]
28.01.2014 - 17:14:09     [ LOG ]
28.01.2014 - 17:15:09     [ LOG ]
28.01.2014 - 17:15:50     [ LOG ]       PING tmi.twitch.tv
28.01.2014 - 17:15:50     [ COMMAND ]   PONG tmi.twitch.tv
28.01.2014 - 17:16:50     [ LOG ]
28.01.2014 - 17:17:50     [ LOG ]
28.01.2014 - 17:18:50     [ LOG ]
28.01.2014 - 17:19:50     [ LOG ]
28.01.2014 - 17:20:40     [ LOG ]       PING tmi.twitch.tv
28.01.2014 - 17:20:40     [ COMMAND ]   PONG tmi.twitch.tv

Is there any way to fix that? Or better yet, how do I disable logging? I am running it via command window.

3: When my internet decides to crap out, I keep getting very fast log spams. This, in turn, creates a VERY large (gigabytes worth) log files. I would like to see if the bot can disconnect and reconnect after a few minutes if possible.

@super3
Copy link
Owner

super3 commented Jan 28, 2014

Our bot is unmaintained and very broken. I would suggest using someone else's bot.

@Skullmonkey
Copy link
Author

This is the best one I have found for my needs. Plus, I really don't want to start from square one for a 3rd time :(

@super3
Copy link
Owner

super3 commented Jan 28, 2014

When do you need this by? I was planning on contacting all the forks, and getting everyone working on a few version.

@Skullmonkey
Copy link
Author

Probably within 2 weeks or so if possible. I would like to see this project come alive again!

@ElvenSpellmaker
Copy link
Collaborator

My fork is so far removed from everyone else's since I decided to continue work in everyone's absence.

Mine is multi-processed (and the coding style changed somewhat) now connecting via a UNIX socket using socket_select.
This stops a hogging plug-in from making the bot PING out as the front-end deals with the PINGs.

I am planning a re-write of my version of the bot at some point, but when I'm not sure.

@super3
Copy link
Owner

super3 commented Jan 29, 2014

Ok I sent mail to @pogosheep. My plan it to takeover the repo, and give you and the other forks commit access. You can then do a hard merge to your version(or whichever the best fork is), and we can start getting this back into active development.

@DanielSiepmann
Copy link
Collaborator

I started the transaction. Nice to hear it's still in use.
Thanks for keeping things running and further.

@Skullmonkey
Copy link
Author

It's the only one that I have found in PHP that lets me add/adapt to the way I would like. I use both commands and listeners. I've had to adapt a couple of things like adding a spam timer, incorporating databases, and such but those were things I could do with my limited knowledge of PHP. I kind of want to make one with an interface that I can have an interface with but that would have to happen in another language that I don't know. That way, I can also distribute it to the streamer that I run the bot for. But, that's a different subject entirely.

@super3
Copy link
Owner

super3 commented Jan 29, 2014

Ok added you to the commit access @ElvenSpellmaker, could you do a hard push to the repo with your codebase which I assume is much better.

@Skullmonkey Feel like merging some of your changes into our new project?

@Skullmonkey
Copy link
Author

I will have to clean up my code a bunch before I commit it. If we are going to a new base, I will wait and then build upon that.

@Skullmonkey
Copy link
Author

Just popping in to say hi! We should start working on this again :D

@cutzenfriend
Copy link

Yes please!! :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants