I've updated mine, but remove the initial code CreateFriendship and add this to AcceptBuddyEvent.csWhen accepting or adding someone it says i've became friends with my self rather than the user which has been added
You must be registered for see links
GameClient To = HabboEnvironment.GetGame().GetClientManager().GetClientByUserID(Request.To);
GameClient From = HabboEnvironment.GetGame().GetClientManager().GetClientByUserID(Request.From);
if (To != null && From != null)
{
To.SendMessage(new RoomNotificationComposer("Friend Add", "You're now friends with " + From.GetHabbo().Username + ".", "friendAdd");
From.SendMessage(new RoomNotificationComposer("Friend Add", "You're now friends with " + To.GetHabbo().Username + ".", "friendAdd");
}
Can you give the whole function? I could not get it working, It's saying To and From is not existing in current context.I've updated mine, but remove the initial code CreateFriendship and add this to AcceptBuddyEvent.cs
Code:if (To != null && From != null) { NotificationManager.RoomBubble(To, "Friend Add", "You're now friends with " + From.GetHabbo().Username + ".", "friendAdd"); NotificationManager.RoomBubble(From, "Friend Add", "You're now friends with " + To.GetHabbo().Username + ".", "friendAdd"); }
now the NotificationManager and Request does not exist in current context. Sorry I'm new to cl#My bad, I've updated my original code.
Bug during user login: System.NullReferenceException: Object reference not set to an instance of an object.
at Emulator.HabboHotel.GameClients.GameClient.TryAuthenticate(String AuthTicket) in C:\xampp\htdocs\Habbo Emu\HabboHotel\GameClients\GameClient.cs:line 119
You must be registered for see links(using this emulator, thought i would let u know) @Brad
Atleast for me room promotion function is disconnecting users
having more than (i think 2600) items in a room makes the user disconnect everytime attempting to enter the room
Sometimes when purchasing items from the catalog they purchased items wont show up in your inventory before room reload / client reload
love locks doesnt work
WIRED repeat timer, seems to be counting 0.5 seconds too slow, if u set it to repeat every 0.5 seconds it'll use 1 second to repeat
WIRED Add-On: Random Effect doesnt work
WIRED at set time doesnt work
WIRED Effect: Move And Rotate Furni (doesnt work if you stack multiple on each other)
BOT Wireds doesnt work
Those are bugs users has been reporting, just wanted to let u know