[Service] Holograph Commands [Service]

Page 6 of 7 FirstFirst 1234567 LastLast
Results 76 to 90 of 100
  1. #76
    Thanks for the memories! Mithex is offline
    MemberRank
    May 2010 Join Date
    HeavenLocation
    2,014Posts

    Re: [Service] Holograph Commands [Service]

    Quote Originally Posted by Ryno View Post
    He is only doing Holograph, as you were told before. Even so he would need an open source v16 server to work from I can't think of any v16 open source server...
    No need to back seat moderate

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

    Re: [Service] Holograph Commands [Service]

    stop bumbing threads u fucking fucker man slack

    -High Drunk Zak

  3. #78
    Ultra Light Beam Makarov is offline
    MemberRank
    Apr 2010 Join Date
    GothamLocation
    3,622Posts

    Re: [Service] Holograph Commands [Service]

    Quote Originally Posted by Mithex View Post
    No need to back seat moderate
    No need to bump threads

    /herp
    /derp

  4. #79
    Account Upgraded | Title Enabled! R-Simmons is offline
    MemberRank
    Jul 2010 Join Date
    Lancaster, UKLocation
    317Posts

    Re: [Service] Holograph Commands [Service]

    Quote Originally Posted by cooldude159 View Post
    command :bankrob
    EMU: HoloRP Rasta
    What does it do: make you Rob the bank But Give out Random amount of coins like i know someone release it but it only set for 200 coins each time i want random amount EVERY time
    sorry no one replied.

    here's sledmores :bankrob

    1. Look for "private Thread workoutDosLooper;" in virtualUsers.cs

    2. Under that put "private Thread bankRobLooper;"

    3. Look for "private void jailBreak()"

    4. Under that put

    Code:
    private void bankRob()
            {
                int iCount = 0;
                try
                {
                    while (true)
                    {
                        using (DatabaseClient dbClient = Eucalypt.dbManager.GetClient())
                        {
                            if (_roomID != BANK VAULT ID HERE || roomUser.Y != BANK VAULT Y CORD HERE || roomUser.X != BANK VAULT X CORD HERE)
                            {
                                userManager.sendToCop(1, false, "BK" + "The bank is being robbed get there fast!");
                                Room.sendSaying(roomUser, "*stops robbing the banks vault*");
                                jailBreakLooper = null;
                                jailBreakLooper.Abort();
                            }
                            if (iCount == 60)
                            {
                                Room.sendSaying(roomUser, "*needs three more minutes to succesfully rob the banks vault*");
                            }
    
                            if (iCount == 120)
                            {
                                Room.sendSaying(roomUser, "*needs two more minutes to succesfully rob the banks vault*");
                            }
    
                            if (iCount == 180)
                            {
                                Room.sendSaying(roomUser, "*needs one more minute to succesfully rob the banks vault*");
                            }
    
                            iCount++;
    
                            if (iCount > 180)
                            {
                                Room.sendSaying(roomUser, "*successfully breaks into to the banks vault and claims 200 credits!*");
                                dbClient.runQuery("UPDATE users SET credits = credits + 200 WHERE id = '" + userID + "' LIMIT 1");
                                refreshValueables(true, true);
                                bankRobLooper = null;
                                bankRobLooper.Abort();
                            }
                            Thread.Sleep(1000);
                        }
                    }
                }
                catch
                {
                    Thread.CurrentThread.Abort();
                    bankRobLooper = null;
                }
            }
    5. Look for ":jailbreak"

    6. Under that region put

    Code:
    #region :bankrob
                        case "bankrob":
                            {
                                if (bankRobLooper == null && _roomID == YOUR BANK VAULT ID HERE && roomUser.Y == THE Y CORD OF THE TILE && roomUser.X == THE X CORD OF THE TILE)
                                {
                                    userManager.sendToCop(1, false, "BK" + "The bank is being robbed get there fast!");
                                    Room.sendSaying(roomUser, "*Starts to rob the banks vault*");
                                    Room.sendSaying(roomUser, "*needs four more minutes to succesfully rob the banks vault*");
    
                                    ThreadStart bankRobStarter = new ThreadStart(bankRob);
                                    bankRobLooper = new Thread(bankRobStarter);
                                    bankRobLooper.Priority = ThreadPriority.Lowest;
                                    bankRobLooper.Start();
                                }
                                break;
                            }
                        #endregion
    Don't forget to adjust the cords and room ids.

    Credits 100% Sledmore.

  5. #80
    Ultra Light Beam Makarov is offline
    MemberRank
    Apr 2010 Join Date
    GothamLocation
    3,622Posts

    Re: [Service] Holograph Commands [Service]

    I want everyone to know, I'm opening this back up and now including Uber commands ;]

  6. #81
    Minor Devolper ntl200 is offline
    MemberRank
    Dec 2007 Join Date
    EnglandLocation
    538Posts

    Re: [Service] Holograph Commands [Service]

    ok then man,

    ill get the ball rolling, make a summon command for uber? useful to someone? ;)

  7. #82
    Ultra Light Beam Makarov is offline
    MemberRank
    Apr 2010 Join Date
    GothamLocation
    3,622Posts

    Re: [Service] Holograph Commands [Service]

    PHP Code:
    #region :summon <user>
                    
    case "summon":
                        {
                            if (
    Session.GetHabbo().Rank >= 5)
                            {
                                
    TargetRoom UberEnvironment.GetGame().GetClientManager().GetClientByHabbo(Params[1]).GetHabbo().CurrentRoom;

                                
    TargetUser Params[1];
                                if (
    TargetUser == null)
                                {
                                    
    Session.SendNotif("You didn't input a target");
                                    return 
    false;
                                }
                                
    TargetClient UberEnvironment.GetGame().GetClientManager().GetClientByHabbo(TargetUser);
                                if (
    Session.GetHabbo().CurrentRoomId == TargetClient.GetHabbo().CurrentRoomId)
                                {
                                    
    Session.SendNotif(Params[1] + " is already in that room!");
                                }

                                
    TargetClient.SendNotif(Session.GetHabbo().Username " summoned you");
                                
    TargetClient.GetMessageHandler().PrepareRoomForUser(Session.GetHabbo().CurrentRoomId"");
                            }
                        }
                        return 
    true;
                    
    #endregion 

  8. #83
    Account Upgraded | Title Enabled! Ma Ma is offline
    MemberRank
    Jan 2011 Join Date
    home.phpLocation
    580Posts

    Re: [Service] Holograph Commands [Service]

    me i was thinking about selling a room with all furni in it command

  9. #84
    Proficient Member Cool Aid is offline
    MemberRank
    Jun 2011 Join Date
    XamppLocation
    197Posts

    Re: [Service] Holograph Commands [Service]

    [command] :welcomemsg
    [description] sets a welcome message when users enter a room!
    [emulator] ceser1's

  10. #85
    Ultra Light Beam Makarov is offline
    MemberRank
    Apr 2010 Join Date
    GothamLocation
    3,622Posts

    Re: [Service] Holograph Commands [Service]

    Quote Originally Posted by Tr0ll.™ View Post
    Room Advertisements

    Advertisement command!
    PHP Code:
    #region :ad <type> <message>
                        
    case "ad"// An Uber Function!
                            
    {
                                
    using (DatabaseClient dbClient Eucalypt.dbManager.GetClient())
                                {
                                    
    string type args[1];
                                    
    string message args[2];
                                    
    //N00BT00B3R
                                    
    {
                                        if (
    type != "1" && type != "2")
                                        {
                                            
    sendData("BK" "You must either say '1'(user whisper message) or '2'(user gets a alert)");
                                        }
                                    }
                                    
    //END N00BT00B3R    
                                    
    {
                                        
    string owner;
                                        {
                                            
    owner dbClient.getString("SELECT owner FROM rooms WHERE id = '" _roomID "'");
                                        }

                                        if (
    _Username == "owner")
                                        {
                                            
    dbClient.runQuery("UPDATE rooms SET alert = '" type "' WHERE id = '" _roomID "'");
                                            
    dbClient.runQuery("UPDATE rooms SET message = '" message "' WHERE id = '" _roomID "'");
                                        }
                                    }
                                }
                                break;
                            }
                        
    #endregion 
    Room Enter Function
    PHP Code:
                            case "A@"// Enter room - add this user to room
                                
    {
                                    if (
    _ROOMACCESS_SECONDARY_OK && Room != null && roomUser == null)
                                    {
                                        
    sendData("@b" Room.dynamicStatuses);
                                        
    Room.addUser(this);
                                        if (
    Room.hasSpecialCasts("cam1"))
                                        {
                                            
    sendData("AGcam1 targetcamera " roomUser.roomUID);
                                        }
                                    }
                                    {
                                        
    using (DatabaseClient dbClient Eucalypt.dbManager.GetClient())
                                        {
                                            
    int ad dbClient.getInt("SELECT alert FROM rooms WHERE id = '" _roomID "'");
                                            if (
    ad != 0)
                                            {
                                                
    string message dbClient.getString("SELECT message FROM rooms WHERE id = '" _roomID "'");
                                                if (
    ad == 1)
                                                {
                                                    
    Room.sendWhisper(roomUser_Username"*" message "*");
                                                }
                                                if (
    ad == 2)
                                                {
                                                    
    sendData("BK" "" message "");
                                                }
                                            }
                                        }
                                    }
                                    break;
                                } 
    This will basically let the user define an advertisement for their room. I don't know if that was actually in Uber.. But I've seen it on the Original .COM itself. I was rushing when coding this, if you find any errors don't fret and just tell me!.

    Thanks is always appreciated.

    Database Work
    In teh Table 'Rooms'
    Make 2 Columns
    1. message[vachar(50)]
    2. alert[int(1)]
    Here ya go, I already released this a while ago.

  11. #86
    Proficient Member Cool Aid is offline
    MemberRank
    Jun 2011 Join Date
    XamppLocation
    197Posts

    Re: [Service] Holograph Commands [Service]

    [command] admincmds
    [description] Pops up admins commands only for rank 7
    [emulator] Dissi's

    Thnx

  12. #87
    Thanks for the memories! Mithex is offline
    MemberRank
    May 2010 Join Date
    HeavenLocation
    2,014Posts

    Re: [Service] Holograph Commands [Service]

    Coolaid, can u really not code that yourself? I can code that

  13. #88
    Ultra Light Beam Makarov is offline
    MemberRank
    Apr 2010 Join Date
    GothamLocation
    3,622Posts

    Re: [Service] Holograph Commands [Service]

    Quote Originally Posted by Cool Aid View Post
    [command] admincmds
    [description] Pops up admins commands only for rank 7
    [emulator] Dissi's

    Thnx

    PHP Code:
    #region :commands
                        
    case "commands"// commands list
                            
    {
                                
    StringBuilder Commands = new StringBuilder();
                                if (
    _Rank >= 5)
                                {
                                    
    Commands.AppendLine("Staff Commands");
                                    
    Commands.AppendLine("List em here");
                                }
                                if (
    _Rank == 4)
                                {
                                    
    Commands.AppendLine("Moderator Commands");
                                    
    Commands.AppendLine("List em here");
                                }
                                if (
    _Rank && _Rank 4)
                                {
                                    
    Commands.AppendLine("VIP Commands");
                                    
    Commands.AppendLine("List em here");
                                }
                                if (
    _Rank 2)
                                {
                                    
    Commands.AppendLine("Your Commands");
                                    
    Commands.AppendLine("List em here");
                                }
                                
    sendData("BK" Commands.ToString());
                                break;
                            }
                        
    #endregion 

  14. #89
    Proficient Member Cool Aid is offline
    MemberRank
    Jun 2011 Join Date
    XamppLocation
    197Posts

    Re: [Service] Holograph Commands [Service]

    Thnx that command worked! I have one more
    [command] :poof
    [description] Refreshes the user in client
    [emulator] Dissi's
    Thnxnxx
    Last edited by Cool Aid; 26-06-11 at 04:06 AM.

  15. #90
    Proficient Member Cool Aid is offline
    MemberRank
    Jun 2011 Join Date
    XamppLocation
    197Posts

    Re: [Service] Holograph Commands [Service]

    Quote Originally Posted by Mithex View Post
    Coolaid, can u really not code that yourself? I can code that
    Everyone is on a different level!



Page 6 of 7 FirstFirst 1234567 LastLast

Advertisement