PhP Class, to Emulate Sulake's Habbo Hotel "in-game" Camera Applet.
Claudio A. Santoro W.
1.0 Alpha
Copyright (C) 2015 Sulake Corporation Oy
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
Read Complete GNU GPL 3.0 Clicking Here
- Need PhP 5.4x or Later
- GD Library of PhP
- PHP XML Extension
- HTTP Server (Commonly Web Server)
- The Following Mime-Types
- Image/PNG
- Text/Javascript
- Text/jSON
- Application/PhP
- Script/PhP
- Application/Javascript
- Ensure the file has Write Permissions. (LINUX users)
- Download ServerCamera.php
- Put in your WebServer
- Run First Time to The Script Create the Folders. (putting: servercamera.php?install=true)
- Enjoy.
You can Use The Test jSON for test ServerCamera. (putting servercamera.php?test=true)
You need Habbo's Assets to Make the ServerCamera generate the Images. All Assets are available here Attention: Assets will be downloaded in correct folders. You Need Execute assets.php, figures.php, masks.php
- Default Folder for Mask Assets: /masks/
- Default Folder for Sprites Assets: /sprites/
- Default Folder for Generated Image: /servercamera/purchased/
The Script must be only Requisited by Habbo Emulators. (Following the Habbo Camera API) For that, you Need Have an Adobe Flash Crosddomain Policy (X-CORS) file "crossdomain.xml". Without that any prejudicial user can execute the script. Read More Here
the Installation Procedure and Test Procedure only will work in localhost, or in a ip from the white-list Array.
Post Here