Skip to content

Instantly share code, notes, and snippets.

startUpMessage("Adding Street Hustlers");
entityManager.addEntity(new NpcSpawner(new StreetHustler(gameManager, new Loot(1, 3, Sets.<Item>newHashSet())), Sets.newHashSet(Area.NEWBIE_ZONE), gameManager, new SpawnRule(10, 5, 3, 100)));
startUpMessage("Adding beer");
ItemSpawner itemSpawner = new ItemSpawner(ItemType.BEER, Area.NEWBIE_ZONE, new SpawnRule(10, 50, 2, 25), gameManager);
entityManager.addEntity(itemSpawner);
startUpMessage("Adding Tree Berserkers");
entityManager.addEntity(new NpcSpawner(new TreeBerserker(gameManager, new Loot(2, 5, Sets.<Item>newHashSet())), Sets.newHashSet(Area.NEWBIE_ZONE, Area.NORTH1_ZONE), gameManager, new SpawnRule(10, 6, 2, 100)));
build east
east
title <the room title>
description <TYPE THE ENTER KEY>
startUpMessage("Configuring Creeper Commmands");
creeperCommandRegistry = new CreeperCommandRegistry(new UnknownCommand(gameManager));
creeperCommandRegistry.addCommand(new DropCommand(gameManager));
creeperCommandRegistry.addCommand(new GossipCommand(gameManager));
creeperCommandRegistry.addCommand(new InventoryCommand(gameManager));
creeperCommandRegistry.addCommand(new FightKillCommand(gameManager));
creeperCommandRegistry.addCommand(new LookCommand(gameManager));
creeperCommandRegistry.addCommand(new MovementCommand(gameManager));
creeperCommandRegistry.addCommand(new PickUpCommand(gameManager));
creeperCommandRegistry.addCommand(new SayCommand(gameManager));
java.lang.NullPointerException
at com.comandante.creeper.server.command.UseCommand.messageReceived(UseCommand.java:34)
at com.comandante.creeper.server.CreeperCommandHandler.messageReceived(CreeperCommandHandler.java:30)
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:296)
at org.jboss.netty.handler.codec.oneone.OneToOneDecoder.handleUpstream(OneToOneDecoder.java:70)
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:296)
at org.jboss.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:462)
at org.jboss.netty.handler.codec.frame.FrameDecoder.callDecode(FrameDecoder.java:443)
at org.jboss.netty.handler.codec.frame.FrameDecoder.messageReceived(FrameDecoder.java:303)
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:268)
#!/bin/bash
#chris kearney, mentor graphics corporation
SEND_EMAIL_TO="chris_kearney,lee_howard"
export CVSROOT=/wv/sim_cvs
if [ "$(uname)" = "SunOS" ]; then
source /wv/msg/bin/ss5/source_bin.sh
_MAIL=/usr/bin/mailx
_PERL=/bin/perl
elif [ "$(uname)" = "Linux" ]; then
_GREP=/bin/grep
# -*- coding: utf-8 -*-
"""
@author JGNickerson
"""
from pyprocessing import *
from PIL import Image
import random
# Some constants that control the size of the window and the size of the tiles on the board
maprfs:/flume/gatekeeper/2014/02/05/19/app01-gatekeeper.request-log.1391626800887 80.62.116.218, 195.215.37.70 - U9OlOF96SOuTHhYYLR_y-w [05/Feb/2014:19:55:02 +0000] "GET /api/user/U9OlOF96SOuTHhYYLR_y-w/messages/message/ozhfmc3eTICutF5IsGd4jw/body/ HTTP/1.1" - - device-api.urbanairship.com "-" "Mozilla/5.0 (Linux; U; Android 4.2.2; da-dk; GT-I9195 Build/JDQ39) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30" - 66d5f8d0-8e9f-11e3-9009-14feb5d317b8
maprfs:/flume/gatekeeper/2014/02/05/19/app01-gatekeeper.request-log.1391626800887 80.62.116.218, 195.215.37.70 - U9OlOF96SOuTHhYYLR_y-w [05/Feb/2014:19:55:02 +0000] "GET /api/user/U9OlOF96SOuTHhYYLR_y-w/messages/message/ozhfmc3eTICutF5IsGd4jw/body/ HTTP/1.1" 200 5301 device-api.urbanairship.com "-" "Mozilla/5.0 (Linux; U; Android 4.2.2; da-dk; GT-I9195 Build/JDQ39) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30" 6 66d5f8d0-8e9f-11e3-9009-14feb5d317b8
maprfs:/flume/gatekeeper/2014/02/10/20/app02-gatekeeper.r
#!/bin/bash
COUNTIES="clackamas multnomah washington"
#Get the pages and print it via STDOUT.
#HTTP_GET_COMMAND="wget -qO- "
HTTP_GET_COMMAND="curl -s "
ALL_OUTAGES_NUM=0
2/3/14 7:07:20 PM ==============================================================
-- Gauges ----------------------------------------------------------------------
registrations-queue-size
value = 500
registrations-retry-queue-size
value = 0
-- Counters --------------------------------------------------------------------
csv-registration-processed-line-counter
package com.urbanairship.javalibtest;
import com.urbanairship.api.client.APIClient;
import com.urbanairship.api.client.APIClientResponse;
import com.urbanairship.api.client.APIPushResponse;
import com.urbanairship.api.client.APIRequestException;
import com.urbanairship.api.push.model.DeviceTypeData;
import com.urbanairship.api.push.model.PushPayload;
import com.urbanairship.api.push.model.audience.Selectors;
import com.urbanairship.api.push.model.notification.Notifications;