New Catalog Issue

Core

Member
Nov 10, 2016
356
138
I have made a tool which rips habbo's catalog exactly (catalog ids, strings, captions, order, etc). But after inserting the data into the database I have experienced several issues. I am aware that pages which are not enabled are given the id of -1. So ignore the public_id in the table screen shots as this was just to see what habbo outputted.

d20936f00beb4d3c96bd0df3f270ad15.png


The low id's in the primary field are generated automatically by the tool to supplement the -1 ID which habbo outputs. I still send -1 as the ID in CatalogIndexComposer. The reason for the id's not being one is so that I can structure parent_id's etc as can't point all pages to -1 so still need a primary column.

The issues which I have come across are;
  • Clothing, Pets and Memberships all show the sub pages from Furni ( )
  • The items in the root category are indented ( )

Here you can see how the emulator is reading the pages;

Code:
 Front Page [675095] SubItems: 0
Furni [1] SubItems: 16
        Furni [1] -> Credit Furni [675098] SubItems: 0
        Furni [1] -> Room Bundles [2] SubItems: 6
                Furni [1] -> Room Bundles [2] -> Common Room Bundle [675134] SubItems: 0
                Furni [1] -> Room Bundles [2] -> Kitten's Cosy Kitchen Habitat Bundl [675135] SubItems: 0
                Furni [1] -> Room Bundles [2] -> Polar Bear Habitat Bundle [675136] SubItems: 0
                Furni [1] -> Room Bundles [2] -> Piglet Pen Habitat Bundle [675137] SubItems: 0
                Furni [1] -> Room Bundles [2] -> Puppy's Paradise Habitat Bundle [675138] SubItems: 0
                Furni [1] -> Room Bundles [2] -> Terrier in a Tower Habitat Bundle [675139] SubItems: 0
        Furni [1] -> Room Event [675141] SubItems: 0
        Furni [1] -> Christmas Citadel Furni [675142] SubItems: 0
        Furni [1] -> Xmas Comeback [675144] SubItems: 0
        Furni [1] -> Indoor Furni [3] SubItems: 12
                Furni [1] -> Indoor Furni [3] -> Top Picks [675146] SubItems: 0
                Furni [1] -> Indoor Furni [3] -> Seating [675147] SubItems: 0
                Furni [1] -> Indoor Furni [3] -> Tables [675148] SubItems: 0
                Furni [1] -> Indoor Furni [3] -> Beds [675149] SubItems: 0
                Furni [1] -> Indoor Furni [3] -> Dividers [675150] SubItems: 0
                Furni [1] -> Indoor Furni [3] -> Lighting [675151] SubItems: 0
                Furni [1] -> Indoor Furni [3] -> Wall decorations [675152] SubItems: 0
                Furni [1] -> Indoor Furni [3] -> Teleports [675153] SubItems: 0
                Furni [1] -> Indoor Furni [3] -> Rollers [675154] SubItems: 0
                Furni [1] -> Indoor Furni [3] -> Badge Display [675155] SubItems: 0
                Furni [1] -> Indoor Furni [3] -> Tents [675156] SubItems: 0
                Furni [1] -> Indoor Furni [3] -> Trophies [675157] SubItems: 0
        Furni [1] -> Room Building [4] SubItems: 8
                Furni [1] -> Room Building [4] -> Top Picks [675159] SubItems: 0
                Furni [1] -> Room Building [4] -> Floors [675160] SubItems: 0
                Furni [1] -> Room Building [4] -> Walls [675161] SubItems: 0
                Furni [1] -> Room Building [4] -> Carpets [675162] SubItems: 0
                Furni [1] -> Room Building [4] -> Doors [675163] SubItems: 0
                Furni [1] -> Room Building [4] -> Teleports [675164] SubItems: 0
                Furni [1] -> Room Building [4] -> Windows [675165] SubItems: 0
                Furni [1] -> Room Building [4] -> Spaces [675166] SubItems: 0
        Furni [1] -> Outdoor Furni [5] SubItems: 5
                Furni [1] -> Outdoor Furni [5] -> Top Picks [675168] SubItems: 0
                Furni [1] -> Outdoor Furni [5] -> Vegetation [675169] SubItems: 0
                Furni [1] -> Outdoor Furni [5] -> Water Features [675170] SubItems: 0
                Furni [1] -> Outdoor Furni [5] -> Ground [675171] SubItems: 0
                Furni [1] -> Outdoor Furni [5] -> Backgrounds [675172] SubItems: 0
        Furni [1] -> Furni By Line [6] SubItems: 19
                Furni [1] -> Furni By Line [6] -> Top Picks [675174] SubItems: 0
                Furni [1] -> Furni By Line [6] -> Accessories [675175] SubItems: 0
                Furni [1] -> Furni By Line [6] -> Anna [675179] SubItems: 0
                Furni [1] -> Furni By Line [6] -> Base [675184] SubItems: 0
                Furni [1] -> Furni By Line [6] -> Bathroom [675185] SubItems: 0
                Furni [1] -> Furni By Line [6] -> Country [675193] SubItems: 0
                Furni [1] -> Furni By Line [6] -> Cubie [675194] SubItems: 0
                Furni [1] -> Furni By Line [6] -> Diner [675195] SubItems: 0
                Furni [1] -> Furni By Line [6] -> Gardening [675198] SubItems: 0
                Furni [1] -> Furni By Line [6] -> Habbo University [675205] SubItems: 0
                Furni [1] -> Furni By Line [6] -> Health Spa [675206] SubItems: 0
                Furni [1] -> Furni By Line [6] -> Iced [675207] SubItems: 0
                Furni [1] -> Furni By Line [6] -> Kitchen [675212] SubItems: 0
                Furni [1] -> Furni By Line [6] -> Lodge [675214] SubItems: 0
                Furni [1] -> Furni By Line [6] -> Mode [675217] SubItems: 0
                Furni [1] -> Furni By Line [6] -> Neon [675220] SubItems: 0
                Furni [1] -> Furni By Line [6] -> Pool [675225] SubItems: 0
                Furni [1] -> Furni By Line [6] -> Pura [675227] SubItems: 0
                Furni [1] -> Furni By Line [6] -> USVA [675241] SubItems: 0
        Furni [1] -> Habbo Club [7] SubItems: 3
                Furni [1] -> Habbo Club [7] -> Club Gifts [675247] SubItems: 0
                Furni [1] -> Habbo Club [7] -> HC Furni [675248] SubItems: 0
                Furni [1] -> Habbo Club [7] -> Custom Rooms [675249] SubItems: 0
        Furni [1] -> Wired [8] SubItems: 8
                Furni [1] -> Wired [8] -> Top Picks [675251] SubItems: 0
                Furni [1] -> Wired [8] -> Deals [675252] SubItems: 0
                Furni [1] -> Wired [8] -> Triggers [675253] SubItems: 0
                Furni [1] -> Wired [8] -> Effects [675254] SubItems: 0
                Furni [1] -> Wired [8] -> Conditions [675255] SubItems: 0
                Furni [1] -> Wired [8] -> Add-Ons [675256] SubItems: 0
                Furni [1] -> Wired [8] -> Sound FX [675257] SubItems: 0
                Furni [1] -> Wired [8] -> Leaderboards [675258] SubItems: 0
        Furni [1] -> Bots [675259] SubItems: 0
        Furni [1] -> Game Shop [9] SubItems: 10
                Furni [1] -> Game Shop [9] -> Top Picks [675261] SubItems: 0
                Furni [1] -> Game Shop [9] -> How To Play Banzai [675262] SubItems: 0
                Furni [1] -> Game Shop [9] -> Battle Banzai [675263] SubItems: 0
                Furni [1] -> Game Shop [9] -> How To Play Freeze! [675264] SubItems: 0
                Furni [1] -> Game Shop [9] -> Freeze! [675265] SubItems: 0
                Furni [1] -> Game Shop [9] -> Football [675266] SubItems: 0
                Furni [1] -> Game Shop [9] -> Snowboarding [675267] SubItems: 0
                Furni [1] -> Game Shop [9] -> Ice Hockey [675268] SubItems: 0
                Furni [1] -> Game Shop [9] -> Rollerskating [675269] SubItems: 0
                Furni [1] -> Game Shop [9] -> Ice Tag [675270] SubItems: 0
        Furni [1] -> Habbo Groups [675271] SubItems: 2
                Furni [1] -> Habbo Groups [675271] -> Group Furni [675272] SubItems: 0
                Furni [1] -> Habbo Groups [675271] -> Groups Forums [675273] SubItems: 0
        Furni [1] -> Music Shop [675274] SubItems: 1
                Furni [1] -> Music Shop [675274] -> Habbo Hotel Hits [675275] SubItems: 0
        Furni [1] -> Marketplace [675276] SubItems: 2
                Furni [1] -> Marketplace [675276] -> My Sales [675277] SubItems: 0
                Furni [1] -> Marketplace [675276] -> Offers [675278] SubItems: 0
