I've set it to base.WriteInteger(1) already (tried Boolean true as well). I also looked at the SWF and it does a check to see if it's 1 (something like _loc12_ = somevar.roomSession.somevar == 1).
I'll look at room appender later though.
Hmm, I think RoomAppender is only for the navigator. I...
Ok I can't figure this one out - Users who aren't the owner of the room can't place pets in the room, even if "Allow Pets" is ticked.
Does anyone know what packets decide if users are allowed to place pets from their inventory into a room or not?
vs
Does anyone know how to get the Use button to show for users without rights? (Which packet does/should it belong to?)
Habbo example:
Nevermind, figured it out. :)
Solution:
The second to last integer in ObjectsComposer (and ItemsComposer and any other classes that serialise items) is 0...
The only issue with Jay's post is not using password_verify, as using password_hash again will use a different salt.
Yes, salts are simply added on to the string you are hashing to prevent rainbow table attacks. The salted password will still have the exact same hash as the salted password in...
1. Jay's example is designed to be backwards compatible with md5 passwords (which RevCMS uses) - If the password matches with an md5 hash, it's updated with a stronger hash using bcrypt.
2. That's EXACTLY how hashing works. If the strings are the same, the hashes will also be identical.