The else is pointless too, since the command is being returned in the if. I should be either one of these two.
if (Session.GetHabbo().Rank < 2)
{
Session.SendWhisper("Seems like you're not VIP. Please buy VIP before using special commands.");
}
else
{
//do
}
Or:
if...
Terrible command, IMO. I'd add a cooldown or some way for users to disable getting messages. You're also sending to every user on the hotel, so have fun getting spammy messages all the time, and people advertising.
if (Session.GetHabbo().Rank >= 2)
This is also not needed at all, since you're...
Looks really good and is probably the easier option.
I'm hoping to expand this once I've compleated it. For example using the sprites to create my own avatar imager, and creating a pretty advanced values page. The camera api is a stepping stone as well as a goal which I'll hopefully achieve in...
Yeah, I did do some research into these problems and they all pointed towards using Imagick over native GD. Just haven't had the chance to look into using it yet, as hadn't had the time.
My 2 problems I'm having at the moment are.
1). Skewing wall/floor sprites for the textures.
2). Blending layers for effects and furniture. (example. Dragon Lamps)
Pets are REALLY buggy. But I barely looked into them yet as I wanted to fix furniture first.
Exactly this, the delete image is done via the delete post it packet, The only other use for having an interaction is imcase you want to generate the enxtra data for the item outside the items existing extra data(if that makes sense).
Far as updates go I've done all assets for furniture and...
Looks good, only thing I'd suggest is caching previous messages and sending them as a list (or a string) to the CheckBannedWords method. That way people can't do the dirty and do it on multiple lines.
Make sure you set a limit to cached messages otherwise you'll have some nasty memory leaks...
It's because you're using PHP 7. Some of the functions to do with greyscaling aren't supported in PHP 7. You'll either have to re-code and fix them, or just downgrade to an older version of PHP.
Nobody is beta testing my Camera as of yet, it's still being worked on. As for the problem the packet is being handled "handled Packet [705]", you just haven't registered a name for it in the emu.
Also you can't just handle the packet id and expect it to suddenly work. The packet sends a string...
It's a structure issue in ItemsComposer.cs
There is an array at the very start which contains all the usernames of users who've placed furniture in the room.
int : Count
{
int : UserId
string : Username
}
To get that lightning fast speed on you cms, duh! The emulators pointless if you can knock half a second of loading time.
I don't know about you, but when I play retros I spend most my time looking at the cms. Amateurs!
Updates:
-Figures are now being properly generated (some clothing is a little buggy).
-Zoomed images are now being properly zoomed
Tomorrow I'll either start on furniture or pets.
Small update:
-Started work rendering the room from the planes data. I've finished most of it minus the textures and doorways (as I need to extract the images from the habbo.swf and figure out the best way to skew images using GD library).
-Camera filters should now be working too. Yet to test...
Hello everyone, today I decided to start working on the API for the Habbo camera and felt like giving something back to you guys.
The Project:
My main goals is to replicate the habbo camera to the best of my ability, including effects, pets, items, users figures and any other data that gets...