Thread: client wont connect to server [718]

Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1 client wont connect to server [718] 
    Age Of Chaos Developer
    GreekO's Avatar
    Join Date
    Nov 2012
    Posts
    336
    Thanks given
    133
    Thanks received
    22
    Rep Power
    14
    Ok so recently i bought a copy of athens and first i had to make my own batch files to get the server to run now that the server loads ive changed the clients ip to local host on 127.0.0.1 and compiled the client but saying error connect on the clients cmd is there anyone that has some free time to team view me to see what the problem is as ive asked the guys who sold the server to me they gave me little help a few batch files to get the server to run but by the time i got them i already got the serve batch files working.will rep+thank the person that helps only need a few minutes of your time i will be very greatful.

    Thanks GreekO
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Feb 2012
    Posts
    65
    Thanks given
    4
    Thanks received
    6
    Rep Power
    11
    In Loader.java (client)
    is your Sub_Build

    matching the
    CUSTOM_CLIENT_BUILD
    in your settings.java (server)

    I just came back into rsps coding
    Reply With Quote  
     

  3. #3  
    Age Of Chaos Developer
    GreekO's Avatar
    Join Date
    Nov 2012
    Posts
    336
    Thanks given
    133
    Thanks received
    22
    Rep Power
    14
    Quote Originally Posted by daemon504 View Post
    In Loader.java (client)
    is your Sub_Build

    matching the
    CUSTOM_CLIENT_BUILD
    in your settings.java (server)

    I just came back into rsps coding
    ok i found what you ment now on the custom client it said CUSTOM_CLIENT_BUILD = 27933; and in loader.java it was SUB_REVISION = 1; in client do i have to change the custom client build to the same as SUB_REVISION = 1; ?
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Feb 2012
    Posts
    65
    Thanks given
    4
    Thanks received
    6
    Rep Power
    11




    you should have it. does that help any or can you still not find it?
    Reply With Quote  
     

  5. #5  
    Age Of Chaos Developer
    GreekO's Avatar
    Join Date
    Nov 2012
    Posts
    336
    Thanks given
    133
    Thanks received
    22
    Rep Power
    14
    Quote Originally Posted by daemon504 View Post




    you should have it. does that help any or can you still not find it?
    ]
    ok bud ill try that now.
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Feb 2012
    Posts
    65
    Thanks given
    4
    Thanks received
    6
    Rep Power
    11
    Quote Originally Posted by GreekO View Post
    ]
    ok bud ill try that now.
    sorry for the late reply the custom client build should match the sub build.

    i would change it to something beside 1
    it can be anything (35672)

    basically it stops random clients from connecting to your server unless your on the same build.
    which stops people from making cheat clients or using there own clients.
    (unless they knew your build number)
    Reply With Quote  
     

  7. #7  
    Age Of Chaos Developer
    GreekO's Avatar
    Join Date
    Nov 2012
    Posts
    336
    Thanks given
    133
    Thanks received
    22
    Rep Power
    14
    still not connecting...
    Reply With Quote  
     

  8. #8  
    Registered Member
    Join Date
    Feb 2012
    Posts
    65
    Thanks given
    4
    Thanks received
    6
    Rep Power
    11
    well did you compile? (sorry obvious but just incase)
    you stated you changed the clients ip to 127.0.0.1
    is the server also set to 127.0.0.1?

    are you getting errors when running the server or is the client just not connecting?
    Reply With Quote  
     

  9. #9  
    Age Of Chaos Developer
    GreekO's Avatar
    Join Date
    Nov 2012
    Posts
    336
    Thanks given
    133
    Thanks received
    22
    Rep Power
    14
    Quote Originally Posted by GreekO View Post
    still not connecting...


    My settings.java SERVER.
    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() {
    
        }
    }


    My Loader.java CLIENT.
    Code:
    import java.applet.Applet;
    import java.awt.BorderLayout;
    import java.awt.Dimension;
    import java.net.URL;
    import java.util.Properties;
    
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    
    import javax.imageio.ImageIO;
    
    public class Loader extends Applet {
    
    	private static final long serialVersionUID = 7639088664641445302L;
    
    	public static final Properties client_parameters = new Properties();
    
    	public static JFrame client_frame;
    	public final JPanel client_panel = new JPanel();
    
    	public static final String IP = "127.0.0.1",
    			LOBBY_IP = "127.0.0.1";
    
    	public static boolean LOBBY_ENABLED = false,
    			DISABLE_XTEA_CRASH = true,
    			DISABLE_USELESS_PACKETS = true,
    			DISABLE_RSA = false,
    			useIsaac = false;
    
    	public static final int REVISION = 718, SUB_REVISION = 27935;
    	public static Loader instance;
    
    	public static void main(String[] args) {
    		boolean loadSplash = true;
    		if (args.length > 0) {
    			if (args[0].equals("false")) {
    				loadSplash = false;
    			}
    		}
    		if (loadSplash) {
    			SplashScreen splash = new SplashScreen();
    			splash.showSplash();
    		}
    		Loader loader = instance = new Loader();
    		loader.doFrame();
    	}
    
    	public void init() {
    		instance = this;
    		doApplet();
    	}
    
    	void doApplet() {
    		setParams();
    		startClient();
    	}
    
    	public void doFrame() {
    		setParams();
    		openFrame();
    		startClient();
    	}
    
    	void setParams() {
    		client_parameters.put("separate_jvm", "true");
    		client_parameters.put("boxbgcolor", "black");
    		client_parameters.put("image", "http://www.runescape.com/img/game/splash2.gif");
    		client_parameters.put("centerimage", "true");
    		client_parameters.put("boxborder", "false");
    		client_parameters.put("java_arguments", "-Xmx256m -Xss2m -Dsun.java2d.noddraw=true -XX:CompileThreshold=1500 -Xincgc -XX:+UseConcMarkSweepGC -XX:+UseParNewGC");
    		client_parameters.put("27", "0");
    		client_parameters.put("1", "0");
    		client_parameters.put("16", "false");
    		client_parameters.put("17", "false");
    		client_parameters.put("21", "1"); // WORLD ID
    		client_parameters.put("30", "false");
    		client_parameters.put("20", LOBBY_IP);
    		client_parameters.put("29", "");
    		client_parameters.put("11", "true");
    		client_parameters.put("25", "1378752098");
    		client_parameters.put("28", "0");
    		client_parameters.put("8", ".runescape.com");
    		client_parameters.put("23", "false");
    		client_parameters.put("32", "0");
    		client_parameters.put("15", "wwGlrZHF5gKN6D3mDdihco3oPeYN2KFybL9hUUFqOvk");
    		client_parameters.put("0", "IjGJjn4L3q5lRpOR9ClzZQ");
    		client_parameters.put("2", "");
    		client_parameters.put("4", "1"); // WORLD ID
    		client_parameters.put("14", "");
    		client_parameters.put("5", "8194");
    		client_parameters.put("-1", "QlwePyRU5GcnAn1lr035ag");
    		client_parameters.put("6", "0");
    		client_parameters.put("24", "true,false,0,43,200,18,0,21,354,-15,Verdana,11,0xF4ECE9,candy_bar_middle.gif,candy_bar_back.gif,candy_bar_outline_left.gif,candy_bar_outline_right.gif,candy_bar_outline_top.gif,candy_bar_outline_bottom.gif,loadbar_body_left.gif,loadbar_body_right.gif,loadbar_body_fill.gif,6");
    		client_parameters.put("3", "hAJWGrsaETglRjuwxMwnlA/d5W6EgYWx");
    		client_parameters.put("12", "false");
    		client_parameters.put("13", "0");
    		client_parameters.put("26", "0");
    		client_parameters.put("9", "77");
    		client_parameters.put("22", "false");
    		client_parameters.put("18", "false");
    		client_parameters.put("33", "");
    		client_parameters.put("haveie6", "false");
    	}
    
    	void openFrame() {
    		client_frame = new JFrame("Age Of Chaos 718/742");
    		client_frame.setLayout(new BorderLayout());
    		client_panel.setLayout(new BorderLayout());
    		client_panel.add(this);
    		client_panel.setPreferredSize(new Dimension(765, 503));
    		client_frame.getContentPane().add(client_panel, "Center");
    		client_frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    
    		try {
                URL url = new URL("http://www.havefunteaching.com/wp-content/uploads/2013/06/letter-a.png");//client icon
                java.awt.Image image = ImageIO.read(url);
                client_frame.setIconImage(image);
            } catch(Exception e) {
                e.printStackTrace();
            }
    		
    		client_frame.pack();
    		client_frame.setVisible(true);
    
    	}
    
    	void startClient() {
    		try {
    			client clnt = new client();
    			clnt.supplyApplet(this);
    			clnt.init();
    			clnt.start();
    			MusicChecker.check();
    		} catch (Exception exception) {
    			exception.printStackTrace();
    		}
    	}
    
    	public String getParameter(String string) {
    		return (String) client_parameters.get(string);
    	}
    
    	public URL getDocumentBase() {
    		return getCodeBase();
    	}
    
    	public URL getCodeBase() {
    		try {
    			return new URL("http://" + IP);
    		} catch (Exception exception) {
    			exception.printStackTrace();
    			return null;
    		}
    	}
    
    }

    Dont get any errors when compiling both server and client the client just dont want to connect idk why
    Reply With Quote  
     

  10. #10  
    Registered Member
    Join Date
    Feb 2012
    Posts
    65
    Thanks given
    4
    Thanks received
    6
    Rep Power
    11
    hmm, well i haven't been coding above 667 ( its almost the same as 718 though)
    and i recently took a break, i cant say i know what to do as there are no errors.

    is there an anti leech?

    but anyways the sub revision would have had to match the custom client build to run anyways so thats one issue out of the way.
    i can continue trying to help but as i dont have the client and source and there are no errors. im clueless as to what the problem may be.
    Reply With Quote  
     

Page 1 of 2 12 LastLast

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. Client wont connect to Server.
    By Xoath in forum Help
    Replies: 0
    Last Post: 05-21-2015, 11:08 PM
  2. 718 client wont connect to server
    By killiewilli in forum Help
    Replies: 2
    Last Post: 07-20-2014, 10:05 AM
  3. [Pi] Client Wont connect to server
    By jcor9 in forum Help
    Replies: 1
    Last Post: 08-17-2013, 06:55 PM
  4. Client wont connect to server.
    By wtf why me in forum Help
    Replies: 1
    Last Post: 10-14-2012, 07:51 PM
  5. Client wont connect to server
    By desion in forum Help
    Replies: 1
    Last Post: 09-13-2010, 01:27 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •