Welcome!

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!

Azure Emulator & CMS help thread

Status
Not open for further replies.
Joined
Feb 22, 2012
Messages
2,103
Reaction score
1,271
- What's this thread?
This is the Official Azure Help Thread. This means: Everything question related to azure must be maded here. This includes: Questions about bugs (how to fix it, for instance). Feel free to also post Fixes here as long as it follows the section rules.


- Why using this thread?
We wanna keep things organised. Consider this thread as a book. We will address proper fixes in this post, for faster searching and going to the pages.


- Answered questions
This is the list of the current answered questions. This includes bugfixes, questions related to azure, etc.

Links to answered questions within this thread:
We still are addressing bugs. Keep answering questions and we will be editing this thread. All relevant questions should be addressed.

Fixes addressed:
Name: Column 'Duty Level' does not belong to table Table.
Fix:
Execute query:
Code:
ALTER TABLE `users` ADD `DutyLevel` INT NOT NULL DEFAULT '0' AFTER `OnDuty`;


- Who manages this thread? There's any rules to this thread?
This thread is currently managed by Habbo Hotel section's moderators. All section rules apply. If you feel that some question doesn't have enough information, please report it, so the moderators can review it, and take proper action. Same goes to replies to questions with a vague explaination. The rules to this thread is the same of the Habbo Help section in general (which follows the rules of RaGEZONE). If you fail to follow the rules, we will delete, or warn, or infract.


- Do you have any more questions?
If you have any questions related to Azure, it's team, or anything at all, feel free to contact one of the following: Sir Jamal .

NOTE: Old thread got deleted due to a request from our old HH mod.This thread has the same rules as the old one.

The latest thread (which contained around 4/5 posts) got deleted due to a mistake of mine with merging.

Please read: https://forum.ragezone.com/f333/tips-section-1080130/
 
Last edited:
Newbie Spellweaver
Joined
May 15, 2011
Messages
54
Reaction score
4
Re: Official Azure Emulator & CMS help thread

When someone enters a room with an other user in it, it disconnects. Here is the exception:


Exception logged 25-11-2015 20:06:48 in packet handling ----> 2188:
System.NullReferenceException: Object reference not set to an instance of an object.
at Azure.Messages.Handlers.GameClientMessageHandler.GetRoomData2() in C:\Users\Jamal\Desktop\Azure Emulator 2.0.200\Azure\Azure.Emulator\Messages\Handlers\Rooms.cs:line 2013
at Azure.Connection.Net.GamePacketParser.HandlePacketData(Byte[] data) in C:\Users\Jamal\Desktop\Azure Emulator 2.0.200\Azure\Azure.Emulator\Connection\Net\GamePacketParser.cs:line 83
Source:
Azure.Emulator
Data:
Message:
Object reference not set to an instance of an object.
Stack trace:
at Azure.Messages.Handlers.GameClientMessageHandler.GetRoomData2() in C:\Users\Jamal\Desktop\Azure Emulator 2.0.200\Azure\Azure.Emulator\Messages\Handlers\Rooms.cs:line 2013
at Azure.Connection.Net.GamePacketParser.HandlePacketData(Byte[] data) in C:\Users\Jamal\Desktop\Azure Emulator 2.0.200\Azure\Azure.Emulator\Connection\Net\GamePacketParser.cs:line 83
 
Upvote 0
Newbie Spellweaver
Joined
Oct 1, 2013
Messages
22
Reaction score
1
Re: Official Azure Emulator & CMS help thread

I have a bugg with 2.0 azure

I can not open the Friendlist and i can not open the friend chat
who have a fix for this?
 
Upvote 0
Newbie Spellweaver
Joined
Mar 22, 2013
Messages
56
Reaction score
9
Re: Official Azure Emulator & CMS help thread

FIX FOR THE SUPERWIRED EXAMPLE: wf_act_give_reward, THIS IS TO Azure Version 2.0.100 and 2.0.200

1.- Run these SQL code in your database:
Code:
ALTER TABLE `permissions_ranks` ADD `fuse_use_superwired` enum('0','1') NOT NULL DEFAULT '1';
ALTER TABLE `permissions_ranks` ADD `fuse_any_rooms_rights` enum('0','1') NOT NULL DEFAULT '1';

2.- We search the source emulator in part: Azure.Emulator/HabboHotel/Roles, and opened RoleManager.cs We replace the code that is in this:

Code:
#region


