package com.rs;
import java.math.BigInteger;
import com.rs.game.WorldTile;
public final class Settings {
/**
* General client and server settings.
*/
public static final String SERVER_NAME = "Entice";
public static final int PORT_ID = 43594;
public static final String LASTEST_UPDATE = "<col=7E2217>Latest update: Auto Vote System!";
public static final String CACHE_PATH = "data/cache/";
public static final int RECEIVE_DATA_LIMIT = 7500;
public static final int PACKET_SIZE_LIMIT = 7500;
public static final int CLIENT_BUILD = 718;
public static final int CUSTOM_CLIENT_BUILD = 3;
/**
* Link settings
*/
public static final String TINYCHAT_LINK = "http://enticersps.com";
public static final String WEBSITE_LINK = "http://enticersps.com";
public static final String ITEMLIST_LINK = "http://enticersps.com";
public static final String ITEMDB_LINK = "http://enticersps.com";
public static final String VOTE_LINK = "http://enticersps.com";
/**
* Launching settings
*/
public static boolean DEBUG;
public static boolean HOSTED;
public static boolean ECONOMY;
/**
* If the use of the managment server is enabled.
*/
public static boolean MANAGMENT_SERVER_ENABLED = true;
/**
* Graphical User Interface settings
*/
public static final String GUI_SIGN = "Entice GUI";
public static final String LINE_SEPARATOR = System.getProperty("line.separator");
/**
* Player settings
*/
public static final int START_PLAYER_HITPOINTS = 100;
public static final WorldTile START_PLAYER_LOCATION = new WorldTile(3094,3502, 0);
public static final String START_CONTROLER = "StartTutorial"; // "NewHomeControler";//
public static final WorldTile RESPAWN_PLAYER_LOCATION = new WorldTile(3094,3502, 0); //new WorldTile(2966, 3387, 0);// //
public static final long MAX_PACKETS_DECODER_PING_DELAY = 30000; // 30seconds
public static final int XP_RATE = 20;
public static final int DROP_RATE = 10;
/**
* World settings
*/
public static final int WORLD_CYCLE_TIME = 600; // the speed of world in ms
/**
* Music & Emote settings
*/
public static final int AIR_GUITAR_MUSICS_COUNT = 50;
/**
* Quest settings
*/
public static final int QUESTS = 183;
/**
* Memory settings
*/
public static final int PLAYERS_LIMIT = 2000;
public static final int LOCAL_PLAYERS_LIMIT = 250;
public static final int NPCS_LIMIT = Short.MAX_VALUE;
public static final int LOCAL_NPCS_LIMIT = 250;
public static final int MIN_FREE_MEM_ALLOWED = 30000000; // 30mb
/**
* Game constants
*/
public static final int[] MAP_SIZES = { 104, 120, 136, 168, 72 };
public static final String GRAB_SERVER_TOKEN = "hAJWGrsaETglRjuwxMwnlA/d5W6EgYWx";
public static final int[] GRAB_SERVER_KEYS = {1441,78700,44880,39771,363186,44375,0,16140,7316
,271148,810710,216189,379672,454149,933950,21006,2 5367,17247,1244,1,14856,1494,119,882901,1818764,39 63,3618};
//an exeption(grab server has his own keyset unlike rest of client)
public static final BigInteger GRAB_SERVER_PRIVATE_EXPONENT = new BigInteger("95776340111155337321344029627634178888 62610179158224522858675069799671345401935471657707 75775581569761779944798377609896913564389748796472 93064177555518187567327659793331431421153203931914 93385852685739642805226692650786060316670508430284 57403101783060014007776705919584666536372751314988 66778592148380588481");
public static final BigInteger GRAB_SERVER_MODULUS = new BigInteger("11955533126099553049462732219165481661 31554766126038171030796899259954022634578958908291 48093414135342420807287820032417458428763496565605 97016393669681148550055350674397952146548980174697 33929018855887774620231652524839884318774110218164 45058706597607453280166045122971960003629860919338 852061972113876035333");
public static final BigInteger PRIVATE_EXPONENT = new BigInteger("90587072701551327129007891668787349509 34763040821504508280762828577004966423215677675565 41985054129565862899813064331465033084110673586801 17206732091608088418458220580479081111360656446804 39756075245536786262037053746105033422444816707136 77434071848520578333239171703233027973563526721185 95769338616589092625");
public static final BigInteger MODULUS = new BigInteger("10287663727111612473233850066363964311 35044647893392494903993126596747720393148759041768 09267475033772367707882873773291786014475222178654 93244225412573162278152441320852346552075853706040 85416102546191669071425937313376184908798314014619 45679478046811438574041131738117063340726565226753 787565780501845348613");
/**
* Donator settings
*/
public static String[] DONATOR_ITEMS = { "primal", /* "virtus", "pernix", */
"promethium", "(i)", "thok's", "trident" };
public static String[] EXTREME_DONATOR_ITEMS = {"donator", "corruption", "salvation", "harmony"};
/**
* Item settings
*/
public static String[] EARNED_ITEMS = { "tokkul", "castle wars ticket", "(class",
"sacred clay", "dominion", "sled", "magic carpet"};
public static String[] REMOVING_ITEMS = { "(class",
"sacred clay", "dominion", "sled"};
public static String[] VOTE_REQUIRED_ITEMS = {
"torva", "virtus", "pernix", "ganodermic", "flaming skull", "polypore", "spirit shield",
"chaotic", "celestial", "light saber", "fallen cape"
};
public static boolean inApacheEmperorZone(WorldTile tile) {
return (tile.getX() >= 2830 && tile.getX() <= 2862 && tile.getY() >= 10042 && tile.getY() <= 10062);
}
private Settings() {
}
}