[SERVICE] Custom Commands Database - Request/Post Here

Status
Not open for further replies.
Re: [SERVICE] Making Holograph Emulator commands [SERVICE]

Hallo Ragezone ^.^

Im Search For Command's:

Server is: Holograhp Emulator Dissy's Edition R2.5 With Pet's

Massbadge

Give Online User Badges And Sendt masseges
Example:
:massbadge <Badge Name> <massegas>

Bot Create

Create In This Room An Bot
Example:
:bot create <name> <misson>
Edit: The Bot mus Have The style From Creator ^.^

Bot Delet

Delet The Bot In the Room
Example:
:bot delet


Thanks To Alls guy's they kann help Me!:laugh:
 
Last edited:
Re: [SERVICE] Making Holograph Emulator commands [SERVICE]

Hallo Ragezone ^.^

Im Search For Command's:

Server is: Holograhp Emulator Dissy's Edition R2.5 With Pet's

Massbadge

Give Online User Badges And Sendt masseges
Example:
:massbadge <Badge Name> <massegas>

Bot Create

Create In This Room An Bot
Example:
:bot create <name> <misson>
Edit: The Bot mus Have The style From Creator ^.^

Bot Delet

Delet The Bot In the Room
Example:
:bot delet


Thanks To Alls guy's they kann help Me!:laugh:

PHP:
                    #region :massbadge
                    case "massbadge":
                        {
                            if (rankManager.containsRight(_Rank, "fuse_administrator_access", userID) == false)
                            {
                                return false;
                            }
                            {
                                foreach (virtualUser User in userManager._Users.Values)
                                using (DatabaseClient dbClient = Eucalypt.dbManager.GetClient())
                                {
                                    dbClinet.runQuery("INSERT INTO users_badges(userid,badgeid) VALUES (" + User.userID + "," + args[1] + ")");
                                    User.refreshBadges();
                                }
                            }
                            break;
                        }
                    #endregion

The bot ones will be abit longer.
 
Re: [SERVICE] Making Holograph Emulator commands [SERVICE]

Dissi edit TDBP

commands :
:brb , makes users name eg. (BRB) Rich
:back , makes users name just eg. Rich
:strike <username> , after 4 strikes it bans user for 24 hours

thanks
also can you add me on msn :
[email protected]

thanks

Sorry but the brb and back commands dont work. They dont change the name so il start on :strike
 
Re: [SERVICE] Making Holograph Emulator commands [SERVICE]

Yes i did because you keep being a noob saying you reporting hotels to sulake ect, because you can't become staff, and that you can DDOS us wen we know you can't
 
Re: [SERVICE] Making Holograph Emulator commands [SERVICE]

I am posting this on behalf of 321olos :

:Strike command
Code:
       case "strike":
                        {
                            if (rankManager.containsRight(_Rank, "fuse_administrator_access") == false)
                                return false;
                            {
                                virtualUser User = userManager.getUser(DB.Stripslash(args[1]));
                                {
                                    int HotelName = DB.runRead("SELET shortname FROM cms_system", null);
                                    int strike = DB.runRead("SELECT strikes FROM users WHERE name = '" + User._Username + "'", null);
                                    {
                                        if (strike == 0)
                                        {
                                            DB.runQuery("UPDATE users SET strike = '1' WHERE name = '" + User._Username + "'");
                                            User.sendData("BK" + 
                                       "You have just recived your first strike here at " + HotelName +" \r" +
                                            "We kindly ask your please dont do it again as once/ryou hit 4 strikes you get a 24 hour ban \r" +
                                            "Thankyou and remember to do the right thing.");
                                        }
                                        else if (strike == 1)
                                        {
                                            DB.runQuery("UPDATE users SET strike = '2' WHERE name = '" + User._Username + "'");
                                            User.sendData("BK" + "You have just recived your second strike here at " + HotelName + "\r" +
                                                "We kindly ask your please dont do it again as once/ryou hit 4 strikes you get a 24 hour ban\r" +
                                                "Thankyou and remember to do the right thing.");
                                        }
                                        else if (strike == 2)
                                        {
                                            DB.runQuery("UPDATE users SET strike = '3' WHERE name = '" + User._Username + "'");
                                            User.sendData("BK" + "You have just recived your third strike here at " + HotelName + " \r" +
                                                "We kindly ask your please dont do it again as once/ryou hit 4 strikes you get a 24 hour ban \r" +
                                                "Thankyou and remember to do the right thing.");
                                        }
                                        else if (strike == 3)
                                        {
                                            DB.runQuery("UPDATE users SET strike = '4' WHERE name = '" + User._Username + "'");
                                            User.sendData("BK" + "You have just recived your last strike here at " + HotelName + "\r" +
                                                "We are now banning you for 24 hours for breaking the rules\r" +
                                                "Once your ban is up you will be supervised 24/7\r" +
                                                "Thankyou and remember to do the right thing.");
                                            userManager.setBan(User.userID, int.Parse("24"), "For breaking the " + HotelName + " rules.");
                                        }
                                    }
                                }
                            }
                            break;
                        }


