[FIXES] uberEmulator

Results 1 to 7 of 7
  1. #1
    Apprentice Jdude is offline
    MemberRank
    Mar 2011 Join Date
    in my houseLocation
    13Posts

    [FIXES] uberEmulator

    Room Alert - Sending Message Adding to Caution Count Fix
    Search for "public void RoomAlert("
    Find:
    Code:
    Code:
                    using (DatabaseClient dbClient = UberEnvironment.GetDatabase().GetClient())
                    {
                        dbClient.ExecuteQuery("UPDATE user_info SET cautions = cautions + 1 WHERE " + QueryBuilder.ToString() + " LIMIT " + j);
                    }
    Replace with:
    Code:
    Code:
                if (Caution)
                {
                    using (DatabaseClient dbClient = UberEnvironment.GetDatabase().GetClient())
                    {
                        dbClient.ExecuteQuery("UPDATE user_info SET cautions = cautions + 1 WHERE " + QueryBuilder.ToString() + " LIMIT " + j);
                    }
    
                }
    
    Drink Machines - Giving out drinks if you double click at the side of them.
    Search for: case "vendingmachine":
    Find:
    Code:
    
                        case "vendingmachine":
    
                            if (this.ExtraData == "1")
                            {
                                User = GetRoom().GetRoomUserByHabbo(InteractingUser);
    
                                if (User != null)
                                {
                                    User.UnlockWalking();
    
                                    int randomDrink = GetBaseItem().VendingIds[UberEnvironment.GetRandomNumber(0, (GetBaseItem().VendingIds.Count - 1))];
                                    User.CarryItem(randomDrink);
                                }
    
                                this.InteractingUser = 0;
                                this.ExtraData = "0";
    
                                UpdateState(false, true);
                            break;
    Replace with:
    Code:
    Code:
                        case "vendingmachine":
    
                            if (this.ExtraData == "1")
                            {
                                User = GetRoom().GetRoomUserByHabbo(InteractingUser);
    
                                if (User != null && User.Coordinate == SquareInFront)
                                {
                                    int randomDrink = GetBaseItem().VendingIds[UberEnvironment.GetRandomNumber(0, (GetBaseItem().VendingIds.Count - 1))];
                                    User.CarryItem(randomDrink);
                                }
    
                                this.InteractingUser = 0;
                                this.ExtraData = "0";
    
                                User.UnlockWalking();
                                UpdateState(false, true);
                            }
    
                            break;
    Teleport - Teleport moves you out if it isn't linked.
    Search for "// This tele is not linked, so let's gtfo."
    Find:
    Code:
    Code:
                                            // This tele is not linked, so let's gtfo.
    
                                            User.UnlockWalking();
                                            InteractingUser = 0;
    Replace with:
    Code:
    Code:
                                            // This tele is not linked, so let's gtfo.
                                            // Open the door
                                            keepDoorOpen = true;
    
                                            User.UnlockWalking();
                                            InteractingUser = 0;
    
                                            // Move out of the tele
                                            User.MoveTo(SquareInFront);
    In marketplace.cs
    Code:
    Code:
    		    Message.AppendUInt((uint)Row["offer_id"]);
                        Message.AppendInt32(1);
                        Message.AppendInt32(int.Parse(Row["item_type"].ToString()));
                        Message.AppendInt32((int)Row["sprite_id"]); // Sprite ID
                        Message.AppendStringWithBreak(""); // Extra Chr (R52)
                        Message.AppendInt32((int)Row["total_price"]); // Price
                        Message.AppendInt32((int)Row["sprite_id"]); // ??
                        Message.AppendInt32((int)Row["total_price"]); // Avg
                        Message.AppendInt32(0); // Offers
    Credits: Shorty/Habchop


  2. #2
    Account Upgraded | Title Enabled! GrandCoder is offline
    MemberRank
    Jul 2010 Join Date
    BramptonLocation
    413Posts

    Re: [FIXES] uberEmulator

    Double Thread Bro.

    Also Nice i will try later.

  3. #3
    Apprentice Jdude is offline
    MemberRank
    Mar 2011 Join Date
    in my houseLocation
    13Posts

    Re: [FIXES] uberEmulator

    yeah kinda not meant to double but i try to edit then it messed up thjen made double :( so not my fault

    ---------- Post added at 11:46 PM ---------- Previous post was at 11:35 PM ----------

    May all your Fixes com true :D

  4. #4
    Account Upgraded | Title Enabled! FlyCoder is offline
    MemberRank
    Jan 2011 Join Date
    United KingdomLocation
    469Posts

    Re: [FIXES] uberEmulator

    Nice Copy and Paste from DevBest. ;)

  5. #5
    Apprentice Jdude is offline
    MemberRank
    Mar 2011 Join Date
    in my houseLocation
    13Posts

    Re: [FIXES] uberEmulator

    no i didnt >:( whats devbast?

  6. #6
    Valued Member anthony93260 is offline
    MemberRank
    Dec 2009 Join Date
    ParisLocation
    133Posts

    Re: [FIXES] uberEmulator

    Already posted in Habbo Development section...

  7. #7
    Banned c0mma is offline
    BannedRank
    Jan 2011 Join Date
    ^RaGEZONE^Location
    696Posts

    Re: [FIXES] uberEmulator

    Haha, I knew this was a rip. Like I posted in the other thread he made...

    Also, why did you double post when you could have edited the old thread O.o



Advertisement