-
[Service] Uber Custom Functions and Commands [Service]
Uber Functions & Commands Coding Service
Sup, theres hardly any request threads for uber, so here is one :)
I will try to complete all requests as soon as possible, but you must remember I do have a life.
Request template:
Quote:
- Function/Command
- Function/Command Name
- Decription/Purpose
What you cannot request here:
Quote:
- Holograph Functions
- Holograph Commands
- Commands/Functions that are already released
-
Re: [Service] Uber Custom Functions and Commands [Service]
What's the point of this thread?
95% of the time, they all die out.
-
Re: [Service] Uber Custom Functions and Commands [Service]
Quote:
Originally Posted by
Grant
What's the point of this thread?
95% of the time, they all die out.
To allow people who aren't so good at coding, or can't code atall, to get functions/commands they may want for their flash hotel.
-
Re: [Service] Uber Custom Functions and Commands [Service]
Lol didnt a guy just opened one of these like 5min ago..
Anywayz goodluck Swimo..
-
Re: [Service] Uber Custom Functions and Commands [Service]
Quote:
Originally Posted by
davidon
Lol didnt a guy just opened one of these like 5min ago..
Anywayz goodluck Swimo..
That was holograph commands.
-
Re: [Service] Uber Custom Functions and Commands [Service]
oh ok sorry, I want a command for Sun
:clone x or :swap y
admin and mods only.
When you type this commands you can switch / clone the exact same clothes as the users your trying to clone with.
For example :swap User103 and now you will be dressed just like that user.
-
Re: [Service] Uber Custom Functions and Commands [Service]
:dailycredits
rank 1 3000 Credits
//edit: VIPs geht 5000 Credits!!
When you typie this command you get 300/50000 Credits. But its only every day avaiable, so if you do the command, you can do the command not until the day is over.
For example :dailycredits and now you get 3000/5000 credits.
If you try again you get an error message: "You already received your 3000 Credits for today, noob."
-
Re: [Service] Uber Custom Functions and Commands [Service]
I did a clone one, ill post it here
PHP Code:
case "clone":
{
if (Session.GetHabbo().Rank >= 7)
{
TargetRoom = UberEnvironment.GetGame().GetRoomManager().GetRoom(Session.GetHabbo().CurrentRoomId);
{
TargetRoomUser = TargetRoom.GetRoomUserByHabbo(Session.GetHabbo().Id);
TargetClient = UberEnvironment.GetGame().GetClientManager().GetClientByHabbo(Params[1]);
if (TargetRoomUser == null)
{
return false;
}
if (Params[1] == null)
{
return false;
}
if (TargetRoom == null)
{
return false;
}
Session.GetHabbo().Look = TargetClient.GetHabbo().Look;
Session.GetMessageHandler().PrepareRoomForUser(Session.GetHabbo().CurrentRoomId, "");
return true;
}
}
}
return false;
- Mike
-
Re: [Service] Uber Custom Functions and Commands [Service]
Quote:
Originally Posted by
MikeDavies
I did a clone one, ill post it here
PHP Code:
case "clone":
{
if (Session.GetHabbo().Rank >= 7)
{
TargetRoom = UberEnvironment.GetGame().GetRoomManager().GetRoom(Session.GetHabbo().CurrentRoomId);
{
TargetRoomUser = TargetRoom.GetRoomUserByHabbo(Session.GetHabbo().Id);
TargetClient = UberEnvironment.GetGame().GetClientManager().GetClientByHabbo(Params[1]);
if (TargetRoomUser == null)
{
return false;
}
if (Params[1] == null)
{
return false;
}
if (TargetRoom == null)
{
return false;
}
Session.GetHabbo().Look = TargetClient.GetHabbo().Look;
[B]Session.GetMessageHandler().PrepareRoomForUser(Session.GetHabbo().CurrentRoomId, "");[/B]
return true;
}
}
}
return false;
- Mike
Why do that?
If you found the voids for wardrobe If you define the user's look they will change on their own?
-
Re: [Service] Uber Custom Functions and Commands [Service]
-
Re: [Service] Uber Custom Functions and Commands [Service]
Teleport like holograph;p
-
Re: [Service] Uber Custom Functions and Commands [Service]
-
Re: [Service] Uber Custom Functions and Commands [Service]
Quote:
Originally Posted by
Haxxo
:pet command for uber :3
description and purpose?
-
Re: [Service] Uber Custom Functions and Commands [Service]
He means a Pet transformation code -
Changes your avatar into a pet
-
Re: [Service] Uber Custom Functions and Commands [Service]
Quote:
Originally Posted by
Tr0ll.™
Why do that?
If you found the voids for wardrobe If you define the user's look they will change on their own?
Yeah, but as this is just for admins...
It just reloads the room they were in
-
Re: [Service] Uber Custom Functions and Commands [Service]
Quote:
Originally Posted by
MikeDavies
Yeah, but as this is just for admins...
It just reloads the room they were in
As i was saying, you don't need to reload the room..
If you just define their look it invisi-poof on it's own.
-
Re: [Service] Uber Custom Functions and Commands [Service]
• :teleport
• :teleport on/off
• Teleport the user for the selected Room Box
• :globalbadge
• :globalbadge <badge code>
• Give a badge for all users online
-
Re: [Service] Uber Custom Functions and Commands [Service]
• :muteroom / :unmuteroom
• Silence all round the room, only administrators can talk.
• :badgeall <badge code>
• Leave badge to all members of the 'Hotel. (Administrators Only)
Thank you!
-
Re: [Service] Uber Custom Functions and Commands [Service]
Quote:
Originally Posted by
GuikBretas
• :teleport
• :teleport on/off
• Teleport the user for the selected Room Box
• :globalbadge
• :globalbadge <badge code>
• Give a badge for all users online
- There was already one released for Uber.
http://forum.ragezone.com/5677220-post94.html
[/CODE]
- Would you like a php script for it? Because I have one.
-
Re: [Service] Uber Custom Functions and Commands [Service]
:manutenzione
• :manutenzione/togli manutenzione
• manutenzione=puts on maniteance the hotel/togli manutenzione=puts on the hotel
• :daidistintivo a tutti
• :dai distintivo a tutti <codice badge>
• Give a badge for all users online
• :update credits and pixel
• :update
• if you do this command 1 time, it will update credits ands pixels every 30 minutes
-
Re: [Service] Uber Custom Functions and Commands [Service]
Quote:
:manutenzione
• :manutenzione/togli manutenzione
• manutenzione=puts on maniteance the hotel/togli manutenzione=puts on the hotel
Here you go. Coded by me so may not be up to best standards.
Code:
case "maintenance":
if (Session.GetHabbo().HasFuse("fuse_admin"))
{
if (Params[1] == "on")
{
{
string Notice = Input.Substring(3);
ServerMessage HotelAlert = new ServerMessage(139);
HotelAlert.AppendStringWithBreak("Message from management:\n SuperRP will is going offline for the night momentarily, We hope to see you back in the hotel soon.");
UberEnvironment.GetGame().GetClientManager().BroadcastMessage(HotelAlert);
using (DatabaseClient dbClient = UberEnvironment.GetDatabase().GetClient())
dbClient.ExecuteQuery("UPDATE site_config SET maintenance = '1'");
return true;
}
}
if (Params[1] == "off")
{
if (Session.GetHabbo().HasFuse("fuse_admin"))
{
string Notice = Input.Substring(3);
ServerMessage HotelAlert = new ServerMessage(139);
HotelAlert.AppendStringWithBreak("Message from management:\n SuperRP will is back online, We hope to see you having fun :D");
UberEnvironment.GetGame().GetClientManager().BroadcastMessage(HotelAlert);
using (DatabaseClient dbClient = UberEnvironment.GetDatabase().GetClient())
dbClient.ExecuteQuery("UPDATE site_config SET maintenance = '0'");
return true;
}
else
{
Session.SendNotif(Params[1] + " is not a valid code for the command\"maintenance\" !");
}
}
}
else
{
Session.SendNotif("Error! Your not the right rank to do this!");
}
return false;
P.S: code is ":maintenance on" or ":maintenance off"
-
Re: [Service] Uber Custom Functions and Commands [Service]
:teleall
Teleport all Online in your Room
:pet 1 you are a Pet
:setmax All User work ^^
-
Re: [Service] Uber Custom Functions and Commands [Service]
Quote:
Originally Posted by
SkyHacker
:teleall
Teleport all Online in your Room
:pet 1 you are a Pet
:setmax All User work ^^
No, Don't be a dumbass and kill your server.
-
Re: [Service] Uber Custom Functions and Commands [Service]
:restart (It restarts the emu)
-
Re: [Service] Uber Custom Functions and Commands [Service]
yes niCe :D OR
:badgeall Code
or
:pixelall 9999
or
:roombadge
:give id amount Username Furniture
:teleport model change
-
Re: [Service] Uber Custom Functions and Commands [Service]
Quote:
Originally Posted by
Nills
:restart (It restarts the emu)
For it to work 100%, You would need to run on a batch file.
-
Re: [Service] Uber Custom Functions and Commands [Service]
no make a TCP Connecter restarter only Login
-
Re: [Service] Uber Custom Functions and Commands [Service]
Quote:
Originally Posted by
Inesperto
• :muteroom / :unmuteroom
• Silence all round the room, only administrators can talk.
• :badgeall <badge code>
• Leave badge to all members of the 'Hotel. (Administrators Only)
Thank you!
room mute/unmute already coded by my long ago ;p
http://forum.ragezone.com/6104176-post7.html
-
Re: [Service] Uber Custom Functions and Commands [Service]
:vip <User>
Sets User to Rank 2.
:deleteroom
Deletes Room in the one you are.
:effect <ID>
Gives you Effect by Id.
:brb or :afk
Say every minute, how long you are brb.
For example:
I'm brb since: "20 minutes" or so..
Have fun by Coding.
-
Re: [Service] Uber Custom Functions and Commands [Service]
Quote:
Originally Posted by
Landana
:vip <User>
Sets User to Rank 2.
:deleteroom
Deletes Room in the one you are.
:effect <ID>
Gives you Effect by Id.
:brb or :afk
Say every minute, how long you are brb.
For example:
I'm brb since: "20 minutes" or so..
Have fun by Coding.
PHP Code:
#region vip
case "vip":
{
if (Session.GetHabbo().HasFuse("fuse_sysadmin"))
{
TargetClient = UberEnvironment.GetGame().GetClientManager().GetClientByHabbo(Params[1]);
if (TargetClient != null)
{
UberEnvironment.GetGame().GetClientManager().GetClientByHabbo(Params[1]).GetHabbo().Rank = 2;
using (Uber.Storage.DatabaseClient dbClient = UberEnvironment.GetDatabase().GetClient())
{
dbClient.ExecuteQuery("UPDATE users SET rank = '2' WHERE username = '" + Params[1] + "'");
}
return true;
}
else
{
Session.SendNotif("User: " + Params[1] + " could not be found in the database.\rPlease try your request again.");
return false;
}
}
}
return false;
#endregion
PHP Code:
#region effect
case "effect":
{
if (Session.GetHabbo().HasFuse("fuse_sysadmin"))
{
TargetRoom = UberEnvironment.GetGame().GetRoomManager().GetRoom(Session.GetHabbo().CurrentRoomId);
if (TargetRoom == null)
{
return false;
}
TargetRoomUser = TargetRoom.GetRoomUserByHabbo(Session.GetHabbo().Id);
if (TargetRoomUser == null)
{
return false;
}
try
{
Session.GetHabbo().GetAvatarEffectsInventoryComponent().AddEffect(int.Parse(Params[1]), 360000);
Session.GetHabbo().GetAvatarEffectsInventoryComponent().EnableEffect(int.Parse(Params[1]));
Session.GetHabbo().GetAvatarEffectsInventoryComponent().CurrentEffect = int.Parse(Params[1]);
Session.GetHabbo().GetAvatarEffectsInventoryComponent().ApplyEffect(int.Parse(Params[1]));
}
catch (Exception) { }
return true;
}
}
return false;
#endregion
-
Re: [Service] Uber Custom Functions and Commands [Service]
The codes you have done do not work for me?
(Not saying your rubbish :P)
Could it be the emulator I am using?
-
Re: [Service] Uber Custom Functions and Commands [Service]
Quote:
Originally Posted by
Mikehunt
The codes you have done do not work for me?
(Not saying your rubbish :P)
Could it be the emulator I am using?
Can be, blahemu = shit, if you using blahemu it will not work ;)
and i tested them, for me it works great, and i just based it on the real uberemu base
-
Re: [Service] Uber Custom Functions and Commands [Service]
-
Re: [Service] Uber Custom Functions and Commands [Service]
Quote:
Originally Posted by
toperwin
Can be, blahemu = shit, if you using blahemu it will not work ;)
and i tested them, for me it works great, and i just based it on the real uberemu base
I use HobboaEmu.
That could be it.
anyway :P
good work!
How about a code that Freezes people, so they cannot open the navigator, or move.
Or another one that makes it so you can turn into a pet? (as suggested by swimoTheBig)
-
Re: [Service] Uber Custom Functions and Commands [Service]
Like some custom commands like, one where you can change the theme of a room?
-
Re: [Service] Uber Custom Functions and Commands [Service]
:disconetti
:disconetti <nomeutente>
:disconeccts the user from the client.
-
Re: [Service] Uber Custom Functions and Commands [Service]
simon... 4 days have gone by and you haven't coded one request.. think this is a bad thread
-
Re: [Service] Uber Custom Functions and Commands [Service]
Quote:
Originally Posted by
Mikehunt
I use HobboaEmu.
That could be it.
anyway :P
good work!
How about a code that Freezes people, so they cannot open the navigator, or move.
Or another one that makes it so you can turn into a pet? (as suggested by swimoTheBig)
Ive done a Freeze one, but i cant release it because i did it for a hotel, who dont want it released
-
Re: [Service] Uber Custom Functions and Commands [Service]
i need commands :teleportmode <user> ad :roombadge for Uber Please :)
-
Re: [Service] Uber Custom Functions and Commands [Service]
-
Re: [Service] Uber Custom Functions and Commands [Service]
Hey, Do you also know when you login into an R36 it says news right
well everytime I have a newsarticle i cant make a picture apper. It wants a code can you help?
Thanks,
Araon
-
Re: [Service] Uber Custom Functions and Commands [Service]
mute room:
Code:
#region RoomShutUp / MuteRoom
case "muteroom":
{
if (Session.GetHabbo().HasFuse("fuse_mute"))
{
TargetRoom = UberEnvironment.GetGame().GetRoomManager().GetRoom(Session.GetHabbo().CurrentRoomId);
if (TargetRoom == null)
{
return false;
}
string Msg = MergeParams(Params, 1);
foreach (RoomUser RoomUser in TargetRoom.UserList)
{
RoomUser.GetClient().GetHabbo().Mute();
RoomUser.GetClient().SendNotif("You are Muted!");
}
return true;
}
return false;
}
#endregion
UnMute room:
Code:
#region UnMuteRoom
case "unmuteroom":
{
if (Session.GetHabbo().HasFuse("fuse_mute"))
{
TargetRoom = UberEnvironment.GetGame().GetRoomManager().GetRoom(Session.GetHabbo().CurrentRoomId);
if (TargetRoom == null)
{
return false;
}
string Msg = MergeParams(Params, 1);
foreach (RoomUser RoomUser in TargetRoom.UserList)
{
RoomUser.GetClient().GetHabbo().Unmute();
RoomUser.GetClient().SendNotif("You are UnMuted!");
}
return true;
}
return false;
}
#endregion
-
Re: [Service] Uber Custom Functions and Commands [Service]
How do you add them what file for Uber, I know holo's but not ubers?
-
1 Attachment(s)
Re: [Service] Uber Custom Functions and Commands [Service]
Quote:
Originally Posted by
Mutey
How do you add them what file for Uber, I know holo's but not ubers?
ChatCommandHandler.cs
I made me a :smile command
it shows a random funny quote or joke...
our users love this one.....
-
Re: [Service] Uber Custom Functions and Commands [Service]
I have 2 commands I want.
Command 1:
:invisible on/off
When you type this command, you gets invisible and only staff can see you
Command 2:
:newname [username] [new username]
Use this command to change a username, just type in a username then type in the new username and the username changes!
Example: :newname R3DSB0W MyNewName
-
Re: [Service] Uber Custom Functions and Commands [Service]
Quote:
Originally Posted by
icesurvivor
Don't works
-
Re: [Service] Uber Custom Functions and Commands [Service]
Can you code the :roomid command for me?
Please send the code with a PM. :)
-
Re: [Service] Uber Custom Functions and Commands [Service]
RoomID:
Code:
#region :roomid
case "roomid":
Session.SendNotif("Your in Room ID: " + Session.GetHabbo().CurrentRoomId + "");
return true;
#endregion