public final void init() {
	anInt5180++;
	if (this.isValidHost()) {
	    Class135_Sub2.worldConnectionNode = new ConnectionMode();
	    ((ConnectionMode) Class135_Sub2.worldConnectionNode).portOffset = Integer.parseInt(this.getParameter("worldid"));
	    ItemLoader.lobbyConnectionNode = new ConnectionMode();
	    ((ConnectionMode) ItemLoader.lobbyConnectionNode).portOffset = Integer.parseInt(this.getParameter("lobbyid"));
	    ((ConnectionMode) ItemLoader.lobbyConnectionNode).address = this.getParameter("lobbyaddress");
	    Class348_Sub40_Sub35.demoConnectionNode = new ConnectionMode();
	    ((ConnectionMode) Class348_Sub40_Sub35.demoConnectionNode).portOffset = Integer.parseInt(this.getParameter("demoid"));
	    ((ConnectionMode) Class348_Sub40_Sub35.demoConnectionNode).address = this.getParameter("demoaddress");
	    Class8.modeWhere = (Class348_Sub8.getConnectionWhere((byte) -93, Integer.parseInt(this.getParameter("modewhere"))));
	    if (Class76.aClass364_1279 == Class8.modeWhere)
		Class8.modeWhere = Class108.aClass364_1657;
	    else if (!Class315.method2354(Class8.modeWhere, -1)
		     && Class55_Sub1.aClass364_5271 != Class8.modeWhere)
		Class8.modeWhere = Class55_Sub1.aClass364_5271;
	    Class11.modeWhat = (MapLoader.getConnectionWhat(-121, Integer.parseInt(this.getParameter("modewhat"))));
	    if (Class11.modeWhat != Class288.aClass231_4953
		&& Class11.modeWhat != Class348_Sub40_Sub20.aClass231_9263
		&& Class68.aClass231_1189 != Class11.modeWhat)
		Class11.modeWhat = Class68.aClass231_1189;
	    try {
		Class348_Sub33.gameLanguage
		    = Integer.parseInt(this.getParameter("lang"));
	    } catch (Exception exception) {
		Class348_Sub33.gameLanguage = 0;
	    }
	    String string = this.getParameter("objecttag");
	    if (string != null && string.equals("1"))
		Class348_Sub37.aBoolean6997 = true;
	    else
		Class348_Sub37.aBoolean6997 = false;
	    String string_24_ = this.getParameter("js");
	    if (string_24_ == null || !string_24_.equals("1"))
		Class289.aBoolean3697 = false;
	    else
		Class289.aBoolean3697 = true;
	    String string_25_ = this.getParameter("advert");
	    if (string_25_ == null || !string_25_.equals("1"))
		Class318_Sub1_Sub5.aBoolean8773 = false;
	    else
		Class318_Sub1_Sub5.aBoolean8773 = true;
	    String string_26_ = this.getParameter("game");
	    if (string_26_ != null) {
		if (string_26_.equals("0"))
		    Class348_Sub42_Sub8_Sub2.gameType = Class10.aClass230_186;
		else if (string_26_.equals("1"))
		    Class348_Sub42_Sub8_Sub2.gameType = Class14_Sub4.aClass230_8638;
		else if (!string_26_.equals("2")) {
		    if (string_26_.equals("3"))
			Class348_Sub42_Sub8_Sub2.gameType = Class239_Sub9.aClass230_5932;
		} else
		    Class348_Sub42_Sub8_Sub2.gameType
			= Class286_Sub6.aClass230_6262;
	    }
	    try {
		SocketWorker.affiliateId
		    = Integer.parseInt(this.getParameter("affid"));
	    } catch (Exception exception) {
		SocketWorker.affiliateId = 0;
	    }
	    Class116.aString1761 = this.getParameter("quiturl");
	    Class239_Sub12.clientSettings = this.getParameter("settings");
	    if (Class239_Sub12.clientSettings == null)
		Class239_Sub12.clientSettings = "";
	    Class330.aBoolean4127 = "1".equals(this.getParameter("under"));
	    String string_27_ = this.getParameter("country");
	    if (string_27_ != null) {
		try {
		    AbstractToolkit.anInt4583 = Integer.parseInt(string_27_);
		} catch (Exception exception) {
		    AbstractToolkit.anInt4583 = 0;
		}
	    }
	    Class222.anInt2884 = Integer.parseInt(this.getParameter("colourid"));
	    if (Class222.anInt2884 < 0
		|| Class135.aColorArray1928.length <= Class222.anInt2884)
		Class222.anInt2884 = 0;
	    if (Integer.parseInt(this.getParameter("sitesettings_member"))
		== 1)
		Class206.aBoolean4888 = Class155.aBoolean2110 = true;
	    String string_28_ = this.getParameter("frombilling");
	    if (string_28_ != null && string_28_.equals("true"))
		Class375.aBoolean4540 = true;
	    Class348_Sub23_Sub3.sskeyStr = this.getParameter("sskey");
	    if (Class348_Sub23_Sub3.sskeyStr != null && Class348_Sub23_Sub3.sskeyStr.length() < 2)
		Class348_Sub23_Sub3.sskeyStr = null;
	    String string_29_ = this.getParameter("force64mb");
	    if (string_29_ != null && string_29_.equals("true"))
		ConnectionMode.aBoolean2151 = true;
	    String string_30_ = this.getParameter("worldflags");
	    if (string_30_ != null) {
		try {
		    Class251.anInt3234 = Integer.parseInt(string_30_);
		} catch (Exception exception) {
		    /* empty */
		}
	    }
	    String string_31_ = this.getParameter("userFlow");
	    if (string_31_ != null) {
		try {
		    TextureLoader.aLong4615 = Long.parseLong(string_31_);
		} catch (NumberFormatException numberformatexception) {
		    /* empty */
		}
	    }
	    Class14_Sub1.aString8605 = this.getParameter("additionalInfo");
	    if (Class14_Sub1.aString8605 != null
		&& (Class14_Sub1.aString8605.length() ^ 0xffffffff) < -51)
		Class14_Sub1.aString8605 = null;
	    if (Class10.aClass230_186
		!= Class348_Sub42_Sub8_Sub2.gameType) {
		if (Class348_Sub42_Sub8_Sub2.gameType
		    == Class14_Sub4.aClass230_8638) {
		    Class92.anInt1524 = 640;
		    OpenGlToolkit.anInt7666 = 480;
		}
	    } else {
		OpenGlToolkit.anInt7666 = 503;
		Class92.anInt1524 = 765;
	    }
	    NpcDefinition.aClient1367 = this;
	    this.initializeApplet(Class92.anInt1524, 634, OpenGlToolkit.anInt7666, Class11.modeWhat.method1640(0) + 32, 37,
			  ((GameMode) (Class348_Sub42_Sub8_Sub2
				       .gameType)).name,
			  50);
	}
    }