greywolfdev / werewolf Goto Github PK
View Code? Open in Web Editor NEWWerewolf for Telegram
Home Page: http://www.tgwerewolf.com
License: GNU General Public License v3.0
Werewolf for Telegram
Home Page: http://www.tgwerewolf.com
License: GNU General Public License v3.0
On the group -1001052795980 (Combriccola WereWolfBot), August 13th at 20:34 GMT+2, bot 2 chose the lovers in place of the cupid, who didn't choose in time. The lovers chosen were the Seer and the Serial Killer, but neither received a message from the bot telling them they were lovers. The Seer had chosen the Serial Killer to see on the first night, and once day come (still with no message), they told the group, and got the Serial Killer lynched... Only then did he find out he was actually his lover.
Game's status in the end
Werewolf Moderator 2, [13.08.16 15:38]
Giocatori in vita: 5\8
Tris: 💀 Morto - l'Artigliere🔫 Vinto
Fede Alfonso: 💀 Morto - il Serial Killer🔪❤️ Vinto
Aurelio Colombo: 💀 Morto - il Veggente👳 ❤️ Vinto
Alicetta¤: 🙂 In vita - il Veggente👳 Vinto
Sergio: 🙂 In vita - Il Cacciatore urbano🎯 Vinto
Tomodachi: 🙂 In vita - Cupido🏹 Vinto
Diego: 🙂 In vita - l'Investigatore🔎 Vinto
Leo145: 🙂 In vita - il Maledetto😾 Vinto
Durata della partita: 00:05:14
Adding a command like /extend <seconds>
to extend time to join the game could be useful for small groups in which not always there are enough players online, also because by /flee /join
the joining time left could increase to 1 minute at most.
Similar case could happen if Seer dies and both Appseer and DG become Seer...
...and what about DG chooses Appseer, promoted Appseer dies -> DG becomes Seer?
When the hunter is killed at day time, the bot will always display the "HunterShotChoice" string even though it could also have been the SK.
There are two possible fixes: Introduce another string for hunter being killed by SK or change the exisiting string to cover kills by SK as well
There is a MasonEaten string but it's not displayed if a mason is eaten, instead the DefaultEaten string is used.
When the gunner shoots the hunter, the DefaultShot string isn't displayed, only the ones where the Gunner shoots another player or not. This results in the gunner staying anonymous.
We think that it woud be nice to have opportunity to set the lynch voting to be secret.
This could avoid "tactical voting", e.g. forcing draws etc.
(Should be optional though, because one could like this way of tactical voting)
Hey, was thinking about something to add some new dynamics to the game.
Night Events
Every X nights there is a night event. These events occur randomly and they can give advantage and disadvantages to any team/person. I guess about every 4 or 5 nights is a good number, and they would only work on games with 10+ players. Here are some suggestions on possible events:
Full Moon - Werewolves get to kill 2 people this night, cuz, Full Moon is they're moon bro.
New Moon - Werewolves get no kill this night, cuz is to dark? Maybe they are afraid of dark.
Blue Moon - Seer gets to see 2 people this night, cuz this is a magical night. Or, the Fool and/or the aprendice could see someone?
Red Moon - The Serial Killer kills twice, and the harlot visits to people in this sinfull night.
Eclipse - A Holy, or Unholy night, who knows? Cult can convers two people, and cultist hunter can visit two people too!
Snowstorm - Only wolves can act this night, cuz they're furry and can resist such cold!
Rainy Night - Only non-wolves can act this night! Cuz no one wants to wet a fur coat
Thunderstorm - Random person gets struck by lightining, and dies
Sandstorm - Every one powers will chose targets randomly, cuz no one can see clearly on the sandstorm.
Flood - No actions for anyone this night.
hey,could you that we can smite a guy who left group,and also doesn't have username ?
Was Werewolf, got "Hooded figure tried to convert you..." message. I know cult can't convert wolf. But wolf wouldn't be home if cultist visited.
This happens if the bot has never seen the player when they /start it.
Should be solved if, in that case, the bot writes to DB they are a new player.
If an user is admin of a group, and wwbot recognizes them as such, the user can open config menu, and isn't ever required to close it. If such user loses admin privileges (either by being kicked from group, exiting the group on their own or being removed as administrator by another admin), the bot won't recognize them as an admin anymore... But if the ex-admin still has the config menu open, they can keep making all sorts of changes in it until they close the menu (wwbot won't let them open a new menu, just won't close it when they stop being admin)
Basically wwbot will accept any change made from an open config menu even if it doesn't come from a current admin.
Werewolf Moderator:
3.0.6071.17521
Group: -172203677 (Werewolf Gamaliel)
Language: Bahasa Indo
Value cannot be null.
Parameter name: source
at System.Linq.Enumerable.Count[TSource](IEnumerable1 source, Func
2 predicate)
at Werewolf_Node.Werewolf.GetRoleInfo(IRole role) in C:\Users\jus00091\Source\Repos\Werewolf\Werewolf for Telegram\Werewolf Node\Werewolf.cs:line 1163
at Werewolf_Node.Werewolf.NotifyRoles() in C:\Users\jus00091\Source\Repos\Werewolf\Werewolf for Telegram\Werewolf Node\Werewolf.cs:line 1086
at Werewolf_Node.Werewolf.GameTimer() in C:\Users\jus00091\Source\Repos\Werewolf\Werewolf for Telegram\Werewolf Node\Werewolf.cs:line 266
During a game, a cultist was voted to be lynched. The CH voted on her, the bot accepted her choice, and the cultist was successfully lynched. Following that, when night came, an inline keyboard appeared for the CH, but she couldn't make any choices. Once night ended, the inline keyboard didn't disappear, but the bot answered CH saying she went to the (dead!) cultist's house and killed her. Following that, it sent a message in the group saying the (already dead!) cultist had been killed by the CH.
Group ID: -1001066860506
Bot's messages:
CH voting to lynch cultist:
Werewolf Moderator, [05.07.16 04:23]
Pratya has voted to lynch 천사 AngelBelladonna has voted to lynch 천사 Angel
Käzúyä 戀柯 has voted to lynch 천사 Angel
Daredevil has voted to lynch Ghoul 👻
Bot accepting CH's choice:
Pratya, [05.07.16 04:53]
[Forwarded from Werewolf Moderator]
Choice accepted - 천사 Angel
Cultist being lynched:
Werewolf Moderator, [05.07.16 04:23]
The villagers have cast their votes, amid doubts and suspicions. 천사 Angel is dead. 천사 Angel was a Cultist 👤Night has fallen. Everyone heads to bed, weary after another stressful day. Night players: you have 90 seconds use your actions!
Bot telling CH she visited cultist's house:
Pratya, [05.07.16 04:51]
[Forwarded from Werewolf Moderator]
Did something happen at 천사 Angel's house last night? You can't seem to remember...
Bot telling the group cultist died, again:
Werewolf Moderator, [05.07.16 04:24]
As everyone rises, they find the body of Ghoul 👻 shoved into a pile of stone, blood splattered everywhere. One of your masons has died!A noticeable stench is coming from 천사 Angel's house... the village inspects it to find a body lying in front of a dark altar... a cultist has been killed by the hunter!
It is now day time. All of you have 120 seconds to make your accusations / defenses / talk.
Day 3
Chaos / Normal mode is not saved to database, which means we can't check role balancing accurately.
One of my group member left group after he joined the game, then the bot has no response. Can't vote, no message etc.
plzzzzzz
...and probably shouldn't, because DG already knows from DGTransformToWolf. Didn't test it, but maybe there is a similar bug for DG transforming to cultist / mason.
Clumsy Guy: There is a 50% change the bot will change their vote to a random player.
Mayor: The bot will silently count their vote twice.
Prince: The first time they are lynched, their role is revealed and they live.
How to start a werewolf game in a private group? I want to play private games with my friends.. Pls help
It'd be nice if we can disable GIF and/or change it to other set of GIF when playing other settings like Mafia.
Since commit 7c71fd3, a user reported:
There is Seer, CH, DG. BH gets the name of Seer, DG chooses CH. CH dies (and Seer still alive). BH is told "Since the death of CH, DG has become the new Seer".
Similar issue to #9
You could delete this post.
If one of the lovers dies, the suicide of the other one is displayed first before the kill is being displayed.
how its displayed at the moment:
LoverDied
DefaultKilled/DefaultEaten/DefaultShot/...
DayTime/LynchTime/...
found 2 cases already but reporting one specific
chatid -1001057427061 (@WhateverWolf)
start at 15:49:04 UTC
So in games which has GA coupled with someone,
If GA killed by SK but the lover is protected by GA from ww, the bot give message that both lovers dead but only registered GA dead and the other lover still alive
The GA lover still can vote, do action, and counted alive towards winning ratio with ww.
I've encountered this issue in two games so far. When one cult and SK are left in the end of the game, why is it considered as cult's win? Shouldn't it be a win for SK? Thanks :D
When "Show roles on death" is deactivated, the group gets two messages about the death of victim of the SK.
No one was able to use inline buttons to choose anyone during the night or day, including lynch vote.
Time: 6:06 UTC 10 June
Group ID: -1001032697807
I think it is better to display the end game list as below:
Suggestion 1
Won:
(Cupid Icon) Peter: (Alive Icon) Alive (Lover Heart Icon)
(Mason Icon) John: (Alive Icon) Alive (Lover Heart Icon)
(Villager Icon) John: (Dead Icon) Dead
(Detective Icon) Peter: (Dead Icon) Dead
Lost:
(Wolf Icon) Mary: (Dead Icon) Dead
(Wolf Icon) Sally: (Dead Icon) Dead
(Tanner Icon) Taylor: (Dead Icon) Dead
Suggestion 2
Icon Change
Lover 💘
Alive ❤
Seer 🔮
Cultist ⚰
Cult Hunter ⚜
Suggestion 3
Please include the ":" mark in the string "PlayersAlive", because I want to use full "︰" version for the Chinese version instead. Not a big deal tho.
All roles that win if wolves win.
Wolf Man: Seer sees them as a villager.
Minion: Knows who wolves are, but does not wake with them. Seer sees them as a villager.
Sorceress: Looks for the Seer at night.
Fruit Brute: If they are the only wolf, they do not kill at night.
Wolf Cub: If they die, the wolves get two kills the next night.
The result is "Reply process time: [few seconds]" even though it could be some minutes. Just adding +60 seconds for each minute would be already fine
When a group is upgraded, it gets a new id. in the database, the group becomes a new row, and stats are essentially lost, as well as all settings. Need to detect the upgrade and change the id
the bot lets you know when you are eaten by the wolves. it doesn't tell you when you die because you're killed by the SK, out of sorrow, because you visited the wrong house as a harlot, are shot, are lynched etc.
the bot should also send you a message when these events happen and you die
..as you told me to do, i'm reporting it :)
Also, if possible, making "Day x" translatable could be useful
In group @werewolfita, chatid -1001052795980, at 10:41 of 13/07/2016 CEST (03.41 CDT), the Doppelganger became SK because SK got lynched; clicked on the name of the person to kill, the bot accepted their choice, but didn't kill anyone.
Not sure if it's only due to lag, but it doesn't seem so, because bot wasn't lagging at the time.
Chat ID: -1001059273036
Game Starting Time: (GMT+8) 19:37
Game Mode: Cantonese NSFW Chaos
First night, SK killed harlot and at the same time harlot went to find SK. So as normal harlot dies. Mean while Angel went to save SK but she did not die. Instead, SK and Wolf killed Angel at the 2nd night and she died.
There should be an option to play a more laidback version where the game will progress when everyone responds. But does not need everyone to be online for its entirety.
I try to build an private server or something like that, i already set-up the Windows Server & SQL server, but when i open the solution with Visual Studio 2015 update 3 , it failed to load the solution/file ,
Medium: (For no role-reveal games only) Each night, learn the role of the most recently-lynched player.
Tough Guy: If attacked by wolves, does not die until the next night.
Lycan: Seer sees them as a wolf.
Below messages should be translatable as well:
First problem is that, the translation of recently added message is not working.
Second, there two more strings needed to be translated:
1.
"/AboutVG - Villager
/AboutSeer - Seer
/AboutWw - Werewolf..."
the {0} in strings: AllowFleeQ and AllowFleeA
It is useless since, if they press it, the bot chooses randomly anyway.
Possible fixes:
If the WildChild, Doppleganger, or Cupid doesn't choose the first night, bot should pick randomly.
It removes some of the strategy if the player can just choose not to choose.
Priest: One night per game, choose a player. The next time that player would be eliminated at night, they survive.
Aura Seer: Choose a player each night. Get a Yes or No answer to whether that player is anything besides an ordinary villager or a werewolf.
Troublemaker: One day per game, call for two lynchings.
Hoodlum: Choose 2 other players the first night. Only wins if he survives and those two players are eliminated.
Vampire: Choose a player each night. If that player gets two lynch votes the next day, that player dies.
Lone wolf: Wakes with other wolves, but only wins if they are the last player in the game.
The game has indeed started , but when we type "/flee" or "/players" or any instructions , the bot eventually says "no game is currently running , type /start game or /startchaos to begin the game"
..but maybe dead SK shouldn't win, right? Didn't test that, but it could also happen to DG transforming to Tanner.
Endgame message erroneously states that Werewolves have won when the SK wins.
It should be noted that I found this while playing Chaos mode where there were zero werewolves and one SK.
EDIT:
Made a mistake, the issue here is "The villagers have won! All the wolves have died..." appears when SK dies and there's no WW.
Korosensei:
Each time i become a hunter and killed by sk or lynched, i cant choose another person to be dragged with me
Last time it happened was: 12:10 UTC +7 10 July
Group Name: Werewolf Amnesia
Group id: -1001066860506
Group A, B
—----------------
API tokens have been moved to registry, need to replace with new tokens from BotFather
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.