Productdata matching catalog_items
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.
Productdata matching Catalog_items - Pastebin.com
Like if you like :)
Re: Productdata matching catalog_items
Yeah, or make yourself x] (long to do)
Thanks once again x]
Re: Productdata matching catalog_items
Quote:
Originally Posted by
JohnHearfield
Yeah, or make yourself x] (long to do)
Thanks once again x]
Make own productdata matching names -> take too long
Change sql -> take long too
Use the program -> take a little while but not too much
Thanks for your comment.
Re: Productdata matching catalog_items
Ermm, this is just the productdata of Habbo.com?
Re: Productdata matching catalog_items
This is make of maximum 3minutes XD (Tested self)
Re: Productdata matching catalog_items
Well, im gonna try something and see if it works x]
Re: Productdata matching catalog_items
Quote:
Originally Posted by
Fidel Castro
Ermm, this is just the productdata of Habbo.com?
Wrong. Habbo uses shit like:
A1 throne
DEV ......
a0 wtv
and mine uses:
throne
wtv
So it works with normal catalog_items.
@PacMario with my program it took me less than 3 minutes.
Re: Productdata matching catalog_items
Can you release your Program please?
Re: Productdata matching catalog_items
Quote:
Originally Posted by
Imagician
Can you release your Program please?
No. It's private.
Re: Productdata matching catalog_items
Quote:
Originally Posted by
Tha
No. It's private.
Such an effort for such a little tool... ?!
For the people who wants it.
PHP Code:
<?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:
http://pastebin.com/raw.php?i=4XTLN9f7
Re: Productdata matching catalog_items
Nice coding.
Here you got it prehosted: Converted productdata :)
Re: Productdata matching catalog_items
Re: Productdata matching catalog_items
What if one was using JohnHearFields catalog or something? Wouldn't the IDs have to match, as well as having all the same furniture?
Re: Productdata matching catalog_items
Quote:
Originally Posted by
FullmetalPride
What if one was using JohnHearFields catalog or something? Wouldn't the IDs have to match, as well as having all the same furniture?
You dont need an ID. It's just the item_name which equals to your furniture name :)
Re: Productdata matching catalog_items
I can share some scripts in Coldfusion. Need?
Re: Productdata matching catalog_items
-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
Re: Productdata matching catalog_items
So is that supposed to help explain the issue with your cata or are you just telling us? :P
Re: Productdata matching catalog_items
with a little work on furni helper from housekeeping, anything can be done. nice work guys!