FluxRP Emu - User connected in other place ERROR

uttmmmm5

Member
May 18, 2016
110
5
Hey,
I have a big problem with the FluxRP Emulator.
Some of my users have many disconnects in a row and sometimes they lose there money after...
Now i would like to ask if someone knows this issue and can tell me how to fix that.

Emulator:


Exceptionslog:
Code:
Bug during user login: System.NullReferenceException: Object reference not set to an instance of an object.
   at Plus.HabboHotel.GameClients.GameClient.TryLogin(String authTicket) in C:\Users\Hender\Documents\FluxEMU1.79\Plus Emulator\HabboHotel\GameClients\GameClient.cs:line 186


Bug during user login: System.NullReferenceException: Object reference not set to an instance of an object.
   at Plus.HabboHotel.Roleplay.Instance.CreateRoleplayInstance.GenerateInstance(DataRow RPStats) in C:\Users\Hender\Documents\FluxEMU1.79\Plus Emulator\HabboHotel\Roleplay\Instance\GenerateRoleplayInstance.cs:line 35
   at Plus.HabboHotel.GameClients.GameClient.TryLogin(String authTicket) in C:\Users\Hender\Documents\FluxEMU1.79\Plus Emulator\HabboHotel\GameClients\GameClient.cs:line 213

GameClients.cs (Line 186 - 198)
Code:
if (userData.User != null)
                {
                    //Now let us check for a username ban record..
                    BanRecord = null;
                    if (Plus.GetGame().GetBanManager().IsBanned(userData.User.UserName, out BanRecord))
                    {
                        if (Plus.GetGame().GetBanManager().UsernameBanCheck(userData.User.UserName))
                        {
                            Disconnect("banned - login attempt");
                            return false;
                        }
                    }
                }

GameClients.cs (Line 213 - 214)
Code:
RoleplayInstance RPData = CreateRoleplayInstance.GenerateInstance(Row);
                        _roleplay = RPData;
 

uttmmmm5

Member
May 18, 2016
110
5
UserData is null. Seems like their user data is not being created
Ok, and how i can fix this ?
This error appears in random users who have never had problems before. Then the problem apparently solved by itself, but those are sometimes then coins deducted.
Then they can login again normally.
 

Users who are viewing this thread

Top