1. Tired of not being able to see links? Want to chat with other members? Need help?

Habbo Beta: Will we be able to rip it?

Discussion in 'Habbo Retros' started by Zephyrus, Nov 24, 2014.

Thread Status:
Not open for further replies.
  1. Zephyrus

    Zephyrus Wanderer

    It seems that the whole website is encrypted in an JS file, this makes it harder for the retro community to decode it or atleast try to get the source so we could use it for ourselves, well will anyone be able to get the legit code and use it?
     
  2. Sledmore

    Sledmore Chaturbate Livestreamer Staff Member

    It isn't encrypted. It's built with AngularJS (MVW Framework). It's extremely easy to code, I did it in about an hour or so.

    You can pretty much copy the exact way that Habbo do it themselves, with your own "API".
     
    Wassim, Drake and TraeRetros like this.
  3. Jaden

    Jaden endorphin addict

    Simply easy to grab the code stop viewing source so much :'(
    Thats a hint figure the rest our yourself
     
  4. Sledmore

    Sledmore Chaturbate Livestreamer Staff Member

    I have no idea what you just said.
     
  5. Jaden

    Jaden endorphin addict

    It was directed twards HabboDeveloper
    I told him not to use view source ;)
     
  6. LOLno

    LOLno #Believe #Peace #Hotel

    Inspect element?
     
  7. Sledmore

    Sledmore Chaturbate Livestreamer Staff Member

    Why should you not use view-source? :confused:
     
    Shatter likes this.
  8. Khalil

    Khalil Posting Freak

    Wherever there is a problem, there is a solution. Sulake are always trying to forbid retro makers/developers from ripping their work, and if they fail in doing such thing, they will try to make it harder for them to do so.

    This.
     
  9. Jaden

    Jaden endorphin addict

    Dammit Craig, HabboDeveloper rip it via inspect element gives you the full source.
     
  10. LOLno

    LOLno #Believe #Peace #Hotel

    That's what i said but NOOOOOOO.
     
  11. Sledmore

    Sledmore Chaturbate Livestreamer Staff Member

    Why would you do that? It's built on AngularJS.

    "AngularJS is what HTML would have been, had it been designed for building web-apps. Declarative templates with data-binding, MVW, MVVM, MVC, dependency injection and great testability story all implemented with pure client-side JavaScript!"

    Everything loads via the scripts file that Habbo uses. Do it properly like Habbo have to save yourself from have many files you do not need and ease of updating when they update.

    Go a head and Google "JavaScript beautifier" and use this "[ Want to see this link? Register ! ]" it'll make it readable and easy on the eye. All of the HTML is in there, all of the templates and channels.

    Code:
    ! function() {
      "use strict";
      angular.module("app", ["beta", "channel", "channels", "creation", "error", "home", "hotel", "me", "profile", "security", "selfies", "settings", "stories"])
    }(),
    function() {
      "use strict";
      var e = "https://www.habbo.com/habbo-imaging";
      angular.module("config", []).constant("CONFIG", {
      apiUrl: "/api",
      storiesUrl: "https://s3.amazonaws.com/habbo-stories/index.html",
      storiesApiUrl: "https://habbo-stories-api.herokuapp.com",
      badgeUrl: "https://habboo-a.akamaihd.net/c_images/album1584",
      imagingUrl: e,
      notificationsUpdateInterval: parseInt("10000", 10),
      hideDelay: 2e4
      }).constant("STORIES", {
      coverImg: "cover.png",
      previewImg: "preview.png",
      bannerImg: "banner.png",
      storyImg: "story-image.png"
      }).constant("FILES", {
      i18n: {
      en: "https://habboo-a.akamaihd.net/habbo-web/am/assets/angular-i18n/angular-locale_en.4e21e554.js"
      },
      l10n: {
      en: "https://habboo-a.akamaihd.net/habbo-web/am/assets/l10n/en.c8369364.json"
      }
      })
    }(), angular.module("templates", []).run(["$templateCache", function(e) {
      
    
    See? The main configuration. Do it properly.
     
    Wouto and Zodiak like this.
  12. Jaden

    Jaden endorphin addict

    Which way takes longer? Your traditional way or the one i just provided for him.
    No doubt i'm using that method though
     
  13. Sledmore

    Sledmore Chaturbate Livestreamer Staff Member

    Neither. As you only need one index file to load the dependencies and to have the session set in and the rest are within Habbos script file. The way I saw it from your suggestion of inspect element was creating additional pages, which isn't required. If that isn't what you meant, then my apologies, I just don't see the need of going down that road ^.^
     
    Zodiak likes this.
  14. Zodiak

    Zodiak MrZodiak - Programmer

    You don't inspect element to get the html, you view the source and code the needed API's, otherwise it's just going to be the style. Without the js/json it's pointless and not as unique.
     
  15. Drake

    Drake MORE LIFE

    Personally I only like the index the rest is err not really something I'd use. Its just my opinion.
     
  16. Zephyrus

    Zephyrus Wanderer

    I honestly think the whole site is pure shit, the old look is better. Habbo theme is way better then the BETA one.

    For some reason I doubt that BETA will have groups on the site or homes, or atleast without an editing option on the pages, they will probably loose members because of the look of the site. Ugh.
     
  17. Drake

    Drake MORE LIFE

    They will cause the windows switch between client and the home page its so annoying.
     
  18. Phanthomphax

    Phanthomphax New Member

    I'm the one who likes the new look of Habbo. Why?

    Fuck the timeline stuff btw. Everyone always hate new stuff. Like GTA V.
     
  19. GarettM

    GarettM Programmer

    Yes ripping the site is possible its just a little harder for people who don't understand how angularjs works

    Have you been able to locate the template files location? Not the index but the templateUrl locations?
     
Thread Status:
Not open for further replies.

Share This Page

Loading...