I think there's a bool in room or roomuser.cs called needautokick or something similar, should be something grabbing that , that sends them to the hotel view that you could possibly editHey, instead of inactive users going to the hotel view after 7200 (one hour I'm guessing) can we make them go to a home room?
I saw it but honestly have no idea what to edit.I think there's a bool in room or roomuser.cs called needautokick or something similar, should be something grabbing that , that sends them to the hotel view that you could possibly edit
public bool NeedsAutokick
{
get
{
if (IsBot)
return false;
if (GetClient() == null || GetClient().GetHabbo() == null)
return true;
if (GetClient().GetHabbo().GetPermissions().HasRight("mod_tool") || GetRoom().OwnerId == HabboId)
return false;
if (GetRoom().Id == 1649919)
return false;
if (IdleTime >= 10800)
return true;
return false;
}
}
(Edited)I saw it but honestly have no idea what to edit.
Code:public bool NeedsAutokick { get { if (IsBot) return false; if (GetClient() == null || GetClient().GetHabbo() == null) return true; if (GetClient().GetHabbo().GetPermissions().HasRight("mod_tool") || GetRoom().OwnerId == HabboId) return false; if (GetRoom().Id == 1649919) return false; if (IdleTime >= 10800) return true; return false; } }
if (User.NeedsAutokick && User.GetClient() != null)
{
User.GetClient().SendPacket(new RoomForwardComposer(1));
continue;
}
I get this issue?RoomUserManager.cs, find 'public void OnCycle()' go down to where the following is:
'if (User.NeedsAutokick && !ToRemove.Contains(User))'
Change the full conditional statement (from where the braces start & end) to:
PHP:if (User.NeedsAutokick && User.GetClient() != null) { User.GetClient().SendPacket(new RoomForwardComposer(1)); continue; }
Change 1 to your chosen room ID. (Better way to do this would be using the EnterRoom method in Habbo.cs).[/PHP]
The issue is that it constantly spams with the achievement being progressed to a new level, this happens every time the ProcessComponent is ranWhat's the issue?
The issue is that it constantly spams with the achievement being progressed to a new level, this happens every time the ProcessComponent is ran
What I mean is, that it progresses to a new level every 5-10 minutes, so that when I've in reality been online for ~60 minutes, it counts me as I've been online for ~3600 minutesThis isn't a bug? It progresses every minute, it does this on Habbo.
Are you sure that 3600 minutes isn't in seconds?What I mean is, that it progresses to a new level every 5-10 minutes, so that when I've in reality been online for ~60 minutes, it counts me as I've been online for ~3600 minutes
You must be registered for see links
Hayy, anyone knows why this doesn't work in PlusEmu?
Did you manually insert a room with a huge id or something, the room id default is INT(10) so you'll need to alter your column to allow for a greater integer I guess.Room id' is like 4295949455 (when someone create a room), when it need to be like 534579
Either you have no local sql server running or your config is incorrect.And I made sure everything is connected in the config.ini
I have my Xampp MySQL turned on unless I need connector?Either you have no local sql server running or your config is incorrect.