Swift Emulator Critical Error?

Results 1 to 10 of 10
  1. #1
    Member Bubble is offline
    MemberRank
    Jan 2012 Join Date
    Under Your BedLocation
    44Posts

    Swift Emulator Critical Error?

    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


  2. #2
    Check http://arcturus.pw The General is offline
    DeveloperRank
    Aug 2011 Join Date
    7,613Posts

    Re: Swift Emulator Critical Error?

    What is on: Butterfly\HabboHotel\Users\Authenticator\HabboFactory.cs at line 30?

  3. #3
    Member Bubble is offline
    MemberRank
    Jan 2012 Join Date
    Under Your BedLocation
    44Posts

    Re: Swift Emulator Critical Error?

    Quote Originally Posted by HillBilly View Post
    What is on: Butterfly\HabboHotel\Users\Authenticator\HabboFactory.cs at line 30?
    Not sure i have no Vb installed

  4. #4
    Check http://arcturus.pw The General is offline
    DeveloperRank
    Aug 2011 Join Date
    7,613Posts

    Re: Swift Emulator Critical Error?

    Open it with Notepad++

  5. #5
    Member Bubble is offline
    MemberRank
    Jan 2012 Join Date
    Under Your BedLocation
    44Posts

    Re: Swift Emulator Critical Error?

    Quote Originally Posted by HillBilly View Post
    Open it with Notepad++
    int achievementPoints = (int) dRow["achievement_points"];

  6. #6
    ส็็็็็็็ Bloodraven is offline
    Grand MasterRank
    Sep 2009 Join Date
    AntarcticaLocation
    2,414Posts

    Re: Swift Emulator Critical Error?

    Quote Originally Posted by Bubble View Post
    int achievementPoints = (int) dRow["achievement_points"];
    add achievement_points in users.

  7. #7
    Member Bubble is offline
    MemberRank
    Jan 2012 Join Date
    Under Your BedLocation
    44Posts

    Re: Swift Emulator Critical Error?

    Quote Originally Posted by zJordan View Post
    add achievement_points in users.
    It's there

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

  8. #8
    Gaby is offline
    Grand MasterRank
    Apr 2013 Join Date
    Viva HollandiaLocation
    1,607Posts

    Re: Swift Emulator Critical Error?

    Quote Originally Posted by Bubble View Post
    It's there

    But i have to allow null so i can register on revcms
    Why don't you just edit revcms to let everyone register with 1 achievement_point?

  9. #9
    Member Bubble is offline
    MemberRank
    Jan 2012 Join Date
    Under Your BedLocation
    44Posts

    Re: Swift Emulator Critical Error?

    Quote Originally Posted by BaasHotel View Post
    Why don't you just edit revcms to let everyone register with 1 achievement_point?
    Still critical error

  10. #10
    Check http://arcturus.pw The General is offline
    DeveloperRank
    Aug 2011 Join Date
    7,613Posts

    Re: Swift Emulator Critical Error?

    Quote Originally Posted by Bubble View Post
    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"]);



Advertisement