using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using Azure.Configuration;
using Azure.Database.Manager.Database.Session_Details.Interfaces;


#endregion


namespace Azure.HabboHotel.Roles
{
    /// <summary>
    /// Class RoleManager.
    /// </summary>
    internal class RoleManager
    {
        public Dictionary<string, int> CommandsList = new Dictionary<string, int>();
        public Dictionary<string, int> PetCommandsList = new Dictionary<string, int>();
        public Dictionary<uint, string> RankBadge = new Dictionary<uint, string>();
        private Dictionary<uint, int> RankFlood = new Dictionary<uint, int>();
        private Dictionary<uint, List<string>> RankPermissions = new Dictionary<uint, List<string>>();
        private Dictionary<uint, List<string>> UserPermissions = new Dictionary<uint, List<string>>();


        public void ClearPermissions()
        {
            this.RankBadge.Clear();
            this.UserPermissions.Clear();
            this.RankPermissions.Clear();
            this.RankFlood.Clear();
        }


        public bool ContainsRank(uint Rank)
        {
            return this.RankPermissions.ContainsKey(Rank);
        }


        public bool ContainsUser(uint UserID)
        {
            return this.UserPermissions.ContainsKey(UserID);
        }


        public int FloodTime(uint RankId)
        {
            return this.RankFlood[RankId];
        }


        public List<string> GetRightsForHabbo(uint UserID, uint Rank)
        {
            List<string> list = new List<string>();
            if (this.ContainsUser(UserID))
            {
                return this.UserPermissions[UserID];
            }
            return this.RankPermissions[Rank];
        }


        public void LoadRights(IQueryAdapter dbClient)
        {
            this.ClearPermissions();
            dbClient.SetQuery("SELECT * FROM ranks ORDER BY id DESC;");
            DataTable table = dbClient.GetTable();
            if (table != null)
            {
                foreach (DataRow row in table.Rows)
                {
                    this.RankBadge.Add((uint)row["id"], row["badgeid"].ToString());
                }
            }
            dbClient.SetQuery("SELECT * FROM permissions_ranks ORDER BY rank DESC;");
            table = dbClient.GetTable();
            if (table != null)
            {
                foreach (DataRow row in table.Rows)
                {
                    this.RankFlood.Add((uint)row["rank"], (int)row["floodtime"]);


                    var list = new List<string>();
                    foreach (DataColumn dataColumn in row.Table.Columns)
                    {
                        if (AzureEmulator.EnumToBool(row[dataColumn.ColumnName].ToString()))
                        {
                            list.Add(dataColumn.ColumnName);
                        }
                    }


                    this.RankPermissions.Add((uint)row["rank"], list);
                }
            }
        }


        public int RankCount()
        {
            return this.RankBadge.Count;
        }


        public bool RankHasRight(uint RankId, string Role)
        {
            if (!this.ContainsRank(RankId))
            {
                return false;
            }
            List<string> list = this.RankPermissions[RankId];
            return list.Contains(Role);
        }


        public string RanksBadge(uint Rank)
        {
            return this.RankBadge[Rank];
        }


        public bool UserHasPermission(uint UserID, string Role)
        {
            if (!this.ContainsUser(UserID))
            {
                return false;
            }
            List<string> list = this.UserPermissions[UserID];
            return list.Contains(Role);
        }


        public bool UserHasPersonalPermissions(uint UserID)
        {
            return this.ContainsUser(UserID);
        }


    }
}

Finally already have their superwireds working, I began to compare the old version of the emulator and I found this fix that does not bring the 0190 update of azure 2.0
 
Last edited:
Upvote 0
Newbie Spellweaver
Joined
Jan 21, 2013
Messages
40
Reaction score
12
Re: Official Azure Emulator & CMS help thread

Whats the differens by build 100 / build 200???
 
Upvote 0
Newbie Spellweaver
Joined
May 15, 2011
Messages
54
Reaction score
4
Re: Official Azure Emulator & CMS help thread

16:11:12 - FATAL - AzureSharp.AzureEmulator - Failed to load AzureEmulator.
System.ArgumentException: An item with the same key has already been added.
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at AzureSharp.Security.AntiMutant.Load()
at AzureSharp.HabboHotel.Game..ctor()
at AzureSharp.AzureEmulator.Initialize()


This is the error azuresharp gives me when I try to start the emulator. Does someone know what the problem could be?
 
