-
[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
-
Re: [FIXES] uberEmulator
Double Thread Bro.
Also Nice i will try later.
-
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
-
Re: [FIXES] uberEmulator
Nice Copy and Paste from DevBest. ;)
-
Re: [FIXES] uberEmulator
no i didnt >:( whats devbast?
-
Re: [FIXES] uberEmulator
Already posted in Habbo Development section...
-
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