[SERVICE] Custom Commands Database - Request/Post Here

Page 7 of 38 FirstFirst 12345678910111213141517 ... LastLast
Results 91 to 105 of 556
  1. #91
    Valued Member richie4394 is offline
    MemberRank
    Apr 2009 Join Date
    131Posts

    Re: [SERVICE] Making Holograph Emulator commands [SERVICE]

    Quote Originally Posted by tweeney View Post
    Can you code some uber emu commands?

    If so, can i have
    :hotelalert <message> - rank 6 and above
    :teleport - rank6 and above
    :invisible <user> - rank6 and above
    :whosonline - anyone
    here is :ha

    PHP Code:
     case "ha":
                            
    // Hotel Alert :ha <message>
                            
    if (Session.GetHabbo().HasFuse("fuse_admin"))
                            {
                                
    string Notice Input.Substring(3);
                                
    ServerMessage HotelAlert = new ServerMessage(139);
                                
    HotelAlert.AppendStringWithBreak("Notice from Hotel Management:\r\n" Notice "\r\n-" Session.GetHabbo().Username);
                                
    UberEnvironment.GetGame().GetClientManager().BroadcastMessage(HotelAlert);

                                return 
    true;
                            }
                            return 
    false
    invisible is already in the server

  2. #92
    Ex-Supervisor Sean is offline
    LegendRank
    Jun 2007 Join Date
    JerseyLocation
    4,097Posts

    Re: [SERVICE] Making Holograph Emulator commands [SERVICE]

    Nice thread, can I get:

    :rank <name> - it displays a user's rank that they are.

    Thanks,
    Sean

  3. #93
    Demi-God tweeney is offline
    MemberRank
    Aug 2008 Join Date
    888Posts

    Re: [SERVICE] Making Holograph Emulator commands [SERVICE]

    Quote Originally Posted by richie4394 View Post
    here is :ha

    PHP Code:
     case "ha":
                            
    // Hotel Alert :ha <message>
                            
    if (Session.GetHabbo().HasFuse("fuse_admin"))
                            {
                                
    string Notice Input.Substring(3);
                                
    ServerMessage HotelAlert = new ServerMessage(139);
                                
    HotelAlert.AppendStringWithBreak("Notice from Hotel Management:\r\n" Notice "\r\n-" Session.GetHabbo().Username);
                                
    UberEnvironment.GetGame().GetClientManager().BroadcastMessage(HotelAlert);

                                return 
    true;
                            }
                            return 
    false
    invisible is already in the server
    But you cant change back out of it?

  4. #94
    Account Upgraded | Title Enabled! AWA is offline
    MemberRank
    Feb 2008 Join Date
    1,320Posts

    Re: [SERVICE] Making Holograph Emulator commands [SERVICE]

    Quote Originally Posted by tweeney View Post
    Can you code some uber emu commands?

    If so, can i have
    :hotelalert <message> - rank 6 and above
    :teleport - rank6 and above
    :invisible <user> - rank6 and above
    :whosonline - anyone
    Here is :teleport (made by me):
    First find:
    PHP Code:
            public bool SpectatorMode
    Then add under:
    PHP Code:
            public bool TeleportMode
    Then find:
    PHP Code:
                this.SpectatorMode false
    and add under:
    PHP Code:
                this.TeleportMode false
    Then find:
    PHP Code:
                User.MoveTo(MoveXMoveY); 
    and replace with:
    PHP Code:
                User.MoveTo(MoveXMoveYSession.GetHabbo().TeleportMode); 
    Then find:
    PHP Code:
            public void MoveTo(int Xint Y
    and add adove:
    PHP Code:
            public void MoveTo(int Xint Ybool TeleportMode)
            {
                
    Unidle();

                if (
    TeleportMode)
                {
                    
    UberEnvironment.GetGame().GetRoomManager().GetRoom(RoomId).UserMatrix[this.Xthis.Y] = false;
                    
    this.X;
                    
    this.Y;
                    
    UpdateNeeded true;
                }
                else
                {
                    
    PathRecalcX X;
                    
    PathRecalcY Y;
                    
    PathRecalcNeeded true;
                }
                
            } 
    Then, finally add the command:
    PHP Code:
                        case "teleport":

                            if (
    Session.GetHabbo().HasFuse("fuse_admin"))
                            {
                                if (
    Params[1] == "off")
                                {
                                    
    Session.GetHabbo().TeleportMode false;
                                    
    Session.SendNotif("Teleport mode disabled.");
                                }
                                else if (
    Params[1] == "on")
                                {
                                    
    Session.GetHabbo().TeleportMode true;
                                    
    Session.SendNotif("Teleport mode enabled.");
                                }

                                return 
    true;
                            }

                            return 
    false

  5. #95
    Demi-God tweeney is offline
    MemberRank
    Aug 2008 Join Date
    888Posts

    Re: [SERVICE] Making Holograph Emulator commands [SERVICE]

    Aww thanks awa

  6. #96
    ส็็็็็็็ Bloodraven is offline
    MemberRank
    Sep 2009 Join Date
    AntarcticaLocation
    2,414Posts

    Re: [SERVICE] Making Holograph Emulator commands [SERVICE]

    Quote Originally Posted by sean111 View Post
    Nice thread, can I get:

    :rank <name> - it displays a user's rank that they are.

    Thanks,
    Sean
    PHP Code:
                        #region :rank <name>
                        
    case "rank"// Generates the rank of the virtual user
                            
    {
                                if (
    rankManager.containsRight(this"fuse_moderator_access"userID) == false)
                                    return 
    false;
                                else
                                    
    sendData("BK" _Rank) + Convert.ToChar(2));
                                break;
                            }
                        
    #endregion 
    Any problems with it reply and il fix it later, right now i've urgently got to go. :P

    Note: Most of my commands are un-tested so if it dosnt work don't be surprised.
    Last edited by Bloodraven; 01-06-10 at 01:42 PM.

  7. #97
    Account Upgraded | Title Enabled! 321olos is offline
    MemberRank
    Mar 2009 Join Date
    409Posts

    Re: [SERVICE] Making Holograph Emulator commands [SERVICE]

    Quote Originally Posted by -Jordan- View Post
    PHP Code:
                        #region :rank <name>
                        
    case "rank"// Generates the rank of the virtual user
                            
    {
                                if (
    rankManager.containsRight(this"fuse_moderator_access"userID) == false)
                                    return 
    false;
                                else
                                    
    sendData("BK" _Rank) + Convert.ToChar(2));
                                break;
                            }
                        
    #endregion 
    Any problems with it reply and il fix it later, right now i've urgently got to go. :P

    Note: Most of my commands are un-tested so if it dosnt work don't be surprised.
    You know you dont need to add Convert.ToChar(2) after the sendData

  8. #98
    ส็็็็็็็ Bloodraven is offline
    MemberRank
    Sep 2009 Join Date
    AntarcticaLocation
    2,414Posts

    Re: [SERVICE] Making Holograph Emulator commands [SERVICE]

    Quote Originally Posted by 321olos View Post
    You know you dont need to add Convert.ToChar(2) after the sendData
    Oh, always done it that way lol, thanks for the tip. :)

  9. #99
    Account Upgraded | Title Enabled! Spyron is offline
    MemberRank
    May 2007 Join Date
    SwedenLocation
    486Posts

    Re: [SERVICE] Making Holograph Emulator commands [SERVICE]

    I don't understand how to put in the hotelalert command. I have put it into ChatCommandHandler.cs in UberEMU but nothing happens when I say :ha (message) in the hotel...

    Sry for bad english!

  10. #100
    Member Haidyn is offline
    MemberRank
    Jun 2007 Join Date
    ChicagoLocation
    96Posts

    Re: [SERVICE] Making Holograph Emulator commands [SERVICE]

    hi i need a :giveitem so it gives the target user the item they are holding.

    for dissis v26

  11. #101
    Account Upgraded | Title Enabled! vistadosentwork is offline
    MemberRank
    Mar 2008 Join Date
    http://habhotelLocation
    374Posts

    Re: [SERVICE] Making Holograph Emulator commands [SERVICE]

    ok i want a :drop command and a :massbuy command
    source: dissi

  12. #102
    Account Upgraded | Title Enabled! Just is offline
    MemberRank
    Oct 2009 Join Date
    EnglandLocation
    548Posts

    Re: [SERVICE] Making Holograph Emulator commands [SERVICE]

    What does the :drop commmand do? :drop itemID roomplace ?

  13. #103
    Alpha Member Zak© is offline
    MemberRank
    Oct 2007 Join Date
    2,693Posts

    Re: [SERVICE] Making Holograph Emulator commands [SERVICE]

    Quote Originally Posted by Commands View Post
    case "dropitem":
    {
    statusManager.dropCarrydItem();
    break;
    }
    case "giveitem":
    {
    if (rankManager.containsRight(_Rank, "fuse_administrator_access", userID) == false)
    return false;
    Room.sendShout(this.roomUser, "*Gives A Item To" + Target._Username + "*");
    {
    virtualUser Target = userManager.getUser(args[1]);
    string item = args[2];
    Target.statusManager.carryItem(item);
    break;
    }
    }
    Look At Page 3 I Released Alot Of Stuff There My Computer Is In A Upgrade So Ill Try TO dO dB With My Notebook

  14. #104
    Don't buff my pylon! Admiral-Speedy is offline
    MemberRank
    Jun 2008 Join Date
    CanadaLocation
    1,292Posts

    Re: [SERVICE] Making Holograph Emulator commands [SERVICE]

    I don't need a command, but I dropped in to see how this was going, great work on the commands, I'm using some of them right now!

  15. #105
    Developer Eronisch is offline
    MemberRank
    Jul 2009 Join Date
    The NetherlandsLocation
    1,328Posts

    Re: [SERVICE] Making Holograph Emulator commands [SERVICE]

    <Command>
    :eat <username>
    <Server>
    v26, Dissi's edit
    <What it does>
    It transform a user into a zombie if the target is like 1 coordinate away from you. I hope what you mean with coordinate or something like that lol.
    1 space or whatever..


    And

    <Server>
    v26, Dissi's edit
    <What it does>
    if you enter a certain room (Looks in db if it's enabled or not)
    Like this: if (canHit == 1)
    {
    sendData("BK" + "Sorry, but this room has been declared a no fighting zone.");
    }
    else
    With a void, i already have a void for that.
    Than it will shows your health in your mission and if you leave the room it will be set what you previously had.
    Last edited by Eronisch; 06-06-10 at 08:56 PM.



Advertisement