Skip to content
Permalink
Browse files

Fixed some boom_town loading stuff

  • Loading branch information...
KAYABA
KAYABA committed May 4, 2018
1 parent fa0cc54 commit 200d21540889f9477abd0fbbf6bae7edb818422d
Binary file not shown.
@@ -113,7 +113,6 @@ public static Properties resourceToProperties (String path)
{
ArrayList<String> lines = new ArrayList<String>();
for (String townId : BangCodes.TOWN_IDS) {
if(townId.equalsIgnoreCase("boom_town")) continue;
String tpath = path.replace("TOWN", townId);
InputStream in = getResourceInput(tpath);
if (in == null) {
@@ -20,6 +20,9 @@ frontier_town.server_ports = 47624
indian_post.server_host = 148.251.113.74
indian_post.server_ports = 47625

boom_town.server_host = 148.251.113.74
boom_town.server_ports = 47626

#
# Various URLs that are needed by the client

@@ -40,4 +43,4 @@ default_locale = en
#
# The type of payment system used by this deployment: coins, onetime

payment_type = coins
payment_type = onetime
@@ -20,6 +20,9 @@ frontier_town.server_ports = 47624
indian_post.server_host = 148.251.113.74
indian_post.server_ports = 47625

boom_town.server_host = 148.251.113.74
boom_town.server_ports = 47626

#
# Various URLs that are needed by the client

@@ -40,4 +43,4 @@ default_locale = en
#
# The type of payment system used by this deployment: coins, onetime

payment_type = coins
payment_type = onetime
@@ -20,6 +20,9 @@ frontier_town.server_ports = 47624
indian_post.server_host = 148.251.113.74
indian_post.server_ports = 47625

boom_town.server_host = 148.251.113.74
boom_town.server_ports = 47626

#
# Various URLs that are needed by the client

@@ -40,4 +43,4 @@ default_locale = en
#
# The type of payment system used by this deployment: coins, onetime

payment_type = coins
payment_type = onetime
@@ -260,20 +260,6 @@ public void run() {
}
}

// If they have a boom town ticket.. Remove it (For staff glitch fixing)
for (Item item : items) {
if (!(item instanceof TrainTicket)) {
continue;
}
TrainTicket ticket = (TrainTicket)item;
if(ticket.getTownId().equalsIgnoreCase("BOOM_TOWN"))
{
BangServer.DISCORD.commit(1, buser.playerId + "(player id) had an improper ticket.. BOOM_TOWN.. This have been fixed.");
_itemrepo.deleteItem(item, "ACCESS DENIED");
buser.removeFromInventory(item.getKey());
}
}

// give out a free ticket if a player qualified but never successfully made it to ITP
if (DeploymentConfig.usesCoins() && noFreeTicket && player.nextTown == null &&
buser.stats.containsValue(StatType.FREE_TICKETS, BangCodes.INDIAN_POST) &&

0 comments on commit 200d215

Please sign in to comment.
You can’t perform that action at this time.