Ports Connection

Detox

Member
Jul 24, 2010
365
24
Hey all,

So my GameServer is VPSIP:3000

and my client shows 3001

is my client suppose to be matching GameServer Port? Cause if so I get redirects to my SWF folder.
 

Joe

Well-Known Member
Jun 10, 2012
4,090
1,918
Usually the ports are 30000 and 30001.

30000 being the game port and 30001 being the MUS port, make sure these are open on your server and set your game to 30000.
 

Detox

Member
Jul 24, 2010
365
24
Usually the ports are 30000 and 30001.

30000 being the game port and 30001 being the MUS port, make sure these are open on your server and set your game to 30000.

so lets say my port game port is 30000 and mus 30001 which port is suppose to be in the client.php
 

Kak

Posting Freak
Apr 21, 2017
951
165
the game server part threw me off but now i see youre talking about a retro. are you using arcturus because for plusemu the emulator ports are 30000, 30001 not 3000 and 3001
 

Mikee

Active Member
Jul 8, 2017
162
102
Just because the emulator is recieving the connection doesn't mean the configs are correct. It could just be recognizing the database locally, but still the client.php connection or any other swf config could be wrong.
Post ur vars, and overrides, ur client.php and config for emu
 

Detox

Member
Jul 24, 2010
365
24
Just because the emulator is recieving the connection doesn't mean the configs are correct. It could just be recognizing the database locally, but still the client.php connection or any other swf config could be wrong.
Post ur vars, and overrides, ur client.php and config for emu

PHP:
#Game Configuration.
game.host=VPSIP
game.port=3000

#RCON Configuration.
rcon.host=VPSIP
rcon.port=3001
rcon.allowed=127.0.0.1

PHP:
<script type="text/javascript">
        var habboName = "{username}";
        var habboReqPath = "{url}";
        var habboStaticFilePath = "http://images.habbo.com/habboweb/{web_build}/web-gallery";
        var habboImagerUrl = "http://www.habbo.com/habbo-imaging/";
        var habboPartner = "";
        var habboDefaultClientPopupUrl = "http://{url}/client";
        window.name = "ClientWndw";
        if (typeof HabboClient != "undefined") { HabboClient.windowName = "ClientWndw"; }
    </script>

<link rel="alternate" type="application/rss+xml" title="Habbo Hotel - RSS" href="http://www.habbo.com/rss.xml" />
<script src="app/tpl/skins/Habbo/js/libs2.js" type="text/javascript"></script>
<script src="app/tpl/skins/Habbo/js/visual.js" type="text/javascript"></script>
<script src="app/tpl/skins/Habbo/js/libs.js" type="text/javascript"></script>
<script src="app/tpl/skins/Habbo/js/common.js" type="text/javascript"></script>
 
<link rel="stylesheet" href="http://habcheer.ca/app/tpl/skins/Habbo/styles/common.css" type="text/css" />

<noscript>
    <meta http-equiv="refresh" content="0;url=/client/nojs" />
</noscript>
 
<link rel="stylesheet" href="app/tpl/skins/Habbo/styles/client.css" type="text/css" />
<script src="app/tpl/skins/Habbo/js/habboflashclient.js" type="text/javascript"></script>

<script type="text/javascript">
    FlashExternalInterface.loginLogEnabled = false;
    FlashExternalInterface.logLoginStep("web.view.start");
    
    if (top == self) {
        FlashHabboClient.cacheCheck();
    }
    var flashvars = {
            "client.allow.cross.domain" : "0",
            "client.notify.cross.domain" : "1",
            "connection.info.host" : "107.173.250.119",
            "connection.info.port" : "3000",
            "site.url" : "{url}",
            "url.prefix" : "{url}",
            "client.reload.url" : "http://habcheer.ca/client",
            "client.fatal.error.url" : "http://habcheer.ca/disconnected",
            "client.connection.failed.url" : "http://habcheer.ca/disconnected",
            "external.variables.txt" : "http://habcheer.ca/swfs/gamedata/external_variables.txt",
            "external.texts.txt" : "http://habcheer.ca/swfs/gamedata/external_flash_texts.txt",
            "productdata.load.url" : "http://habcheer.ca/swfs/gamedata/productdata.txt",
            "furnidata.load.url" : "http://habcheer.ca/swfs/gamedata/furnidata_xml.xml",
            "use.sso.ticket" : "1",
            "sso.ticket" : "1",
            "processlog.enabled" : "0",
            "account_id" : "4",
            "client.starting" : "Please wait! {hotelName} is starting up",
            "flash.client.url" : "http://habcheer.ca/swfs/gordon/PRODUCTION-201611291003-338511768/",
            "user.hash" : "1",
            "has.identity" : "0",
            "flash.client.origin" : "popup",
            "token" : "1"
    };
    var params = {
        "base" : "http://habcheer.ca/swfs/gordon/PRODUCTION-201611291003-338511768/",
        "allowScriptAccess" : "always",
        "menu" : "false"               
    };
    
    if (!(HabbletLoader.needsFlashKbWorkaround())) {
        params["wmode"] = "opaque";
    }
    
    var clientUrl = "http://habcheer.ca/swfs/gordon/PRODUCTION-201611291003-338511768/asmd_PRODUCTION-201611291003-338511768.swf";

    swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "http://images.habbo.com/habboweb/{web_build}/web-gallery/flash/expressInstall.swf", flashvars, params);
 
    window.onbeforeunload = unloading;
    function unloading() {
        var clientObject;
        if (navigator.appName.indexOf("Microsoft") != -1) {
            clientObject = window["flash-container"];
        } else {
            clientObject = document["flash-container"];
        }
        try {
            clientObject.unloading();
        } catch (e) {}
    }
</script>

<body id="client" class="flashclient">
<div id="overlay"></div>
<img src="http://images.habbo.com/habboweb/{web_build}/web-gallery/v2/images/page_loader.gif" style="position:absolute; margin: -1500px;" />

<div id="overlay"></div>
<div id="client-ui" >
    <div id="flash-wrapper">
    <div id="flash-container">
        <div id="content" style="width: 400px; margin: 20px auto 0 auto; display: none">

<div class="cbb clearfix">
    <h2 class="title">Please update your Flash Player to the latest version.</h2>
    <div class="box-content">
            <p>You can install and download Adobe Flash Player here: <a href="http://get.adobe.com/flashplayer/">Install flash player</a>. More instructions for installation can be found here: <a href="http://www.adobe.com/products/flashplayer/productinfo/instructions/">More information</a></p>
            <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://images.habbo.com/habboweb/{web_build}/web-gallery/v2/images/client/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
    </div>
</div>

        </div>
        <script type="text/javascript">
            $('content').show();
        </script>
        <noscript>
            <div style="width: 400px; margin: 20px auto 0 auto; text-align: center">
                <p>If you are not automatically redirected, please <a href="/client/nojs">click here</a></p>
            </div>
        </noscript>
    </div>
    </div>
        
</div>
    <div style="display: none">

<div id="habboCountUpdateTarget">
{status}
</div>
    <script language="JavaScript" type="text/javascript">
        setTimeout(function() {
            HabboCounter.init(600);
        }, 20000);
    </script>
    </div>
    <script type="text/javascript">
        RightClick.init("flash-wrapper", "flash-container");
        if (window.opener && window.opener != window && typeof window.opener.location.href != "undefined") {
            window.opener.location.replace(window.opener.location.href);
        }
        $(document.body).addClassName("js");
           HabboClient.startPingListener();
    </script>

<script type="text/javascript">
    HabboView.run();
</script>

External Vars:
External Var Override:
 

Pinkman

Posting Freak
Jul 27, 2016
814
193
PHP:
#Game Configuration.
game.host=VPSIP
game.port=3000

#RCON Configuration.
rcon.host=VPSIP
rcon.port=3001
rcon.allowed=127.0.0.1

PHP:
<script type="text/javascript">
        var habboName = "{username}";
        var habboReqPath = "{url}";
        var habboStaticFilePath = "http://images.habbo.com/habboweb/{web_build}/web-gallery";
        var habboImagerUrl = "http://www.habbo.com/habbo-imaging/";
        var habboPartner = "";
        var habboDefaultClientPopupUrl = "http://{url}/client";
        window.name = "ClientWndw";
        if (typeof HabboClient != "undefined") { HabboClient.windowName = "ClientWndw"; }
    </script>

<link rel="alternate" type="application/rss+xml" title="Habbo Hotel - RSS" href="http://www.habbo.com/rss.xml" />
<script src="app/tpl/skins/Habbo/js/libs2.js" type="text/javascript"></script>
<script src="app/tpl/skins/Habbo/js/visual.js" type="text/javascript"></script>
<script src="app/tpl/skins/Habbo/js/libs.js" type="text/javascript"></script>
<script src="app/tpl/skins/Habbo/js/common.js" type="text/javascript"></script>
 
<link rel="stylesheet" href="http://habcheer.ca/app/tpl/skins/Habbo/styles/common.css" type="text/css" />

<noscript>
    <meta http-equiv="refresh" content="0;url=/client/nojs" />
</noscript>
 
<link rel="stylesheet" href="app/tpl/skins/Habbo/styles/client.css" type="text/css" />
<script src="app/tpl/skins/Habbo/js/habboflashclient.js" type="text/javascript"></script>

