[PLUSEMU] Black Client Please Help me

Status
Not open for further replies.

MasterJiq

Member
Jul 8, 2016
385
23
Hello,

I have problem with my swf, it's working great on xampp (my laptop) and goes to black screen after using iis (vps). All settings are configured correctly, the problem could not detected.
Here my view sources of client:
eJ0ac3U.png


Then the Client is black and I can view source, as I know, swf can't to be view source right ? I hope you can view this live on my website

Here some image of my client:
3S0htxG.png


I am not lying and really need this help. What's the problem, how to solve this problem..

Thanks.
 

NeedForSpreed

Member
May 18, 2014
326
71
If you're on chrome press F12 the second you reload the page and the console should pop up. If it says 404 That it can't find the habbo.swf then you know the problem [emoji14] If it doesn't then I'll try to assist you further. :)

Skickat från min FRD-L09 via Tapatalk

And you can't really check anything when doing console on swf, but it's not an swf you're going to check console on, it's a page, client.php :) i hope you understood what I meant [emoji14]

Skickat från min FRD-L09 via Tapatalk
 
Last edited by a moderator:

NeedForSpreed

Member
May 18, 2014
326
71
I did it for you and ...

If you still can't solve it after linking correctly, tell me and I'll be glad assisting you further :)
 

NeedForSpreed

Member
May 18, 2014
326
71
Thanks @SpreedBlood, I will wait for you x)
Code:
<!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="/app/tpl/skins/{skin}/styles/client.css" type="text/css">
      
        <script type="text/javascript" src="/app/tpl/skins/{skin}/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" : "{server_ip}",
                "connection.info.port" : "{server_port}",
                "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}",
                "external.texts.txt" : "{external_texts}",
                "productdata.load.url" : "{product_data}",
                "furnidata.load.url" : "{furni_data}",
                "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>
  
        <div id="client"></div>
  
    </body>
</html>

Try using that client.php. Just download another skin and get swfobject.js and client.css, those are the 2 files you need. Try the client this way. If it still doesn't work I'll try assisting you further, I think that the client.php you're using is the problem. Try using this. :)
 
Status
Not open for further replies.

Users who are viewing this thread

Top