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

Multiple instances #7

Open
FrostBy opened this issue Jun 25, 2017 · 2 comments
Open

Multiple instances #7

FrostBy opened this issue Jun 25, 2017 · 2 comments
Assignees

Comments

@FrostBy
Copy link

FrostBy commented Jun 25, 2017

Hi!
Would you please add a multiple bot instances support?
For example, i want to create a ladder for my project, but the bot works only with the single lobby at the single moment, while this lobby is not started. So the sentry file will be overwritten. Maybe some param for the constructor(sentry suffix or smth else)?

Real case from the project:
I create a connection to RabbitMQ and listen commands from it. If a bot is busy(scans profiles or waits for lobby launch), I launch a bot with another login/password pairs. If all available bots are busy, i will add a task to schedule. After a task is done, I post another task to RabbitMQ for PHP server.

Maybe you can provide me an example, how can I implement it in right way with the current implementation? Unfortunately, i'm new in NodeJs.

For now I will use a fork of this implementation with my changes.

@Crazy-Duck Crazy-Duck self-assigned this Jun 25, 2017
@Crazy-Duck
Copy link
Collaborator

Yeah, that's a feature I haven't implemented yet. I'm not sure when I'll get around to do it, but if you know what to do, feel free to create a PR. The best way to go about it would probably to turn the sentry file into a csv where you keep username;sentry pairs I think

@FrostBy
Copy link
Author

FrostBy commented Jun 25, 2017

If it will be possible and not so critical (commercial product), i'll create a separate repo with my own bot(RabbitMQ + Laravel job builder + balancer + chat commands listener) and send a link into the comments.

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

No branches or pull requests

2 participants