[SERVICE] Custom Commands Database - Request/Post Here

Page 13 of 38 FirstFirst ... 35678910111213141516171819202123 ... LastLast
Results 181 to 195 of 556
  1. #181
    Member Armando95 is offline
    MemberRank
    Jun 2010 Join Date
    Catania, ItaliaLocation
    65Posts

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

    command to make the costume?

  2. #182
    sexiess is a sin. Subway is offline
    MemberRank
    Jun 2010 Join Date
    2,491Posts

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

    nice thread 321, I think this will help a lot of people who don't know wdf coding is or don't know how to :/

  3. #183
    Account Upgraded | Title Enabled! Ðavid is offline
    MemberRank
    Mar 2009 Join Date
    AntarcticaLocation
    233Posts

    Holograph Emulator Commands

    Here are some commands I made and where edited/fixed to work on any emu. (:
    They work on every Holograph Emulator (r25, r26, r35, etc)


    Mass Pixels
    - Gives everyone pixels
    Code:
    #region :masspixels <amount>
                        case "masspixels":
                            {
                                if (rankManager.containsRight(this, "fuse_administrator_access", userID) == false)
                                {
                                    return false;
                                }
                                else
                                {
                                    Int64 pixelstoupdate = int.Parse(args[1]);
                                    foreach (virtualUser User in userManager._Users.Values)
                                    {
                                        Int64 newpixels = User._Pixels + pixelstoupdate;
                                        using (DatabaseClient dbClient = Eucalypt.dbManager.GetClient())
                                        {
                                            dbClient.runQuery("UPDATE users SET pixels = " + newpixels + " WHERE name = '" + User._Username + "'");
                                        }
                                        User.refreshValueables(true, false);
                                    }
                                }
                                break;
                            }
                        #endregion
    Give Pixels - Gives the desired user pixels
    Code:
    #region :givepixels
                        case "givepixels":
                            {
                                if (rankManager.containsRight(this, "fuse_administrator_access", userID) == false)
                                {
                                    sendData("BK" + "You Don't Have the Right to Access This Command!");
                                    return false;
                                }
                                else
                                {
                                    virtualUser User = userManager.getUser(args[1]);
                                    virtualUser Target = userManager.getUser(args[1]);
                                    Int64 pixelstoupdate = int.Parse(args[2]);
                                    Int64 oldpixels = new int();
                                    using (DatabaseClient dbClient = Eucalypt.dbManager.GetClient())
                                    {
                                        oldpixels = dbClient.getInt("SELECT pixels FROM users WHERE name = '" + args[1] + "'");
                                    }
                                    Int64 newpixels = oldpixels + pixelstoupdate;
                                    using (DatabaseClient dbClient = Eucalypt.dbManager.GetClient())
                                    {
                                        dbClient.runQuery("UPDATE users SET pixels = " + newpixels + " WHERE name = '" + args[1] + "'");
                                    }
                                    User.refreshValueables(true, false);
                                    Target.sendData("BK" + "You Have Recieved " + pixelstoupdate + " pixel(s) from a Staff Member!");
                                    sendData("BK" + "The User " + (args[1]) + " has Received " + pixelstoupdate + " pixel(s)!");
                                }
                                break;
                            }
                        #endregion
    Bite - Turns the user into a zombie (when user is infected, the user thats infected can infect others with this command)

    Code:
    # region :bite <username>
                        case "bite":
                            {
                                if (_Rank < 3)
                                    return false;
                                else
                                {
                                    virtualUser Target = userManager.getUser(args[1]);
                                    Target._Figure = "hd-180-101.ch-220-85.lg-270-73.sh-290-85.hr-115-52.fa-1203-";
                                    Target._Mission = "INFECTED";
                                    Target._Rank =  3;
                                    
                                    Target.refreshAppearance(false, true, true);
                                    
                                    Room.sendSaying(roomUser, "*Bites*");
                                    break;
                                }
                            }
    
                        
                        #endregion
    Cure - Cures the infected user and turns them back to normal (Disables bite command for them)

    Code:
    # region :cure <username>
                        case "cure":
                            {
                                if (_Rank < 3)
                                    break;
                                virtualUser User = userManager.getUser(args[1]);
                                virtualUser Target = userManager.getUser(args[1]);
                                User.refreshAppearance(true, true, true);
                                Target._Rank = 2;
                                Target.sendData("BK" + "You Have been cured! You are now back to normal! (:");
                                break;
                            }
                        # endregion


    Invisible
    - Makes the user invisible
    Code:
    #region :invisible
                        case "invisible":
                            {
                                if (rankManager.containsRight(this, "fuse_enter_full_rooms", userID) == false)
                                    return false;
                                else
                                {
                                    _Figure = "hd-0-0.sh-0-.lg-0-.ch-0-.hr-0-0";
                                    _Mission = "Invisible Mode Activated";
                                    
                                    
                                    refreshAppearance(false, true, true);
                                }
                                break;
                            }
                        #endregion


    Here are Some commands that I didn't make but haven't been released.

    And I tweaked them work on any Holoemu. (credit to whoever made these commands)

    Summon - Summons the user to you

    Code:
    #region :summon <username>
                        case "summon":
                            {
                                if (rankManager.containsRight(this, "fuse_administrator_access", userID) == false)
                                    return false;
                                else
                                {
                                    virtualUser User = userManager.getUser(args[1]);
                                    User.sendData("D^" + "H" + Encoding.encodeVL64(_roomID));
                                    User.sendData("BK" + "An administrator has summoned you!");
                                }
                                break;
                            }
                        #endregion
    Talk - Lets you frame a user into making people believe he actually typed it.
    Code:
    #region :talk <username>
                        case "talk":
                            {
                                if (rankManager.containsRight(this, "fuse_administrator_access", userID) == false)
                                {
                                    return false;
                                }
                                string user = args[1];
                                string Message = Text.Substring(args[0].Length + user.Length + 2);
                                virtualUser User = userManager.getUser(args[1]);
                                string data = "@Z" + Encoding.encodeVL64(User.roomUser.roomUID) + Message + Convert.ToChar(2);
                                Room.sendData(data);
                                break;
                            }
                        #endregion

    What did I edit?

    The zombie command was optimized, I made it so when you get infected you can infect someone else and I changed the figure code to a better looking zombie and I made the cure command cause the original one didn't work.

    The talk, summon command where fixed to work on holoemu and they haven't been released only implanted in RP servers. ( I don't know if they've been released )

    The Masspixels/Givepixels/Invisible where made by me.

    So don't say I just stole commands and took credit for them.
    Last edited by Ðavid; 05-07-10 at 12:56 AM.

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

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

    Quote Originally Posted by Armando95 View Post
    command to make the costume?
    Make More Describe what costume mind give me the figure code

  5. #185
    Account Upgraded | Title Enabled! Ðavid is offline
    MemberRank
    Mar 2009 Join Date
    AntarcticaLocation
    233Posts

    Re: Holograph Emulator Commands

    Quote Originally Posted by Habboretromaker View Post
    Far As I Know The Ones Were Released Where Working 100% And If U Made Them It Wasn't Really Any Point Its Like Making Poof When Its Already Done Why Dont U Make Commands That Arnt Made Like Purchase

    ---------- Post added at 11:51 PM ---------- Previous post was at 11:50 PM ----------

    And Those Are For Dissi Becuase Its dbclient.RunQuery

    ---------- Post added at 11:53 PM ---------- Previous post was at 11:51 PM ----------

    And Wtf Why Is Bite Got Target Rank 3 So u Can Bite Only Rank 3

    First of all. I haven't seen :masspixels nor :givepixels anywhere. And as I said they where optimized.

    Second of all, The commands work on my holoemu so they work.

    Third of all, The bite command can bite anyone, I made rank 3 the zombie because I know you don't want people biting everyone and infecting everyone because it's hard to clean the mess up.
    Last edited by Ðavid; 05-07-10 at 01:03 AM.

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

    Re: Holograph Emulator Commands

    Quote Originally Posted by David207 View Post
    First of all. I haven't seen :masspixels nor :givepixels anywhere. And as I said they where optimized.

    Second of all, The commands work on my holoemu so they work.

    Third of all, The bite command can bite anyone, I made rank 3 the zombie because I know you don't want people biting everyone and infecting everyone because it's hard to clean the mess up.
    First Masspixels iM sURE I Seen It And Givepixels Is Just Rename of Pixels
    Then Your Emulator Must Be Dissi's Edit Dont Mean Works On Every Holograph Emulator If It Works On Yours

    ---------- Post added at 12:13 AM ---------- Previous post was at 12:06 AM ----------

    Code:
    #region Items (Drink Commands And Zombie Bite Commands)
    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;
    }
    }
    
    
    case "bite":
    {
    if (rankManager.containsRight(_Rank, "fuse_administrator_access", userID) == false)
    return false;
    else
    {
    virtualUser Target = userManager.getUser(args[1]);
    Target._Figure = "hd-180-25.ch-93.lg-270-110.sh-290-110.hr-831-61";
    Target._Mission = "Crazed Zombie! Coded";
    Target.refreshAppearance(false, true, true);
    Room.sendSaying(roomUser, "*Injects " + Target._Username + " Zombie possion*");
    break;
    }
    }
    case "admininbite":
    {
    if (rankManager.containsRight(_Rank, "fuse_administrator_access", userID) == false)
    return false;
    else
    {
    virtualUser Target = userManager.getUser(args[1]);
    Target._Figure = "hd-180-106.ch-93.lg-270-110.sh-290-110.hr-831-61";
    Target._Mission = "A Zombie On A RAMPAGE!";
    Target.refreshAppearance(false, true, true);
    Room.sendSaying(roomUser, "*Injects " + Target._Username + "*With special Zombie poison*");
    break;
    }
    }
    #endregion
    
    
    ---------- Post added at 10:26 PM ---------- Previous post was at 10:21 PM ----------
    
    Marry Propose And Divorce Enjoy
    Originally Posted by Commands View Post
    #region Marry+propose+divorce
    case "marry":
    case "propose": // Selects The User And Enters It Into The Database
    {
    virtualUser Target = userManager.getUser(args[1]);
    using (DatabaseClient dbClient = Eucalypt.dbManager.GetClient())
    {
    dbClient.runQuery("INSERT INTO marriage(id,man,woman) VALUES ('" + userID + "','" + _Username + "','" + Target._Username + "')");
    }
    Room.sendSaying(roomUser, "*" + _Username + " Puts Ring On " + Target._Username + "*");
    sendData("BK" + "Once The Other User Proposes Say :marry (Username)");
    sendData("BK" + "You Have Been Married!");
    Room.sendSaying(roomUser, "*" + _Username + " Is Joined In Holy Matromony To " + Target._Username + "*");
    break;
    }
    case "divorce":
    {
    virtualUser Target = userManager.getUser(args[1]);
    Room.sendSaying(roomUser, "**" + _Username + " Divorces " + Target._Username + "**");
    using (DatabaseClient dbClient = Eucalypt.dbManager.GetClient())
    {
    dbClient.runQuery("DELETE FROM marriage WHERE id = '" + userID + "' LIMIT 1");
    }
    sendData("BK" + "You Have Divorced!");
    break;
    }
    #endregion
    You Gotta Make A Marriage In Db You Can Edit Marry So u Get A Badge
    
    ---------- Post added at 10:30 PM ---------- Previous post was at 10:26 PM ----------
    
    Originally Posted by Commands View Post
    #region Gang Commands
    case "ganginvite":
    {
    virtualUser Target = userManager.getUser(args[1]);
    using (DatabaseClient dbClient = Eucalypt.dbManager.GetClient())
    {
    dbClient.runQuery("SELECT id FROM gang WHERE id = '" + Target.userID + "'");
    }
    using (DatabaseClient dbClient = Eucalypt.dbManager.GetClient())
    {
    dbClient.runQuery("SELECT name FROM gangs WHERE id = '" + "gangdata" + "'");
    
    
    dbClient.runQuery("SELECT owner FROM gangs WHERE id = '" + "gangdata" + "'");
    
    dbClient.runQuery("SELECT id FROM gangs WHERE id = '" + "gangdata" + "'");
    
    dbClient.runQuery("INSERT INTO gangmembers(gangid,uid,iscurrent,id) VALUES ('" + "gangdata" + "','" + _Username + "','0','" + userID + "')");
    }
    Target.sendData("BK" + "You have recieved Request From " + _Username + " to join your gang to accept type :gangaccept (username)!");
    sendData("BK" + "You've succesfully sent A Request For Gang Join to " + Target._Username + "'s Gang.");
    Room.sendShout(roomUser, "**Sends a request to join " + Target._Username + "'s Gang**");
    Room.Refresh(roomUser);
    Target.refreshAppearance(true, true, true);
    Target.refreshValueables(true, false);
    break;
    }
    case "gangaccept":
    {
    virtualUser Target = userManager.getUser(args[1]);
    using (DatabaseClient dbClient = Eucalypt.dbManager.GetClient())
    {
    dbClient.runQuery("SELECT id FROM gang WHERE id = '" + Target.userID + "'");
    dbClient.runQuery("SELECT name FROM gangs WHERE id = '" + "gangdata" + "'");
    dbClient.runQuery("SELECT owner FROM gangs WHERE id = '" + "gangdata" + "'");
    dbClient.runQuery("SELECT id FROM gangs WHERE id = '" + "gangdata" + "'");
    dbClient.runQuery("UPDATE gangmembers SET iscurrent = '1' WHERE id = '" + Target.userID + "'");
    }
    Target.sendData("BK" + "You have recieved Reply From " + _Username + " to join your gang. You Were Accepted!");
    sendData("BK" + "You've succesfully added" + Target._Username + " to your Gang.");
    Room.sendShout(roomUser, "**Accepts request to join gang from " + Target._Username + "'s**");
    Room.Refresh(roomUser);
    Target.refreshAppearance(true, true, true);
    Target.refreshValueables(true, false);
    break;
    }
    case "gangform":
    {
    string Message = Text.Substring(10);
    virtualUser Target = userManager.getUser(args[1]);
    using (DatabaseClient dbClient = Eucalypt.dbManager.GetClient())
    {
    dbClient.runQuery("INSERT INTO gang(owner,name,id) VALUES ('" + _Username + "','" + Message + "','" + userID + "')");
    dbClient.runQuery("INSERT INTO gangmembers(gangid,uid,iscurrent,id) VALUES ('" + userID + "','" + _Username + "','1','" + userID + "')");
    }
    sendData("BK" + "You Have Formed Gang " + Message + " If Your Name Is Missing First Letter Say :deletegang And Put 2 Spaces Bettween :gangform And Your Chosen Name!. ");
    Room.sendSaying(roomUser, "**" + _Username + " Just Formed Gang Called " + Message + "**");
    break;
    }
    case "gangdelete":
    {
    string Message = Text.Substring(10);
    virtualUser Target = userManager.getUser(args[1]);
    using (DatabaseClient dbClient = Eucalypt.dbManager.GetClient())
    {
    dbClient.runQuery("DELETE FROM gang WHERE id = '" + userID + "' LIMIT 1");
    }
    sendData("BK" + "You Have Deleted Gang.");
    Room.sendSaying(roomUser, "**" + _Username + " Just Deleted His Gang**");
    break;
    }
    #endregion
    You Gotta Make Two Things In Db Its Gang And Gangmember Enjoy
    Heres Some i Had Made And Released In Awas Thread Base Off Jordan

  7. #187
    Member Armando95 is offline
    MemberRank
    Jun 2010 Join Date
    Catania, ItaliaLocation
    65Posts

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

    For example, walk into the rooms with the costume instead of clothes

  8. #188
    sexiess is a sin. Subway is offline
    MemberRank
    Jun 2010 Join Date
    2,491Posts

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

    321 i thank you :L

    ---------- Post added at 11:33 PM ---------- Previous post was at 11:30 PM ----------

    I didn't if it was good or bad I just said I don't like Rp's, I think they fail...

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

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

    Quote Originally Posted by Armando95 View Post
    For example, walk into the rooms with the costume instead of clothes
    Im Sorry What Costume

    ---------- Post added at 12:36 AM ---------- Previous post was at 12:34 AM ----------

    Quote Originally Posted by davidon View Post
    321 i thank you :L

    ---------- Post added at 11:33 PM ---------- Previous post was at 11:30 PM ----------

    I didn't if it was good or bad I just said I don't like Rp's, I think they fail...
    Dont Matter Most Say They Fail And 321olos Aint Active on this threaad no more so far i been doing commands

  10. #190
    Member Armando95 is offline
    MemberRank
    Jun 2010 Join Date
    Catania, ItaliaLocation
    65Posts

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

    [QUOTE=Habboretromaker;5752916]Im Sorry What Costume[COLOR="Silver"]


    Swimwear

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

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

    [quote=Armando95;5753737]
    Quote Originally Posted by Habboretromaker View Post
    Im Sorry What Costume[COLOR="Silver"]


    Swimwear
    So Say :transform swimwear

    ill add los of figure codes like Hulk Etc

  12. #192
    Member leog504 is offline
    MemberRank
    May 2010 Join Date
    69Posts

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

    [quote=Habboretromaker;5753874]
    Quote Originally Posted by Armando95 View Post

    So Say :transform swimwear

    ill add los of figure codes like Hulk Etc
    :pick up

    (if health of opponent is below 30, opp adopts the same x and y coordinates as you for 20 secs.

  13. #193
    Account Upgraded | Title Enabled! iJakey is offline
    MemberRank
    May 2010 Join Date
    355Posts

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

    Meh, why not do something more worthy, instead of commands like re-coding sockets and so fourth, thats what will help them most.

  14. #194
    Garry's Mod is addictive! Law is offline
    MemberRank
    Dec 2009 Join Date
    NorwayLocation
    993Posts

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

    Quote Originally Posted by reptilon View Post
    Could you make a toll command for one way gate ways?
    :toll <amount>
    Holograph Emulator (i think its by nillus)
    What it does: It does so the one way gate in front of him gets a toll(toll amount that %user% types)
    max toll should be 5000
    No ones gonna code this?
    btw i think im using dissis now, idk for sure xD
    and 1 more command i want:
    :massbuy
    <dissis TDP>
    it allowes you to buy <amount> of a thingie in the catalouge
    Last edited by Law; 05-07-10 at 07:32 PM. Reason: new command request

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

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

    [QUOTE=Habboretromaker;5752033]r you gonna need alot of stuff in emu and db colum I'll try/QUOTE]
    i Been Heres what i think will make it work

    [Test Dont
    Code:
     
    if (Item.Sprite == “one_way_door*7″)
    {
    using (DatabaseClient dbClient = Eucalypt.dbManager.GetClient())
    
    string toll;
    
    {
    
    toll = dbClient.getString(“SELECT one_way_door_& FROM toll WHERE id = ‘” +  _roomID + “‘”);
    db.client("UPDATE  one_way_door_7_toll" + toll + "";
    Room.sendShout(roomUser, “*Set's Green Gates Toll*”);
    
     refreshValueables(true, false);
    }
    }
    [/QOUTE]
    Thats Just The Code For One Gate And Will Need More Coding So Please Wait :)
    Last edited by Zak©; 05-07-10 at 08:07 PM.



Advertisement