100% Habbo-Camera [WORKAROUND] by Steve Winfield

Page 1 of 4 1234 LastLast
Results 1 to 25 of 92
  1. #1
    Valued Member Kylon is offline
    MemberRank
    Dec 2015 Join Date
    Berlin, GermanyLocation
    112Posts

    100% Habbo-Camera [WORKAROUND] by Steve Winfield

    * 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:
    Code:
    camera.photo.publishing.enabled=false
    stories.image_url_base=http://my-site.com/
    stories.upload_image.url=http://my-site.com/upload
    SQL-Code:
    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');
    You must change "camer-photo.purchase.item_id" in server_settings into an (existing!!!!) item ID.

    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
    Last edited by Kylon; 07-11-16 at 03:03 PM. Reason: :)


  2. #2
    Member ZoekGamer is offline
    MemberRank
    Dec 2015 Join Date
    En tu mirada.Location
    66Posts

    Re: 100% Habbo-Camera [WORKAROUND] by Steve Winfield

    Topic in RetroTown credits?

  3. #3
    Proficient Member iConnor is offline
    MemberRank
    Oct 2010 Join Date
    United StatesLocation
    191Posts

    Re: 100% Habbo-Camera [WORKAROUND] by Steve Winfield

    Even if this is just a "workaround" I thank you for this because, correct me if im wrong, but as of lately this is the closest thing to functioning camera release we've seen in a while. Again thank you Kylon will be testing this on my sever now, Ill post updates in a bit.

  4. #4
    Check http://arcturus.pw The General is offline
    DeveloperRank
    Aug 2011 Join Date
    7,608Posts

    Re: 100% Habbo-Camera [WORKAROUND] by Steve Winfield

    Not really a workaround when you are now forced to use this Habbo.swf.

    So basically anyone that edited their SWF is forced to use yours.

    Nah thanks. I'll just improve my camera script for Arcturus. Don't want people script shit like porn and stuff.

  5. #5
    Valued Member Kylon is offline
    MemberRank
    Dec 2015 Join Date
    Berlin, GermanyLocation
    112Posts

    Re: 100% Habbo-Camera [WORKAROUND] by Steve Winfield

    Quote Originally Posted by ZoekGamer View Post
    Topic in RetroTown credits?
    Why? Steve gave me the permission to release it

    nvm.

    @The General
    I'm not sure, but you can change your own Habbo.swf and take the part of the Camera from this Habbo.swf.
    Last edited by Taiga; 01-07-16 at 08:41 PM. Reason: Removed unnecessary stuff.

  6. #6
    Right here, right now.. jordynegen11 is offline
    MemberRank
    Jul 2009 Join Date
    NetherlandsLocation
    398Posts

    Re: 100% Habbo-Camera [WORKAROUND] by Steve Winfield

    Nice work, but I think we need a script that generate's the picture like the Yupi habbo-camera-server.
    Now we are forced to use this old habbo PRODUCTION.

    - - - Updated - - -

    Quote Originally Posted by Kylon View Post
    Why? Steve gave me the permission to release it

    nvm.

    @The General
    I'm not sure, but you can change your own Habbo.swf and take the part of the Camera from this Habbo.swf.
    It will be nice if you give us a tutorial to do the same trick in our own habbo.swf
    Last edited by Taiga; 01-07-16 at 08:41 PM.

  7. #7
    Still alive. Luminia is offline
    MemberRank
    Apr 2013 Join Date
    Out of SpaceLocation
    1,146Posts

    Re: 100% Habbo-Camera [WORKAROUND] by Steve Winfield

    If still some guys are unsure what the chat shows which Kylon posted

    Steve said doesn't matter if he release it, he would do it but he's too lazy and that's it. For the others that's a good improvement if you use Plus. Also a nice addon for your emulator. just follow thread, do everything how he said and you have a safe working camera.

    Greetz,

  8. #8
    Check http://arcturus.pw The General is offline
    DeveloperRank
    Aug 2011 Join Date
    7,608Posts

    Re: 100% Habbo-Camera [WORKAROUND] by Steve Winfield

    @steffchef you did this by RABCDASM or AS3? If its the latter, hit me up cos I got a question for you.
    Last edited by Taiga; 01-07-16 at 09:45 PM.

  9. #9
    Make a wish .::Arjan::. is offline
    MemberRank
    Jan 2012 Join Date
    the NetherlandsLocation
    504Posts

    Re: 100% Habbo-Camera [WORKAROUND] by Steve Winfield

    Thanks for this! Realy nice, my users like this :)

    edit:

    Can't fix this error, quick fix? Otherwise i will make a help topic :)
    Last edited by .::Arjan::.; 02-07-16 at 06:20 PM.

  10. #10
    Valued Member Kylon is offline
    MemberRank
    Dec 2015 Join Date
    Berlin, GermanyLocation
    112Posts

    Re: 100% Habbo-Camera [WORKAROUND] by Steve Winfield

    Quote Originally Posted by .::Arjan::. View Post
    Thanks for this! Realy nice, my users like this :)

    edit:

    Can't fix this error, quick fix? Otherwise i will make a help topic :)
    Did you added this part? https://gist.github.com/SteveWinfiel...aphotoevent-cs

  11. #11
    Make a wish .::Arjan::. is offline
    MemberRank
    Jan 2012 Join Date
    the NetherlandsLocation
    504Posts

    Re: 100% Habbo-Camera [WORKAROUND] by Steve Winfield

    Quote Originally Posted by Kylon View Post
    Yes so i don't know whats wrong ;s

  12. #12
    Enthusiast MRBruth is offline
    MemberRank
    Feb 2016 Join Date
    36Posts

    Re: 100% Habbo-Camera [WORKAROUND] by Steve Winfield

    I add all things, and when the emulator recognize that:

    "public const int RenderRoomEvent = 2274;"

    Result it's this



    Anyone can help me?

  13. #13
    Member Vinny95 is offline
    MemberRank
    Dec 2014 Join Date
    98Posts

    Re: 100% Habbo-Camera [WORKAROUND] by Steve Winfield

    For the Release: PRODUCTION-201602082203-712976078?
    How can we make a good Camera ? :)

  14. #14
    Valued Member Kylon is offline
    MemberRank
    Dec 2015 Join Date
    Berlin, GermanyLocation
    112Posts

    Re: 100% Habbo-Camera [WORKAROUND] by Steve Winfield

    Quote Originally Posted by MRBruth View Post
    I add all things, and when the emulator recognize that:

    "public const int RenderRoomEvent = 2274;"

    Result it's this



    Anyone can help me?
    Are you using the correct Habbo.swf?

  15. #15
    Member CUS7OM is offline
    MemberRank
    Apr 2014 Join Date
    62Posts

    Re: 100% Habbo-Camera [WORKAROUND] by Steve Winfield

    Indeed, we're using that Habbo.swf, but it keeps showing the same UnnamedPacketEvent.
    The proof that we got the proper SWF is that once we put that .SWF the camera started "working" with its filters and stuff.

    Thanks for sharing this release, I hope we can get some advice with that problem bro.
    Cheers.

  16. #16
    j’aime ma famille dominic is offline
    MemberRank
    Aug 2012 Join Date
    ~/Location
    611Posts

    Re: 100% Habbo-Camera [WORKAROUND] by Steve Winfield

    Quote Originally Posted by The General View Post
    Don't want people script shit like porn and stuff.
    That's easy to prevent. If the images is hosted on your own servers, just check if it's a remote call?
    Code:
    if (!link.contains("http://yourhotel.com")) return;

  17. #17
    Proficient Member steffchef is offline
    MemberRank
    May 2011 Join Date
    Munich, GermanyLocation
    176Posts

    Re: 100% Habbo-Camera [WORKAROUND] by Steve Winfield

    Quote Originally Posted by Dominic View Post
    That's easy to prevent. If the images is hosted on your own servers, just check if it's a remote call?
    Code:
    if (!link.contains("http://yourhotel.com")) return;
    That's not where a script kiddy might be able to inject a custom png (the client sends an id to the game server). The PHP script got some protections for wannabes, however an advanced user could have the ability to bypass them (date check, gzip compressing.. can't remember).

    All scripts which are trying to reproduce the original renderer of Sulake have certain vulnerabilities (at least the ones that I've seen so far). Just take an object (furni image, swf image, ..) of a certain color that your scripted image contains and place it somewhere you like.

    Some approaches to get a 100% valid image (both require a lot of effort)

    1. Client sends objects (+ x and y positions) to the server (just like Sulake got it) + server verifies the data (None of the scripts I know verify it) + server creates an image out of it
    2. Server fetches the current room situation + renders it by itself (no client interaction)

    I managed it by editing the SWF because this way I didn't have to make an extreme effort for a nice result and people would still be able to report pictures which contain inappropriate images.

    Cheers,
    Steve Winfield

  18. #18

    sad Re: 100% Habbo-Camera [WORKAROUND] by Steve Winfield

    Table permissions_ranks To PlusEMU?

    I have looked, from plusEMU but can not find you could tell if someone throws me the sql for this emulator? This is the sql that want to stay:

    ALTER TABLE permissions_ranks ADD command_update_camera ENUM('0','1') NOT NULL DEFAULT '0'

    because I put it pulls this error: #1146 - Table 'dbplus.permissions_ranks' doesn't exist

    For what is seen is not this table, would you know how to solve this little mistake?

    Sorry for my language.

  19. #19
    Valued Member cabeludo007 is offline
    MemberRank
    Nov 2013 Join Date
    My HouseLocation
    147Posts

    Re: 100% Habbo-Camera [WORKAROUND] by Steve Winfield

    Nice release, man! It's like a camera server that i made some time ago...

  20. #20
    Member DJGOMEZV is offline
    MemberRank
    Mar 2013 Join Date
    56Posts

    Re: 100% Habbo-Camera [WORKAROUND] by Steve Winfield

    Quote Originally Posted by cabeludo007 View Post
    Nice release, man! It's like a camera server that i made some time ago...
    As you put the thumbnail camera? Blob? Blob emulator?

  21. #21
    Valued Member cabeludo007 is offline
    MemberRank
    Nov 2013 Join Date
    My HouseLocation
    147Posts

    Re: 100% Habbo-Camera [WORKAROUND] by Steve Winfield

    Quote Originally Posted by DJGOMEZV View Post
    As you put the thumbnail camera? Blob? Blob emulator?
    This is not this api, it's another app.

  22. #22
    Member DJGOMEZV is offline
    MemberRank
    Mar 2013 Join Date
    56Posts

    Re: 100% Habbo-Camera [WORKAROUND] by Steve Winfield

    Quote Originally Posted by cabeludo007 View Post
    This is not this api, it's another app.
    Is Blob Emulador from Daniel? You could spend this API to test my old camera?

  23. #23
    Valued Member cabeludo007 is offline
    MemberRank
    Nov 2013 Join Date
    My HouseLocation
    147Posts

    Re: 100% Habbo-Camera [WORKAROUND] by Steve Winfield

    Quote Originally Posted by DJGOMEZV View Post
    Is Blob Emulador from Daniel? You could spend this API to test my old camera?
    From Daniel?
    Where is saying that is from Daniel?

    And no. I can't

  24. #24
    Member DJGOMEZV is offline
    MemberRank
    Mar 2013 Join Date
    56Posts

    Re: 100% Habbo-Camera [WORKAROUND] by Steve Winfield

    Quote Originally Posted by cabeludo007 View Post
    From Daniel?
    Where is saying that is from Daniel?

    And no. I can't
    OK, I could spend the API of your current camera, to test the Blob Emulator I have?

  25. #25
    Valued Member cabeludo007 is offline
    MemberRank
    Nov 2013 Join Date
    My HouseLocation
    147Posts

    Re: 100% Habbo-Camera [WORKAROUND] by Steve Winfield

    Quote Originally Posted by DJGOMEZV View Post
    OK, I could spend the API of your current camera, to test the Blob Emulator I have?
    I just don't know if i will rly release blob emulator. that emulator is like "Oh! a bug, fixed this... Oh no! two more bugs!!" and i don't wanna be replying post about fixing bugs for noobs... i hate do that



Page 1 of 4 1234 LastLast

Advertisement