Upvote 0
Newbie Spellweaver
Joined
Jul 3, 2012
Messages
12
Reaction score
0
Re: Official Azure Emulator & CMS help thread

While connecting to my hotel that is running on

Azure 2.0.200

I'm getting the next Refused Codes:

4000
1043
275
2537

[IN ORDER!!]

The client opens my hotel then disconnects and shows the loading bar with 100% and then goes to my homepage....
 
Upvote 0
Newbie Spellweaver
Joined
Jan 30, 2013
Messages
30
Reaction score
26
Re: Official Azure Emulator & CMS help thread

16:11:12 - FATAL - AzureSharp.AzureEmulator - Failed to load AzureEmulator.
System.ArgumentException: An item with the same key has already been added.
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at AzureSharp.Security.AntiMutant.Load()
at AzureSharp.HabboHotel.Game..ctor()
at AzureSharp.AzureEmulator.Initialize()


This is the error azuresharp gives me when I try to start the emulator. Does someone know what the problem could be?

This is because there is a duplicate key in your figuredata. This is fixed in 2.1.0.2.
You can find the fix on GitLab:

While connecting to my hotel that is running on

Azure 2.0.200

I'm getting the next Refused Codes:

4000
1043
275
2537

[IN ORDER!!]

The client opens my hotel then disconnects and shows the loading bar with 100% and then goes to my homepage....

You're using a wrong Habbo.swf.
Download the following file: . The correct SWF is inside the folder 'HABBO SWF'.

- edit: I didn't see that it goes to 100%, make sure your variables etc are correct -
 
Last edited:
Upvote 0
Newbie Spellweaver
Joined
Jul 3, 2012
Messages
12
Reaction score
0
Re: Official Azure Emulator & CMS help thread

This is because there is a duplicate key in your figuredata. This is fixed in 2.1.0.2.
You can find the fix on GitLab:



You're using a wrong Habbo.swf.
Download the following file: . The correct SWF is inside the folder 'HABBO SWF'.

- edit: I didn't see that it goes to 100%, make sure your variables etc are correct -

Nope putted the Habbo.swf in it but didnt changed it.
 
Upvote 0
Newbie Spellweaver
Joined
Nov 12, 2014
Messages
22
Reaction score
0
Re: Official Azure Emulator & CMS help thread

System.ArgumentException: Column 'look' does not belong to table . at System.Data.DataRow.GetDataColumn(String columnName) at System.Data.DataRow.get_Item(String columnName) at Azure.HabboHotel.Users.UserDataManagement.UserDataFactory.GetUserData(String sessionTicket, UInt32& errorCode) in C:\Users\Administrator\Desktop\Azure Emulator 2.0.200\Azure Emulator 2.0.200 (Source)\Azure\Azure.Emulator\HabboHotel\Users\UserDataManagement\UserDataFactory.cs:line 241

HELP ME PLEASE
 
Upvote 0
Newbie Spellweaver
Joined
Jul 12, 2007
Messages
46
Reaction score
0
Re: Official Azure Emulator & CMS help thread

I can't get the source to compile. It says there are 9 errors. I followed the steps and built it first but it still has build errors. Any suggestions?
 
Upvote 0
Elite Diviner
Joined
Nov 28, 2014
Messages
450
Reaction score
113
Official Azure Emulator &amp; CMS help thread

I can't get the source to compile. It says there are 9 errors. I followed the steps and built it first but it still has build errors. Any suggestions?

Try to debug it first and then re-build it.
 
Upvote 0
Initiate Mage
Joined
Dec 3, 2015
Messages
4
Reaction score
0
Re: Official Azure Emulator &amp; CMS help thread

Hello,

I was looking for a working SWF Pack for this Emulator.
If anyone has one that works with Azure and has a download link, please PM me :)

The one provided on the Download Centre of Azure does not seem to work for me
as most things there are not explained in a way its easy to understand for me,
(Might be me, not trying to offend anyone here lol)

So yeah, please help me out :)
 
Upvote 0
Newbie Spellweaver
Joined
Dec 2, 2015
Messages
13
Reaction score
1
Re: Official Azure Emulator & CMS help thread

Just a quick one.

How do i change the colour of the black text on the hotel view. I want to change it too white

 
Upvote 0
Newbie Spellweaver
Joined
Sep 8, 2012
Messages
14
Reaction score
3
Re: Official Azure Emulator & CMS help thread

