From d948ea3879dbbf44644bd5ccc3e48ea02cc01ce9 Mon Sep 17 00:00:00 2001 From: Andy Janata Date: Tue, 12 Aug 2014 18:33:43 -0700 Subject: [PATCH] Fix my IP address. Display a header before listing Cardcast decks in use (which will still show up when no decks are in use, to make the feature more discoverable). Show Cardcast messages in game chat in blue. --- WebContent/js/cah.game.js | 6 +++++- src/net/socialgamer/cah/Constants.java | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/WebContent/js/cah.game.js b/WebContent/js/cah.game.js index 24d1c38..c1d0099 100644 --- a/WebContent/js/cah.game.js +++ b/WebContent/js/cah.game.js @@ -792,6 +792,10 @@ cah.Game.prototype.removeCardcastDeck = function(data) { * data Array of CardSetDatas. */ cah.Game.prototype.listCardcastDecks = function(cardSets) { + cah.log.status_with_game(this, "The following Cardcast decks are in use in this game (" + + "instructions):", 'admin', true); for ( var key in cardSets) { var cardSetData = cardSets[key]; this.displayCardcastDeckMessage_(cardSetData, "In use"); @@ -813,7 +817,7 @@ cah.Game.prototype.displayCardcastDeckMessage_ = function(deckInfo, verb) { + "' (code: " + code + "), with " + deckInfo[cah.$.CardSetData.BLACK_CARDS_IN_DECK] + " black cards and " + deckInfo[cah.$.CardSetData.WHITE_CARDS_IN_DECK] + " white cards."; - cah.log.status_with_game(this, str, undefined, true); + cah.log.status_with_game(this, str, 'admin', true); }; /** diff --git a/src/net/socialgamer/cah/Constants.java b/src/net/socialgamer/cah/Constants.java index a8b6da2..7054e9c 100644 --- a/src/net/socialgamer/cah/Constants.java +++ b/src/net/socialgamer/cah/Constants.java @@ -52,7 +52,7 @@ public class Constants { add("0:0:0:0:0:0:0:1"); add("127.0.0.1"); // ajanata - add("64.13.172.41"); + add("50.131.149.255"); // vsTerminus add("207.161.130.75"); }