[Service] Uber Custom Functions and Commands [Service]

Page 2 of 2 FirstFirst 12
Results 26 to 48 of 48
  1. #26
    Account Upgraded | Title Enabled! Grant is offline
    MemberRank
    Sep 2009 Join Date
    Scotland, UK.Location
    728Posts

    Re: [Service] Uber Custom Functions and Commands [Service]

    Quote Originally Posted by Nills View Post
    :restart (It restarts the emu)
    For it to work 100%, You would need to run on a batch file.

  2. #27
    Member SkyHacker is offline
    MemberRank
    Feb 2007 Join Date
    79Posts

    Re: [Service] Uber Custom Functions and Commands [Service]

    no make a TCP Connecter restarter only Login

  3. #28
    League of Legends <3 toperwin is offline
    MemberRank
    Jan 2009 Join Date
    313Posts

    Re: [Service] Uber Custom Functions and Commands [Service]

    Quote Originally Posted by Inesperto View Post
    • :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
    Last edited by toperwin; 16-02-11 at 03:05 PM.

  4. #29
    Valued Member Landana is offline
    MemberRank
    Jul 2009 Join Date
    109Posts

    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.

  5. #30
    League of Legends <3 toperwin is offline
    MemberRank
    Jan 2009 Join Date
    313Posts

    Re: [Service] Uber Custom Functions and Commands [Service]

    Quote Originally Posted by Landana View Post
    :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 

  6. #31
    Account Upgraded | Title Enabled! Mikehunt is offline
    MemberRank
    Jun 2010 Join Date
    Look behind YouLocation
    332Posts

    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?

  7. #32
    League of Legends <3 toperwin is offline
    MemberRank
    Jan 2009 Join Date
    313Posts

    Re: [Service] Uber Custom Functions and Commands [Service]

    Quote Originally Posted by Mikehunt View Post
    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

  8. #33
    Valued Member Landana is offline
    MemberRank
    Jul 2009 Join Date
    109Posts

    Re: [Service] Uber Custom Functions and Commands [Service]

    Could u code :afk ,too?

  9. #34
    Account Upgraded | Title Enabled! Mikehunt is offline
    MemberRank
    Jun 2010 Join Date
    Look behind YouLocation
    332Posts

    Re: [Service] Uber Custom Functions and Commands [Service]

    Quote Originally Posted by toperwin View Post
    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)

  10. #35
    Proficient Member </Meap> is offline
    MemberRank
    Jul 2010 Join Date
    159Posts

    Re: [Service] Uber Custom Functions and Commands [Service]

    Like some custom commands like, one where you can change the theme of a room?

  11. #36
    Account Upgraded | Title Enabled! simoneihg is offline
    MemberRank
    Dec 2010 Join Date
    PalermoLocation
    243Posts

    Re: [Service] Uber Custom Functions and Commands [Service]

    :disconetti
    :disconetti <nomeutente>

    :disconeccts the user from the client.

  12. #37
    Valued Member richie4394 is offline
    MemberRank
    Apr 2009 Join Date
    131Posts

    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

  13. #38
    Account Upgraded | Title Enabled! MikeDavies is offline
    MemberRank
    Aug 2010 Join Date
    WalesLocation
    629Posts

    Re: [Service] Uber Custom Functions and Commands [Service]

    Quote Originally Posted by Mikehunt View Post
    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

  14. #39
    Enthusiast Kouille is offline
    MemberRank
    Jun 2010 Join Date
    37Posts

    Re: [Service] Uber Custom Functions and Commands [Service]

    i need commands :teleportmode <user> ad :roombadge for Uber Please :)

  15. #40
    Member Habbi is offline
    MemberRank
    Feb 2011 Join Date
    88Posts

    Re: [Service] Uber Custom Functions and Commands [Service]

    Good Work

  16. #41
    Apprentice Araon is offline
    MemberRank
    Feb 2011 Join Date
    6Posts

    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

  17. #42
    Banned Beny. is offline
    BannedRank
    Aug 2009 Join Date
    536Posts

    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

  18. #43
    Apprentice Mutey is offline
    MemberRank
    Aug 2010 Join Date
    7Posts

    Re: [Service] Uber Custom Functions and Commands [Service]

    How do you add them what file for Uber, I know holo's but not ubers?

  19. #44
    [̲̅$̲̅(̲̅1̲̅)̲̅$ ̲̅] leenster is offline
    MemberRank
    May 2008 Join Date
    KanaadaLocation
    992Posts

    Re: [Service] Uber Custom Functions and Commands [Service]

    Quote Originally Posted by Mutey View Post
    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.....
    Attached Thumbnails Attached Thumbnails smile.jpg  
    Last edited by leenster; 03-03-11 at 04:30 AM.

  20. #45
    Member R3DSB0W is offline
    MemberRank
    Feb 2011 Join Date
    NorwayLocation
    61Posts

    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
    Last edited by R3DSB0W; 04-03-11 at 11:54 AM.

  21. #46
    You can call me Monty :D GuikBretas is offline
    MemberRank
    Apr 2009 Join Date
    NorwayLocation
    332Posts

    Re: [Service] Uber Custom Functions and Commands [Service]

    Quote Originally Posted by icesurvivor View Post
    - 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.
    Don't works

  22. #47
    Enthusiast Skittluier is offline
    MemberRank
    May 2009 Join Date
    The NetherlandsLocation
    41Posts

    Re: [Service] Uber Custom Functions and Commands [Service]

    Can you code the :roomid command for me?

    Please send the code with a PM. :)

  23. #48
    Banned Beny. is offline
    BannedRank
    Aug 2009 Join Date
    536Posts

    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



Page 2 of 2 FirstFirst 12

Advertisement