case number:
{
if (Session.GetHabbo().Rank > 5)
{
class2 = Phoenix.GetGame().GetRoomManager().GetRoom(Session.GetHabbo().CurrentRoomId);
for (int i = 0; i < class2.RoomUser_0.Length; i++)
{
RoomUser class7 = class2.RoomUser_0[i];
RoomUser class6 = class2.method_53(Session.GetHabbo().Id);
class7.MoveTo(class6.int_3, class6.int_4 - 1);
}
return true;
}
}
Allaround me Phoenix (Tested on Habtown.co.uk)
Code:case number: { if (Session.GetHabbo().Rank > 5) { class2 = Phoenix.GetGame().GetRoomManager().GetRoom(Session.GetHabbo().CurrentRoomId); for (int i = 0; i < class2.RoomUser_0.Length; i++) { RoomUser class7 = class2.RoomUser_0[i]; RoomUser class6 = class2.method_53(Session.GetHabbo().Id); class7.MoveTo(class6.int_3, class6.int_4 - 1); } return true; } }
case 9909:
{
if (Session.GetHabbo().Rank > 5)
{
class2 = GoldTree.GetGame().GetRoomManager().GetRoom(Session.GetHabbo().CurrentRoomId);
for (int i = 0; i < class2.RoomUsers.Length; i++)
{
RoomUser class7 = class2.RoomUsers;
RoomUser UserXXXX = class2.GetRoomUserByHabbo(Session.GetHabbo().Id);
class7.MoveTo(UserXXXX.Y, UserXXXX.X - 1);
}
return true;
}
return false;
}
case 9909:
{
if (!Session.GetHabbo().HasFuse("cmd_allaroundme"))
{
Session.GetHabbo().Whisper("You have to be a high enough rank to use this command.");
return true;
}
class2 = GoldTree.GetGame().GetRoomManager().GetRoom(Session.GetHabbo().CurrentRoomId);
for (int i = 0; i < class2.RoomUsers.Length; i++)
{
RoomUser class7 = class2.RoomUsers[i];
RoomUser UserXXXX = class2.GetRoomUserByHabbo(Session.GetHabbo().Id);
class7.MoveTo(UserXXXX.Y, UserXXXX.X - 1);
}
return true;
}
Emulator: Gold tre emulator
:rape (user) makes the user say *Is now raping (user)*
:kiss (user) makes the two people kiss
:tillsammans ( user) makes the two people becoma A couple the person say * (user) wants to be in A relationship with you say :tillsammans (user) yes or :tillsammans (user) no
If yes THIS should be showed * (user) and ( other user) is now in A relationship* IF no IT sais
* (User) didnt har youre question and decides to ignore you right now *
Tillsammans: together
case RandomInteger:
if (Session.GetHabbo().HasFuse("cmd_kiss"))
{
class2 = GoldTree.GetGame().GetRoomManager().GetRoom(Session.GetHabbo().CurrentRoomId);
RoomUser class6 = class2.GetRoomUserByHabbo(Session.GetHabbo().Id);
class6.method_1(Session, "*Kisses " + Params[1], false);
Session.GetHabbo().method_24().method_2(9, true);
}
else { return false; }
return false;
case RandomInteger:
if (Session.GetHabbo().HasFuse("cmd_rape"))
{
class2 = GoldTree.GetGame().GetRoomManager().GetRoom(Session.GetHabbo().CurrentRoomId);
RoomUser class6 = class2.GetRoomUserByHabbo(Session.GetHabbo().Id);
class6.method_1(Session, "*Pulls down " + Params[1] + "'s Pants and gently starts to F**** them", false);
Session.GetHabbo().method_24().method_2(3, true);
}
else { return false; }
return false;
Emulator: Gold tre emulator
:rape (user) makes the user say *Is now raping (user)*
:kiss (user) makes the two people kiss
:tillsammans ( user) makes the two people becoma A couple the person say * (user) wants to be in A relationship with you say :tillsammans (user) yes or :tillsammans (user) no
If yes THIS should be showed * (user) and ( other user) is now in A relationship* IF no IT sais
* (User) didnt har youre question and decides to ignore you right now *
Tillsammans: together
BEFORE YOU ADD THESE CODESSorry if its to much and My emulator is Mercury
:noface
:kiss (user) makes two people blow A kiss at eachother
:rape
:afk (time) then this appears * (user) is now AFK for (time)*
Oh i want the :together thing
And again its for mercury
using System.Threading;
case "brb":
case "afk":
case "idle":
{
Room room = Session.GetHabbo().CurrentRoom;
RoomUser roomuser = room.GetRoomUserManager().GetRoomUserByHabbo(Session.GetHabbo().Id);
if (roomuser.IsAsleep == true) {
roomuser.IsAsleep = false;
roomuser.Chat(Session, "*" + Session.GetHabbo().Username + " is now back*", true, 1);
roomuser.UpdateNeeded = true;
return true;
} else if (roomuser.IsAsleep == false) {
roomuser.Chat(Session, "*Sleeping [AFK]*", true, 1);
roomuser.IsAsleep = true;
roomuser.UpdateNeeded = true;
return true;
}
}
return true;
case "noface":
case "faceless":
{
string[] figureParts;
string[] headParts;
figureParts = Session.GetHabbo().Look.Split('.');
foreach(string Part in figureParts) {
if (Part.StartsWith("hd")) {
headParts = Part.Split('-');
if (!headParts[1].Equals("99999")) headParts[1] = "99999";
else break;
string NewHead = "hd-" + headParts[1] + "-" + headParts[2];
Session.GetHabbo().Look = Session.GetHabbo().Look.Replace(Part, NewHead);
break;
}
}
using(IQueryAdapter dbClient = MercuryEnvironment.GetDatabaseManager().getQueryreactor()) {
dbClient.setQuery("UPDATE users SET look = @Look WHERE username = @username");
dbClient.addParameter("look", Session.GetHabbo().Look);
dbClient.addParameter("username", Session.GetHabbo().Username);
dbClient.runQuery();
}
Room Room = Session.GetHabbo().CurrentRoom;
if (Room == null) break;
RoomUser User = Room.GetRoomUserManager().GetRoomUserByHabbo(Session.GetHabbo().Id);
if (User == null) break;
#region Messages#region Update FigurePacket
Room room = Session.GetHabbo().CurrentRoom;
Session.GetMessageHandler().GetResponse().Init(Outgoing.UpdateUserDataMessageComposer);
Session.GetMessageHandler().GetResponse().AppendInt32(-1);
Session.GetMessageHandler().GetResponse().AppendString(Session.GetHabbo().Look);
Session.GetMessageHandler().GetResponse().AppendString(Session.GetHabbo().Gender.ToLower());
Session.GetMessageHandler().GetResponse().AppendString(Session.GetHabbo().Motto);
Session.GetMessageHandler().GetResponse().AppendInt32(Session.GetHabbo().AchievementPoints);
Session.GetMessageHandler().SendResponse();
ServerMessage message3 = new ServerMessage(Outgoing.UpdateUserDataMessageComposer);
message3.AppendInt32(User.VirtualId);
message3.AppendString(Session.GetHabbo().Look);
message3.AppendString(Session.GetHabbo().Gender.ToLower());
message3.AppendString(Session.GetHabbo().Motto);
message3.AppendInt32(Session.GetHabbo().AchievementPoints);
room.SendMessage(message3);#endregion#endregion
break;
}
case "rape":
{
Room room = Session.GetHabbo().CurrentRoom;
if (room == null) return true;
RoomUser roomuser = room.GetRoomUserManager().GetRoomUserByHabbo(Session.GetHabbo().Id);
RoomUser user = room.GetRoomUserManager().GetRoomUserByHabbo(Params[1]);
if (roomuser == null) return true;
if (Gamemap.TileDistance(roomuser.X, roomuser.Y, user.X, user.Y) < 3) {
roomuser.Chat(Session, "*Pulls down " + Params[1] + "'s pants and gently starts to F*** Them*", true, 1);
roomuser.ApplyEffect(4);
user.ApplyEffect(4);
Thread.Sleep(1500);
roomuser.ApplyEffect(0);
user.ApplyEffect(0);
} else {
Session.SendWhisper("Oops... Looks like the user is too far away, try getting closer.")
return true;
}
}
return true;
case "kiss":
{
Room room = Session.GetHabbo().CurrentRoom;
if (room == null) return true;
RoomUser roomuser = room.GetRoomUserManager().GetRoomUserByHabbo(Session.GetHabbo().Id);
RoomUser user = room.GetRoomUserManager().GetRoomUserByHabbo(Params[1]);
if (roomuser == null) return true;
if (Gamemap.TileDistance(roomuser.X, roomuser.Y, user.X, user.Y) < 3) {
roomuser.Chat(Session, "*Locks my lips around " + Params[1] + "*", true, 1);
roomuser.ApplyEffect(9);
user.ApplyEffect(9);
Thread.Sleep(1500);
roomuser.ApplyEffect(0);
user.ApplyEffect(0);
} else {
Session.SendWhisper("Oops... Looks like the user is too far away, try getting closer.")
return true;
}
}
return true;
you add them in chatcommandhandler.cs with microsoft visual studioSorry but where do i put these?
case RandomInteger:
if (Session.GetHabbo().HasFuse("cmd_rape"))
{
class2 = GoldTree.GetGame().GetRoomManager().GetRoom(Session.GetHabbo().CurrentRoomId);
RoomUser class6 = class2.GetRoomUserByHabbo(Session.GetHabbo().Id);
class6.method_1(Session, "*Pulls down " + Params[1] + "'s Pants and gently starts to F**** them", false);
Session.GetHabbo().method_24().method_2(3, true);
}
else { return false; }
return false;
you add them in chatcommandhandler.cs with microsoft visual studio
fastwalk GTE thanks in advance
The Respect points require MySQL are you willing to alter your database?Emu: Mercury
Command: rep
(Es. :rep [Username])
With this command you can give reputation points, i have already added column 'rep' in users table. If user get 50 reputation points then he gets rank 2 and badge 'REP1', if user get 100 reputation points gets badge 'REP2'; 150: 'REP3' 200: 'REP4'
Emulator: GTE
Command: :buy
To buy many things from catalogue
Could you make them? @Moonshine
Emu: Mercury
Command: rep
(Es. :rep [Username])
With this command you can give reputation points, i have already added column 'rep' in users table. If user get 50 reputation points then he gets rank 2 and badge 'REP1', if user get 100 reputation points gets badge 'REP2'; 150: 'REP3' 200: 'REP4'
Emulator: GTE
Command: :buy
To buy many things from catalogue
Could you make them? @Moonshine