[SERVICE] Custom Commands Database - Request/Post Here

Page 10 of 38 FirstFirst ... 2345678910111213141516171820 ... LastLast
Results 136 to 150 of 556
  1. #136
    Apprentice uber2015 is offline
    MemberRank
    Jun 2010 Join Date
    14Posts

    Re: RP Logout Command

    yea, too right sledmore.

  2. #137
    Not active anymore! Winter is offline
    MemberRank
    Aug 2009 Join Date
    AustraliaLocation
    461Posts

    Re: RP Logout Command

    good for noobs, thanks for the release. 7/10

  3. #138
    Apprentice uber2015 is offline
    MemberRank
    Jun 2010 Join Date
    14Posts

    Re: RP Logout Command

    yea, nice.

  4. #139
    hi i'm robbie Roper is offline
    MemberRank
    Oct 2008 Join Date
    /home/roperLocation
    2,283Posts
    Thanks for this, gunna use it and edit it so it will work with Lost_Memory's v26 source.

    :)

    Quote Originally Posted by diegoharsh View Post
    :brb changes there mission to <BRB> Name
    Code:
    case "brb":
                            {
                                    virtualUser Target = userManager.getUser(args[1]);
                                    Target._Mission = "BRB!";
                                    Target.refreshAppearance(false, true, true);
                                    break;
                                }
                            }
    Last edited by RastaLulz; 17-06-10 at 12:29 PM.

  5. #140
    Member habboniews is offline
    MemberRank
    Mar 2009 Join Date
    71Posts

    Re: RP Logout Command

    Where should i place it?

  6. #141
    Gamma RastaLulz is offline
    MemberRank
    Dec 2007 Join Date
    EarthLocation
    3,328Posts

    Re: RP Logout Command

    Useless command, IMO.

    Quote Originally Posted by habboniews View Post
    Where should i place it?
    In holograph place it in the following file:
    Source/Managers/userManager.cs

    Then search for "chooser", and place under that command.

  7. #142
    En Français? Bjork is offline
    MemberRank
    Apr 2007 Join Date
    854Posts

    Re: RP Logout Command

    Quote Originally Posted by RockStar7 View Post
    I was working with this a little bit, seems like some people can never get it to work, but after I realised, it's just a simple command.

    What does this command do?

    Allows it when you type :logout, your user will disconnect after 15 seconds. Basically your set on a timer.

    Problems with this command..

    - You can't move or talk after command has been triggered.
    - Doesn't work when you click the "X" of the client.
    - Doesn't have anything to disable the trigger once it has begun.

    Basically, some work can be done on it, and I think somebody with more knowledge can do this.

    This command was coded from scratch, please thank me for this release and I hope it's useful! :)

    Code:
    #region :logout
                        case "logout":
                            {
                                
                                Room.sendShout(roomUser, "--- Auto-Logoff in 15 seconds ---");
                                Thread.Sleep(15000);
                                Room.removeUser(roomUser.roomUID, false, "");
                                Disconnect();
                                
                                break;
                            }
                        #endregion
    This goes with Rasta's Emu. Holograph dissi's edit.

    The "Thanks" button helps a lot to. ;)
    I have an error after 15 seconds:



    Translated phrase: Object reference not set to an instance of an object (approximatively..)

  8. #143
    Account Upgraded | Title Enabled! Relapse is offline
    MemberRank
    Dec 2007 Join Date
    Fatal Hotel Were Else?Location
    438Posts

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

    :summon
    Summon all users to the room
    Uberemu

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

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

    Quote Originally Posted by Relapse View Post
    :summon
    Summon all users to the room
    Uberemu
    Uber is bad enough without any useless commands like that...
    it would just crash it, and mysql all together. and maybe apache.

  10. #145
    Member 1zinzanzin is offline
    MemberRank
    Jun 2010 Join Date
    61Posts

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

    im gunna make a list of commands that i think should be made for uber servers some may be made but called different names if so please tell me the links to download thanks
    1) :passover allows you to pass through any user and walk over any furni and the little black gab between parts of floor in rooms you can walk over that
    2) :givecredits username amount gives the amout of credits you choose to the user u choose
    3) :godcommands has 5 god commands which are :godspeed walk to times faster :godfly makes u fly over anyones head but not furni :godland stops :godfly :godwarp x y teleports u to the cords u put in using x and y cords or you can click a square and teleport there :godrights gives you the same amout of rights the room owner does.
    4):colorred user changes figure to hd-180-59
    5) :colorblue user changes figure to hd-180-60
    6) :coloryellow user changes figure to hd-180-50
    7) :colorpink user changes figure to hd-180-54
    8) :colorblack user changes figure to hd-180-601
    9) :colorpurple user changes figure to hd-180-56
    10) :colorgreen user changes figure yo hd-180-101
    11) :devil all changes all users figure to hd-180-59
    12) :nude on nude off changes figure to hd-180-59 nude of
    turns off and puts last clothes you had on back on
    13) :pull user pulls a user to you from 1 square away
    14) :push user pushes a user one square away from you
    15) :clone creates a copy of u with the number 1 added
    on the end of the clones name u can make up to 5 clones
    the second clone will have 2 on end of his name third clone with
    a 3 on the end nd so on link that till 5th clone and also :clonedelete clonename and :clonecontroll clonename controlls that clone and the clones says what you say.

    thouse are the commands i want it would be nice for them to be made and thanks if you make them :)

  11. #146
    hi i'm robbie Roper is offline
    MemberRank
    Oct 2008 Join Date
    /home/roperLocation
    2,283Posts

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

    Quote Originally Posted by 1zinzanzin View Post
    im gunna make a list of commands that i think should be made for uber servers some may be made but called different names if so please tell me the links to download thanks
    1) :passover allows you to pass through any user and walk over any furni and the little black gab between parts of floor in rooms you can walk over that
    2) :givecredits username amount gives the amout of credits you choose to the user u choose
    3) :godcommands has 5 god commands which are :godspeed walk to times faster :godfly makes u fly over anyones head but not furni :godland stops :godfly :godwarp x y teleports u to the cords u put in using x and y cords or you can click a square and teleport there :godrights gives you the same amout of rights the room owner does.
    4):colorred user changes figure to hd-180-59
    5) :colorblue user changes figure to hd-180-60
    6) :coloryellow user changes figure to hd-180-50
    7) :colorpink user changes figure to hd-180-54
    8) :colorblack user changes figure to hd-180-601
    9) :colorpurple user changes figure to hd-180-56
    10) :colorgreen user changes figure yo hd-180-101
    11) :devil all changes all users figure to hd-180-59
    12) :nude on nude off changes figure to hd-180-59 nude of
    turns off and puts last clothes you had on back on
    13) :pull user pulls a user to you from 1 square away
    14) :push user pushes a user one square away from you
    15) :clone creates a copy of u with the number 1 added
    on the end of the clones name u can make up to 5 clones
    the second clone will have 2 on end of his name third clone with
    a 3 on the end nd so on link that till 5th clone and also :clonedelete clonename and :clonecontroll clonename controlls that clone and the clones says what you say.

    thouse are the commands i want it would be nice for them to be made and thanks if you make them :)
    Sorry to burst your bubble but I highly doubt anyone will do those commands for you.

  12. #147
    Member 1zinzanzin is offline
    MemberRank
    Jun 2010 Join Date
    61Posts

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

    Quote Originally Posted by Roper View Post
    Sorry to burst your bubble but I highly doubt anyone will do those commands for you.
    lol i know they wont all be done i am just hoping for some i just put as many as i could because more can be done if people want to lol

  13. #148
    Enthusiast KingStupid is offline
    MemberRank
    Jun 2010 Join Date
    45Posts

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

    So awesome if you can do this:

    :deleteitem (nameuser) (itemid)

    that would be nice :D

    -kingstupid

  14. #149
    Rip Akaruz pixelpro321 is offline
    MemberRank
    Dec 2007 Join Date
    InternetLocation
    1,427Posts

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

    :hotelalert <message>
    Dissi's TDbP
    Sends a hotel alert to all users online with message.
    and

    :poof
    Updates characters looks

    and

    :arrest
    Bans a user for 1hour

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

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

    Since Im Free From My Working On My Emulator Is There Any Commands You Guys Need

    ---------- Post added at 04:59 PM ---------- Previous post was at 04:47 PM ----------

    RP Poof
    Code:
    #region :poof
                        case "poof": // Refreshes users look
                            {
                                int isWorking;
                                int isDead;
                                int isArrested;
                                using (DatabaseClient dbClient = Eucalypt.dbManager.GetClient())
                                {
                                    isWorking = dbClient.getInt("SELECT working FROM users WHERE name = '" + _Username + "'");
                                    isDead = dbClient.getInt("SELECT dead FROM users WHERE name = '" + _Username + "'");
                                    isArrested = dbClient.getInt("SELECT arrested FROM users WHERE name = '" + _Username + "'");
                                }
                                if (isWorking == 0 && isDead == 0 && isArrested == 0)
                                {
                                    refreshAppearance(true, true, true);
                                }
                                break;
                            }
                        #endregion
    Code:
    #region :hotelalert
                        case "hotelalert": // Broadcoasts a message to all virtual users (hotel alert)
                            {
                                if (rankManager.containsRight(_Rank, "fuse_administrator_access", userID) == false)
                                    return false;
                                else
                                {
                                    string Message = Text.Substring(3);
                                    userManager.sendData("BK" + stringManager.getString("scommand_hotelalert") + "\r" + Message);
                                    staffManager.addStaffMessage("halert", userID, 0, Message, "");
                                }
                            }
                            break; 
                        #endregion
    Arrest

    Code:
    #region :arrest <user> <time>
                        case "arrest":
                            {
                                virtualUser User = userManager.getUser(args[1]);
                                using (DatabaseClient dbClient = Eucalypt.dbManager.GetClient())
                                {
                                    int isworking = dbClient.getInt("SELECT working FROM users WHERE name = '" + _Username + "'");
                                    if (isworking == 1)
                                    {
                                        {
                                            int me_secure_id = dbClient.getInt("SELECT secure_id FROM users WHERE name = '" + _Username + "'");
                                            int canarrest = dbClient.getInt("SELECT arrest FROM jobs_ranks WHERE id = '" + me_secure_id + "'");
    
                                            if (User._roomID == _roomID && (roomUser.Y == User.roomUser.Y && roomUser.X == User.roomUser.X) || (roomUser.Y + 1 == User.roomUser.Y && roomUser.X == User.roomUser.X) || (roomUser.Y - 1 == User.roomUser.Y && roomUser.X == User.roomUser.X) || (roomUser.Y == User.roomUser.Y && roomUser.X + 1 == User.roomUser.X) || (roomUser.Y == User.roomUser.Y && roomUser.X - 1 == User.roomUser.X))
                                            {
                                                if (canarrest == 1)
                                                {
                                                    if (User.roomUser.walkLock == false)
                                                    {
                                                        Room.sendSaying(roomUser, "*attempts to arrest " + User._Username + ", but notices that he is not cuffed*");
                                                    }
                                                    else
                                                    {
                                                        int time = int.Parse(args[2]);
                                                        if (time > 60 || time < 1)
                                                        {
                                                            sendData("BK" + "What exactly are you trying to do?");
                                                        }
                                                        else
                                                        {
                                                            dbClient.runQuery("UPDATE users SET arrested = '1', arrests = arrests + '1', time_jail = '" + args[2] + "' WHERE name = '" + User._Username + "'");
    
                                                            int fine = time * 5;
                                                            dbClient.runQuery("UPDATE users SET credits = credits - '" + fine + "' WHERE name = '" + User._Username + "'");
                                                            refreshValueables(true, false);
    
                                                            Room.sendSaying(roomUser, "*arrests " + User._Username + " for " + time + " minutes, and fines them " + fine + " credits*");
    
                                                            User.sendData("D^" + "H" + Encoding.encodeVL64(150));
                                                            User.sendData("BK" + "You have been arrested by " + _Username + ", and fined " + fine + " credits!");
    
                                                            ThreadStart jailStarter = new ThreadStart(User.jailTime);
                                                            User.jailLooper = new Thread(jailStarter);
                                                            User.jailLooper.Priority = ThreadPriority.Lowest;
                                                            User.jailLooper.Start();
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                                break;
                            }
                        #endregion

    Use Rastas DB Well Just Use His DB :P

    Credits: Rasta Me For Hotelalet

    ---------- Post added at 05:02 PM ---------- Previous post was at 04:59 PM ----------

    Code:
    #region :colour <colour>
                        case "colour red":
                            {
                                virtualUser User = userManager.getUser(args[1]);
                                User._Figure = "hd-180-59";
                                refreshAppearance(false, false, true);
                                break;
                            }
                        case "colour blue":
                            {
                                virtualUser User = userManager.getUser(args[1]);
                                User._Figure = "hd-180-60";
                                refreshAppearance(false, false, true);
                                break;
                            }
                        case "colour yellow":
                            {
                                virtualUser User = userManager.getUser(args[1]);
                                User._Figure = "hd-180-50";
                                refreshAppearance(false, false, true);
                                break;
                            }
                        case "colour pink":
                            {
                                virtualUser User = userManager.getUser(args[1]);
                                User._Figure = "hd-180-54";
                                refreshAppearance(false, false, true);
                                break;
                            }
                        case "colour black":
                            {
                                virtualUser User = userManager.getUser(args[1]);
                                _Figure = "hd-180-601";
                                refreshAppearance(false, false, true);
                                break;
                            }
                        case "colour purple":
                            {
                                virtualUser User = userManager.getUser(args[1]);
                                User._Figure = "hd-180-56";
                                refreshAppearance(false, false, true);
                                break;
                            }
                        case "colour green":
                            {
                                virtualUser User = userManager.getUser(args[1]);
                                User._Figure = "hd-180-101";
                                refreshAppearance(false, false, true);
                                break;
                            }
                        case "restore": //Retoues Normal Colour
                            refreshAppearance(true, true, true);
                            refreshBadges();
                            break;
                        #endregion
    Credits Just And Me Well Just Changed A Bit



Advertisement