R63A Client custom CMS

Results 1 to 12 of 12
  1. #1
    Proficient Member retrostudios is offline
    MemberRank
    Apr 2013 Join Date
    158Posts

    R63A Client custom CMS

    Hello users of ragezone,

    I have a custom CMS it accepts Butterfly SSO but not orignal phoenix SSO which my CUSTOM emulaotr uses when I used GoldTreeEmulator it connected (P.S. I do not use GTE for public I just used to test!) So I have no idea why it isn't working

    Edit: It gets connection to the Emulator and yes the swfs work!
    Last edited by retrostudios; 21-09-14 at 07:49 PM.


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

    Re: R63A Client custom CMS

    I don't think you're going to get much help without sharing the code really. Is there not a way to disable SSO altogether?

  3. #3
    Proficient Member retrostudios is offline
    MemberRank
    Apr 2013 Join Date
    158Posts

    Re: R63A Client custom CMS

    Don't you need sso?

    Edit:

    Client php

    PHP Code:
    <?php
    $this
    ->AddCSS('/web-gallery/v2/styles/common.css');


    $this->AddJS('/web-gallery/v2/js/libs2.js');
    $this->AddJS('/web-gallery/v2/js/visual.js');
    $this->AddJS('/web-gallery/v2/js/libs.js');
    $this->AddJS('/web-gallery/v2/js/common.js');


    $this->AddCSS('/web-gallery/static/styles/process.css');
    $this->AddCSS('/web-gallery/static/styles/habboflashclient.css');
    $this->AddJS('/web-gallery/static/js/habboflashclient.js');


    $SSO Site::RandomMD5(33serialize(Users::$Session->Data));


    Users::$Session->Update('auth_ticket'$SSO);
    Users::$Session->Update('ip_last'RemoteIp);


    $this->Define('SSO'$SSO);
    $this->Define('Hash''-');


    $this->DefineArray('Emu'$EmuData);
    $this->DefineArray('Client'$ClientData);


    $this->Body['id'] = 'client';
    $this->Body['class'] = 'flashclient';


    $this->LoadTpl('Client-Body');


    $this->Write('<script type="text/javascript">');


        
    $this->Write('HabboView.run();');


    $this->Write('</script>');
    ?>
    Client TPL
    PHP Code:
    <script type="text/javascript"> 
    var andSoItBegins = (new Date()).getTime();
    var ad_keywords = "";
    document.habboLoggedIn = true;
    var habboName = "$Username";
    var habboReqPath = "/";
    var habboStaticFilePath = "/web-gallery/";
    var habboImagerUrl = "http://www.habbo.nl/habbo-imaging/";
    var habboPartner = "";
    var habboDefaultClientPopupUrl = "/play";
    window.name = "habboMain";


    FlashExternalInterface.loginLogEnabled = true;
    FlashExternalInterface.logLoginStep("web.view.start");
        
    if (top == self)
    {
        FlashHabboClient.cacheCheck();
    }


    var flashvars = {
        "client.allow.cross.domain" : "1",
        "client.notify.cross.domain" : "1",
        "connection.info.host" : "MY-IP-GOES-HERE",
        "connection.info.port" : "PORT",
        "site.url" : "http://url.com",
        "url.prefix" : "",
        "client.reload.url" : "/client",
        "client.fatal.error.url" : "/client/error",
        "client.connection.failed.url" : "/client/error",
        "external.variables.txt" : "http://url.com/swfs/external_variables.txt",
        "external.texts.txt" : "http://url.com/swfs/external_flash_texts.txt",
        "productdata.load.url" : "http://url.com/swfs/productdata.txt", 
        "furnidata.load.url" : "http://url.com/swfs/furnidata.txt",
        "use.sso.ticket" : "1",
        "sso.ticket" : "$SSO",
        "processlog.enabled" : "1",
        "account_id" : "$User_id",
        "client.starting" : "$Username we are currently loading content needed to load!...",
        "flash.client.url" : "/client",
        "user.hash" : "<?php echo sha1(USER_ID); ?>",
        "flash.client.origin" : "popup"
    };


    var params = {
        "base" : "http://url.com/swfs/",
        "allowScriptAccess" : "always",
        "menu" : "false"                
    };
        
    if (!(HabbletLoader.needsFlashKbWorkaround()))
    {
            params["wmode"] = "opaque";
    }
        
    swfobject.embedSWF("http://url.com/SWF.swf", "flash-container", "100%", "100%", "10.0.0", "/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>
            <script type="text/javascript">
                $('content').show();
            </script>
        </div>
        </div>
        <div id="content" class="client-content"></div>            
    </div>
    Last edited by retrostudios; 22-09-14 at 05:36 AM.

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

    Re: R63A Client custom CMS

    The 'auth_ticket' field is definitely the field that the emulator uses, right? I thought the SSO field was just 'ticket', or even 'sso_ticket'. Hopefully someone else can help you with the matter however if this is not the case.

  5. #5
    Proficient Member retrostudios is offline
    MemberRank
    Apr 2013 Join Date
    158Posts

    Re: R63A Client custom CMS

    Its auth_ticket I bleelieve

    Edit; heres Users::$Session->Data function Random MD5



    public static function RandomMD5($Length, $Seed = '')
    {
    $Times = floor($Length / 45);
    $Hash = '';
    for ($i = 0; $i < $Times; $i++)
    {
    $Hash .= md5(sha1(microtime(true)).sha1($Seed));
    }


    return substr($Hash, 0, $Length);
    }
    Last edited by retrostudios; 22-09-14 at 04:09 AM. Reason: Added Function

  6. #6
    Proficient Member retrostudios is offline
    MemberRank
    Apr 2013 Join Date
    158Posts

    Re: R63A Client custom CMS

    Bump.....

  7. #7
    Legend donszeh is offline
    MemberRank
    Jul 2008 Join Date
    DutchLocation
    422Posts

    Re: R63A Client custom CMS

    Well, if it works with Butterfly but not with Phoenix. Try to change you're SSO ticket form butterfly to phoenix, i did the same with phoenixcf and mercury... it didn't accept the sso ticket from PhoenixCF. but i changed it to RevCMS sso ticket's and now it works:P

  8. #8
    Proficient Member retrostudios is offline
    MemberRank
    Apr 2013 Join Date
    158Posts

    Re: R63A Client custom CMS

    How do I do this?

  9. #9
    Proficient Member retrostudios is offline
    MemberRank
    Apr 2013 Join Date
    158Posts

    Re: R63A Client custom CMS

    Like bump any help

  10. #10
    Proficient Member retrostudios is offline
    MemberRank
    Apr 2013 Join Date
    158Posts

    Re: R63A Client custom CMS

    Still in need of help please

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

    Re: R63A Client custom CMS

    Just use a CMS that works with it, no one's going to help with a custom CMS as far as I can see.

  12. #12
    Proficient Member retrostudios is offline
    MemberRank
    Apr 2013 Join Date
    158Posts

    Re: R63A Client custom CMS

    Its BoostCMS edited



Advertisement