Swift Emulator Critical Error?

Status
Not open for further replies.
Newbie Spellweaver
Joined
Jan 7, 2012
Messages
27
Reaction score
1
Hello RaGeZone,

I'm pretty new to Swift Emulator so i decided to check it out
I downloaded Akills Revision 5 Swift Edit Imported the Database provided in the Database folder imported it configured the emulator and used the swfs provided and configured everything i ran the emulator it gives me a critical error
this is what has been logged

Code:
TokenID: 0Invalid Dario bug duing user login: System.InvalidCastException: Specified cast is not valid.
   at Butterfly.HabboHotel.Users.Authenticator.HabboFactory.GenerateHabbo(DataRow dRow, DataRow group) in C:\Users\Felipe\Desktop\Reverse\Debug\Swift - AKllX Edition\Butterfly\HabboHotel\Users\Authenticator\HabboFactory.cs:line 30
   at Butterfly.HabboHotel.Users.UserDataManagement.UserDataFactory.GetUserData(String sessionTicket, String ip, Byte& errorCode) in C:\Users\Felipe\Desktop\Reverse\Debug\Swift - AKllX Edition\Butterfly\HabboHotel\Users\UserDataManagement\UserDataFactory.cs:line 368
   at Butterfly.HabboHotel.GameClients.GameClient.tryLogin(String AuthTicket) in C:\Users\Felipe\Desktop\Reverse\Debug\Swift - AKllX Edition\Butterfly\HabboHotel\GameClients\GameClient.cs:line 242

Emulator: Swift
CMS: Rev
Using IIS
 
It's there

But i have to allow null so i can register on revcms

Set default value in your database as 0.

To edit the emulator and be able to compile it you should get Visual C#.

If setting a default value is still not working you can try to replace:

int achievementPoints = (int) dRow["achievement_points"];

with:

int achievementPoints = Convert.ToInt32(["achievement_points"]);
 
Upvote 0
Status
Not open for further replies.
Back