DeltaCMS 1.2 Client Fix.

Page 1 of 2 12 LastLast
Results 1 to 25 of 34
  1. #1
    IT-Developer djboetz is offline
    MemberRank
    Aug 2010 Join Date
    SwedenLocation
    210Posts

    information DeltaCMS 1.2 Client Fix.

    Hello,
    I saw some people of RaGEZONE getting the client problem with DeltaCMS.

    So here is the fix, Replace client.php codes with this code and edit it to your SWFs. WARNING: ONLY "http://www.effecthotel.com" LINKS in client.php

    <?php
    $index = true;
    include('core/global.php');

    if(!isset($_SESSION['username'])){ header("Location: $site/index.php"); exit; }

    $ticket = $core->SSO();
    if(user(account_id) !== '-'){
    mysql_query("UPDATE users SET auth_ticket = '".$ticket."', ip_last = '".$remoteip."', account_id = '".user(id)."' WHERE id = '".user(id)."'");
    } else {
    mysql_query("UPDATE users SET auth_ticket = '".$ticket."', ip_last = '".$remoteip."' WHERE id = '".user(id)."'");
    }
    ?>
    <!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" xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://www.facebook.com/2008/fbml">
    <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <title><?php echo $sitename." Hotel: Client"; ?></title>

    <script type="text/javascript">
    var andSoItBegins = (new Date()).getTime();
    </script>
    <link rel="stylesheet" href="http://images.habbo.com/habboweb/<?php echo $WebBuild; ?>/web-gallery/static/styles/common.css" type="text/css" />
    <link rel="stylesheet" href="<?php echo $site; ?>/Public/client/Style/habboflashclient.css" type="text/css" />

    <script src="<?php echo $site; ?>/Public/client/JS/habbo.js" type="text/javascript"></script>

    <script type="text/javascript">
    document.habboLoggedIn = true;
    var habboName = "<?php echo X($_SESSION['username']); ?>";
    var habboReqPath = "<?php echo $site; ?>";
    var habboStaticFilePath = "http://images.habbo.com/habboweb/<?php echo $WebBuild; ?>/web-gallery";
    var habboImagerUrl = "http://www.habbo.com/habbo-imaging/";
    var habboPartner = "";
    var habboDefaultClientPopupUrl = "<?php echo $site; ?>/client";
    window.name = "ClientWndw";
    if (typeof HabboClient != "undefined") { HabboClient.windowName = "ClientWndw"; }
    </script>


    <script src="<?php echo $site; ?>/Public/client/JS/habboflashclient.js" type="text/javascript"></script>

    <script src="<?php echo $site; ?>/Public/client/JS/identity.js" type="text/javascript"></script>

    <script type="text/javascript">
    var jjLoader = {
    'maxStep': 0,
    'currentStep': 1,
    'isInit': false,
    'interval': null,
    'init': function(_wrapperId, _maxStep, _imageUrl, _backgroundUrl){
    jjLoader.maxStep = _maxStep;

    var wrapper = document.getElementById(_wrapperId);

    wrapper.innerHTML += '<div id="wrapperLoader" style="background: #000000 url('+_backgroundUrl+') center no-repeat; position: absolute; z-index: 9999999; width: 100%; height: 100%;">'+
    '<div style="width: 240px; height: 125px; padding: 5px; border-radius: 10px; background: rgba(0, 0, 0, 0.7) url('+_imageUrl+') center 15px no-repeat; position: absolute; left: 50%; top: 50%; margin-top: -65px; margin-left: -125px;">'+
    '<div id="wrapperLoaderText" style="margin-top: 60px; margin-bottom: 10px; text-align: center; font-family: Arial; color: #FFFFFF; font-size: 10px;">Bussy with booting up your hotel! 0%</div>'+
    '<div style="border-radius: 1px; border: 1px solid #FFFFFF; background-color: rgba(0, 0, 0, 0.6); padding: 1px; margin-left: 20px; width: 200px; height: 17px">'+
    '<div id="wrapperLoaderProgress" style="background-color: #8CA1AD; height: 17px; width: 0;">'+
    '<div style="background-color: #BACAD3; height: 9px; width: 100%;">'+
    '</div></div></div></div>';

    jjLoader.interval = window.setInterval(jjLoader.IntervalUpdate, 10);

    jjLoader.isInit = true;
    return true;
    },
    'progressNow': 0,
    'progress': 0,
    'IntervalUpdate': function(){
    if (jjLoader.progressNow >= jjLoader.progress || jjLoader.progressNow >= 100)
    {
    return;
    }

    jjLoader.progressNow += 2;

    var wrapperLoaderProgress = document.getElementById('wrapperLoaderProgress');
    wrapperLoaderProgress.style.width = jjLoader.progressNow +'%';
    },
    'doUpdate': function(_text){
    if (!jjLoader.isInit)
    {
    return false;
    }

    jjLoader.currentStep++;
    jjLoader.progress = Math.round((100 / jjLoader.maxStep) *jjLoader.currentStep);

    if (jjLoader.progress > 100)
    {
    jjLoader.progress = 100;
    }

    jjLoader.updateText(_text);

    return true;
    },
    'updateText': function(_text){
    if (!jjLoader.isInit)
    {
    return false;
    }

    var text = '';
    if (jjLoader.progress > 0 && jjLoader.progress < 100)
    {
    text = "<?php echo $sitename; ?> is loading..";
    }

    else if (jjLoader.progress > 99 && jjLoader.progress < 101)
    {
    text = "Welcome to <?php echo $sitename; ?>!";
    }

    var wrapperLoaderText = document.getElementById('wrapperLoaderText');
    wrapperLoaderText.innerHTML = text+' '+jjLoader.progress+'%';

    return true;
    },
    'finish': function(){
    if (!jjLoader.isInit)
    {
    return false;
    }

    var wrapperLoader = document.getElementById('wrapperLoader');
    wrapperLoader.parentNode.removeChild(wrapperLoader);

    window.clearInterval(jjLoader.interval);

    return true;
    }
    };
    </script>

    <script type="text/javascript">
    FlashExternalInterface.loginLogEnabled = false;
    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" : "178.18.246.18",
    "connection.info.port" : "30000",
    "site.url" : "<?php echo $site; ?>",
    "url.prefix" : "<?php echo $site; ?>",
    "client.reload.url" : "<?php echo $site; ?>/client",
    "client.fatal.error.url" : "<?php echo $site; ?>/client",
    "client.connection.failed.url" : "<?php echo $site; ?>/client",
    "external.variables.txt" : "http://www.effecthotel.com/r63/external_variables.txt",
    "use.sso.ticket" : "1",
    "sso.ticket" : "<?php echo $ticket; ?>",
    "account_id" : "<?php echo user(id); ?>",
    "processlog.enabled" : "1",
    "client.starting" : "<?php echo $sitename; ?> is starting up..",
    "flash.client.url" : "http://www.effecthotel.com/r63/",
    "user.hash" : "31385693ae558a03d28fc720be6b41cb1ccfec02",
    "has.identity" : "1",
    "flash.client.origin" : "popup",
    "token" : "<?php echo $ticket ?>",
    "logout.disconnect.url" : "<?php echo $site; ?>/client",
    "logout.url" : "<?php echo $site; ?>/me",
    };
    var params = {
    "base" : "http://www.effecthotel.com/r63/",
    "allowScriptAccess" : "always",
    "menu" : "false",
    "bgcolor" : "#000",
    "wmode" : "transparent"
    };

    if (!(HabbletLoader.needsFlashKbWorkaround())) {
    params["wmode"] = "opaque";
    }

    FlashExternalInterface.signoutUrl = "<?php echo $site; ?>/logout";

    var clientUrl = "http://www.effecthotel.com/r63/Habbo.swf";

    swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "http://images.habbo.com/habboweb/<?php echo $WebBuild; ?>/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>

    <!--[if IE 8]>
    <link rel="stylesheet" href="http://images.habbo.com/habboweb/<?php echo $WebBuild; ?>/web-gallery/static/styles/ie8.css" type="text/css" />
    <![endif]-->

    <!--[if lt IE 8]>
    <link rel="stylesheet" href="http://images.habbo.com/habboweb/<?php echo $WebBuild; ?>/web-gallery/static/styles/ie.css" type="text/css" />
    <![endif]-->
    <!--[if lt IE 7]>
    <link rel="stylesheet" href="http://images.habbo.com/habboweb/<?php echo $WebBuild; ?>/web-gallery/static/styles/ie6.css" type="text/css" />
    <script src="http://images.habbo.com/habboweb/<?php echo $WebBuild; ?>/web-gallery/static/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(/js/csshover.htc); }
    </style>
    <![endif]-->

    </head>

    <body id="client" class="flashclient" style="background-color: #000;">

    <script type="text/javascript">
    jjLoader.init('client', 6, '<?php echo $site; ?>/style/Habbo/CSS/Images/logo.gif', 'http://habbo.hs.llnwd.net/c_images/hotel_view_images_hq/hotelview_xmas10_000.png');
    </script>

    <div id="overlay"></div>
    <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 install Adobe Flash Player.</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/<?php echo $WebBuild; ?>/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="<?php echo $site; ?>/client">click here</a></p>
    </div>
    </noscript>
    </div>

    </div>
    <div id="content" class="client-content"></div>
    </div>

    </body>
    </html>
    Last edited by djboetz; 20-02-12 at 10:22 PM.


  2. #2
    Member Bundai is offline
    MemberRank
    Feb 2012 Join Date
    NetherlandsLocation
    55Posts
    Hmm.
    What is wrong with the basic client of v1.2?
    It works fine for me.

  3. #3
    Valued Member AmirZ is offline
    MemberRank
    Jan 2012 Join Date
    128Posts

    Re: DeltaCMS 1.2 Client Fix.

    "connection.info.host" : "178.18.246.18",
    -.-" You just changed it to your own ip ;s

  4. #4
    IT-Developer djboetz is offline
    MemberRank
    Aug 2010 Join Date
    SwedenLocation
    210Posts

    Re: DeltaCMS 1.2 Client Fix.

    Yes, That's how it works.

    Let me tell you what's wrong with your coding, It's old.
    There is no more SWF Path Settings and Habbo.SWF Path in Standard Phoenix 3.5.7-3.7.1 Databases. It was made by some guys that could help to make the things easier.

    So i recommend to use this one, Edit the IP and the URLS that is with Effect - Make friends, join the fun, get noticed! to your SWFs path and it should work fine, If it doesn't. Then there is some problems with your SWFs or anything else. Not the CMS!

    Btw, I respect you 100% azaidi for your work but i am just trying to help.
    I hope you understand :)

    Best Regards,
    Deejay Boetz

  5. #5
    Enthusiast StompF0cker is offline
    MemberRank
    Feb 2012 Join Date
    47Posts

    Re: DeltaCMS 1.2 Client Fix.


  6. #6
    IT-Developer djboetz is offline
    MemberRank
    Aug 2010 Join Date
    SwedenLocation
    210Posts

    information Re: DeltaCMS 1.2 Client Fix.

    Quote Originally Posted by StompF0cker View Post
    Then there is some problems with your SWFs or anything else. Not the CMS!

  7. #7
    Ask me about Daoism FullmetalPride is offline
    MemberRank
    Nov 2010 Join Date
    2,172Posts

    Re: DeltaCMS 1.2 Client Fix.

    Quote Originally Posted by StompF0cker View Post
    You have to use the PhoenixDB AND the LATEST release of DeltaCMS (1.2)

  8. #8
    I don't even know azaidi is offline
    MemberRank
    Apr 2010 Join Date
    the NetherlandsLocation
    2,065Posts

    Re: DeltaCMS 1.2 Client Fix.

    And use a working users table :O

  9. #9
    Banned V for Vendetta is offline
    BannedRank
    Feb 2007 Join Date
    1,809Posts

    Re: DeltaCMS 1.2 Client Fix.

    stuck on 100% with this one

  10. #10
    Valued Member ipod500 is offline
    MemberRank
    Dec 2007 Join Date
    118Posts

    Re: DeltaCMS 1.2 Client Fix.

    this client solved my game loading problem :) now it works fine :P also Spruitje make sure you replace all the [quote]http://www. effecthotel .com/] join the fun, get noticed!/quote] urls in client file with your domain without space ;)

  11. #11
    I don't even know azaidi is offline
    MemberRank
    Apr 2010 Join Date
    the NetherlandsLocation
    2,065Posts

    Re: DeltaCMS 1.2 Client Fix.

    "connection.info.host" : "178.18.246.18",

    Edit that for stuck at 100% problem.

  12. #12
    Banned V for Vendetta is offline
    BannedRank
    Feb 2007 Join Date
    1,809Posts

    Re: DeltaCMS 1.2 Client Fix.

    done that wont work check out my tread in help furter details

  13. #13
    IT-Developer djboetz is offline
    MemberRank
    Aug 2010 Join Date
    SwedenLocation
    210Posts

    information Re: DeltaCMS 1.2 Client Fix.

    Quote Originally Posted by azaidi View Post
    "connection.info.host" : "178.18.246.18",

    Edit that for stuck at 100% problem.
    Yes, It's recommended to edit it to your VPS there you host your Emulator.

    Quote Originally Posted by spruitje View Post
    done that wont work check out my tread in help furter details
    That will work, I tried some other SWF's, it didn't work but i tried my special made SWFs and it did work.

    Should i release my nice SWFs? not yet..

  14. #14
    Apprentice 2Nid2 is offline
    MemberRank
    Feb 2012 Join Date
    FranceLocation
    20Posts

    Re: DeltaCMS 1.2 Client Fix.

    Use [code]

  15. #15
    Banned V for Vendetta is offline
    BannedRank
    Feb 2007 Join Date
    1,809Posts

    Re: DeltaCMS 1.2 Client Fix.

    so my swf are not good??

  16. #16
    IT-Developer djboetz is offline
    MemberRank
    Aug 2010 Join Date
    SwedenLocation
    210Posts

    information Re: DeltaCMS 1.2 Client Fix.

    Quote Originally Posted by spruitje View Post
    so my swf are not good??
    No, try to use Tristan's one at O-t-a-k-u.

  17. #17
    Banned V for Vendetta is offline
    BannedRank
    Feb 2007 Join Date
    1,809Posts

    Re: DeltaCMS 1.2 Client Fix.

    o-t-a-k-u sux

  18. #18
    IT-Developer djboetz is offline
    MemberRank
    Aug 2010 Join Date
    SwedenLocation
    210Posts

    information Re: DeltaCMS 1.2 Client Fix.

    Quote Originally Posted by spruitje View Post
    o-t-a-k-u sux
    SWFs is not about O-t-a-k-u and be happy that you got an Professional Emulator. Let me give you the link for the r63 SWFs.

    Included: Full c_images and up to date furni.

    r63.rar

    New clothes : new clothes.rar

    Password to unlock the rar on mediafire is o-t-a-k-u - s-t-u-d-ios

    Without the " - " Let it be only at the middle. As you see, space and - and space. Delete the two spaces.

  19. #19
    Banned V for Vendetta is offline
    BannedRank
    Feb 2007 Join Date
    1,809Posts

    Re: DeltaCMS 1.2 Client Fix.

    Nice ty ill hope it will work
    ill let you know

  20. #20
    RageZone Nab:) RafiGinat is offline
    MemberRank
    Apr 2005 Join Date
    israelLocation
    303Posts

    Re: DeltaCMS 1.2 Client Fix.

    Quote Originally Posted by djboetz View Post
    SWFs is not about O-t-a-k-u and be happy that you got an Professional Emulator. Let me give you the link for the r63 SWFs.

    Included: Full c_images and up to date furni.

    r63.rar

    New clothes : new clothes.rar

    Password to unlock the rar on mediafire is o-t-a-k-u - s-t-u-d-ios

    Without the " - " Let it be only at the middle. As you see, space and - and space. Delete the two spaces.
    Thank you for these swf's
    but when i go to myip/client its reloading it infinitely and nothing happens.

    can you share your fully configured db as well?

    apreciate :)

  21. #21
    Member CobraSnip is offline
    MemberRank
    Apr 2011 Join Date
    BlackburnLocation
    60Posts

    Re: DeltaCMS 1.2 Client Fix.

    djboetz, please release your edit of Delta since, when i try to remove me.old.php it causes errors.

  22. #22
    Banned V for Vendetta is offline
    BannedRank
    Feb 2007 Join Date
    1,809Posts

    Re: DeltaCMS 1.2 Client Fix.

    used your swfs now
    and now it goes to 100% back to 0% and so on and so on

  23. #23
    RageZone Nab:) RafiGinat is offline
    MemberRank
    Apr 2005 Join Date
    israelLocation
    303Posts

    Re: DeltaCMS 1.2 Client Fix.

    Quote Originally Posted by spruitje View Post
    used your swfs now
    and now it goes to 100% back to 0% and so on and so on
    same here.

    guess we need to have a currect DB to sync with Phoenix 3.7.1 and this cms.


    Edit:
    For some weird reason i managed to login to my user and after couple of seconds my user dropped.

    says on the emulator : "Connection Dropped [0] from [ my ip address ]"

  24. #24
    Banned V for Vendetta is offline
    BannedRank
    Feb 2007 Join Date
    1,809Posts

    Re: DeltaCMS 1.2 Client Fix.

    ppff someone help us please??

  25. #25
    RageZone Nab:) RafiGinat is offline
    MemberRank
    Apr 2005 Join Date
    israelLocation
    303Posts

    Re: DeltaCMS 1.2 Client Fix.

    I guess no one understands our problem.

    Were using "Phoenix 3.7.1 build 13800 Cracked".

    The CMS is DeltaCMS 1.2 Fixed by djboetz

    The SWF's are these :
    Quote Originally Posted by djboetz View Post
    SWFs is not about O-t-a-k-u and be happy that you got an Professional Emulator. Let me give you the link for the r63 SWFs.

    Included: Full c_images and up to date furni.

    r63.rar

    New clothes : new clothes.rar

    Password to unlock the rar on mediafire is o-t-a-k-u - s-t-u-d-ios

    Without the " - " Let it be only at the middle. As you see, space and - and space. Delete the two spaces.

    Symptoms : Pheonix load's successfully , CMS works.

    When "Enter Hotel" it loads the SWF's , Load's the hotel view , connecting with the user and after couple of seconds it disconnects and drops an error on the Emulator : "Connection Dropped [0] from [ my ip address ]"

    What's the problem? what's wrong here? the DB? the CMS? the SWF's ? can someone share WORKING DB / CMS that matches "Phoenix 3.7.1 build 13800 Cracked"?

    Appreciate very much , tryed to be as much specific as i can.
    because i'm going C-R-A-Z-Y!



Page 1 of 2 12 LastLast

Advertisement