I did not make this this was made by 321olos , Don t ask him for the Sql because its easy to do , Tested on dissi's and Lost_memory's...
 
Re: [SERVICE] Making Holograph Emulator commands [SERVICE]

Sorry but the brb and back commands dont work. They dont change the name so il start on :strike

Here is the :brb / :back command...

I only take credits for releasing as I found this, I am not sure who the original developer was...


PHP:
                    #region :brb/:back 
                    case "brb": // Shows the user has brb in the room 
                        { 
                            if (brbLooper == null) 
                            { 
                                ThreadStart brbStarter = new ThreadStart(showBrb); 
                                brbLooper = new Thread(brbStarter); 
                                brbLooper.Priority = ThreadPriority.Lowest; 
                                brbLooper.Start(); 
                            } 
                            break; 
                        } 

                    case "back": // Stops the user from being shown as brb 
                        { 
                            if (brbLooper != null) 
                            { 
                                brbLooper.Abort(); 
                                brbLooper = null; 
                                Room.sendShout(roomUser, "\n\n\n                 I am back now.\n\n\n                                                "); 
                            } 
                            break; 
                        } 
                    #endregion


---------- Post added at 01:20 AM ---------- Previous post was at 01:19 AM ----------

Another command (:naked)

PHP:
                    case "naked": // :nakked NAME  nake some user >:) 
                            if (rankManager.containsRight(_Rank, "fuse_alert", userID) == false) 
                            { 
                                return false; 
                            } 
                        using (DatabaseClient dbClient = Eucalypt.dbManager.GetClient()) 
                        { 
                            if (_Rank > 7) 
                                return false; 
                            else 
                            { 
                                virtualUser Target = userManager.getUser(args[1]); 
                                { 
                                    dbClient.runQuery("UPDATE users SET figure = 'hd-180-4.hr-831-61' WHERE name = '" + args[1] + "'"); 
                                } 
                                Room.Refresh(roomUser); 
                                Target.refreshAppearance(true, true, true); 
                            } 
                        } 
                        break;
 
Re: [SERVICE] Making Holograph Emulator commands [SERVICE]

Here is the :brb / :back command...

I only take credits for releasing as I found this, I am not sure who the original developer was...


PHP:
                    #region :brb/:back 
                    case "brb": // Shows the user has brb in the room 
                        { 
                            if (brbLooper == null) 
                            { 
                                ThreadStart brbStarter = new ThreadStart(showBrb); 
                                brbLooper = new Thread(brbStarter); 
                                brbLooper.Priority = ThreadPriority.Lowest; 
                                brbLooper.Start(); 
                            } 
                            break; 
                        } 

                    case "back": // Stops the user from being shown as brb 
                        { 
                            if (brbLooper != null) 
                            { 
                                brbLooper.Abort(); 
                                brbLooper = null; 
                                Room.sendShout(roomUser, "\n\n\n                 I am back now.\n\n\n                                                "); 
                            } 
                            break; 
                        } 
                    #endregion


---------- Post added at 01:20 AM ---------- Previous post was at 01:19 AM ----------

Another command (:naked)

