diff --git a/09HDscape-client/src/org/runite/Configurations.java b/09HDscape-client/src/org/runite/Configurations.java index 3525d00d3..756e9f3a0 100644 --- a/09HDscape-client/src/org/runite/Configurations.java +++ b/09HDscape-client/src/org/runite/Configurations.java @@ -12,7 +12,7 @@ public final class Configurations { /** * The website. */ - public static final String WEBSITE = "http://www.os.frostblades.org"; + public static final String WEBSITE = "http://localhost"; /** * The client build. @@ -63,7 +63,7 @@ public final class Configurations { /** * The MS IP. */ - public static final String MS_IP = (Configurations.LOCAL_MS ? "127.0.0.1" : "frostblades.org"); + public static final String MS_IP = (Configurations.LOCAL_MS ? "127.0.0.1" : "localhost"); /** * The operation system name. diff --git a/09HDscape-server/src/plugin/command/PlayerCommandPlugin.java b/09HDscape-server/src/plugin/command/PlayerCommandPlugin.java index ab86962bc..9a5764bd6 100644 --- a/09HDscape-server/src/plugin/command/PlayerCommandPlugin.java +++ b/09HDscape-server/src/plugin/command/PlayerCommandPlugin.java @@ -217,13 +217,20 @@ public final class PlayerCommandPlugin extends CommandPlugin { player.sendMessage("Finish what you're currently doing."); return; } - player.getInterfaceManager().close(); - player.getPacketDispatch().sendString("" + GameWorld.getName() + " commands", 239, 1); - player.getPacketDispatch().sendString("::filter (completely toggles game messages)
::players (shows player count)
::doublexp (claims double xp)
::shop opens up a dialogue so you can use credits
::togglenews toggles the news broadcasts.
::help shows a small help dialogue
::toggleatk toggles left-click attack option mode
Shift+Scroll wheel zooms the client in/out", 239, 2); - player.getPacketDispatch().sendString("", 239, 3); - player.getPacketDispatch().sendString("", 239, 4); - player.getPacketDispatch().sendString("", 239, 5); - player.getInterfaceManager().openComponent(239); + player.getInterfaceManager().open(new Component(275)); + for (int i = 0; i < 311; i++) { + player.getPacketDispatch().sendString("", 275, i); + } + int lineId = 11; + player.getPacketDispatch().sendString("" + GameWorld.getName() + " commands", 275, 2); + player.getPacketDispatch().sendString("::players", 275, lineId++); + player.getPacketDispatch().sendString("Shows online player count.", 275, lineId++); + player.getPacketDispatch().sendString("::shop", 275, lineId++); + player.getPacketDispatch().sendString("Open the reward credits shop.", 275, lineId++); + player.getPacketDispatch().sendString("::togglenews", 275, lineId++); + player.getPacketDispatch().sendString("Toggles the news broadcasts.", 275, lineId++); + player.getPacketDispatch().sendString("::toggleatk", 275, lineId++); + player.getPacketDispatch().sendString("Toggles left-click attack option mode.", 275, lineId++); } /** @@ -232,13 +239,13 @@ public final class PlayerCommandPlugin extends CommandPlugin { */ private void sendDonationInfo(Player player) { player.getInterfaceManager().open(new Component(275)); - for (int i = 0; i < 257; i++) { + for (int i = 0; i < 311; i++) { player.getPacketDispatch().sendString("", 275, i); } int lineId = 11; - player.getPacketDispatch().sendString("" + "Donation Information" + "", 275, 2); + player.getPacketDispatch().sendString("" + "Donation Information" + "", 275, 2); for (String s : ServerConstants.MESSAGES) { - player.getPacketDispatch().sendString("" + s + "

", 275, lineId++); + player.getPacketDispatch().sendString("" + s + "

", 275, lineId++); } } /** @@ -247,14 +254,14 @@ public final class PlayerCommandPlugin extends CommandPlugin { */ private void sendQuests(Player player) { player.getInterfaceManager().open(new Component(275)); - for (int i = 0; i < 257; i++) { + for (int i = 0; i < 311; i++) { player.getPacketDispatch().sendString("", 275, i); } - String red = ""; int lineId = 11; - player.getPacketDispatch().sendString("" + "Available Quests" + "", 275, 2); + player.getPacketDispatch().sendString("" + "Available Quests" + "", 275, 2); for (Quest q : QuestRepository.getQuests().values()) { - player.getPacketDispatch().sendString(q.isCompleted(player) ? red + " " + q.getName() + "

" : red + " " + q.getName() + "

", 275, lineId++); + // Add a space to beginning and end of string for the strikethrough + player.getPacketDispatch().sendString("" + (q.isCompleted(player) ? " " : "") + q.getName() + " ", 275, lineId++); } }