Productdata matching catalog_items

Status
Not open for further replies.
Joined
Oct 26, 2012
Messages
2,355
Reaction score
1,087
Have you used bcstorm or phoenix and see how you got this at catalogue and buy confirm:

throne
throne

I have a productdata for you which uses the names from catalog_items, so it will now be:

Throne
Important Habbo's only.

It's created with my private tool (won't release it) used for CarbonEmulator.


Like if you like :)
 
Yeah, or make yourself x] (long to do)

Thanks once again x]
 
Well, im gonna try something and see if it works x]
 
No. It's private.

Such an effort for such a little tool... ?!


For the people who wants it.

PHP:
<?php
    
    $location = 'http://www.habbo.com';
    
    $content = file_get_contents($location . '/gamedata/furnidata/0');
    
    if (preg_match('/.com$/', $location))
    {
  $content = gzdecode($content); //habbo.com is  zlib encoded
    }
    
    $parsed = preg_replace('/\]\](\r|\n|\r\n|\n\r)\[\[/', '],[', $content);
    
    $json = json_decode($parsed, true);
    
    $data = array();
    foreach ($json as $item)
    {
  $furni = array();
  
  if ($item[0] == 'i')
  {
   list($furni['type'], $furni['sprite_id'], $furni['item_name'], $furni['revision'], $furni['start_rotation'], $furni['width'], $furni['length'], $furni['colors'], $furni['public_name'], $furni['description'],, $furni['category'],,,) = $item;
  }
  else
  {
   list($furni['type'], $furni['sprite_id'], $furni['item_name'], $furni['revision'], $furni['start_rotation'], $furni['width'], $furni['length'], $furni['colors'], $furni['public_name'], $furni['description'],, $furni['category'],, $furni['init_extra_data'],,) = $item;
  }
  
  $data[] = array($furni['item_name'], $furni['public_name'], $furni['description']);
    }
    
    exit(json_encode($data));

?>

Output:
 
-clap clap-

+1 to FullmetalPride.

This dont work with my furnidata, lol.

//
Made my own script thing, using some code i found and edited it, now i get

[chair_silo, #ffffff, #ABD0D2],
[table_plasto_round, 0, 0],

etc
 
Last edited:
Status
Not open for further replies.
Back