Client Help - Going Public

Results 1 to 19 of 19
  1. #1
    Entrepreneur & Investor chadderbox is offline
    MemberRank
    Jun 2008 Join Date
    Look Behind YouLocation
    2,229Posts

    Client Help - Going Public

    Hello!

    Currently, everything is working fine on my retro, and I can go on it, but no one else can.

    I have portforwarded the ports 80, 3306, 3000, and 3001 (EMU runs on 3000 and 3001) and I have port checked them and they are working fine. (I have all set as TCP)


    NOW HERE ARE MY CONFIGURATIONS:

    I have the emu configuration.ini set as this:
    Code:
    ## OTHER STUFF UP HERE ##
    
    ## Game TCP/IP Configurationgame.tcp.bindip=*myip*
    game.tcp.port=3000
    game.tcp.conlimit=11000
    game.tcp.conperip=100
    game.tcp.enablenagles=False
    
    
    ## MUS TCP/IP Configuration
    mus.tcp.bindip=*myip*
    mus.tcp.port=3001
    mus.tcp.allowedaddr=*myip*
    
    ## OTHER STUFF DOWN HERE ##
    That stuff should be all fine for going public, and I don't have those set as localhost, they currently work as my ACTUAL IP address.


    Where the problems come in are in my client.

    I currently have this set as config.php:

    Code:
    ## OTHER STUFF UP HERE ##
    
    $_CONFIG['hotel']['external_vars'] = 'http://localhost/swfs/external_variables.txt'; //External Vars [Don't edit]
    
    $_CONFIG['hotel']['external_texts'] = 'http://localhost/swfs/external_flash_texts.txt'; //External Flash Texts [Don't edit]
    
    
    $_CONFIG['hotel']['product_data'] = 'http://localhost/swfs/productdata.txt'; //Product Data [Don't edit]
    
    
    $_CONFIG['hotel']['furni_data'] = 'http://localhost/swfs/furnidata.txt'; //Furni Data [Don't edit]
    
    
    $_CONFIG['hotel']['swf_folder'] = 'http://localhost/swfs'; //SWF Folder [Don't edit]
    
    ## OTHER STUFF DOWN HERE ##

    AND THIS SET FOR client.php
    Code:
     ## OTHER STUFF UP HERE ##
    
       var flashvars = {            "client.allow.cross.domain" : "0", 
                "client.notify.cross.domain" : "1", 
                "connection.info.host" : "*myrealipaddress*",
                "connection.info.port" : "3000", 
                "site.url" : "{url}/", 
                "url.prefix" : "{url}/", 
                "client.reload.url" : "{url}/client", 
                "client.fatal.error.url" : "{url}/disconnected", 
                "client.connection.failed.url" : "{url}/disconnected", 
                "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", 
                "account_id" : "1", 
                "client.starting" : "Please wait! {hotelName} is starting up", 
                "flash.client.url" : "http://localhost/swfs/",
                "user.hash" : "31385693ae558a03d28fc720be6b41cb1ccfec02", 
                "has.identity" : "0", 
                "flash.client.origin" : "popup",
                "token" : "{sso}"
        };
        var params = {
            "base" : "http://localhost/swfs/",
            "allowScriptAccess" : "always",
            "menu" : "false"                
        };
        
        if (!(HabbletLoader.needsFlashKbWorkaround())) {
            params["wmode"] = "opaque";
        }
        
        var clientUrl = "http://localhost/swfs/habbo.swf";
    
    ## OTHER STUFF DOWN HERE ##
    Everything is working good on my local machine, but in order to go public, I need to get my SWF's available for everyone which means the URL as my ACTUAL IP address- NOT localhost, but when I change it to my real IP address, it times out and won't connect to my emulator. What is wrong?


  2. #2
    Gaby is offline
    MemberRank
    Apr 2013 Join Date
    Viva HollandiaLocation
    1,607Posts

    Re: Client Help - Going Public

    Can you explain what actually happens when you try to go in the client, does it load? Does it give an error? Does it stay on hotelview? Or is the habbo.swf not loading?

  3. #3
    Account Upgraded | Title Enabled! Bozzie is offline
    MemberRank
    Aug 2011 Join Date
    ur mumLocation
    275Posts

    Re: Client Help - Going Public

    On your vars and your config, change localhost to your ip or domain :)

  4. #4
    Gaby is offline
    MemberRank
    Apr 2013 Join Date
    Viva HollandiaLocation
    1,607Posts

    Re: Client Help - Going Public

    Quote Originally Posted by Bozzie View Post
    On your vars and your config, change localhost to your ip or domain :)

    "Everything is working good on my local machine, but in order to go public, I need to get my SWF's available for everyone which means the URL as my ACTUAL IP address- NOT localhost, but when I change it to my real IP address, it times out and won't connect to my emulator. What is wrong?"

  5. #5
    Entrepreneur & Investor chadderbox is offline
    MemberRank
    Jun 2008 Join Date
    Look Behind YouLocation
    2,229Posts

    Re: Client Help - Going Public

    Yes, it loads, it loads the swf and everything in the client, but then it times out and doesn't connect to the emulator.


    ps, it doesn't even load hotel view

  6. #6
    Habbo Section Kudzo is offline
    MemberRank
    Sep 2012 Join Date
    127.0.0.1Location
    358Posts

    Re: Client Help - Going Public

    Shouldn't the emu ports be 30000 and 30001...

  7. #7
    Entrepreneur & Investor chadderbox is offline
    MemberRank
    Jun 2008 Join Date
    Look Behind YouLocation
    2,229Posts

    Re: Client Help - Going Public

    That doesn't matter, they connect via localhost..

  8. #8
    Habbo Section Kudzo is offline
    MemberRank
    Sep 2012 Join Date
    127.0.0.1Location
    358Posts

    Re: Client Help - Going Public

    I'm on ports 30000 and 30001 and works like a charm...

  9. #9
    Gaby is offline
    MemberRank
    Apr 2013 Join Date
    Viva HollandiaLocation
    1,607Posts

    Re: Client Help - Going Public

    Quote Originally Posted by chadderbox View Post
    Yes, it loads, it loads the swf and everything in the client, but then it times out and doesn't connect to the emulator.


    ps, it doesn't even load hotel view
    Can you press F12 when the client loads and view the network tab, maybe it will give some errors that you'll have to fix. (when localhost is changed to your ip of course) :D

  10. #10
    Entrepreneur & Investor chadderbox is offline
    MemberRank
    Jun 2008 Join Date
    Look Behind YouLocation
    2,229Posts

    Re: Client Help - Going Public

    Okay so no errors come up. It loads the SWF and texts/variables fine. It just won't connect to the emulator this way.

    This is the only thing that happens in the emulator, then my browser times out:
    http://i.cubeupload.com/hK2Egq.png
    Last edited by chadderbox; 28-06-13 at 04:19 AM.

  11. #11
    Gaby is offline
    MemberRank
    Apr 2013 Join Date
    Viva HollandiaLocation
    1,607Posts

    Re: Client Help - Going Public

    Quote Originally Posted by chadderbox View Post
    Okay so no errors come up. It loads the SWF and texts/variables fine. It just won't connect to the emulator this way.

    This is the only thing that happens in the emulator, then my browser times out:
    http://i.cubeupload.com/hK2Egq.png
    So it actually is connecting, it's should be a swf problem then. Have you updated the content of your external_variables to your IP address?

  12. #12
    Valued Member vikingboy is offline
    MemberRank
    Jul 2012 Join Date
    110Posts

    Re: Client Help - Going Public

    Try this:

    changing banner.php to banner.png

  13. #13
    Entrepreneur & Investor chadderbox is offline
    MemberRank
    Jun 2008 Join Date
    Look Behind YouLocation
    2,229Posts

    Re: Client Help - Going Public

    @BassHotel yes I have. I am also using one of the latest SWF's but I'll try to get some other ones.

    @vikingboy This was already done on original swf package.

  14. #14
    Gaby is offline
    MemberRank
    Apr 2013 Join Date
    Viva HollandiaLocation
    1,607Posts

    Re: Client Help - Going Public

    Quote Originally Posted by chadderbox View Post
    @BassHotel yes I have. I am also using one of the latest SWF's but I'll try to get some other ones.

    @vikingboy This was already done on original swf package.
    Maybe I'm going to ask a stupid question now, but have you also opened the necessary ports in your firewall?

  15. #15
    Entrepreneur & Investor chadderbox is offline
    MemberRank
    Jun 2008 Join Date
    Look Behind YouLocation
    2,229Posts

    Re: Client Help - Going Public

    Yes, haha, I'm not a noob when it comes to that. I'm actually a network config'er'er lol. And yes, they're all stated to be open.

  16. #16
    Valued Member vikingboy is offline
    MemberRank
    Jul 2012 Join Date
    110Posts

    Re: Client Help - Going Public

    What happens when the users or you enter the hotel?

    Does it stay black?
    Do they go to a hotel view but nothing else shows?
    Do they go past the hotel view, and the only thing on the navigation bar is "Rooms, Me and Shop" (and shop doesnt work) but the background is still black?

    Elaborate

  17. #17
    Account Upgraded | Title Enabled! thegim is offline
    MemberRank
    Nov 2011 Join Date
    257Posts

    Re: Client Help - Going Public

    Quote Originally Posted by vikingboy View Post
    Try this:

    changing banner.php to banner.png
    That fixes the adblocker problem

  18. #18
    Entrepreneur & Investor chadderbox is offline
    MemberRank
    Jun 2008 Join Date
    Look Behind YouLocation
    2,229Posts

    Re: Client Help - Going Public

    @vikingboy

    When I enter client (when all swfs are set to localhost) everything loads fine. But when I change it from localhost, to my IP, I can't get in and neither can anyone else. The client loads (the loading bar) and it gets to 100%, and then it just stays black until it times out.

    I've already said this many times :/

  19. #19
    Proficient Member owot is offline
    MemberRank
    Jun 2010 Join Date
    185Posts

    Re: Client Help - Going Public

    Quote Originally Posted by Kudzo View Post
    Shouldn't the emu ports be 30000 and 30001...
    No? They're just default ports that uberemu uses.



Advertisement