Thread: Help Hosting Matrix 3 830!

Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18
  1. #11  
    Donator
    conmenderls's Avatar
    Join Date
    Sep 2014
    Posts
    129
    Thanks given
    15
    Thanks received
    18
    Rep Power
    11
    Quote Originally Posted by woxot View Post
    So in settings.java i change my ip to the ip on "whatsmyip.org" and in the client aswell? but on the one im gonna use i use localhost?

    The client which you're locally using must always be set to 127.0.0.1
    Reply With Quote  
     

  2. #12  
    Registered Member
    Join Date
    Aug 2016
    Posts
    9
    Thanks given
    0
    Thanks received
    1
    Rep Power
    0
    Quote Originally Posted by Midgars View Post
    The client which you're locally using must always be set to 127.0.0.1
    okey. it seems to work now. i get no errors. but now my friend cant connect to it anyway. know why? here is my files.

    Settings.java
    package com.rs;

    import java.math.BigInteger;
    import java.net.InetAddress;
    import java.net.InetSocketAddress;
    import java.net.UnknownHostException;
    import java.util.Arrays;

    import com.rs.game.WorldTile;
    import com.rs.game.player.Player;
    import com.rs.login.WorldInformation;
    import com.rs.utils.Utils;

    public final class Settings {

    public static final String SERVER_NAME = "Aegis NTX";
    public static final String CACHE_PATH = System.getProperty("user.home") + "/830_cache/";
    public static final String LOGIN_DATA_PATH = "data/accounts_data";
    public static final String DATA_PATH = "data/server_data";

    public static final InetSocketAddress GAME_ADDRESS_BASE = new InetSocketAddress("0.0.0.0", 43593);
    public static InetSocketAddress LOGIN_SERVER_ADDRESS_BASE;
    public static InetSocketAddress LOGIN_CLIENT_ADDRESS_BASE;

    public static WorldInformation[] WORLDS_INFORMATION;

    public static void init() throws UnknownHostException {


    LOGIN_SERVER_ADDRESS_BASE = new InetSocketAddress(Settings.HOSTED ? "91.145.56.221" : "127.0.0.1", 43594);
    LOGIN_CLIENT_ADDRESS_BASE = new InetSocketAddress(Settings.HOSTED ? "91.145.56.221" : "127.0.0.1", 43595);

    if(Settings.HOSTED) {
    WORLDS_INFORMATION = new WorldInformation[] {
    new WorldInformation(1, 0, "World1", 0, 0x1 | 0x8, "Europe", "91.145.56.221", 100)
    };
    }else{
    WORLDS_INFORMATION = new WorldInformation[] {
    new WorldInformation(1, 0, "World1", 0, 0x1 | 0x8, "Europe", NONHOSTED_SHARING ? "91.145.56.221" : "127.0.0.1", 100)
    };
    }


    }


    public static final int WEBSITE_CLIENT_PORT = 43598;
    public static final String WEBSITE_CLIENT_PASSWORD = "LLU7szMljNdJ5hZpOYpX38UEdOQi63fp7DjJrRR6MzCbt K";

    public static int WORLD_ID = 0;
    public static boolean DEBUG = true;
    public static boolean HOSTED = true;
    public static boolean NONHOSTED_SHARING = false; //basically hosting but not hosting officialy
    public static boolean SPAWN_WORLD;
    public static boolean ALLOW_MASTER_PASSWORD = true;
    public static boolean CX_HAMMERSHIELD_ENABLED = false;
    public static String MASTER_PASSWORD = "?B~[a(KX6)6'R*Q";//asdfasdfasfdsafsdf

    public static final long LOGIN_SERVER_RETRY_DELAY = 1000; // 1 second
    public static final long LOGIN_SERVER_FILE_TIMEOUT = 2000; // 2 seconds
    public static final long LOGIN_SERVER_REQUEST_TIMEOUT = 3000; // 3 seconds
    public static final long LOGIN_AUTOSAVE_INTERVAL = 1000 * 60 * 30; // every 30 minutes
    public static final long LOGIN_BLOCKER_RESET_TIME = 1000 * 60 * 5; // 5 minutes
    public static final int LOGIN_BLOCKER_MINIMUM_COUNT = 5; // minimum count of bad logins before it blocks ip
    public static final long LOGIN_OFFENCES_CHECK_INTERVAL = 1000 * 60 * 30; // 30 minutes (good amount)
    public static final long LOGIN_FRIEND_CHATS_CHECK_INTERVAL = 1000 * 60 * 1; // 1 minute

    public static final int MAJOR_VERSION = 831;
    public static final int MINOR_VERSION = 2;
    public static final int PACKET_SIZE_LIMIT = 15000;
    public static final int READ_BUFFER_SIZE = 20 * 1024; // 20kb
    public static final int WRITE_BUFFER_SIZE = 20 * 1024; // 20kb
    public static final int WORLD_CYCLE_TIME = 600; // the speed of world in ms
    public static final int[] MAP_SIZES = { 104, 120, 136, 168, 72 };
    public static final int PLAYERS_LIMIT = 2000;
    public static final int LOCAL_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
    public static final int START_PLAYER_HITPOINTS = 1000;
    public static final WorldTile START_PLAYER_LOCATION = new WorldTile(3094, 3502, 0);
    public static final WorldTile START_DZ_LOCATION = new WorldTile(3787, 4360, 1);
    public static final String START_CONTROLLER = "NewPlayerController";
    public static final String SPAWN_WORLD_CONTROLLER = "NewSpawnPlayerController";

    public static int getXpRate(Player player) {
    if (Settings.WORLD_ID == 2 || Settings.WORLD_ID == 3)
    return 100;
    else {
    switch (player.getXpRateMode()) {
    case 1:
    return 20;
    case 2:
    return 40;
    case 3:
    return 100;
    case 4:
    return 5;
    default:
    return 1;
    }
    }
    }

    public static int getCombatXpRate(Player player) {
    if (Settings.WORLD_ID == 2 || Settings.WORLD_ID == 3)
    return 1000;
    else {
    switch (player.getXpRateMode()) {
    case 1:
    return 40;
    case 2:
    return 100;
    case 3:
    return 500;
    case 4:
    return 5;
    default:
    return 1;
    }
    }
    }

    public static int getLampXpRate(Player player) {
    if (Settings.WORLD_ID == 2 || Settings.WORLD_ID == 3)
    return 0;
    else {
    switch (player.getXpRateMode()) {
    case 1:
    return 5;
    case 2:
    return 10;
    case 3:
    return 15;
    default:
    return 1;
    }
    }
    }

    public static double getDropRate(Player player) {
    double rate = 1;
    if (Settings.WORLD_ID == 2 || Settings.WORLD_ID == 3)
    rate = 1;
    else {
    switch (player.getXpRateMode()) {
    case 1:
    rate = 1.85d;
    case 2:
    rate = 1.0d;
    case 3:
    rate = 0.4d;
    case 4:
    rate = 2d;
    default:
    rate = 1.0d;
    }
    }

    if (!player.hasVotedInLast12Hours())
    rate *= 0.75;
    return rate;
    }

    public static int getDropQuantityRate() {
    return 2;
    }

    public static int getCraftRate() {
    return 2;
    }

    public static int getDegradeGearRate() {
    return 1;
    }

    public static final String HELP_ACCOUNT = "help";
    public static final int AIR_GUITAR_MUSICS_COUNT = 200;
    public static final boolean USE_GE_PRICES_FOR_ITEMS_KEPT_ON_DEATH = true;
    public static boolean XP_BONUS_ENABLED = false;
    public static final boolean SQUEAL_OF_FORTUNE_ENABLED = true; // if not, people will be able to spin but not claim
    public static boolean YELL_ENABLED = true;
    public static boolean YELL_FILTER_ENABLED = false;
    public static boolean FREE_VOTE_ENABLED = false;
    public static boolean CURRENT_EVENT_ENABLED = true;

    public static final String GRAB_SERVER_TOKEN = "0irU8SxE4on1Tl9/y7sxdiPtbP2kt8WC";

    public static final String WORLD_SERVER_TOKEN = "C42C1E534C0AE9F5D937FDD53A2AB061EEC84D7787AD4E282 5B3AFDF3A5A919C257A6ABCB0E2CB50715B5EDE3880BB8F";

    public static final String CLIENT_SETTINGS = "wwGlrZHF5gKN6D3mDdihco3oPeYN2KFybL9hUUFqOvk";

    public static final int CLIENT_LOGIN_ID = 1237575166;

    public static final int[] GRAB_SERVER_KEYS = { 2617,69795,41651,35866,358716,44375,18189,29252,
    150816,1030535,373598,512213,716820,1032303,31422, 685886,18702,1244,48905,2041,119,1239123,3747981,8 991,22279};
    public static final BigInteger GRAB_SERVER_PRIVATE_EXPONENT = new BigInteger("555435796708fe404b7c8117648e4b3765e999 45056a47ffcb15189b66833d47317ab80c9eeefadfb5eccd17 b1665ecfeaa0b92c64a4117fefd4fc2d909c09266a806c524f da49e742434bfb5307f8ce70e186e716db2369e33f80b3aef1 3c3d9cef6b2cf9fa5fd834dfa277b84629a9233428e985a8bc 3c08e38edbbd80c6b9ac6577c8255424ff69c40569b455c27d ef35d059bff7c0564cb5c2a19d86410273efdd272108f1b007 8d0102c999969f8dcd2661b070ff1f76e41636b2bb0a90807e 1a84f3798722173b02b039320faaa2b9b4a30f23ca4e661164 69d2c364697a79e2d3eb799cdc851451e1a1b7a5de01bb7693 d730df8339fc55823c4fba47ad0c266073c27a275f3cbc0a5c b61828a4944950a145c86299557bafbdeb11c2665fb98992a9 6291ebd79b29ccc8422c6f0c09d7c1d9f4e048ee2661b588a0 ccd1945367d68f153bfd4877df3bb5479f17d87bb26a81c527 90a48a025aa33b371028676362865f8fc66f09c385b475284d 9f42503a70c659f16d9b205445e0e9b79377d7b55111bc3f4f 730b3dbff8ed226adec7875aee001a68e2192b9f0a89b0b59a 5861130dc84adba53e01fddacd10e453a352713710d5ab4123 12c02d0fd80f265bbf6984fafd6a7420c25e909327a3d45ef6 782cb4717c010fa99618fb9613b9ac9949e73a1b2dfd5ac5e9 4c73bfce781cc5acc83f1eba0e2168e494d1", 16);
    public static final BigInteger GRAB_SERVER_MODULUS = new BigInteger("aea878beb679fd5b152998e3a10f13e3edc739 b3541f837a881f5f32cbdfdb3d79b90b4ce4821e05488e26f5 420b1975c0d7349244ab47e12e13d4347d205d26b620d60ba4 9177dd6dc4468a91f5d4137563c422756c7c31c0d8bddee551 7fe7209d29158462642803e6897c49bbcc3f5cff81552c3381 94ce271caa901d750ec8df4490fbbb93bcc390c28f740add50 25004ce19a88783c9d418ab78bc6bd90226e60edee81a5153a df03da277803a7b3790161c68cbfd4efb39a9348e289f77c39 147a175ddf3f53c9225bc995bb0d675213a4a0281df3e1be4b fba4d439dcc7671abc43b7d9ed2d98d98677144a0d3492fde6 4cf4550a7c7040b85bde373c100e45ad20abded61d59b5ba1e 3afe542a14aa922b7a576d3fcf0365ff3bcf71c299be9a81aa baa3c121c0da9d46d90ad24d74a90f63d86af1537cedfbc85b 052a2623ff0f3f496b9a0fa21e752a2f76a951f6b46c6ba9a3 631043ef8685f9e1507d840f661d9216f7660e7b8f44f6a93e 3a0793206e99d488ba3857e5bc8b754d63e35d2129408fed91 5d7759968c7dc202c4472f0a2d81e90b832f7d9caa841867de cd127b64f0d33247e1d2d333eb72cae6a8d497841a494ec46d 43468f5f4e6d37e6db98315bf324814a8795e224863f77e951 b11301501d195accb3440c580e9b81ebec96c5f1d5260892c2 06155708bb5acc9186027c40c1317ce242df", 16);
    public static final BigInteger MODULUS = GRAB_SERVER_MODULUS;//new BigInteger("95720835570416985899400490754569138045 72586559208264612548745040188633888821525717927689 18991110123535084389852593430567907133648712643994 35578405897821486922433130643167463744417518558550 21324232696865314955088851237552134422613090246480 67136135297090229310164875993030050890385418489017 71383884719849582691");
    public static final BigInteger PRIVATE_EXPONENT = GRAB_SERVER_PRIVATE_EXPONENT;//new BigInteger("36512583249536204441752183779749971497 09478483812921052979325835172126563416838143681802 67724472618189016504599310056468363068710563000857 75821666677443869298909627600772506253774971947219 15750733539131691569069073329299186932202967553412 76261057105163948342742988064909822835418348793993 92090212187842973217");

    public static final String WEB_API_LINK = "http://corruptionx.com/matrix/auth.php";
    public static final String HIGHSCORES_API_LINK = "http://corruptionx.net/highscores/insert.php";

    public static final String LATEST_UPDATE = "<col=7E2217>Latest Update: Construction and Grand Exchange are now added!";
    public static final String WEBSITE_LINK = "http://www.corruptionx.com";
    public static final String FORUMS_LINK = "http://www.corruptionx.com/cmps_index.php";
    public static final String ITEMLIST_LINK = "http://www.mediafire.com/?znasre8sm11r2m9";
    public static final String ITEMDB_LINK = "http://itemdb.biz/";
    public static final String HIGHSCORES_LINK = "http://www.corruptionx.net/highscores/";
    public static final String VOTE_LINK = "http://www.corruptionx.com/site/index.php?page=vote";
    public static final String DONATE_LINK = "http://www.corruptionx.com/site/index.php?page=donate";
    public static final String STORE_LINK = "http://www.corruptionx.com/site/index.php?page=store";
    public static final String OFFENCES_LINK = "http://www.corruptionx.com/site/index.php?page=offences";
    public static final String EMAIL_LINK = "http://www.corruptionx.com/site/index.php?page=change_email";
    public static final String PASSWORD_LINK = "http://www.corruptionx.com/site/index.php?page=change_password";
    public static final String COMMANDS_LINK = WEBSITE_LINK + "/showthread.php?t=69749";
    public static final String SHOWTHREAD_LINK = WEBSITE_LINK + "/showthread.php?t=";
    public static final String WIKI_LINK = "http://corruptionx.wikia.com/wiki/CorruptionX_Wiki";
    public static final String HELP_LINK = "http://corruptionx.wikia.com/wiki/Beginners%27_Guide";

    public static final int VOTE_MIN_AMOUNT = 190000;
    public static final int VOTE_TOKENS_ITEM_ID = 6306;
    public static final int[] VOTE_SHOP_ITEM_PRICES;
    public static final int[] PKP_SHOP_ITEM_PRICES;

    public static final int[] VOTE_TO_USE_ITEM_IDS = new int[] { 22451, 22482, 22483, 22484, 22485, 22486, 22487, 22488, 22489, 22490, 22491, 22492, 22493, 13738, 13740, 13742, 13744, 15241, 15242,
    15243, 20135, 20136, 20137, 20138, 20139, 20140, 20141, 20142, 20143, 20144, 20145, 20146, 24977, 24978, 24979, 24983, 24984, 24985, 25060, 25061, 25062, 25063, 25064, 25065, 20147, 20149,
    20150, 20151, 20153, 20154, 20155, 20157, 20158, 24974, 24975, 24976, 13887, 13888, 13889, 13893, 13894, 13895, 13899, 13900, 13901, 13905, 13906, 13907, 13911, 13912, 13913, 13917, 13918,
    13919, 13923, 13924, 13925, 13929, 13930, 13931, 13884, 13885, 13886, 13890, 13891, 13892, 13896, 13897, 13898, 13902, 13903, 13904, 13908, 13909, 13910, 13914, 13915, 13916, 13920, 13921,
    13922, 13926, 13927, 13928, 20159, 20160, 20161, 20162, 20163, 20164, 20165, 20166, 20167, 20168, 20169, 20170, 24980, 24981, 24982, 24983, 24984, 24985, 24986, 24987, 24988, 25062, 25063,
    25066, 25067, 25067, 25654, 25655, 25664, 25665, 14484, 18786, 19780, 19784, 22401, 18349, 18350, 18351, 18352, 18353, 18354, 18355, 18356, 18357, 18358, 18359, 18360, 8839, 8840, 8841, 8842,
    10611, 11663, 11664, 11665, 11674, 11675, 11676, 19711, 19785, 19786, 19787, 19788, 19789, 19790, 19803, 19804, 15403, 22405 };

    static {
    VOTE_SHOP_ITEM_PRICES = new int[50000];
    Arrays.fill(VOTE_SHOP_ITEM_PRICES, 3500000); // default of 3500000

    VOTE_SHOP_ITEM_PRICES[995] = 1; // exchange vote tokens 1 to 1 with vote tokens
    VOTE_SHOP_ITEM_PRICES[24154] = 50000; // 50k for spin ticket

    PKP_SHOP_ITEM_PRICES = new int[50000];
    Arrays.fill(PKP_SHOP_ITEM_PRICES, 50);//Just incase we missed something
    PKP_SHOP_ITEM_PRICES[13887] = 40;
    PKP_SHOP_ITEM_PRICES[13893] = 30;
    PKP_SHOP_ITEM_PRICES[13899] = 50;
    PKP_SHOP_ITEM_PRICES[13905] = 25;
    PKP_SHOP_ITEM_PRICES[13911] = 18;
    PKP_SHOP_ITEM_PRICES[13917] = 13;
    PKP_SHOP_ITEM_PRICES[13923] = 25;
    PKP_SHOP_ITEM_PRICES[13929] = 10;
    PKP_SHOP_ITEM_PRICES[13884] = 27;
    PKP_SHOP_ITEM_PRICES[13890] = 30;
    PKP_SHOP_ITEM_PRICES[13896] = 20;
    PKP_SHOP_ITEM_PRICES[13902] = 35;
    PKP_SHOP_ITEM_PRICES[13908] = 12;
    PKP_SHOP_ITEM_PRICES[13914] = 14;
    PKP_SHOP_ITEM_PRICES[13920] = 10;
    PKP_SHOP_ITEM_PRICES[13926] = 20;
    PKP_SHOP_ITEM_PRICES[13870] = 25;
    PKP_SHOP_ITEM_PRICES[13873] = 20;
    PKP_SHOP_ITEM_PRICES[13876] = 14;
    PKP_SHOP_ITEM_PRICES[13882] = 1;
    PKP_SHOP_ITEM_PRICES[13883] = 1;
    PKP_SHOP_ITEM_PRICES[13944] = 12;
    PKP_SHOP_ITEM_PRICES[13947] = 10;
    PKP_SHOP_ITEM_PRICES[13950] = 8;
    PKP_SHOP_ITEM_PRICES[13956] = 1;
    PKP_SHOP_ITEM_PRICES[13957] = 1;
    PKP_SHOP_ITEM_PRICES[13858] = 23;
    PKP_SHOP_ITEM_PRICES[13861] = 19;
    PKP_SHOP_ITEM_PRICES[13864] = 15;
    PKP_SHOP_ITEM_PRICES[13867] = 35;
    PKP_SHOP_ITEM_PRICES[13932] = 14;
    PKP_SHOP_ITEM_PRICES[13935] = 11;
    PKP_SHOP_ITEM_PRICES[13938] = 9;
    PKP_SHOP_ITEM_PRICES[13941] = 22;
    PKP_SHOP_ITEM_PRICES[11846] = 70;
    PKP_SHOP_ITEM_PRICES[11848] = 75;
    PKP_SHOP_ITEM_PRICES[11850] = 70;
    PKP_SHOP_ITEM_PRICES[11852] = 70;
    PKP_SHOP_ITEM_PRICES[11854] = 70;
    PKP_SHOP_ITEM_PRICES[11856] = 70;
    PKP_SHOP_ITEM_PRICES[15441] = 89;
    PKP_SHOP_ITEM_PRICES[15442] = 89;
    PKP_SHOP_ITEM_PRICES[15443] = 89;
    PKP_SHOP_ITEM_PRICES[15444] = 89;
    PKP_SHOP_ITEM_PRICES[15701] = 79;
    PKP_SHOP_ITEM_PRICES[15702] = 79;
    PKP_SHOP_ITEM_PRICES[15703] = 79;
    PKP_SHOP_ITEM_PRICES[15704] = 79;
    PKP_SHOP_ITEM_PRICES[22207] = 99;
    PKP_SHOP_ITEM_PRICES[22209] = 99;
    PKP_SHOP_ITEM_PRICES[22211] = 99;
    PKP_SHOP_ITEM_PRICES[22213] = 99;
    PKP_SHOP_ITEM_PRICES[15241] = 19;
    PKP_SHOP_ITEM_PRICES[15243] = 1;
    PKP_SHOP_ITEM_PRICES[10551] = 73;
    PKP_SHOP_ITEM_PRICES[10547] = 42;
    PKP_SHOP_ITEM_PRICES[10548] = 42;
    PKP_SHOP_ITEM_PRICES[10549] = 42;
    PKP_SHOP_ITEM_PRICES[6731] = 19;
    PKP_SHOP_ITEM_PRICES[6733] = 19;
    PKP_SHOP_ITEM_PRICES[6735] = 19;
    PKP_SHOP_ITEM_PRICES[6737] = 23;
    PKP_SHOP_ITEM_PRICES[10887] = 29;
    PKP_SHOP_ITEM_PRICES[21768] = 71;
    PKP_SHOP_ITEM_PRICES[11061] = 35;
    PKP_SHOP_ITEM_PRICES[25202] = 1337000;
    PKP_SHOP_ITEM_PRICES[8839] = 65;
    PKP_SHOP_ITEM_PRICES[8840] = 50;
    PKP_SHOP_ITEM_PRICES[8842] = 25;
    PKP_SHOP_ITEM_PRICES[11663] = 60;
    PKP_SHOP_ITEM_PRICES[11664] = 60;
    PKP_SHOP_ITEM_PRICES[11665] = 60;

    }

    public static final String[] ANNOUNCEMENT_TEXTS = new String[] { "Killing players can result in pk points rewards, check quest tab for more information.",
    "Squeal of fortune spins can be obtained by killing various monsters, donating or simply voting for them.", "Vote rewards can be claimed by using the ::claim command.",
    "The yell channel is only available for special ranks, the easiest way to get access is by donating. :onate",
    "Monthly and lifetime donator subscriptions available, type :onate to get yours today!",
    "If you ever need any help check out ::help, talk to the Oracle of Dawn or join the 'Help' Friends chat.", "We have an all in one money making guide on our ::wiki.",
    "Check out the vote shop for awesome ::vote rewards!", "The easiest trick for some extra cash every 12 hours is voting, get started by typing ::vote.",
    "Voting increases your drop and XP rates by 25% for 12 hours.", "Training teleports are available at the Oracle of Dawn.",
    "Safe Pking is available in the teleports section at the Oracle of Dawn.", "Skilling and miscellaneous guides can be read on our ::wiki.", };

    // sof chances:
    // 100% for common (It's a must to have 100% for common due to at least one
    // reward must be picked)
    // 35% for uncommon
    // 0.089% for rare (0.08% was originally)
    // 0.01% for jackpot

    // version of sof rewards
    public static final int SOF_VERSION = 1;

    //divided chance by 3 now since it was still way too common o.o
    public static final double[] SOF_CHANCES = new double[] { 1.0D, 0.43D, 0.01D, 0.005D };

    public static final int[] SOF_COMMON_CASH_AMOUNTS = new int[] { 100, 250, 500, 1000 };
    public static final int[] SOF_UNCOMMON_CASH_AMOUNTS = new int[] { 2000, 5000, 7500, 10000 };
    public static final int[] SOF_RARE_CASH_AMOUNTS = new int[] { 100000, 250000, 500000, 1000000 };
    //too much moneybeing added from sof
    public static final int[] SOF_JACKPOT_CASH_AMOUNTS = new int[] { 10 * 1000000, /*25*/5 * 1000000, /*50* 1000000*/666, /*100 * 1000000*/1337 };
    public static final int[] SOF_COMMON_LAMPS = new int[] { 23713, 23717, 23721, 23725, 23729, 23737, 23733, 23741, 23745, 23749, 23753, 23757, 23761, 23765, 23769, 23778, 23774, 23786, 23782,
    23794, 23790, 23802, 23798, 23810, 23806, 23814 };
    public static final int[] SOF_UNCOMMON_LAMPS = new int[] { 23714, 23718, 23722, 23726, 23730, 23738, 23734, 23742, 23746, 23750, 23754, 23758, 23762, 23766, 23770, 23779, 23775, 23787, 23783,
    23795, 23791, 23803, 23799, 23811, 23807, 23815 };
    public static final int[] SOF_RARE_LAMPS = new int[] { 23715, 23719, 23723, 23727, 23731, 23739, 23735, 23743, 23747, 23751, 23755, 23759, 23763, 23767, 23771, 23780, 23776, 23788, 23784, 23796,
    23792, 23804, 23800, 23812, 23808, 23816 };
    public static final int[] SOF_JACKPOT_LAMPS = new int[] { 23716, 23720, 23724, 23728, 23732, 23740, 23736, 23744, 23748, 23752, 23756, 23760, 23764, 23768, 23773, 23781, 23777, 23789, 23785,
    23797, 23793, 23805, 23801, 23813, 23809, 23817 };
    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[] {
    // cash
    995, 995, 995, 995, 995, 995, 995, 995,
    // lucky items
    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,
    // auras
    22905, 22899, 23848, 22907, 22901, 23850, 20958, 20962, 20967, 22280, 22284, 20966, 20965, 22288, };

    public static final int[] SOF_JACKPOT_OTHERS = new int[] {
    // cash
    995, 995, 995, 995, 995, 995, 995, 995,
    // auras
    22909, 22903, 23852, 23874, 23876, 23854, 22268, 22270, 22272, 22282, 22286, 22274, 22276, 22290, 22292, 22294, 22300,
    // pets
    21512, 12471, 12473, 12475, 12477,

    };

    public static final int[] TRADEABLE_EXCEPTION = new int[] { 22905, 22899, 23848, 22907, 22901, 23850, 20958, 20962, 20967, 22280, 22284, 20966, 20965, 22288, 22909, 22903, 23852, 23874, 23876,
    23854, 22268, 22270, 22272, 22282, 22286, 22274, 22276, 22290, 22292, 22294, 22300, };

    }

    RS3Applet.java

    package game;

    import java.applet.Applet;
    import java.applet.AppletStub;
    import java.awt.Dimension;
    import java.net.MalformedURLException;
    import java.net.URL;
    import java.util.Properties;

    import javax.swing.JFrame;

    /**
    * An Applet used for loading the RS3 Client.
    *
    * @author Im Frizzy <Skype:kfriz1998);
    */
    public class RS3Applet extends Applet implements AppletStub {

    /**
    * An generated serial UID.
    */
    private static final long serialVersionUID = 1670498001014004354L;

    public static final boolean DEBUG = true;

    public static final boolean USING_ISAAC = true;
    /**
    * The parameters of the client.
    */
    private Properties client_parameters = new Properties();

    /**
    * The current frame of the client application.
    */
    public JFrame clientFrame = null;

    /**
    *
    * Chooses the Host
    */
    /**
    * Address of lobby server.
    */
    public static boolean MODS = USING_ISAAC;

    public static boolean HOSTED = true;

    public static String LOBBY_ADDR = "91.145.56.221";//"73.195.229.254";//"192.184.11.146"; 178.33.229.142
    /**
    * Address of lobby server.
    */
    public static String WEB_STREAM_ADDR = "91.145.56.221";//"192.184.11.146";
    /**
    * Chooses the Host
    */
    public static String WORLD_HOST = !MODS ? "91.145.56.221" : "http://127.0.0.1";
    public static final int MINOR_VERSION = 2;

    /**
    * The main entry point of the current application.
    *
    * @param args
    * The command line arguments.
    */
    public static void main(String... args) {
    RS3Applet rs3applet = new RS3Applet();
    rs3applet.doFrame();
    }

    /**
    * Performs the operations needed to show the client.
    */
    private void doFrame() {
    readParameters();
    openFrame();
    startClient();
    clientFrame.setDefaultCloseOperation(JFrame.EXIT_O N_CLOSE);
    }

    @Override
    public void init() {
    readParameters();
    startClient();
    }

    /**
    * Starts the actual client.
    */
    private void startClient() {
    try {
    client RS3Client = new client();
    RS3Client.supplyApplet(this);
    RS3Client.init();
    RS3Client.start();
    } catch (Exception e) {
    e.printStackTrace();
    }
    }

    /**
    * Opens the actual frame application.
    */
    private void openFrame() {
    clientFrame = new JFrame("Aegis NTX");
    clientFrame.add(this);
    clientFrame.setVisible(true);
    clientFrame.setSize(800, 600);
    }

    /**
    * Reads the parameters text file, and stores the parameters.
    */
    private void readParameters() {
    client_parameters.put("java_arguments", "-Xmx384m -Xss2m -Dsun.java2d.noddraw=true -XX:CompileThreshold=1500 -Xincgc -XX:+UseConcMarkSweepGC -XX:+UseParNewGC");
    client_parameters.put("centerimage", "true");
    client_parameters.put("image", "http://www.runescape.com/img/game/splash6.gif");
    client_parameters.put("separate_jvm", "true");
    client_parameters.put("boxborder", "false");
    client_parameters.put("boxbgcolor", "black");
    client_parameters.put("28", "C42C1E534C0AE9F5D937FDD53A2AB061EEC84D7787AD4E282 5B3AFDF3A5A919C257A6ABCB0E2CB50715B5EDE3880BB8F");
    client_parameters.put("18", "0irU8SxE4on1Tl9/y7sxdiPtbP2kt8WC");
    client_parameters.put("4", "false");
    client_parameters.put("25", "0");//Language
    client_parameters.put("41", "false");
    client_parameters.put("36", HOSTED ? "3" : "1");
    client_parameters.put("39", HOSTED ? "3" : "1");
    client_parameters.put("40", LOBBY_ADDR);
    client_parameters.put("-1", "3fOGqwfW5MMZ8acLynrCzA");
    client_parameters.put("24", "halign=true|valign=true|image=rs_logo.gif,0,-43|rotatingimage=rs3_loading_spinner.gif,0,47,9.6| progress=true,Verdana,13,0xFFFFFF,0,51");//"halign=true|valign=true|image=rs_logo.gif,0,-43|rotatingimage=rs3_loading_spinner.gif,0,47,9.6| progress=true,Verdana,13,0xFFFFFF,0,51");
    client_parameters.put("23", "1237575166");
    client_parameters.put("14", "0");
    client_parameters.put("42", "CX_RS3");
    client_parameters.put("27", HOSTED ? "3" : "1");
    client_parameters.put("12", "false");
    client_parameters.put("38", "0");
    client_parameters.put("32", "true");
    client_parameters.put("7", "");
    client_parameters.put("21", ".runescape.com");
    client_parameters.put("37", "http://services.runescape.com/m=gamelogspecs/clientstats?data=");
    client_parameters.put("31", "false");
    client_parameters.put("22", "true");
    client_parameters.put("20", WEB_STREAM_ADDR);
    client_parameters.put("3", "0");
    client_parameters.put("34", WORLD_HOST);
    client_parameters.put("5", "-1082895259");
    client_parameters.put("1", "");//Display
    client_parameters.put("30", "0");
    client_parameters.put("26", "wwGlrZHF5gKN6D3mDdihco3oPeYN2KFybL9hUUFqOvk") ;
    client_parameters.put("43", "1119795612");
    client_parameters.put("29", "false");
    client_parameters.put("2", "0");
    client_parameters.put("35", "");
    client_parameters.put("33", "225");
    client_parameters.put("13", "1");
    client_parameters.put("15", WORLD_HOST);
    client_parameters.put("9", "");
    client_parameters.put("11", "false");
    client_parameters.put("16", "false");
    client_parameters.put("0", "retUtMMUGOukXomtmWaUig");
    }

    /*
    * (non-Javadoc)
    * @see java.applet.AppletStub#appletResize(int, int)
    */
    @Override
    public void appletResize(int dimensionX, int dimensionY) {
    super.resize(new Dimension(dimensionX, dimensionY));
    }

    /*
    * (non-Javadoc)
    * @see java.applet.Applet#getParameter(java.lang.String)
    */
    @Override
    public String getParameter(String paramName) {
    return (String) client_parameters.get(paramName);
    }

    /*
    * (non-Javadoc)
    * @see java.applet.Applet#getDocumentBase()
    */
    @Override
    public URL getDocumentBase() {
    try {
    return new URL(WORLD_HOST);
    } catch (MalformedURLException e) {
    e.printStackTrace();
    }
    return null;
    }

    /*
    * (non-Javadoc)
    * @see java.applet.Applet#getCodeBase()
    */
    @Override
    public URL getCodeBase() {
    try {
    return new URL(WORLD_HOST);
    } catch (MalformedURLException e) {
    e.printStackTrace();
    }
    return null;
    }
    }
    Reply With Quote  
     

  3. #13  
    08-13, SpawnScape Owner

    jet kai's Avatar
    Join Date
    Dec 2009
    Age
    28
    Posts
    870
    Thanks given
    630
    Thanks received
    957
    Rep Power
    5000
    Hint:

    Go to What's My IP Address? - Obsolete Browser Page, change your client ip to that. If you can't connect to the server using your real IP instead of 127.0.0.1, it means it's not properly port forwarded.
    Reply With Quote  
     

  4. #14  
    Registered Member
    Join Date
    Aug 2016
    Posts
    9
    Thanks given
    0
    Thanks received
    1
    Rep Power
    0
    Quote Originally Posted by jet kai View Post
    Hint:

    Go to What's My IP Address? - Obsolete Browser Page, change your client ip to that. If you can't connect to the server using your real IP instead of 127.0.0.1, it means it's not properly port forwarded.
    Okey yea, i have done that. i made 2 clients. one with hosted false, with localhost that i use. and one with hosted = true that i use my whatsmyip.org ip in but still people cant connect to it.

    Quote Originally Posted by jet kai View Post
    Hint:

    Go to What's My IP Address? - Obsolete Browser Page, change your client ip to that. If you can't connect to the server using your real IP instead of 127.0.0.1, it means it's not properly port forwarded.
    so hard to know what to change tho

    public static boolean HOSTED = false;

    public static String LOBBY_ADDR = "127.0.0.1";//"73.195.229.254";//"192.184.11.146"; 178.33.229.142
    /**
    * Address of lobby server.
    */
    public static String WEB_STREAM_ADDR = "127.0.0.1";//"192.184.11.146";
    /**
    * Chooses the Host
    */
    public static String WORLD_HOST = !MODS ? "http://world58a.runescape.com" : "http://127.0.0.1";
    public static final int MINOR_VERSION = 2;

    What do i change?
    Reply With Quote  
     

  5. #15  
    Registered Member
    Join Date
    Dec 2014
    Posts
    18
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    I'm in the same boat... and seems grave robbing for answers.
    Reply With Quote  
     

  6. #16  
    Contributor

    clem585's Avatar
    Join Date
    Sep 2013
    Posts
    3,788
    Thanks given
    706
    Thanks received
    702
    Rep Power
    570
    Quote Originally Posted by Gromic View Post
    I'm in the same boat... and seems grave robbing for answers.
    Attached image
    Project thread
    Reply With Quote  
     

  7. Thankful users:


  8. #17  
    Owner of RuneCity

    Join Date
    Jan 2018
    Posts
    24
    Thanks given
    4
    Thanks received
    1
    Rep Power
    11
    Where change the ip client sided?

    Hope some one can help me out

    Some1 knows how to remove Instant Admin rank?
    Attached image
    Reply With Quote  
     

  9. #18  
    Contributor

    clem585's Avatar
    Join Date
    Sep 2013
    Posts
    3,788
    Thanks given
    706
    Thanks received
    702
    Rep Power
    570
    Quote Originally Posted by Merve View Post
    Where change the ip client sided?

    Hope some one can help me out

    Some1 knows how to remove Instant Admin rank?
    Stop grave robbing Attached image
    Project thread
    Reply With Quote  
     

Page 2 of 2 FirstFirst 12

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. need help hosting my matrix 3 Server
    By sazx77 in forum Help
    Replies: 10
    Last Post: 10-03-2017, 01:23 AM
  2. Replies: 3
    Last Post: 06-11-2016, 12:39 AM
  3. Help running matrix 3 no host.
    By steeve in forum Tutorials
    Replies: 2
    Last Post: 05-07-2016, 02:34 AM
  4. Matrix 3 / 830 hosting problem [Please]
    By Hotzshotz in forum Help
    Replies: 2
    Last Post: 02-23-2016, 12:30 PM
  5. need help with matrix 830.
    By omegadavid in forum Help
    Replies: 3
    Last Post: 01-31-2016, 10:24 PM
Tags for this Thread

View Tag Cloud

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •