issue

Results 1 to 13 of 13
  1. #1
    Member stevenxox is offline
    MemberRank
    Feb 2013 Join Date
    54Posts

    issue

    Hi,
    I'm having proxy issues with my server, I'm using Mercury EMU + revCMS

    So, my client loads fine without the proxy
    but with the proxy it loads to 87% and then redirects to /me

    Any ideas why?
    the person I'm hosted with says, it's connected to my IP and port so.. Idk.


  2. #2
    www.Epic Hosts.co.uk Terrum is offline
    MemberRank
    Jun 2008 Join Date
    EpicHosts,co.ukLocation
    1,322Posts

    Re: issue

    Do you not have access to the proxy to make the IP:Port edits yourself? You have to make sure it definitely is. You also have to make sure the CMS (the app/management/config.php and skin/client.php file) are both setup to allow proxies (there's some settings for it I believe).

  3. #3
    Member stevenxox is offline
    MemberRank
    Feb 2013 Join Date
    54Posts

    Re: issue

    Quote Originally Posted by Terrum View Post
    Do you not have access to the proxy to make the IP:Port edits yourself? You have to make sure it definitely is. You also have to make sure the CMS (the app/management/config.php and skin/client.php file) are both setup to allow proxies (there's some settings for it I believe).
    It is, I've tried everything related to the CMS/client configuration, nothing is working though.

  4. #4
    www.Epic Hosts.co.uk Terrum is offline
    MemberRank
    Jun 2008 Join Date
    EpicHosts,co.ukLocation
    1,322Posts

    Re: issue

    Can you put your configurations here?

  5. #5
    Member stevenxox is offline
    MemberRank
    Feb 2013 Join Date
    54Posts

    Re: issue

    Quote Originally Posted by Terrum View Post
    Can you put your configurations here?
    <?php
    if(mysql_num_rows(mysql_query("SELECT null FROM users WHERE ip_last = '" . $_SERVER['REMOTE_ADDR'] . "'")) > 3){
    die('<h2>You can only have two accounts on {hotelname}. Message X to remove your username from the list.</h2> ');
    exit;
    }
    if($_SESSION['user']['rank'] >= $_CONFIG['client']['staff']) {
    $key = false;
    $error = false;
    $q = mysql_query("SELECT * FROM users WHERE id = '{$_SESSION['user']['id']}' AND account_locked = '1' LIMIT 1")or die(mysql_error());
    if(mysql_num_rows($q) == 1) {
    echo "Your account has been locked.";
    exit;
    }

    if(isset($_POST['pin'])) {
    $q = mysql_query("SELECT id FROM users WHERE id = '{$_SESSION['user']['id']}' AND staff_pin = '" . md5($_POST['pin']) . "' AND account_locked = '0' LIMIT 1")or die(mysql_error());
    if(mysql_num_rows($q) != 1) {
    if(!isset($_SESSION['client']['attempts']))
    $_SESSION['client']['attempts'] = 0;
    $_SESSION['client']['attempts']++;
    if($_SESSION['client']['attempts'] >= $_CONFIG['client']['attempts'])
    mysql_query("UPDATE users SET account_locked = '1' WHERE id = '{$_SESSION['user']['id']}' LIMIT 1")or die(mysql_error());
    $error = true;
    }else{
    $key = true;
    }
    }

    if(!$key) {
    ?>
    <html>
    <head>
    <style>
    body {
    margin:0px;
    padding:0px;
    font:12px 'Lucida Grande',Arial,sans-serif;
    background-color:#edecec;
    }
    .box {
    width:300px;
    margin:30px auto;
    background-color:#fff;
    border:1px solid #dcdada;
    padding:5px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    }
    .error {
    background-color:#ffbcbb;
    border:1px solid #ff7777;
    padding:8px;
    margin-bottom:4px;
    }
    input {
    padding:4px;
    }
    input[type=password] {
    border:1px solid #dcdada;
    width:230px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    }
    input[type=submit] {
    width:65px;
    }
    </style>
    </head>
    <body>
    <div class="box">
    <?php
    if($error) { ?>
    <div class="error">Invalid Pin</div>
    <?php }
    ?>
    <b>Please enter your pin:</b>
    <form method="post">
    <input type="password" name="pin">
    <input type="submit">
    </form>
    </div>
    </body>
    </html>


    <?php
    exit;
    }
    }
    ?>
    <!DOCTYPE html>
    <html lang="en">
    <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <title>{hotelName}: Client</title>

    <link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/styles/client.css" type="text/css">



    <script type="text/javascript" src="{url}/app/tpl/skins/Habbo/js/swfobject.js"></script>
    <script type="text/javascript">
    var BaseUrl = "{swf_folder}";
    var flashvars =
    {
    "client.starting" : "Please wait, {hotelName} is loading",
    "client.allow.cross.domain" : "1",
    "client.notify.cross.domain" : "0",
    "connection.info.host" : "37.187.70.222",
    "connection.info.port" : "30655",
    "site.url" : "{url}",
    "url.prefix" : "{url}",
    "client.reload.url" : "{url}/client",
    "client.fatal.error.url" : "{url}/me",
    "client.connection.failed.url" : "{url}/me",
    "external.variables.txt" : "{external_vars}?{sso}",
    "external.texts.txt" : "{external_texts}?{sso}",
    "productdata.load.url" : "{product_data}?{sso}",
    "furnidata.load.url" : "{furni_data}?{sso}",
    "hotelview.banner.url" : "{swf_folder}/rs4.php",
    "use.sso.ticket" : "1",
    "sso.ticket" : "{sso}",
    "processlog.enabled" : "0",
    "flash.client.url" : BaseUrl,
    "flash.client.origin" : "popup"
    };
    var params =
    {
    "base" : BaseUrl + "/",
    "allowScriptAccess" : "always",
    "menu" : "false"
    };
    swfobject.embedSWF(BaseUrl + "/Habbo.swf", "client", "100%", "100%", "10.0.0", "{swf_folder}/expressInstall.swf", flashvars, params, null);
    </script>
    </head>

    <body id="client" class="flashclient">
    <script data-rocketsrc="http://code.jquery.com/jquery-latest.js" type="text/rocketscript" ></script>


    <script type="text/rocketscript" >
    var refreshId = setInterval(function()
    {
    $('#TheStats').fadeOut("slow").load('/index.php?url=stats').fadeIn("slow");
    }, 100000);
    </script>




    </head>



    <body>



    <div id="client"></div>
    </body>
    </html>
    <?php include_once('includes/checktheban.php'); ?>


    Yeah, the IP is my proxy IP address btw.

  6. #6
    Account Upgraded | Title Enabled! asesinato is offline
    MemberRank
    Aug 2014 Join Date
    601Posts

    Re: issue

    Make sure you configure your port to 30004 with your proxy server not 30000. If you've already done that press F12 in chrome and screenshot your errors.

  7. #7
    Member stevenxox is offline
    MemberRank
    Feb 2013 Join Date
    54Posts

    Re: issue

    Quote Originally Posted by Scurry View Post
    Make sure you configure your port to 30004 with your proxy server not 30000. If you've already done that press F12 in chrome and screenshot your errors.
    I've done that and okay.. there are no errors at all.

  8. #8
    Account Upgraded | Title Enabled! asesinato is offline
    MemberRank
    Aug 2014 Join Date
    601Posts

    Re: issue

    Quote Originally Posted by stevenxox View Post
    I've done that and okay.. there are no errors at all.
    Well clearly when setting it up you've done something wrong.

  9. #9
    Member stevenxox is offline
    MemberRank
    Feb 2013 Join Date
    54Posts

    Re: issue

    Quote Originally Posted by Scurry View Post
    Well clearly when setting it up you've done something wrong.
    well, when i f12 with my proxy on there are no errors.. it connects fine without a proxy.

  10. #10
    Account Upgraded | Title Enabled! asesinato is offline
    MemberRank
    Aug 2014 Join Date
    601Posts

    Re: issue

    Quote Originally Posted by stevenxox View Post
    well, when i f12 with my proxy on there are no errors.. it connects fine without a proxy.
    Then its a proxy configuration error, you've set it up wrong.. lol

  11. #11
    Member stevenxox is offline
    MemberRank
    Feb 2013 Join Date
    54Posts

    Re: issue

    Quote Originally Posted by Scurry View Post
    Then its a proxy configuration error, you've set it up wrong.. lol
    the proxy is from XZ networks, Andrew from there said that "The proxy is linked correctly, I can no longer further assist you"..

    I changed my client.php shit and it didn't work.. so I'm not sure..

    is there something I need to do in the DB with the proxy like phoenix? or...

  12. #12
    www.Epic Hosts.co.uk Terrum is offline
    MemberRank
    Jun 2008 Join Date
    EpicHosts,co.ukLocation
    1,322Posts

    Re: issue

    You just need to make sure the configuration is definitely correct. Whilst proxies are easy to setup, they're also very easy to make slight mistakes with (like with most things). So just make sure that the correct IP and port is used on the proxy with XZ and that your CMS is configured properly to accept proxies.

  13. #13
    Member stevenxox is offline
    MemberRank
    Feb 2013 Join Date
    54Posts

    Re: issue

    Quote Originally Posted by Terrum View Post
    You just need to make sure the configuration is definitely correct. Whilst proxies are easy to setup, they're also very easy to make slight mistakes with (like with most things). So just make sure that the correct IP and port is used on the proxy with XZ and that your CMS is configured properly to accept proxies.
    Yeah, I've double checked my XZ account, its using MYIP and port 30004 (port my emu is connecting with)

    and my CMS is configured correctly to accept proxies, using revCMS.



Advertisement