mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-05 08:39:04 +00:00
IDs showing and HS prototype~~
This commit is contained in:
@@ -4,8 +4,8 @@ public class Constants {
|
||||
|
||||
public final static boolean SERVER_DEBUG = false;
|
||||
|
||||
public final static String SERVER_NAME = "2006Redone", SERVER_VERSION = "Server Stage v " + Constants.TEST_VERSION + ".";
|
||||
public final static double TEST_VERSION = 1.13;
|
||||
public final static String SERVER_NAME = "2006rebotted", SERVER_VERSION = "Server Stage v " + Constants.TEST_VERSION + ".";
|
||||
public final static double TEST_VERSION = 2.00;
|
||||
public static int BANK_SIZE = 352;
|
||||
public final static int ITEM_LIMIT = 15000, MAXITEM_AMOUNT = Integer.MAX_VALUE, CLIENT_VERSION = 999999,
|
||||
WORLD = 1, IPS_ALLOWED = 3, CONNECTION_DELAY = 100,
|
||||
|
||||
@@ -651,10 +651,8 @@ public class Client extends Player {
|
||||
getPlayerAssistant().sendSidebars();
|
||||
getItemAssistant().sendWeapon(playerEquipment[playerWeapon], ItemAssistant.getItemName(playerEquipment[playerWeapon]));
|
||||
getActionSender().sendMessage("Welcome to @blu@" + Constants.SERVER_NAME + "@bla@ - we are currently in Server Stage v@blu@" + Constants.TEST_VERSION + "@bla@.");
|
||||
getActionSender().sendMessage("@red@Warning@bla@: If you find a bug, report it to owner in skype.");
|
||||
if (!hasBankpin) {
|
||||
getActionSender().sendMessage("You do not have a bank pin it is highly recommended you get one.");
|
||||
}
|
||||
getActionSender().sendMessage("@red@Did you know?@bla@ We're open source! Pull requests are welcome");
|
||||
getActionSender().sendMessage("Source code at github.com/dginovker/2006rebotted");
|
||||
}
|
||||
for (int i = 0; i < 25; i++) {
|
||||
getActionSender().setSkillLevel(i, playerLevel[i], playerXP[i]);
|
||||
|
||||
@@ -54,6 +54,29 @@ public class Commands implements PacketType {
|
||||
case "close_interface":
|
||||
player.getPlayerAssistant().closeAllWindows();
|
||||
break;
|
||||
case "commands":
|
||||
player.getActionSender().sendMessage("::players, ::highscores");
|
||||
break;
|
||||
case "highscores":
|
||||
String[] highscores = new String[]{
|
||||
"@dre@Highscores",
|
||||
"",
|
||||
"Top 5 Highest total level:",
|
||||
"1", "2", "3", "4", "5",
|
||||
"",
|
||||
"Top 5 Highest coins stack:",
|
||||
"1", "2", "3", "4", "5"
|
||||
};
|
||||
player.getPlayerAssistant().sendFrame126("@dre@Highscores", 8144);
|
||||
player.getPlayerAssistant().sendFrame126("", 8145);
|
||||
player.getPlayerAssistant().sendFrame126("Top 5 Highest total level:", 8145);
|
||||
player.getPlayerAssistant().sendFrame126("1", 8145);
|
||||
player.getPlayerAssistant().sendFrame126("1", 8145);
|
||||
player.getPlayerAssistant().sendFrame126("1", 8145);
|
||||
player.getPlayerAssistant().sendFrame126("1", 8145);
|
||||
player.getPlayerAssistant().sendFrame126("1", 8145);
|
||||
break;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user