Hello, i give a code for you test the trading-pass on you retro!
FIX TO THE TRADING
In Messages/Requests/Rooms.cs
FindUnder it addCode:private void RedeemExchangeFurni()
{
ReplaceCode:int troc_enabled;
using (DatabaseClient dbClient = UberEnvironment.GetDatabase().GetClient())
{
troc_enabled = dbClient.ReadInt32("SELECT troc FROM users WHERE id = '" + Session.GetHabbo().Id + "' LIMIT 1");
}
perCode:if (Room == null || !Room.CheckRights(Session, true))
SQL:Code:if (Room == null || !Room.CheckRights(Session, true) || troc_enabled == 0)
Thank you to test it!Code:ALTER TABLE users
ADD troc enum('0','1') NOT NULL DEFAULT '1'
I have finished to coded
link : http://www.mediafire.com/?f0uv42deldlm5lb
I don't have tested, sorry

