Code:
package com.rs;
import com.rs.game.WorldTile;
import java.math.BigInteger;
public final class Settings {
/**
* General client and server settings.
*/
public static final String SERVER_NAME = "Age Of Chaos";
public static final int PORT_ID = 43594;
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 = 27935;
//was 27933
/**
* XP well related.
*/
public static final int WELL_MAX_AMOUNT = 100000000;
/**
* Lottery related.
*/
public static final int LOTTERY_MAX_AMOUNT = 25000000;
public static final boolean LOTTERY_ENABLED = true;
/**
* The drops to shout out.
*/
public static final String[] SHOUTOUT_DROPS = {"sigil", "torva", "pernix", "virtus", "zaryte bow", "dragon full helm", "seismic singularity", "seismic wand", "drygore", "dragon limbs", "ragefire", "steadfast", "glaiven", "dragon claws", "dragon pickaxe", "armadyl", "abyssal vine", "bandos", "saradomin", "zamorak", "draconic visage", "statius", "vesta", };
/**
* Random Fighting related.
*/
/**
* The message of the first NPC.
*/
public static final String[] FIRST_NPC_RANDOM_MESSAGES = {"Raggghhhhhh!", "Filthy Roman!",
"I shall be victorious!"};
/**
* The message of the second NPC.
*/
public static final String[] SECOND_NPC_RANDOM_MESSAGES = {"Stay away from this premises!",
"In the name of Rome!", "Barbarian sloth!"};
/**
* The locations the NPCs fight.
*/
public static final WorldTile[][] DEFAULT_FIGHTING_LOCATIONS = {{new WorldTile(2970, 3414, 0), new WorldTile(
2971,
3414,
0
)},
{new WorldTile(2878, 3425, 0), new WorldTile(2879, 3425, 0)}, {new WorldTile(3088, 3502, 0),
new WorldTile(3088, 3501, 0)}, {new WorldTile(3005, 3279, 0), new WorldTile(3005, 3280, 0)},
{new WorldTile(3224, 3226, 0), new WorldTile(3223, 3226, 0)}, {new WorldTile(3213, 3423, 0),
new WorldTile(3212, 3423, 0)}};
/**
* The delay inbetween the fightings.
*/
public static final int RANDOM_FIGHTINGS_DELAY = 30000; //1800000
public static final double[] SOF_CHANCES = new double[] { 1.0D, 0.35D, 0.0089D, 0.0001D };
public static final int[] SOF_COMMON_CASH_AMOUNTS = new int[] { 100, 250, 500, 1000, 5000 };
public static final int[] SOF_UNCOMMON_CASH_AMOUNTS = new int[] { 10000, 25000, 50000, 100000, 500000 };
public static final int[] SOF_RARE_CASH_AMOUNTS = new int[] { 1000000, 2500000, 5000000, 10000000, 50000000 };
public static final int[] SOF_JACKPOT_CASH_AMOUNTS = new int[] { 100 * 1000000, 250 * 1000000, 500 * 1000000, 1000 * 1000000 };
public static final int[] SOF_COMMON_LAMPS = new int[] { 23713, 23717, 23721, 23725, 23729, 23737, 23733, 23741, 23753, 23757, 23761, 23765, 23769, 23778, 23774, 23786, 23794, 23790, 23802, 23798, 23810, 23806 };
public static final int[] SOF_UNCOMMON_LAMPS = new int[] { 23714, 23718, 23722, 23726, 23730, 23738, 23734, 23742, 23754, 23758, 23762, 23766, 23770, 23779, 23775, 23787, 23795, 23791, 23803, 23799, 23811, 23807 };
public static final int[] SOF_RARE_LAMPS = new int[] { 23715, 23719, 23723, 23727, 23731, 23739, 23735, 23743, 23755, 23759, 23763, 23767, 23771, 23780, 23776, 23788, 23796, 23792, 23804, 23800, 23812, 23808 };
public static final int[] SOF_JACKPOT_LAMPS = new int[] { 23716, 23720, 23724, 23728, 23732, 23740, 23736, 23744, 23756, 23760, 23764, 23768, 23773, 23781, 23777, 23789, 23797, 23793, 23805, 23801, 23813, 23809 };
public static final int[] SOF_COMMON_OTHERS = new int[] { 1965, 1511, 1205, 438, 327, 555, 556, 882, 1925, 314, 313, 436 };
public static final int[] SOF_UNCOMMON_OTHERS = new int[] { 24154, 24154, 24155, 24155, 1119, 1125, 1121, 1123, 1127, 1131, 1133, 6322, 1135, 12971, 4091, 1295, 1297, 1299, 1303, 1301, 1327, 1325, 1331, 1329, 1311, 1333, 1315, 1313, 1319, 1317, 1367, 1365, 1371, 1369, 1273, 1373, 1361, 1271, 1275, 843, 849, 1355, 1357, 9174, 9177, 853, 857, 9183, 9181, 9179 };
public static final int[] SOF_RARE_OTHERS = new int[] { 995, 995, 995, 995, 23665, 23666, 23667, 23668, 23669, 23670, 23671, 23672, 23673, 23674, 23675, 23676, 23677, 23678, 23679, 23680, 23681, 23682, 23691, 23692, 23693, 23694, 23695, 23696, 23687, 23688, 23689, 23684, 23686, 23685, 23697, 23690, 23699, 23700, 23683, 23698 };
public static final int[] SOF_JACKPOT_OTHERS = new int[] { 995, 995, 995, 995, 18349, 18351, 18353, 18355, 18333, 18335, 21777, 22494, 23659 };
/**
* Are the random fightings allowed?
*/
public static boolean RANDOM_FIGHTINGS_ACTIVATED = false;
/**
* Slave rebellion related.
*/
/**
* What the slaves say aloud.
*/
public static final String[] SLAVE_REBEL_DIALOGUE = {"Aaaah!", "For freedom!", "Justice!"};
/**
* What the roman guards say aloud.
*/
public static final String[] ROMAN_DIALOGUE = {"For Rome!", "Rome shall be victorious!", "Roooommeee!", "FOR THE GOOOOOOOOOOOOODDDDS!", "For death and honor!", ""};
/**
* What the slaves say while waiting for battle.
*/
public static final String[] SLAVE_REBEL_WAITING_DIALOGUE = {"We want honor!", "We want pride!", "Freedom!", "For the gods!", "For victory and honor!"};
/**
* What the slave leaders say while waiting for battle.
*/
public static final String[] SLAVE_LEADER_WAITING_DIALOGUE = {"We shall DEFEAT the ROMANS!", "FOR VICTORY!", "Slavery shall be abolished!"};
/**
* The delay of each rebellion.
*/
public static final int SLAVE_REBELLION_DELAY = 10000;
/**
* Are the slave rebellions allowed?
*/
public static boolean SLAVE_REBELLION_ACTIVATED = false;
/**
* Town crier related.
*/
/**
* The message of the town crier.
*/
public static final String TOWN_CRIER_MESSAGE = "Age Of Chaos now has a vote shop!";
/**
* The delay of the town crier.
*/
public static final int TOWN_CRIER_DELAY = 20000;
/**
* Is the town crier activated?
*/
public static boolean TOWN_CRIER_ACTIVATED = true;
/**
* The latest updates in the server (that the Town Crier says in his dialogue).
*/
public static final String[] TOWN_CRIER_LATEST_UPDATES = {"On August 14th, 2014, Athens had a new starter kit.",
"On August 14th, 2014, God Capes were added.",
"On August 5th, 2014, Dagannoth Kings were added!",
"On August 3rd, 2014, the vote system was redone and a vote shop was added!",
"On August 2nd, 2014, Athens featured Ganodermic Beasts in the manhole near the Gypsy!",
"On August 1st, 2014, Athens features Pest Control!",
"On August 1st, 2014, Athens featured Summoning!",
"On July 31st, Athens featured a custom minigame, The Hunger Games Minigame!",
"On July 31st, 2014, Athens featured Jadinkos.",
"On July 31st, 2014, Athens added the Gnome Glider transportation system.",
"On July 31st, 2014, Athens featured Ice strykewyrms.",
"On July 29th, 2014, Nomad was added for Lords-only.",
"On July 23rd, 2014, the Abyss was added!",
"On July 22nd, 2014, Dungeoneering - Horde mode was added.",
"On July 22nd, 2014, Puro Puro was added.",
"On July 22nd 2014, the longbow sight worked.",
"On July 22nd, 2014, the scroll of cleansing worked.",
"On July 22nd, 2014, the coal bag worked.",
"On July 22nd, 2014, the twisted bird necklace worked.",
"On July 21st, 2014, the gem bag worked.",
"On July 21st, 2014, the bonecrusher worked.",
"On July 21st, 2014, resource dungeons were added.",
"On July 21st, 2014, Athens had a notes system.",
"On July 21st, 2014, jewelry stringing was added.",
"On July 21st, 2014, jewelry smithing was fixed.",
"On July 20th, 2014, Lords got custom teleport animations for home teleport.",
"On July 19th, 2014, bolt enchanting was added.",
"On July 10th, 2014, you could make spirit shields.",
"On July 10th, 2014, you could smith dragonfire shields.",
"On July 9th, 2014, skillcape teleporting was added.",
"On July 9th, 2014, you could melt armour!",
"On July 7th, 2014, more thieving stalls were added to the Thieving area.",
"On July 7th, 2014, the Herblore dungeon was added.",
"On July 6th, 2014, the bury-all option was added to bones.",
"On June 28th, 2014, the Hunter skill was added to Athens.",
"On June 26th, 2014, Server-Forums Integration was put into Athens.",
"On June 23rd, 2014, a lottery system was added to Athens.",
"On June 23rd, 2014, auto-voting was added to Athens.",
"On June 19th, 2014, Athens featured on-spot dueling!",
"On June 18th, 2014, the XP well was added to Athens.",
"On June 17th, 2014, you could duel anywhere.",
"On June 6th, 2014, Athens was a 742",
"On June 3rd, 2014, skilling interfaces were fixed.",
"On June 3rd, 2014, flax was now accessible via Varrock.",
"On June 3rd, 2014, Athens featured the Dwarf multicannon, along with the Royal and Gold cannons.",
"On June 2nd, 2014, Athens featured notifications when a private message is received.",
"On June 1st, 2014, Athens featured the Spirit Tree.",
"On June 1st, 2014, Athens featured sheep shearing.",
"On June 1st, 2014, Athens featured the rare drop table.",
"On June 1st, 2014, Athens' following was fixed. No longer would players be stuck behind trees forever.",
"On May 28th, 2014, Athens had Bones on Altar added.",
"On May 27th, 2014, Athens had added 2 coal, 2 silver, and 2 mithril ore to the east mine and 2 admantite and 1 runite ore to the west mine of Varrock.",
"On May 27th, 2014, a Thieving place was added at the South-East of Varrock.",
"On May 27th, 2014, the Forinthry Dungeon was added.",
"On May 26th, 2014, Athens had begun."};
/**
* Link settings
*/
public static final String TINYCHAT_LINK = "todo";//kinda like tiny chats :P
public static final String WEBSITE_LINK = "todo";// Make it TODO if you don't have a website.
public static final String ITEMLIST_LINK = "dont need";
public static final String ITEMDB_LINK = "dont need";
public static final String VOTE_LINK = "todo";
/**
* 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;
/**
* Player settings
*/
public static final int START_PLAYER_HITPOINTS = 100;
public static final WorldTile START_PLAYER_LOCATION = new WorldTile(3213, 3440, 0);
public static final String START_CONTROLER = "Introduction"; // "NewHomeControler";//
public static final WorldTile RESPAWN_PLAYER_LOCATION = new WorldTile(3213, 3440, 0); //new WorldTile(2966,
// 3387, 0);// //
public static final long MAX_PACKETS_DECODER_PING_DELAY = 30000; // 30seconds
public static int COMBAT_XP_RATE = 30;
public static int SKILLING_XP_RATE = 30;
public static final int DROP_RATE = 1;
/**
* 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 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, 25367, 17247, 1244, 1, 14856, 1494, 119, 882901,
1818764, 3963, 3618};
//an exeption(grab server has his own keyset unlike rest of client)
public static final BigInteger GRAB_SERVER_PRIVATE_EXPONENT = new BigInteger
("95776340111155337321344029627634178888626101791582245228586750697996713454019354716577077577558156976177994479837760989691356438974879647293064177555518187567327659793331431421153203931914933858526857396428052266926507860603166705084302845740310178306001400777670591958466653637275131498866778592148380588481");
public static final BigInteger GRAB_SERVER_MODULUS = new BigInteger
("119555331260995530494627322191654816613155476612603817103079689925995402263457895890829148093414135342420807287820032417458428763496565605970163936696811485500553506743979521465489801746973392901885588777462023165252483988431877411021816445058706597607453280166045122971960003629860919338852061972113876035333");
public static final BigInteger MODULUS = new BigInteger("93697780159249302385321330618016782483757478847000902496933127652965946054782435882610351417912690804688344802783572983611694339482385559390981263718407564258767255672833431519073810703584332542440125434650844494567444490479293179438660836635397520341034487876750888304454132137700272267914048294961256190137");
public static final BigInteger PRIVATE_EXPONENT = new BigInteger("20721968134460829588977941711972401014992765894203748734158547876803766149167899441270647625787365007906264698895968793574132135380894705247614056736417580073543565400900305458376352204892562866386208254504675496510669029761458005405473187259961763117267177094065387999542596631949061574564207981616476775833");
/* public static final BigInteger PRIVATE_EXPONENT = new BigInteger
("90587072701551327129007891668787349509347630408215045082807628285770049664232156776755654198505412956586289981306433146503308411067358680117206732091608088418458220580479081111360656446804397560752455367862620370537461050334224448167071367743407184852057833323917170323302797356352672118595769338616589092625");
public static final BigInteger MODULUS = new BigInteger
("102876637271116124732338500663639643113504464789339249490399312659674772039314875904176809267475033772367707882873773291786014475222178654932442254125731622781524413208523465520758537060408541610254619166907142593731337618490879831401461945679478046811438574041131738117063340726565226753787565780501845348613");*/
/**
* 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[] UNTRADABLES = {"(i)", "(deg", "(class", "sacred clay", "null", "flaming skull", "overload",
"extreme", "korasi", "chaotic",
"dreadnip", "max hood", "max cape", "dungeoneering", "vine whip", "tokhaar-kal", "culinaromancer",
"spin ticket", "tokkul", "fighter", "fire cape",
"lamp", "completion", "arcane stream", "arcane pulse", "arcane blast", "magical blastbox", "cape (t)",
"penance", "defender", "charm",
"keenblade", "quickbow", "mindspike", "baby troll", "mystery box", "(Untradable)", "(untradable)"};
public static String DONATE_LINK = "https://theathens.net/store/";
public static boolean SQUEAL_OF_FORTUNE_ENABLED = true;
public static double LAMP_XP_RATE = 25;
public static int[] NON_TALKABLE_NPCS = {8876};
public static boolean WELL_DISABLED = false;
/*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() {
}
}