Re: [Mercury Emulator] Fixes & Edits [Topic] [Post Your Bugs and Fixes]
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?
Re: [Mercury Emulator] Fixes & Edits [Topic] [Post Your Bugs and Fixes]
http://prntscr.com/5dntvk
What is the fix for this?
Re: [Mercury Emulator] Fixes & Edits [Topic] [Post Your Bugs and Fixes]
Quote:
Originally Posted by
YeahhSmile
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
- - - Updated - - -
Quote:
Originally Posted by
Coldwin
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?
You mean the 11 bugs in our bitbucket?
- - - Updated - - -
Quote:
Originally Posted by
BaasHotel
Go to Mercury/HabboHotel/RoomBots/BotManager.cs
Find:
PHP Code:
internal static RoomBot GenerateBotFromRow(DataRow Row)
Change:
PHP Code:
list.Add(new RandomSpeech((string)dataRow["text"], MercuryEnvironment.EnumToBool(dataRow["shout"].ToString())));
To:
PHP Code:
list.Add(new RandomSpeech(WebUtility.HtmlEncode((string)dataRow["text"]), MercuryEnvironment.EnumToBool(dataRow["shout"].ToString())));
Go to Mercury/HabboHotel/Rooms/Room.cs
Find:
PHP Code:
internal void InitUserBots()
Change:
PHP Code:
list.Add(new RandomSpeech((string)dataRow2["text"], MercuryEnvironment.EnumToBool(dataRow2["shout"].ToString())));
To:
PHP Code:
list.Add(new RandomSpeech(WebUtility.HtmlEncode((string)dataRow2["text"]), MercuryEnvironment.EnumToBool(dataRow2["shout"].ToString())));
Go to Mercury/Messages/GameClientMessageHandler.cs
Find:
PHP Code:
internal void ManageBotActions()
Change:
PHP Code:
list.Add(new RandomSpeech((string)dataRow["text"], MercuryEnvironment.EnumToBool(dataRow["shout"].ToString())));
To:
PHP Code:
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.
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
Re: [Mercury Emulator] Fixes & Edits [Topic] [Post Your Bugs and Fixes]
Quote:
Originally Posted by
VabboWorld
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
- - - Updated - - -
You mean the 11 bugs in our bitbucket?
- - - Updated - - -
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
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. :')
What do you think would be a better solution to the text problem?
Re: [Mercury Emulator] Fixes & Edits [Topic] [Post Your Bugs and Fixes]
I have a question where to setup the max of te saveheightmap because when the room is to big i get disconnect.
Someone have a solution for this?
Re: [Mercury Emulator] Fixes & Edits [Topic] [Post Your Bugs and Fixes]
Quote:
Originally Posted by
VabboWorld
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
- - - Updated - - -
You mean the 11 bugs in our bitbucket?
- - - Updated - - -
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
Can you give me your source for Mercury with every bugs fixed? Including the fixes in this quote please? Thanks.
Re: [Mercury Emulator] Fixes & Edits [Topic] [Post Your Bugs and Fixes]
Is Room_Ads working properly? Because mine isn't. D:
Please can somebody release a fix for that?
Thank you.
Re: [Mercury Emulator] Fixes & Edits [Topic] [Post Your Bugs and Fixes]
Quote:
Originally Posted by
CUS7OM
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
Re: [Mercury Emulator] Fixes & Edits [Topic] [Post Your Bugs and Fixes]
Quote:
Originally Posted by
MrSpooks
just set the proper interactions for it its ether background or roombg but i'm 99% sure its background
both of them are not working for me.
Re: [Mercury Emulator] Fixes & Edits [Topic] [Post Your Bugs and Fixes]
Hi people, I'm italian. A my friend help me to resolve the bug of the stack_height (screen: http://gyazo.com/0367a7a80589554d18a7ed4db20e8e42) with this Mysql error:
Code:
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
To resolve this search:
Code:
"UPDATE items SET room_id=",
roomItem2.RoomId,
", x=",
roomItem2.GetX,
", y=",
roomItem2.GetY,
", z=",
roomItem2.GetZ,
", rot=",
roomItem2.Rot,
" WHERE id='",
roomItem2.Id,
into RoomItemHandling.
After edit the
Code:
roomItem2.GetZ,
", rot=",
roomItem2.Rot,
with
Code:
TextHandling.GetString(roomItem2.GetZ),
", rot=",
roomItem2.Rot,
and debug.
After the stack_height works without problems. Sorry for my english, I'm italian. Thanks to alessiod40.
Re: [Mercury Emulator] Fixes & Edits [Topic] [Post Your Bugs and Fixes]
Quote:
Originally Posted by
GlobeCMS
Hi people, I'm italian. A my friend help me to resolve the bug of the stack_height (screen:
http://gyazo.com/0367a7a80589554d18a7ed4db20e8e42) with this Mysql error:
Code:
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
To resolve this search:
Code:
"UPDATE items SET room_id=",
roomItem2.RoomId,
", x=",
roomItem2.GetX,
", y=",
roomItem2.GetY,
", z=",
roomItem2.GetZ,
", rot=",
roomItem2.Rot,
" WHERE id='",
roomItem2.Id,
into RoomItemHandling.
After edit the
Code:
roomItem2.GetZ,
", rot=",
roomItem2.Rot,
with
Code:
TextHandling.GetString(roomItem2.GetZ),
", rot=",
roomItem2.Rot,
and debug.
After the stack_height works without problems. Sorry for my english, I'm italian. Thanks to alessiod40.
Cheers for this fix dude.
Re: [Mercury Emulator] Fixes & Edits [Topic] [Post Your Bugs and Fixes]
Fix for Error en thread room (not the one posted, this one causes heaps more errors x.x)
Go to RoomManager.cs > Line 629 > Change it to foreach (Chatlog current2 in Room.RoomChat.Reverse()) - Works fine for me :): Currently working on the floor plan editor to big thingy packet error.
Re: [Mercury Emulator] Fixes & Edits [Topic] [Post Your Bugs and Fixes]
We can set the soocerball ?
- - - Updated - - -
Please someone could share the Furni control command built
Re: [Mercury Emulator] Fixes & Edits [Topic] [Post Your Bugs and Fixes]
Quote:
Originally Posted by
FatalLulz
Fix for Error en thread room (not the one posted, this one causes heaps more errors x.x)
Go to RoomManager.cs > Line 629 > Change it to foreach (Chatlog current2 in Room.RoomChat.Reverse()) - Works fine for me :): Currently working on the floor plan editor to big thingy packet error.
Thanks for share! Works fine :)
Re: [Mercury Emulator] Fixes & Edits [Topic] [Post Your Bugs and Fixes]
Is this an issue with the editor or simply in the variables of mercury or something? Its requesting files that don't really exist...
action = [authentication], label = [authok], data = []habboflashclient.js:54
[COLOR=red !important]GET http://127.0.0.1/crossdomain.xml 404 (Not Found) 127.0.0.1/crossdomain.xml:1[/COLOR]
[COLOR=red !important]GET http://127.0.0.1/game/crossdomain.xml 404 (Not Found) 127.0.0.1/game/crossdomain.xml:1[/COLOR]
[COLOR=red !important]GET http://localhost/clientfiguremap.xml 404 (Not Found) clientfiguremap.xml:1[/COLOR]
errorCode = Could not load avatar structure. Failed to get data from URL http://127.0.0.1/game/gamedata/figuredata.xml habboflashclient.js:55