* DO NOT SEND ME PMS RELATED TO THIS RELEASE THREAD, THEY WILL BE IGNORED *
Hey!
I'm releasing the Habbo-Camera feature from Steve Winfield (steffchef).
Preview:
Steve called it a 'Workaround', because it's not really the camera (The SWF sends the created photo to an HTTP server).
The camera was programmed for the Plus Emulator!
Features:
- take a photo
- edit the photo (background, filter)
- buy the photo
- place the photo in your room (you can also open it)
- you can pick up the photo, report it or remove it
- you can change the photo and the photo-furni (?)
Back-end:
- Emulator: It's like a API for the User and the Database (C# Code)
- Uploader/Downloader (HTTP): The created photos getting uploaded here & downloaded from here + notify the Emulator (PHP Code)
Front-end:
- Modified Habbo SWF with new "external_variables" entrys (Release: PRODUCTION-201601012205-226667486)
Tutorial (Emulator): https://gist.github.com/SteveWinfiel...fd4eed1bd87d37 (- = /, so don't worry)
You need PHP 5.4 + with bcmod (protection against st**-Hacker), PDO (MySQL) and Sockets (MUS Emulator). You must also add the IP from your Webserver into the config.ini from your Emulator at "mus.tcp.allowedaddr=".
Download-URL from all files (without Emulator): https://mega.nz/#!e1tF3KKL!oz_Lueo1H..._8Zy6XHVIcVEow
external_variables:
SQL-Code:Code:camera.photo.publishing.enabled=false stories.image_url_base=http://my-site.com/ stories.upload_image.url=http://my-site.com/upload
You must change "camer-photo.purchase.item_id" in server_settings into an (existing!!!!) item ID.Code:SET FOREIGN_KEY_CHECKS=0; DROP TABLE IF EXISTS `camera_photos`; CREATE TABLE `camera_photos` ( `id` int(11) NOT NULL AUTO_INCREMENT, `creator_id` int(11) NOT NULL, `creator_name` varchar(50) NOT NULL, `file_state` enum('purchased','preview') NOT NULL DEFAULT 'preview', `file_name` varchar(50) NOT NULL, `reports` int(11) NOT NULL DEFAULT '0', `deleted` enum('1','0') NOT NULL DEFAULT '0', `ip_address` varchar(50) NOT NULL, `created_at` int(11) NOT NULL DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; ALTER TABLE moderation_tickets ADD extra_id INT NOT NULL DEFAULT 0; ALTER TABLE moderation_tickets ADD report_type INT NOT NULL DEFAULT 1; ALTER TABLE permissions_ranks ADD command_update_camera ENUM('0','1') NOT NULL DEFAULT '0' INSERT INTO `server_settings` VALUES ('camera.photo.publish.price.duckets', '100', 'The duckets-price of a web publish'); INSERT INTO `server_settings` VALUES ('camera.photo.purchase.item_id', '777954880', 'The item id of the default photo poster'); INSERT INTO `server_settings` VALUES ('camera.photo.purchase.price.coins', '100', 'The coins-price of a photo poster'); INSERT INTO `server_settings` VALUES ('camera.photo.purchase.price.duckets', '100', 'The duckets-price of a photo poster');
That means, that you must add the Photo Item. btw. you must configure the data in "global.php". Be sure that the PHP-Code has access to "public/preview/" and "public/purchased" folder.
(C) Steve Winfield (I'm so sorry Steve, but...)
Regards


)
Reply With Quote![100% Habbo-Camera [WORKAROUND] by Steve Winfield](http://ragezone.com/hyper728.png)