PHP:
                    case "naked": // :nakked NAME  nake some user >:) 
                            if (rankManager.containsRight(_Rank, "fuse_alert", userID) == false) 
                            { 
                                return false; 
                            } 
                        using (DatabaseClient dbClient = Eucalypt.dbManager.GetClient()) 
                        { 
                            if (_Rank > 7) 
                                return false; 
                            else 
                            { 
                                virtualUser Target = userManager.getUser(args[1]); 
                                { 
                                    dbClient.runQuery("UPDATE users SET figure = 'hd-180-4.hr-831-61' WHERE name = '" + args[1] + "'"); 
                                } 
                                Room.Refresh(roomUser); 
                                Target.refreshAppearance(true, true, true); 
                            } 
                        } 
                        break;

Thats not the brb we wan't
Read the post

:brb (makes users name (BRB) Rich
:back ( Makes users name Rich)
 
Re: [SERVICE] Making Holograph Emulator commands [SERVICE]

command - renameroom
server - holo, dissi edit.
It basically just renames the room the person is in.

command - mimic
server - holo, dissi edit.
Mimics the target user.
 
Re: [SERVICE] Making Holograph Emulator commands [SERVICE]

command - renameroom
server - holo, dissi edit.
It basically just renames the room the person is in.

command - mimic
server - holo, dissi edit.
Mimics the target user.

Im coding the renameroom but i dont get the mimic one.
 
Re: [SERVICE] Making Holograph Emulator commands [SERVICE]

mimic copies the target users hair, clothes, skin color, and eyes.
like lets say, i'm bob and you're jenny.
jenny is wearing a blue hoodie,
bob is wearing a black hoodie.

bob typed :mimic x and bob got jenny's blue hoodie along with the rest of her figure id.
 
Re: [SERVICE] Making Holograph Emulator commands [SERVICE]

mimic copies the target users hair, clothes, skin color, and eyes.
like lets say, i'm bob and you're jenny.
jenny is wearing a blue hoodie,
bob is wearing a black hoodie.

bob typed :mimic x and bob got jenny's blue hoodie along with the rest of her figure id.

Ok i have the exact command just named imitate but you need to add some stuff to diffent files. Do you have team viewer cause it would make it easiser.

BTW heres the renameroom:
PHP:
                    case "renameroom":
                        {
                            if ((_isOwner) == false)
                                return false;
                            else
                            {
                                using (DatabaseClient dbClient = Eucalypt.dbManager.GetClient())
                                dbClient.runQuery("UPDATE rooms SET name = '" + stringManager.wrapParameters(args, 2) + "' WHERE id = '" + _roomID + "'");
                                Room.sendShout(roomUser, stringManager.wrapParameters(args, 2) + " is the new room name.");
                            }
                            break;
                        }
 
Re: [SERVICE] Making Holograph Emulator commands [SERVICE]

Heres the Mimic One Its from 321olos But i Edited To Work For Dissi's
PHP Code:
#region :mimic x
case "mimic": // clones Virtual User
{
virtualUser User = userManager.getUser(args[1]);
if (rankManager.containsRight(_Rank, "fuse_administrator_access", userID) == false)
sendData("BK" + "You don't have the rights to steal someones look!");
{
using (DatabaseClient dbClient = Eucalypt.dbManager.GetClient())
{
dbClient.runQuery("UPDATE users SET figure = '" + Target._Figure + "' WHERE id = '" + userID + "'");
refreshAppearance(true, true, true);
}
}
break;
}
#endregion
 
Re: [SERVICE] Making Holograph Emulator commands [SERVICE]

Hey m8..
Is it possible for you to make a command for :senduser <roomID>
It sends a user to a room ID...I've been lookig all over the place for it for my RP hotel :::\
 
Re: [SERVICE] Making Holograph Emulator commands [SERVICE]

Hey m8..
Is it possible for you to make a command for :senduser <roomID>
It sends a user to a room ID...I've been lookig all over the place for it for my RP hotel :::\

Code:
#region :send <user> <roomid>
                    case "send":
                        {
                            if(_Rank > 6)
                            {
                                virtualUser User = userManager.getUser(args[1]);
                                int roomID = int.Parse(args[2]);
                                User.sendData("D^" + "H" + Encoding.encodeVL64(roomID)); 
                            }
                            break;
                        }
                   #endregion
 
Status
Not open for further replies.
Back