[Help] PlusEMU musSocket error?!?!!

Results 1 to 16 of 16
  1. #1
    Account Upgraded | Title Enabled! FapInc is offline
    MemberRank
    Nov 2012 Join Date
    499Posts

    [Help] PlusEMU musSocket error?!?!!

    Hello RageZoners.

    When i enter the client and its done loading it just stays black, but i get this wierd error in the emulator, here is an image: Screenshot by Lightshot

    Please help me,
    Thanks!


  2. #2
    Apprentice Galaxybeta is offline
    MemberRank
    Aug 2013 Join Date
    17Posts

    Re: [Help] PlusEMU musSocket error?!?!!

    Go to lines it says theirs a prob with and post em.

  3. #3
    Account Upgraded | Title Enabled! FapInc is offline
    MemberRank
    Nov 2012 Join Date
    499Posts

    Re: [Help] PlusEMU musSocket error?!?!!

    I will just upload a picture instead: Screenshot by Lightshot

    Just a reminder, it was line 127 and 137.

  4. #4
    Check http://arcturus.pw The General is offline
    DeveloperRank
    Aug 2011 Join Date
    7,608Posts

    Re: [Help] PlusEMU musSocket error?!?!!

    You probably send an empty mus command? See if there are some on your client page...

  5. #5
    Account Upgraded | Title Enabled! FapInc is offline
    MemberRank
    Nov 2012 Join Date
    499Posts

    Re: [Help] PlusEMU musSocket error?!?!!

    Would you please explain a bit more, i dont really understand :/

    Here is my client configuration in habbophp: Screenshot by Lightshot

    Since it was 30002 port there is because that is the game.tcp.port.
    But the mus.tcp.port is 34546. When i use 30002 i dont get error but then the client stays black,
    and when i use 34546 i get the errors. Help me :(

  6. #6
    Check http://arcturus.pw The General is offline
    DeveloperRank
    Aug 2011 Join Date
    7,608Posts

    Re: [Help] PlusEMU musSocket error?!?!!

    Put the client php source here.

  7. #7
    Account Upgraded | Title Enabled! FapInc is offline
    MemberRank
    Nov 2012 Join Date
    499Posts

    Re: [Help] PlusEMU musSocket error?!?!!

    Code:
    <?php
    @session_start();
    define('CORE','CORE');
    require "includes/core.php";
    
    if(!$Auth->isConnected()) redirection($config->url_site.'/logout.php');
    if(EMULATOR == 'phoenix') $ticket = TicketRefresh($user->id);
    elseif(EMULATOR == 'butterfly') $ticket = UpdateSSO($user->id);
    $roomask = false ;
    if(isset($_GET['roomID'])){
    
    $roomid = intval($_GET['roomID']);
    //Get type of room
    $req = mysql_query("SELECT roomtype FROM rooms WHERE id = '".$roomid."' LIMIT 1");
    if(mysql_num_rows($req) > 1){ //Room exist
    $roomdata = mysql_fetch_assoc($req);	
    if($roomdata['roomtype'] == 'public')
    $forward_type = 1;
    else
    $forward_type = 2;
    $roomask = true ;
    }
    
    }
    
    //V2
    
    
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> 
    <head> 
    <meta http-equiv="content-type" content="text/html; charset=utf-8" /> 
    
    <title><?php echo $config->name; ?>:</title> 
    
    <script type="text/javascript"> 
    var andSoItBegins = (new Date()).getTime();
    var ad_keywords = "";
    document.habboLoggedIn = true;
    var habboName = "<?php echo $user->username; ?>";
    var habboReqPath = "<?php echo $config->url_site; ?>";
    var habboStaticFilePath = "<?php echo $config->url_site; ?>";
    var habboImagerUrl = "http://www.habbo.com/habbo-imaging/";
    var habboPartner = "";
    var habboDefaultClientPopupUrl = "<?php echo $config->url_site; ?>/client";
    window.name = "habboMain";
    if (typeof HabboClient != "undefined"){HabboClient.windowName = "uberClientWnd";}
    </script> 
    
    
    </script>
    
    <link rel="stylesheet" href="<?php echo $config->url_site; ?>/web-gallery/styles/common.css" type="text/css" />
    <script src="<?php echo $config->url_site; ?>/web-gallery/js/libs2.js" type="text/javascript"></script>
    <script src="<?php echo $config->url_site; ?>/web-gallery/js/visual.js" type="text/javascript"></script>
    <script src="<?php echo $config->url_site; ?>/web-gallery/js/libs.js" type="text/javascript"></script>
    <script src="<?php echo $config->url_site; ?>/web-gallery/js/common.js" type="text/javascript"></script>
    
    <link rel="stylesheet" href="<?php echo $config->url_site; ?>/web-gallery/styles/habboclient.css" type="text/css" />
    <link rel="stylesheet" href="<?php echo $config->url_site; ?>/web-gallery/styles/habboflashclient.css" type="text/css" />
    <script src="<?php echo $config->url_site; ?>/web-gallery/habboflashclient.js" type="text/javascript"></script>
    
    <!--[if IE 8]>
    <link rel="stylesheet" href="<?php echo $config->url_site; ?>/web-gallery/styles/ie8.css" type="text/css" />
    <![endif]--> 
    <!--[if lt IE 8]>
    <link rel="stylesheet" href="<?php echo $config->url_site; ?>/web-gallery/styles/ie.css" type="text/css" />
    <![endif]--> 
    <!--[if lt IE 7]>
    <link rel="stylesheet" href="<?php echo $config->url_site; ?>/web-gallery/styles/ie6.css" type="text/css" />
    <script src="<?php echo $config->url_site; ?>/web-gallery/js/pngfix.js" type="text/javascript"></script>
    <script type="text/javascript">
    try{document.execCommand('BackgroundImageCache', false, true);}catch(e){}
    </script>
    
    <style type="text/css">
    body{behavior: url(http://www.habbo.co.uk/js/csshover.htc);}
    </style>
    <![endif]--> 
    <meta name="build" /> 
    
    </head> 
    
    <body id="client" class="flashclient"> 
    <script type="text/javascript"> 
    var habboDefaultClientPopupUrl = "<?php echo $config->url_site; ?>/client.php";
    </script> 
    
    <script type="text/javascript"> 
    FlashExternalInterface.loginLogEnabled = true;
    
    FlashExternalInterface.logLoginStep("web.view.start");
    
    if (top == self){
    FlashHabboClient.cacheCheck();
    }
    var flashvars ={
    "client.allow.cross.domain" : "1", 
    "client.notify.cross.domain" : "0", 
    "connection.info.host" : "<?php echo $config->server_ip; ?>", 
    "connection.info.port" : "<?php echo $config->server_port; ?>", 
    "site.url" : "<?php echo $config->url_site; ?>", 
    "url.prefix" : "<?php echo $config->url_site; ?>", 
    "client.reload.url" : "<?php echo $config->url_site; ?>/client_error.php", 
    "client.fatal.error.url" : "<?php echo $config->url_site; ?>/client_error.php", 
    "client.connection.failed.url" : "<?php echo $config->url_site; ?>/client_error.php", 
    "external.hash" : "", 
    "external.variables.txt" : "<?php echo $config->server_vars; ?>", 
    "external.texts.txt" : "<?php echo $config->server_texts; ?>",
    "use.sso.ticket" : "1",
    "sso.ticket" : "<?php echo $ticket ; ?>", 
    "processlog.enabled" : "0", 
    "account_id" : "0", 
    "client.starting" : "Lancement de HabboPHP", 
    "flash.client.url" : "<?php echo $config->url_site; ?>/client_error.php", 
    "user.hash" : "", 
    "has.identity" : "0", 
    "flash.client.origin" : "popup" 
    <?php
    if($roomask){
    echo '"forward.type" : "'.$forward_type.'",';
    echo '"forward.id" : "'.$roomid.'",';
    }
    ?>
    };
    var params ={
    "base" : "<?php echo $config->server_swf; ?>",
    "allowScriptAccess" : "always",
    "menu" : "false" 
    };
    
    if (!(HabbletLoader.needsFlashKbWorkaround())){
    params["wmode"] = "opaque";
    }
    
    FlashExternalInterface.signoutUrl = "<?php echo $config->url_site; ?>/logout.php";
    
    var clientUrl = "<?php echo $config->server_swf; ?>";
    swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/126/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> 
    
    <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">Installer Adode Flash Player</h2> 
    <div class="box-content"> 
    <p>Pour installer Flash Player : <a href="http://get.adobe.com/flashplayer/">Clique ICI</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/45_0061af58e257a7c6b931c91f771b4483/2/web-gallery/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 id="content" class="client-content"></div> 
    </div> 
    <div style="display: none"> 
    
    <script language="JavaScript" type="text/javascript"> 
    setTimeout(function(){
    HabboCounter.init(600);
    }, 20000);
    
    </script> 
    </div> 
    <script type="text/javascript"> 
    RightClick.init("flash-wrapper", "flash-container");
    </script> 
    <script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Roundeverything(); }</script>
    
    </body> 
    
    </html>
    Last edited by FapInc; 07-10-13 at 08:43 PM.

  8. #8
    The Omega Superfun is offline
    MemberRank
    Dec 2006 Join Date
    The NetherlandsLocation
    5,223Posts

    Re: [Help] PlusEMU musSocket error?!?!!

    Please put your code between the [code][/code] tags

  9. #9
    Check http://arcturus.pw The General is offline
    DeveloperRank
    Aug 2011 Join Date
    7,608Posts

    Re: [Help] PlusEMU musSocket error?!?!!

    Try closing the mus port in your firewall. Its not needed to run the emulator properly.

  10. #10
    Account Upgraded | Title Enabled! FapInc is offline
    MemberRank
    Nov 2012 Join Date
    499Posts

    Re: [Help] PlusEMU musSocket error?!?!!

    Hello Hillbilly, so the error is now gone, but when i enter the client it just loads fine, and it stays black :(

  11. #11
    Proficient Member 13rad is offline
    MemberRank
    Jul 2013 Join Date
    166Posts

    Re: [Help] PlusEMU musSocket error?!?!!

    Here is a copy of my config and it works perf
    Code:
     ## uberEmulator System Configuration File## Must be edited for the server to work
    
    
    ## MySQL Configuration
    db.hostname=localhost
    db.port=3306
    db.username=root
    db.password=root
    db.name=db
    
    
    ## MySQL pooling setup (controls amount of connections)
    db.pool.minsize=30
    db.pool.maxsize=400
    
    
    ## Game TCP/IP Configuration
    game.tcp.bindip=*********
    game.tcp.port=30000
    game.tcp.conlimit=5000
    game.tcp.conperip=100
    game.tcp.enablenagles=true
    
    
    ## MUS TCP/IP Configuration
    mus.tcp.bindip=127.0.0.1
    mus.tcp.port=30001
    mus.tcp.allowedaddr=localhost;127.0.0.1
    
    
    ## Client configuration
    client.ping.enabled=0
    client.ping.interval=20000
    client.maxrequests=300
    This is for plus emu btw

  12. #12
    Account Upgraded | Title Enabled! FapInc is offline
    MemberRank
    Nov 2012 Join Date
    499Posts

    Re: [Help] PlusEMU musSocket error?!?!!

    Quote Originally Posted by 13rad View Post
    Here is a copy of my config and it works perf
    Code:
     ## uberEmulator System Configuration File## Must be edited for the server to work
    
    
    ## MySQL Configuration
    db.hostname=localhost
    db.port=3306
    db.username=root
    db.password=root
    db.name=db
    
    
    ## MySQL pooling setup (controls amount of connections)
    db.pool.minsize=30
    db.pool.maxsize=400
    
    
    ## Game TCP/IP Configuration
    game.tcp.bindip=*********
    game.tcp.port=30000
    game.tcp.conlimit=5000
    game.tcp.conperip=100
    game.tcp.enablenagles=true
    
    
    ## MUS TCP/IP Configuration
    mus.tcp.bindip=127.0.0.1
    mus.tcp.port=30001
    mus.tcp.allowedaddr=localhost;127.0.0.1
    
    
    ## Client configuration
    client.ping.enabled=0
    client.ping.interval=20000
    client.maxrequests=300
    This is for plus emu btw
    13rad, what swfs do you use? Please upload your ones ;)

  13. #13
    Proficient Member 13rad is offline
    MemberRank
    Jul 2013 Join Date
    166Posts

    Re: [Help] PlusEMU musSocket error?!?!!

    Quote Originally Posted by FapInc View Post
    13rad, what swfs do you use? Please upload your ones ;)
    Ill upload them as soon as I can.

  14. #14
    Account Upgraded | Title Enabled! FapInc is offline
    MemberRank
    Nov 2012 Join Date
    499Posts

    Re: [Help] PlusEMU musSocket error?!?!!

    And that meens now right and not in some weeks =??

  15. #15
    Proficient Member 13rad is offline
    MemberRank
    Jul 2013 Join Date
    166Posts

    Re: [Help] PlusEMU musSocket error?!?!!

    Quote Originally Posted by FapInc View Post
    And that meens now right and not in some weeks =??
    No u have the same swfs i do r u sure u config the external var and flash texts correct in ur config.php?

  16. #16
    Account Upgraded | Title Enabled! FapInc is offline
    MemberRank
    Nov 2012 Join Date
    499Posts

    Re: [Help] PlusEMU musSocket error?!?!!

    Quote Originally Posted by 13rad View Post
    No u have the same swfs i do r u sure u config the external var and flash texts correct in ur config.php?
    Yes im sure ;)



Advertisement