Clothing [10] SubItems: 14
        Clothing [10] -> Top Picks [675281] SubItems: 0
        Clothing [10] -> New Additions [675282] SubItems: 0
        Clothing [10] -> Outfits [675283] SubItems: 0
        Clothing [10] -> Hairdos [675284] SubItems: 0
        Clothing [10] -> Hats [675285] SubItems: 0
        Clothing [10] -> Accessories [675286] SubItems: 0
        Clothing [10] -> Dresses [675287] SubItems: 0
        Clothing [10] -> Shirts [675288] SubItems: 0
        Clothing [10] -> Jackets [675289] SubItems: 0
        Clothing [10] -> Trousers [675290] SubItems: 0
        Clothing [10] -> Skirts [675291] SubItems: 0
        Clothing [10] -> Shoes [675292] SubItems: 0
        Clothing [10] -> Effects [675293] SubItems: 0
        Clothing [10] -> Temporary Effects [675294] SubItems: 0
Pets [11] SubItems: 5
        Pets [11] -> Pet Animals [675296] SubItems: 16
                Pets [11] -> Pet Animals [675296] -> Pet Horse [675297] SubItems: 0
                Pets [11] -> Pet Animals [675296] -> Pet Monkey [675298] SubItems: 0
                Pets [11] -> Pet Animals [675296] -> Velociraptor Pet [675299] SubItems: 0
                Pets [11] -> Pet Animals [675296] -> Pterodactyl Pet [675300] SubItems: 0
                Pets [11] -> Pet Animals [675296] -> Bears [675301] SubItems: 0
                Pets [11] -> Pet Animals [675296] -> Dragons [675302] SubItems: 0
                Pets [11] -> Pet Animals [675296] -> Terriers [675303] SubItems: 0
                Pets [11] -> Pet Animals [675296] -> Lion [675304] SubItems: 0
                Pets [11] -> Pet Animals [675296] -> Turtles [675305] SubItems: 0
                Pets [11] -> Pet Animals [675296] -> Crocs [675306] SubItems: 0
                Pets [11] -> Pet Animals [675296] -> Rhino [675307] SubItems: 0
                Pets [11] -> Pet Animals [675296] -> Spider [675308] SubItems: 0
                Pets [11] -> Pet Animals [675296] -> Dogs [675309] SubItems: 0
                Pets [11] -> Pet Animals [675296] -> Cats [675310] SubItems: 0
                Pets [11] -> Pet Animals [675296] -> Pigs [675311] SubItems: 0
                Pets [11] -> Pet Animals [675296] -> Frog [675312] SubItems: 0
        Pets [11] -> Baby Pet Animals [675314] SubItems: 3
                Pets [11] -> Baby Pet Animals [675314] -> Puppies [675315] SubItems: 0
                Pets [11] -> Baby Pet Animals [675314] -> Kittens [675316] SubItems: 0
                Pets [11] -> Baby Pet Animals [675314] -> Piglets [675317] SubItems: 0
        Pets [11] -> Pet Equipment [12] SubItems: 8
                Pets [11] -> Pet Equipment [12] -> Top Picks [675320] SubItems: 0
                Pets [11] -> Pet Equipment [12] -> Pet Food [675321] SubItems: 0
                Pets [11] -> Pet Equipment [12] -> Toys and Accessories [675322] SubItems: 0
                Pets [11] -> Pet Equipment [12] -> Saddles [675323] SubItems: 0
                Pets [11] -> Pet Equipment [12] -> Dyes [675324] SubItems: 0
                Pets [11] -> Pet Equipment [12] -> Hair Styles [675325] SubItems: 0
                Pets [11] -> Pet Equipment [12] -> Horse Jump [675326] SubItems: 0
                Pets [11] -> Pet Equipment [12] -> Monkey Furni [675327] SubItems: 0
        Pets [11] -> Breeding Boxes [675328] SubItems: 0
        Pets [11] -> Monster Plants [675329] SubItems: 2
                Pets [11] -> Monster Plants [675329] -> Monster Plant Seeds [675330] SubItems: 0
                Pets [11] -> Monster Plants [675329] -> Monster Plant Potions [675331] SubItems: 0
Memberships [13] SubItems: 4
        Memberships [13] -> Habbo Club [675333] SubItems: 0
        Memberships [13] -> Builders Club [675334] SubItems: 0
        Memberships [13] -> Builders Club (Diamonds) [675335] SubItems: 0
        Memberships [13] -> BC Upgrades [675336] SubItems: 0
 
The structure of the emulator page readings is the way in which they are appended to the CatalogIndexComposer. I also write root index which has same values as habbo. I have made it auto indent child elements so it's easier to read. The string is the caption name and the values inside the square brackets is the id (id in the database, it's not the id which I write; I write the public_id which is same as habbo). 'SubItems' is the count of how many sub elements it has.
 

Core

Member
Nov 10, 2016
356
138
This was fixed long ago just had to set parents which don't have children to have an Id less than 0.
The indentation was related to me not updating my variables. As the build I used was like one of the first ones for this catalog (at the time, currently running latest).
 

Users who are viewing this thread

Top