Fireside chat with Para...
So, in the mornings (for me)... about 1300-1500 UTC I believe, we have been having serious lag issues. This is our peak time, lately with 280+ games running at the same time. Best I can tell, we have so many games running, we are hitting API rate limits again. Unfortunately, I do not know of a way to solve this. I have ways I can attempt to lessen the issue, such as removing the PM death message. You can see that you died in group chat. Extra messages like these are unfortunately adding to the issue.
Another possible thing that can be done is something that you the players can do. We need more large groups- groups running large games. Having 200 groups running 5 player games is leading to API rate limits. This is why in the coming days, I will be modifying the /grouplist command. Admins, take note. Any public supergroup will now become automatically listed in /grouplist . Then menu to find a group will be just like /setlang: you will be presented with a list of base languages, then variants (such as specific country, or modes like amnesia). Once you select the variant, you will be given a list of the top 15 or so groups for that language.
I encourage users to please, join these large groups, and play there. This will help to lower the number of messages being sent out, and hopefully lower the chance of hitting the API limits.
If you have any questions, as usual you can join @werewolfsupport.
So, in the mornings (for me)... about 1300-1500 UTC I believe, we have been having serious lag issues. This is our peak time, lately with 280+ games running at the same time. Best I can tell, we have so many games running, we are hitting API rate limits again. Unfortunately, I do not know of a way to solve this. I have ways I can attempt to lessen the issue, such as removing the PM death message. You can see that you died in group chat. Extra messages like these are unfortunately adding to the issue.
Another possible thing that can be done is something that you the players can do. We need more large groups- groups running large games. Having 200 groups running 5 player games is leading to API rate limits. This is why in the coming days, I will be modifying the /grouplist command. Admins, take note. Any public supergroup will now become automatically listed in /grouplist . Then menu to find a group will be just like /setlang: you will be presented with a list of base languages, then variants (such as specific country, or modes like amnesia). Once you select the variant, you will be given a list of the top 15 or so groups for that language.
I encourage users to please, join these large groups, and play there. This will help to lower the number of messages being sent out, and hopefully lower the chance of hitting the API limits.
If you have any questions, as usual you can join @werewolfsupport.
By the way, from the documentation for bots:
If you're sending bulk notifications to multiple users, the API will not allow more than 30 messages per second or so. Consider spreading out notifications over large intervals of 8—12 hours for best results.
Also note that your bot will not be able to send more than 20 messages per minute to the same group.
Now think about 1900 players in 280 groups playing at once.
If you're sending bulk notifications to multiple users, the API will not allow more than 30 messages per second or so. Consider spreading out notifications over large intervals of 8—12 hours for best results.
Also note that your bot will not be able to send more than 20 messages per minute to the same group.
Now think about 1900 players in 280 groups playing at once.
New command added for group admins:
/setlink
If your group is not a public group with a username (@werewolfgame for example), then you can use this command to set your groups invite link. Doing so will get your group listed in /grouplist (once I'm done making the changes to it).
Usage:
/setlink https://telegram.me/yourgrouplink
This is especially useful for Iranian groups, which can't have a username
/setlink
If your group is not a public group with a username (@werewolfgame for example), then you can use this command to set your groups invite link. Doing so will get your group listed in /grouplist (once I'm done making the changes to it).
Usage:
/setlink https://telegram.me/yourgrouplink
This is especially useful for Iranian groups, which can't have a username
Alright, /grouplist has now been updated. Running it will give you a menu of languages. Choose one, and it will send you a list of the top groups for that language.
Admins - if your group isn't listed, and you'd like it to be, use /setlink
(2nd attempt... first time I had some terrible methods that killed the CPU every time someone ran /grouplist. I've optimized it now, try again)
Admins - if your group isn't listed, and you'd like it to be, use /setlink
(2nd attempt... first time I had some terrible methods that killed the CPU every time someone ran /grouplist. I've optimized it now, try again)
Website is moving! It's still the same server, but I have changed the address. The old address still works, but the new one is http://tgwerewolf.com
Tgwerewolf
Home
Werewolf for Telegram. Play werewolf while chatting with your friends on Telegram!
Due to the extremely high volume of messages to the bot, I have enabled privacy mode (@werewolfbot can ONLY see messages that are commands to it). However, in order for this to fully take effect, I need admins (especially in large groups) to please remove and re-add @werewolfbot to their group.
Doing this will help with the lag issues, as the bot won't see as many messages
Doing this will help with the lag issues, as the bot won't see as many messages
Also, if for some strange reason you set @werewolfbot as an admin in your group, please demote it. Setting the bot as an admin automatically disables privacy mode, which means it can see all messages in your group.
Just a heads up - I'm noticing some players spamming the bot - sending 30 - 40+ messages in a matter of seconds. If I see you doing that, the bot will notify you ("Please don't spam me like that"). If you persist, you will be banned.
When you are banned, the bot will simply no longer respond to you.
When you are banned, the bot will simply no longer respond to you.
Ok seriously. The number of people spamming the bot. I'm going to lower the spam detection threshold so that you get banned faster.
If you see someone spamming the bot, be sure to thank them for helping to cause lag. If an admin, you might want to kick them.
If you see someone spamming the bot, be sure to thank them for helping to cause lag. If an admin, you might want to kick them.
NOTICE -
@werewolfbot is moving to a new (better) server. The new server has more RAM, a much better CPU, and is located much closer to Telegram datacenters.
In order for me to move @werewolfbot to the new server, we will need to shut it down for a few minutes. Shortly, I will disable new games from starting. Once games have ended, I will shut it down completely and start it back up on the new server.
We appreciate your patience as we upgrade the bot :)
@werewolfbot is moving to a new (better) server. The new server has more RAM, a much better CPU, and is located much closer to Telegram datacenters.
In order for me to move @werewolfbot to the new server, we will need to shut it down for a few minutes. Shortly, I will disable new games from starting. Once games have ended, I will shut it down completely and start it back up on the new server.
We appreciate your patience as we upgrade the bot :)
Upgrade is starting. The bot is installed and ready on the new server. As soon as all games have ended, I will shut down the bot on the old US server, and start it up in Germany XD
Please note, at this time the SQL database is still in the US. Expect a tiny bit of lag when running things like /grouplist, or when the bot first starts up. Once everything is stable on the new server, I will migrate the database onto the new server as well - that's just a much harder task.
Please note, at this time the SQL database is still in the US. Expect a tiny bit of lag when running things like /grouplist, or when the bot first starts up. Once everything is stable on the new server, I will migrate the database onto the new server as well - that's just a much harder task.
Admins!! Many of us have been using Group Butler to help us manage our groups. Well, the werewolf team has made a new version of that bot, @werewolfbutlerbot . Besides the werewolf specific customizations, this also decreases the load on group Butler. @werewolfbutlerbot has its own dedicated server (not the same server as @werewolfbot), and is pretty fast. Highly recommend it for your group management needs!
Automatic flood control
Warning users (with limit until auto ban)
Disallow media types if you want
All sorts of features!!!
If you add it and need help, as always you can join @werewolfsupport
Automatic flood control
Warning users (with limit until auto ban)
Disallow media types if you want
All sorts of features!!!
If you add it and need help, as always you can join @werewolfsupport
Ever wondered what chaos game team balance looked like? Here it is. We'll be working on smoothing that out a bit soon.
#smallvillageisOP
#smallvillageisOP
😁1
A few people are getting banned for flooding the bot. Let me explain a few things here:
Spamming a command is not some kind of magic. Hitting a command 40 times will not make anything magical happen. It's like the button on an elevator - pressing it multiple times is not a secret passcode or anything.
The spam detection is actually quite lenient. If you hit it, you were seriously spamming it. The bot also warns you before it bans you.
Here's the bigger reason why this happens though -
Everytime you hit a command, it's meant to get a response from the bot. Each time the bot has to send a command, it counts towards the API limit. So spamming a command reaches the bot towards API limits, and lags the bot for EVERYONE. This is why we are very strict about spamming the bot - if you do it enough for the bot to auto-ban you, that's on you. You were given a warning and continued to spam the bot.
NOTE: If you do get banned, as the bot says, you may appeal your ban in @werewolfsupport. Please do NOT PM the developer.
Spamming a command is not some kind of magic. Hitting a command 40 times will not make anything magical happen. It's like the button on an elevator - pressing it multiple times is not a secret passcode or anything.
The spam detection is actually quite lenient. If you hit it, you were seriously spamming it. The bot also warns you before it bans you.
Here's the bigger reason why this happens though -
Everytime you hit a command, it's meant to get a response from the bot. Each time the bot has to send a command, it counts towards the API limit. So spamming a command reaches the bot towards API limits, and lags the bot for EVERYONE. This is why we are very strict about spamming the bot - if you do it enough for the bot to auto-ban you, that's on you. You were given a warning and continued to spam the bot.
NOTE: If you do get banned, as the bot says, you may appeal your ban in @werewolfsupport. Please do NOT PM the developer.
New command available for admins:
/killgame
It doesn't happen often, but sometimes a game will get stuck - no one can flee, the time doesn't move forward, nothing happens. When this does happen, use /killgame to force the game to end.
/killgame
It doesn't happen often, but sometimes a game will get stuck - no one can flee, the time doesn't move forward, nothing happens. When this does happen, use /killgame to force the game to end.
Ok, taking that last command back. Only Global Admins can run that command now, not group admins. Too many admins are abusing it already.
If a game in your group gets stuck, please join @werewolfsupport and ask for help
If a game in your group gets stuck, please join @werewolfsupport and ask for help
Werewolf Enforcer Update:
As you know we have our own group management bot called Werewolf Enforcer, @werewolfbutlerbot. Our team has worked hard to modify the group butler base for our needs as werewolf groups. Below are some of the recent additions to the bot.
We have added a /support command which send you a link to our support group so that you can share it and access the group easier. /user has been modified so that it shows the warns of a player if the has no global ban history.
We have made some design changes to the /help menu to have our support link right appear first. We have also improved the /kick command to be more reliable and added a global banning system to remove very unwanted people from your groups automatically. You will be notified in the group when this happened. An autobanning system has also been implemented for those pesky "join my mafia mob and take over the world" posts.
As always for more information and to get help please go to @werewolfsupport and you can look at our code at https://github.com/BladeZero/GroupButler
As you know we have our own group management bot called Werewolf Enforcer, @werewolfbutlerbot. Our team has worked hard to modify the group butler base for our needs as werewolf groups. Below are some of the recent additions to the bot.
We have added a /support command which send you a link to our support group so that you can share it and access the group easier. /user has been modified so that it shows the warns of a player if the has no global ban history.
We have made some design changes to the /help menu to have our support link right appear first. We have also improved the /kick command to be more reliable and added a global banning system to remove very unwanted people from your groups automatically. You will be notified in the group when this happened. An autobanning system has also been implemented for those pesky "join my mafia mob and take over the world" posts.
As always for more information and to get help please go to @werewolfsupport and you can look at our code at https://github.com/BladeZero/GroupButler
GitHub
GitHub - dllz/GroupButler: A Lua Telegram based on Otouto
A Lua Telegram based on Otouto. Contribute to dllz/GroupButler development by creating an account on GitHub.
Update on spamming / flooding the bot:
Spamming the bot is a serious issue, as we have covered before. It affects all players, causing horrible lag.
As of this point, the automatic flood detection has been updated. If you spam the bot, you will be given a warning. After that, banning will set in.
First ban: 12 hours
Second ban: 1 day
Third ban: 3 days
Fourth ban: You are done. You are forever banned from @werewolfbot
When you get banned, the bot will no longer respond to you. It won't even say "You are banned" - this would just allow spammers to keep spamming the bot, which wouldn't solve anything.
There will be no more ban appeals for spamming - you get three temp bans, then that's it. If you reach the fourth ban, that is your own fault. Please do not come to support begging to be unbanned - you were given PLENTY of chances (oh, did I mention you will be warned before EACH ban, not just the first?)
I don't know how else to get the point across that flooding the bot by hitting /join 43627 times is not the way to go.
Spamming the bot is a serious issue, as we have covered before. It affects all players, causing horrible lag.
As of this point, the automatic flood detection has been updated. If you spam the bot, you will be given a warning. After that, banning will set in.
First ban: 12 hours
Second ban: 1 day
Third ban: 3 days
Fourth ban: You are done. You are forever banned from @werewolfbot
When you get banned, the bot will no longer respond to you. It won't even say "You are banned" - this would just allow spammers to keep spamming the bot, which wouldn't solve anything.
There will be no more ban appeals for spamming - you get three temp bans, then that's it. If you reach the fourth ban, that is your own fault. Please do not come to support begging to be unbanned - you were given PLENTY of chances (oh, did I mention you will be warned before EACH ban, not just the first?)
I don't know how else to get the point across that flooding the bot by hitting /join 43627 times is not the way to go.
I have reset ALL spamming bans in the database. If you were previously banned, you are now unbanned. (if it was for spamming)
Ok, it's finally ready. There are now TWO Werewolf Moderator bots.
- You will need to /start the new bot (it will remind you)
- Both bots are the exact same, running on the same database, same server
- Being on the same database, you will NOT need to reconfigure your group settings
- The new bot is @werewolfIIbot
- This should help us get past the api rate limiting
PLEASE ONLY ADD ONE BOT TO YOUR GROUP, NOT BOTH!
By the way, this means you can play two games at once, one on each bot ;)
- You will need to /start the new bot (it will remind you)
- Both bots are the exact same, running on the same database, same server
- Being on the same database, you will NOT need to reconfigure your group settings
- The new bot is @werewolfIIbot
- This should help us get past the api rate limiting
PLEASE ONLY ADD ONE BOT TO YOUR GROUP, NOT BOTH!
By the way, this means you can play two games at once, one on each bot ;)