-
I believe the error is in this bit of code in the kill function:
for(int i = 0 ; i < players.size() ; i++)
{
if(((String)players.get(i)).equalsIgnoreCase(victim))
if(dead[i])
isDead = true;
}
When a player leaves the player name is set to null. Thus players.get(i) returns null and calling this on equalsIgnoreCast...
2008-10-08 07:56:34 UTC in The Werewolf Game
-
In doing a vote you have to type in the name exactly, without any excess leading or trailing whitespace.
This is due to a bug in the code. It says
choice.trim();
but the trim function returns the new string, it doesn't modify choice. It needs to be something like
choice = choice.trim();
There are several other trim calls in the code that need to be fixed similarly.
2008-10-08 01:00:50 UTC in The Werewolf Game
-
When a player leaves the channel in mid-game, and particularly when there's nobody in the queue to join in their place, kills are broken. Any attempted kill afterwards in that game tells the wolf that he has to choose a valid player.
2008-10-07 08:37:27 UTC in The Werewolf Game
-
WOLVES-CHOICE-OTHER
PLAYER has chosen to kill PLAYER2.
PLAYER2 is PLAYER's choice of victim this night.
In the wolfgame.txt file. This causes the bot to buggily give the message "John has chosen to give John2." Of course, it should be PLAYR2 instead of PLAYER2 in both lines.
2008-10-07 08:36:05 UTC in The Werewolf Game
-
jdorje committed patchset 25 of module gsk to the Golf Statkeeper CVS repository, changing 1 files.
2005-08-12 04:15:49 UTC in Golf Statkeeper
-
jdorje committed patchset 52 of module tilesets to the Freeciv Test CVS repository, changing 1 files.
2005-06-12 16:51:55 UTC in Freeciv Test
-
jdorje committed patchset 45 of module tilesets to the Freeciv Test CVS repository, changing 5 files.
2005-02-26 10:48:52 UTC in Freeciv Test
-
jdorje committed patchset 44 of module tilesets to the Freeciv Test CVS repository, changing 1 files.
2005-02-26 09:55:36 UTC in Freeciv Test
-
jdorje committed patchset 43 of module tilesets to the Freeciv Test CVS repository, changing 8 files.
2005-02-26 09:54:11 UTC in Freeciv Test
-
jdorje committed patchset 42 of module tilesets to the Freeciv Test CVS repository, changing 7 files.
2005-02-26 08:27:29 UTC in Freeciv Test