Damien
Don't need glasses if you can C#
- Feb 26, 2012
- 434
- 647
Recently I've been working on improving and finishing my Habbo Camera (
How it works?
It works by sending data (packets) over a TCP socket to my server where I generate the image and send back the image path, consisting of some basic information inducing the time-stamp it was created. Using the response you can then link your camera to my sever to render the images on your client or download them onto your localhost.
Download:
Code Example:
Images:
I've found a bug!
Find a bug? Then feel free to post it bellow and I'll look into the issue.
Know Bugs:
-Pets are ****ed
-Window backgrounds/masks including doorways
-Most Filters don't work
-Room Thumbnails
Hotels using API:
P.s I will not code the camera for you, this is just the API for rendering the images.
Update 1.1:
Update 1.2: !!IMPORTANT!!
You must be registered for see links
). Whilst still buggy I've decided to release it for beta testing. The camera itself is coded in c# and utilising the Magick.NET library. I will be continuing the development and will be updating this constantly behind the scenes (without the need for you to update each time).How it works?
It works by sending data (packets) over a TCP socket to my server where I generate the image and send back the image path, consisting of some basic information inducing the time-stamp it was created. Using the response you can then link your camera to my sever to render the images on your client or download them onto your localhost.
Download:
Code:
https://mega.nz/#!EAZj1BCC!FEHMkWNnpJ333sYQMQtWy1_yzvqfCaOC0gZ8sQmU3R0
Code Example:
Code:
// Creates a connection to the CameraAPI server
CameraAPI.CameraAPI api = new CameraAPI.CameraAPI();
// Checks for a valid connection
if (api.Connected())
{
string path;
string hotelKey = "Testing-xGIaLvorphIqTjyFByjlexARbza7PpvK";
// Sends json data to the server for rendering and responds with the path
if (api.SendData(hotelKey, data, out path))
{
// Image successfully generated
}
else
{
// Unable to generate image
}
}
else
{
// Unable to connect to the CameraAPI
}
// Dispose of the connection cleanly
api.Dispose();
Images:
I've found a bug!
Find a bug? Then feel free to post it bellow and I'll look into the issue.
Know Bugs:
-Pets are ****ed
-Window backgrounds/masks including doorways
-Most Filters don't work
-Room Thumbnails
Hotels using API:
You must be registered for see links
P.s I will not code the camera for you, this is just the API for rendering the images.
Update 1.1:
-Added rendering the small image, I forgot to add it in (oopsie)
-Fixed a rare issue that caused the API to crash
-Fixed coloured furniture not loading into the API
-First live hotel to be using the API added
-Fixed a rare issue that caused the API to crash
-Fixed coloured furniture not loading into the API
-First live hotel to be using the API added
Update 1.2: !!IMPORTANT!!
You must download and update the new .dll file.
-Updated the .dll to receive the path from the server.
-Updated the .dll with better error handling.
-Started work on hotelKeys (this will be used in the future for customs, use the default test one for now).
-Improved socket listener on the server.
-Removed a lot of crap code used for debugging.
-Updated the .dll to receive the path from the server.
-Updated the .dll with better error handling.
-Started work on hotelKeys (this will be used in the future for customs, use the default test one for now).
-Improved socket listener on the server.
-Removed a lot of crap code used for debugging.
Last edited: