Just an idea. I wanted to give him something hard to test his skills.
I could be just a staff command. or maybe even a cut and paste?
Printable View
It would be nice to see the :empty command fixed for swiftemu, it currently only deletes items from items_users and not from the items table.
Pressa command:kiss (Kisseffect)to PhoenixEmulator
Too badMoreanywayThanks!
:update_bans and :update_catalogue for butterfly?
catalogue use ultraluz 2.0
PHP Code:internal static void catarefresh()
{
using (IQueryAdapter adapter = ButterflyEnvironment.GetDatabaseManager().getQueryreactor())
{
ButterflyEnvironment.GetGame().GetCatalog().Initialize(adapter);
}
ButterflyEnvironment.GetGame().GetCatalog().InitCache();
ButterflyEnvironment.GetGame().GetClientManager().QueueBroadcaseMessage(new ServerMessage(Outgoing.UpdateShop));
}
Snowlight
:hit <username> - Hitting Someone Then Decrease Their Health
:me - Show Its Own Health,Str and Intelligence
:akill <username> - Admin Kill For Admin Commands Instant Kill For An User
:teleport <roomid> - Like An Instant Taxi No Time Wait Just Fly Away On A Room
If you could make a command which fuses the rights for a particular room to have all rights enabled for all users like they used to have on Habbo, that'd be awesome :)
Possibly like :enablerights <roomid> or :enablerights on/off (While you'er in the room)
:) Thanks if you're actually serious about this.
Would you also be able to fix the swift emu worldfilter so
If u say a wordfilter its the replacement like phx?
hey im willing to pay you if u can make us a emu based off Gold Tree Emulator
i want some extra comands like
:sellroom (amount)
:buyroom
:giverank
stuff like that, and more,
add me on skype: rcnadeem
ill be paying a nice amount if u can do it
Code:QueryAdapter.RunFastQuery("DELETE FROM items WHERE key = 'value'");
try make this command.. :controlall
for PlusEMU r2 ;)
Mind creating :hotrooms for RealityRP?
It shows a list of active rooms.
An idea for you would make console commands too...
Could someone adapt :forcerot to plus ?
You mean, everyone to an point X/Y? That would be cool, actually, even easy.
The way to it is (following that, I don't know how PlusEmu system are, so...)
foreach ever user in room and simply pathfind the way throw the point, send the packet to room, they wouldn't be everyone in the same spot, the first who gets there would stand, then the second will find the closer way to the spot, and go on.
I had this idea some while back... Make unique-user-control either, would be nice
ControlallPHP Code:#region Controlall (:Controlall)
case "Controlall":
{
if (Session.GetHabbo().HasCmd("Controlall") || Session.GetHabbo().IsCool)
{
Room TargetRoom = Session.GetHabbo().CurrentRoom;
if (Session.GetHabbo().CurrentRoom == null)
{
Session.SendNotif("An unknown error occured!");
return true;
}
int x = Convert.ToInt32(Params[1]);
int y = Convert.ToInt32(Params[2]);
Room Room = SilverwaveEnvironment.GetGame().GetRoomManager().GetRoom(Session.GetHabbo().CurrentRoomId);
RoomUser User = Room.GetRoomUserManager().GetRoomUserByHabbo(Session.GetHabbo().Id);
List<RoomUser> users = Room.GetRoomUserManager().GetRoomUsers();
foreach (RoomUser Us in users)
{
if (Session.GetHabbo().Id == Us.userID)
continue;
Us.MoveTo(x, y, true);
}
}
return true;
}
#endregion
Command works like how you say
just type :Controlall x-cords y-cords
:control a single user
Roomuser.csPHP Code:#region Control (:control)
case "control":
{
if (Session.GetHabbo().Rank == 11)
{
Room room = Session.GetHabbo().CurrentRoom;
if (room == null)
{
SendChatMessage(Session, "Error in finding room!");
return true;
}
RoomUser roomuser = room.GetRoomUserManager().GetRoomUserByHabbo(Session.GetHabbo().Id);
if (roomuser == null)
{
SendChatMessage(Session, "Unable to find user!");
return true;
}
if (Params.Length == 1)
{
SendChatMessage(Session, "Unable to find user!");
return true;
}
GameClient Target = SilverwaveEnvironment.GetGame().GetClientManager().GetClientByUsername(Params[1]);
roomuser.IsControlling = true;
roomuser.ControlId = Target.GetHabbo().Id;
SendChatMessage(Session, "You are now controlling: " + Target.GetHabbo().Username);
return true;
}
return false;
}
break;
#endregion
Room.csPHP Code:internal Boolean IsControlling = false;
internal UInt32 ControlId = 0;
find internal void move()
replace it with thus
Controlall was coded by me :PPHP Code:internal void Move()
{
Room Room = Session.GetHabbo().CurrentRoom;
RoomUser User;
if (Room == null)
{
return;
}
User = Room.GetRoomUserManager().GetRoomUserByHabbo(Session.GetHabbo().Id);
if (User == null || !User.CanWalk)
{
return;
}
if (User.IsControlling)
{
User = Room.GetRoomUserManager().GetRoomUserByHabbo(User.ControlId);
}
int MoveX = Request.PopWiredInt32();
int MoveY = Request.PopWiredInt32();
if (MoveX == User.X && MoveY == User.Y)
{
return;
}
User.MoveTo(MoveX, MoveY);
}
Control was precoded found in a old emu i had :P