Friends, I need help.
I'm using the AzureSharp Emulator 2.1.0.2 and I'm having trouble accessing the game.

The emulator, apparently works normally, but I'm noticing a significant delay to connect to the game.
First, the connection is stopped in 76%, right, after approx. 2 minutes, ends of load, and so goes normally.

Anyone have any idea what it is? I changed the SWFs, and the problem continues.
Can you help me?

The hotel takes too long to load, even with other SWFs.

I appreciate if you can help me!

Here are prints.


 
Upvote 0
Newbie Spellweaver
Joined
Jan 9, 2013
Messages
11
Reaction score
1
Re: Official Azure Emulator & CMS help thread

I got the same issue.
Code:
10:42:07 - ERROR - AzureSharp.HabboHotel.Users.UserDataManagement.UserDataFactory - Failed to get the user data.System.ArgumentException: Column 'look' does not belong to table .
   at System.Data.DataRow.GetDataColumn(String columnName)
   at System.Data.DataRow.get_Item(String columnName)
   at AzureSharp.HabboHotel.Users.UserDataManagement.UserDataFactory.GetUserData(String sessionTicket, UInt32& errorCode)

Is there someone out there, who knows the solution to this problem? :)
 
Upvote 0
Elite Diviner
Joined
Nov 28, 2014
Messages
450
Reaction score
113
Re: Official Azure Emulator & CMS help thread

Friends, I need help.
I'm using the AzureSharp Emulator 2.1.0.2 and I'm having trouble accessing the game.

The emulator, apparently works normally, but I'm noticing a significant delay to connect to the game.
First, the connection is stopped in 76%, right, after approx. 2 minutes, ends of load, and so goes normally.

Anyone have any idea what it is? I changed the SWFs, and the problem continues.
Can you help me?

The hotel takes too long to load, even with other SWFs.

I appreciate if you can help me!

Here are prints.


Use this swfs it should work great:
 
Upvote 0
Newbie Spellweaver
Joined
Dec 24, 2014
Messages
85
Reaction score
34
Re: Official Azure Emulator & CMS help thread

Anybody knows a fix for this?
Code:
 09:39:34 - FATAL - AzureSharp.AzureEmulator       - Failed to load AzureEmulator.MySql.Data.MySqlClient.MySqlException (0x80004005): Unknown column 'replacement' in 'field list'
   at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
   at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)
   at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)
   at MySql.Data.MySqlClient.MySqlDataReader.NextResult()
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)
   at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
   at System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)
   at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)
   at AzureSharp.Database.Queries.Query.GetTable()
   at AzureSharp.Security.Filter.Load()
   at AzureSharp.HabboHotel.Game..ctor()
   at AzureSharp.AzureEmulator.Initialize()
09:45:33 - FATAL - AzureSharp.AzureEmulator       - Failed to load AzureEmulator.
Thx!
 
Upvote 0
Skilled Illusionist
Joined
Jul 4, 2009
Messages
363
Reaction score
65
Re: Official Azure Emulator & CMS help thread

Any idea why this is freazing after a couple of minutes? @ Camera API
/habboCamera/assets.php
 
Upvote 0
Newbie Spellweaver
Joined
Jan 30, 2013
Messages
30
Reaction score
26
Re: Official Azure Emulator & CMS help thread

Anybody knows a fix for this?
Code:
 09:39:34 - FATAL - AzureSharp.AzureEmulator       - Failed to load AzureEmulator.MySql.Data.MySqlClient.MySqlException (0x80004005): Unknown column 'replacement' in 'field list'
   at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
   at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)
   at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)
   at MySql.Data.MySqlClient.MySqlDataReader.NextResult()
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)
   at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
   at System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)
   at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)
   at AzureSharp.Database.Queries.Query.GetTable()
   at AzureSharp.Security.Filter.Load()
   at AzureSharp.HabboHotel.Game..ctor()
   at AzureSharp.AzureEmulator.Initialize()
09:45:33 - FATAL - AzureSharp.AzureEmulator       - Failed to load AzureEmulator.
Thx!

In the SQL folder, there is a file called 2.1.0.0.sql, run this SQL file.
 
Upvote 0

OGU

Newbie Spellweaver
Joined
Dec 29, 2012
Messages
26
Reaction score
0
Re: Official Azure Emulator & CMS help thread

Can someone help me with this? (Loading... landview.habbo15parisbundle.header etc)
 
Upvote 0
Status
Not open for further replies.
Back
Top