- Joined
- Apr 24, 2013
- Messages
- 1,682
- Reaction score
- 1,124
Yes.
But in his knowledge.
What's that going to change?
It's just more organized imo.
Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!
Join Today!Yes.
But in his knowledge.
What's that going to change?
Exception logged 11/26/2014 9:14:19 PM in Room.SqAbsoluteHeight:
System.NullReferenceException: Object reference not set to an instance of an object.
at Mercury.HabboHotel.Items.RoomItem.get_TotalHeight() in C:\Users\Administrator\Desktop\Emulador\HabboHotel\Items\RoomItem.cs:line 143
at Mercury.HabboHotel.Rooms.Gamemap.SqAbsoluteHeight(Int32 X, Int32 Y, List`1 ItemsOnSquare) in C:\Users\Administrator\Desktop\Emulador\HabboHotel\Rooms\Gamemap.cs:line 981
Source:
Mercury
Data:
Message:
Object reference not set to an instance of an object.
Stack trace:
at Mercury.HabboHotel.Items.RoomItem.get_TotalHeight() in C:\Users\Administrator\Desktop\Emulador\HabboHotel\Items\RoomItem.cs:line 143
at Mercury.HabboHotel.Rooms.Gamemap.SqAbsoluteHeight(Int32 X, Int32 Y, List`1 ItemsOnSquare) in C:\Users\Administrator\Desktop\Emulador\HabboHotel\Rooms\Gamemap.cs:line 981
Looking for a swf like this for mercury.
You must be registered to see links
What is the fix for this?
sant0ro, I tried to fix every 11 bugs in this thread but after compiling I get errors, can't enter rooms etc.. Can you please give me the source file with every 11 bugs fixed please?
Go to Mercury/HabboHotel/RoomBots/BotManager.cs
Find:
PHP:internal static RoomBot GenerateBotFromRow(DataRow Row)
Change:
PHP:list.Add(new RandomSpeech((string)dataRow["text"], MercuryEnvironment.EnumToBool(dataRow["shout"].ToString())));
To:
PHP:list.Add(new RandomSpeech(WebUtility.HtmlEncode((string)dataRow["text"]), MercuryEnvironment.EnumToBool(dataRow["shout"].ToString())));
Go to Mercury/HabboHotel/Rooms/Room.cs
Find:
PHP:internal void InitUserBots()
Change:
PHP:list.Add(new RandomSpeech((string)dataRow2["text"], MercuryEnvironment.EnumToBool(dataRow2["shout"].ToString())));
To:
PHP:list.Add(new RandomSpeech(WebUtility.HtmlEncode((string)dataRow2["text"]), MercuryEnvironment.EnumToBool(dataRow2["shout"].ToString())));
Go to Mercury/Messages/GameClientMessageHandler.cs
Find:
PHP:internal void ManageBotActions()
Change:
PHP:list.Add(new RandomSpeech((string)dataRow["text"], MercuryEnvironment.EnumToBool(dataRow["shout"].ToString())));
To:
PHP:list.Add(new RandomSpeech(WebUtility.HtmlEncode((string)dataRow["text"]), MercuryEnvironment.EnumToBool(dataRow["shout"].ToString())));
If you get a red stripe under there, right click on WebUtility and go to resolve.
I'm not a guy. ;p Sorry for going offtopic, but it really irritates me that I get called a guy all the time here. :')YeahhSmile, your problem is that you did not config.ini in the path: bin /Debug/
Sorry for my bad english, brf... it's very easy XD
You mean the 11 bugs in our bitbucket?
Yeah basically it just removes the HTML encoder what, you were not obliged to give that. I do not call it too much a "fix" XD
sorry guy
YeahhSmile, your problem is that you did not config.ini in the path: bin /Debug/
Sorry for my bad english, brf... it's very easy XD
You mean the 11 bugs in our bitbucket?
Yeah basically it just removes the HTML encoder what, you were not obliged to give that. I do not call it too much a "fix" XD
sorry guy
Is Room_Ads working properly? Because mine isn't. D:
Please can somebody release a fix for that?
Thank you.
just set the proper interactions for it its ether background or roombg but i'm 99% sure its background
Error en query:
UPDATE items SET room_id=4, x=6, y=7. z=0, rot=0 WHERE id='5';UPDATE items SET room_id=4, x=6, y=7. z=1, rot=0 WHERE id='3'
MySql.Data.MySqlClient.MySqlException (0x80004005): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'z=0, rot=0 WHERE id='5';UPDATE items SET room_id=4, x=6, y=7. z=1, rot=0 WHERE i' at line 1
in MySql.Data.MySqlClient.MySqlStream.ReadPacket()
in MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int32& insertedId)
in MySql.Data.MySqlClient.Driver.GetResult(Int32 statementId, Int32& affectedRows, Int32& insertedId)
in MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)
in MySql.Data.MySqlClient.MySqlDataReader.NextResult()
in MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)
in MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery()
in Database_Manager.Database.Session_Details.QueryAdapter.runQuery() in c:\xampp\htdocs\Emulator\Database_Manager\Database\Session_Details\QueryAdapter.cs:riga 184
"UPDATE items SET room_id=",
roomItem2.RoomId,
", x=",
roomItem2.GetX,
", y=",
roomItem2.GetY,
", z=",
roomItem2.GetZ,
", rot=",
roomItem2.Rot,
" WHERE id='",
roomItem2.Id,
roomItem2.GetZ,
", rot=",
roomItem2.Rot,
TextHandling.GetString(roomItem2.GetZ),
", rot=",
roomItem2.Rot,