This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
level2:ach3sa6F |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
109 | |
110 | |
143 | |
993 | |
995 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/battle-engine.js b/battle-engine.js | |
index a8d1d27..4cb79c9 100644 | |
--- a/battle-engine.js | |
+++ b/battle-engine.js | |
@@ -20,9 +20,9 @@ if (!('existsSync' in fs)) { | |
global.config = require('./config/config.js'); | |
// graceful crash - allow current battles to finish before restarting | |
-process.on('uncaughtException', function (err) { | |
+/*process.on('uncaughtException', function (err) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <stdbool.h> | |
#include <string.h> | |
#include <unistd.h> | |
#include <sys/socket.h> | |
#include <sys/select.h> | |
#include <sys/time.h> | |
#include <netinet/in.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// This file throws good practice out of the window | |
include 'setup.php'; | |
// Put these in config file | |
$maxResults = 1000; | |
$intervalLimit = 1000 * 60 * 60; // This should be approximately ((date of last stat) - (date of first stat)) / $maxResults |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var dingSound = null; | |
socket.on("update", function(data) | |
{ | |
if (data.room !== "lobby" || !data.logUpdate || data.logUpdate.length === 0 || !data.logUpdate[0].name) | |
return; | |
if (data.logUpdate[0].message.toLowerCase().replace(/[^a-z0-9]/, "").indexOf(me.userid) !== -1) | |
if (dingSound) | |
dingSound.play(); | |
else | |
dingSound = soundManager.createSound({id:"ding",url: "http://soundjax.com/reddo/99652%5EDING1.mp3",autoPlay: true,volume: 100}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff '-ruwx.*' '-xconfig*' -xpokedex.js -xlearnsets.js -xformats-data.js '-xnode_modules*' ../trunk/app.js ./app.js | |
--- ../trunk/app.js 2012-04-15 14:50:00.582063198 +1000 | |
+++ ./app.js 2012-04-15 14:38:20.902040986 +1000 | |
@@ -49,7 +49,6 @@ | |
toUserid = toId; | |
BattlePokedex = require('./pokedex.js').BattlePokedex; | |
-BattleTiers = require('./tiers.js').BattleTiers; | |
BattleMovedex = require('./movedex.js').BattleMovedex; | |
BattleStatuses = require('./statuses.js').BattleStatuses; |
NewerOlder