<script type="text/javascript">
    FlashExternalInterface.loginLogEnabled = false;
    FlashExternalInterface.logLoginStep("web.view.start");
   
    if (top == self) {
        FlashHabboClient.cacheCheck();
    }
    var flashvars = {
            "client.allow.cross.domain" : "0",
            "client.notify.cross.domain" : "1",
            "connection.info.host" : "107.173.250.119",
            "connection.info.port" : "3000",
            "site.url" : "{url}",
            "url.prefix" : "{url}",
            "client.reload.url" : "http://habcheer.ca/client",
            "client.fatal.error.url" : "http://habcheer.ca/disconnected",
            "client.connection.failed.url" : "http://habcheer.ca/disconnected",
            "external.variables.txt" : "http://habcheer.ca/swfs/gamedata/external_variables.txt",
            "external.texts.txt" : "http://habcheer.ca/swfs/gamedata/external_flash_texts.txt",
            "productdata.load.url" : "http://habcheer.ca/swfs/gamedata/productdata.txt",
            "furnidata.load.url" : "http://habcheer.ca/swfs/gamedata/furnidata_xml.xml",
            "use.sso.ticket" : "1",
            "sso.ticket" : "1",
            "processlog.enabled" : "0",
            "account_id" : "4",
            "client.starting" : "Please wait! {hotelName} is starting up",
            "flash.client.url" : "http://habcheer.ca/swfs/gordon/PRODUCTION-201611291003-338511768/",
            "user.hash" : "1",
            "has.identity" : "0",
            "flash.client.origin" : "popup",
            "token" : "1"
    };
    var params = {
        "base" : "http://habcheer.ca/swfs/gordon/PRODUCTION-201611291003-338511768/",
        "allowScriptAccess" : "always",
        "menu" : "false"              
    };
   
    if (!(HabbletLoader.needsFlashKbWorkaround())) {
        params["wmode"] = "opaque";
    }
   
    var clientUrl = "http://habcheer.ca/swfs/gordon/PRODUCTION-201611291003-338511768/asmd_PRODUCTION-201611291003-338511768.swf";

    swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "http://images.habbo.com/habboweb/{web_build}/web-gallery/flash/expressInstall.swf", flashvars, params);
 
    window.onbeforeunload = unloading;
    function unloading() {
        var clientObject;
        if (navigator.appName.indexOf("Microsoft") != -1) {
            clientObject = window["flash-container"];
        } else {
            clientObject = document["flash-container"];
        }
        try {
            clientObject.unloading();
        } catch (e) {}
    }
</script>

<body id="client" class="flashclient">
<div id="overlay"></div>
<img src="http://images.habbo.com/habboweb/{web_build}/web-gallery/v2/images/page_loader.gif" style="position:absolute; margin: -1500px;" />

<div id="overlay"></div>
<div id="client-ui" >
    <div id="flash-wrapper">
    <div id="flash-container">
        <div id="content" style="width: 400px; margin: 20px auto 0 auto; display: none">

<div class="cbb clearfix">
    <h2 class="title">Please update your Flash Player to the latest version.</h2>
    <div class="box-content">
            <p>You can install and download Adobe Flash Player here: <a href="http://get.adobe.com/flashplayer/">Install flash player</a>. More instructions for installation can be found here: <a href="http://www.adobe.com/products/flashplayer/productinfo/instructions/">More information</a></p>
            <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://images.habbo.com/habboweb/{web_build}/web-gallery/v2/images/client/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
    </div>
</div>

        </div>
        <script type="text/javascript">
            $('content').show();
        </script>
        <noscript>
            <div style="width: 400px; margin: 20px auto 0 auto; text-align: center">
                <p>If you are not automatically redirected, please <a href="/client/nojs">click here</a></p>
            </div>
        </noscript>
    </div>
    </div>
       
</div>
    <div style="display: none">

<div id="habboCountUpdateTarget">
{status}
</div>
    <script language="JavaScript" type="text/javascript">
        setTimeout(function() {
            HabboCounter.init(600);
        }, 20000);
    </script>
    </div>
    <script type="text/javascript">
        RightClick.init("flash-wrapper", "flash-container");
        if (window.opener && window.opener != window && typeof window.opener.location.href != "undefined") {
            window.opener.location.replace(window.opener.location.href);
        }
        $(document.body).addClassName("js");
           HabboClient.startPingListener();
    </script>

<script type="text/javascript">
    HabboView.run();
</script>

External Vars:
External Var Override:
Your emu ports are meant to be 30000 not 3000. same with 30001 not 3001
 

Pinkman

Posting Freak
Jul 27, 2016
814
193
I’m not using PlusEMU so it doesn’t matter! The ports, because the server is receiving some sort of connection every time I open the client
Whether your using plus or not. Those are defaults for emulators (unless there is some next new shit going on.) Host a teamviewer?
 

Users who are viewing this thread

Top