[MOD] Werewolf 2

Back to Module Support

Page: 1  
From User Message Body
Mad_Clog
Post #448
user avatar
Member
Date: 8:54 am, Feb 1 2007
Posts: 176


Werewolf 2 by Mad_Clog

This is an irc game based on the werewolf role playing game.
http://en.wikipedia.org/wiki/Werewolf_%28game%29

This is an updated version of the mod Juice released. As there were a lot of bugs in the old one, I contacted Juice and asked for his permission to take over the mod and start working on it.

Code
|      v2.2
|   Bugfixes:
|    -
|   Changes:
|    - Added Angel role: This is a villager who cannot be killed at night, but he can be lynched during the day
|    - Added Guardian role: This is a villager who can protect one person each night, except for himself.  
|                           If he protects the wolves target, then the target is saved and a nokillnight message is sent.
|                           If the Guardian protects a wolf, then the wolf is interrupted before reaching his original target
|                           as he has a better target to feast on, the guardian.
|                           This means the guardian dies and the original target of the wolf lives.
|                           The message sent makes it appear as if the wolf simply selected the guardian, 
|                           to prevent the guardian player from announcing who the wolf is (he doesn’t know if he protected the
|                           wolf or if he was the wolf’s target and died before making it to where he was going to protect the other person).
|    - Added Traitor role: This is a villager who, when seen at night by the seer, falsely reveals himself as a wolf.
|                          The traitor does not know he is a traitor.  The seer just simply gets a false identity of this person and it is always a villager who appears to be a wolf.
|    - Added 4 new themes: startrek, mafia, pirates, cybrid
|    - No longer using a default theme, a random theme will be choosen if none is supplied
|   ========================================
|      v2.1
|   Bugfixes:
|     - No more random people (not) dying for not voting
|     - Nick doesn't show up as 0
|     - Game doesn't crash / act strange when someone changes their nick, parts the channel or quits irc
|   Changes:
|     - All votes end when everybody that should have voted actually did so, so you don't have to wait for the time to end, speed things up a bit
|     - People that part/quit to avoid being slain still can be voted for, if they done have the highest number of votes they get killed for quiting the game, otherwise they die as they normally would due to the vote
|     - Multiple theme support
|     - Clone detection, tries to detect players playing with 2 accounts
|     - Re-written most of the old code to make better use of classes


Click here for the module information page.

This is a support thread. You can ask questions about this mod, or request feature changes as you wish.


p.s.
Sorry for the new thread / mod, but this is the only way i can maintain the files, as Juice won't be working on it any longer.

Last edited by Mad_Clog at 10:09 am, Apr 24 2007

Manick
Post #449
user avatar
Admin
Date: 8:35 am, Feb 2 2007
Posts: 223


its ok

--Manick
PHP-IRC Developer
Mad_Clog
Post #513
user avatar
Member
Date: 10:08 am, Apr 24 2007
Posts: 176


Released version 2.2 of the mod
All credit for this release goes to Juice

Last edited by Mad_Clog at 11:20 am, Apr 24 2007

efreak
Post #589
Member
Date: 11:54 pm, Aug 6 2007
Posts: 15


When i try to run the bot, i get a problem with something to do with a nick feature in typedefs. Previously, i had edited this file, and added something. Unfortunately, it was accidentally deleted and now doesnt work.

Mad_Clog
Post #595
user avatar
Member
Date: 9:00 am, Aug 13 2007
Posts: 176


Add the following to werewolf.conf file
Code
type nick module function

This will be added in the next release (release date unknown), sorry for the inconvenience.

SumDumGuy
Post #698
Member
Date: 8:31 pm, Mar 13 2008
Posts: 1


i had the nick problem but added the line you mentioned in your post and the cleared that one up.

I still have

Fatal error: Call to undefined function socket_create() in C:\PhpIRC\socket.php on line 411

Mad_Clog
Post #710 - Reply to (#698) by SumDumGuy
user avatar
Member
Date: 11:25 am, Mar 27 2008
Posts: 176


First of all, this is not a werewolf related problem.

The error sugguests you don't have the socket extention enabled in your php configuration.
Which will result in the bot not running at all, regardless of what modules you want to run.
Please see the readme for further information about installation/configuration the bot.

Xikeon
Post #847
Member
Date: 10:59 pm, Oct 10 2008
Posts: 5


For some reason the bot stops responding when you start a game and it's about to give the roles to people..

>>>>> Awesomeness Signature <<<<<
irc.rizon.net ~ #botworld
Mad_Clog
Post #848
user avatar
Member
Date: 3:19 pm, Oct 11 2008
Posts: 176


Not sure, I ain't touched this in ages.
Worked fine before though :s
_might_ look into when i have some more spare time

Mad_Clog
Post #972
user avatar
Member
Date: 4:27 pm, Apr 17 2009
Posts: 176


When skimming through IRC my eye caught the following
Code
[05:18:35] <Efreak> http://www.assembla.com/wiki/show/werewolfmod

Apparently someone picked up where Juice and me left off.
So for all of you still playing the old version, I recommend checking out the new one here

   

  Pages (2) [ 1 2 ] Next Page

Back to Module Support