Hey guys. I was browsing through the archive and saw Habbowood 2007. I set it up and found out there's an option to put custom Habbo's in it. Sadly, there was no script. I was browsing through the .swf files through the scripts and found the script (of course, I had to make the .php file for it).
Credits:
- IDK who - archiving the Habbowood
- IDK who - releasing the Habbowood before
- Sulake - making Habbowood
- Me - The script
This script is a simple script. I won't help with it, I'm deeply sorry. But if somebody can edit the SWF. Why?
The swf loads the figuredata grabber (the script) from the following url:
http://edge.jumbo.sulake.com/habbomo...?user=USERNAME
Also, if somebody can edit it so it uses the new figuredata format, I'll love you!
For now, you can just add an entry in the hosts file.
Okay, now, this ONLY works with old figuredata format:PHP Code:127.0.0.1 edge.jumbo.sulake.com
1000118001270012900121001
If you can make it work on the newest, just release the SWF here and I give you credits.
Okay, now the script. I only used an array, with as key the username and as value another array with gender and figure. If somebody changes the figuredata shit, I can make it work on literally every database. And I'll keep the original for my v5 server.
just simply add a new line (don't forget to split the lines with , except of the last one) with the username as key and the array of gender and figure as value.PHP Code:<?php
/*
* Habbowood Figuredata Custom User file
* Copyright Ā© 2014 Tha / Lunaa
*/
$figures = array
(
'Lunaa' => array('F', '1000118001270012900121001')
);
$user = $_GET['user'];
$genderFigure = $figures[$user];
echo $genderFigure[0] . ';' . $genderFigure[1];
?>
Place the file as a .php in htdocs/habbomovies/private/ajax and call it getfiguredata.php
In the same folder, add this .htaccess:
Then, place Habbowood 2007 http://habbo.wendigo.sx/archive/Game...2007%2BPHP.rar somewhere in your htdocs. Go to loader.php and you can choose custom figures.PHP Code:RewriteEngine on
RewriteRule getfiguredata getfiguredata.php [L]
(you can easily make this work with Blunk's database since every old formatted figuredata works).
Don't hate on me, just wanted to share something.



Reply With Quote


