[Game Server] Item Table Problem

Results 1 to 11 of 11
  1. #1
    Apprentice Devonx is offline
    MemberRank
    Jul 2014 Join Date
    11Posts

    [Game Server] Item Table Problem

    Hello!

    I use the files from tweek but my game server says:

    [7/14/2014 3:21:20 PM] [ItemManager.Load] » Failed to load all weapons into the memory!
    [7/14/2014 3:21:20 PM] [ItemManager.Load] » Error: Input string was not in a correct format!

    How can i fix it?


  2. #2
    ◝(⁰▿⁰)◜Smile◝ (⁰▿⁰)◜ Taiga is offline
    DeveloperRank
    May 2007 Join Date
    InternetLocation
    2,464Posts

    Re: [Game Server] Item Table Problem

    What emulator are you using?

  3. #3
    Apprentice Devonx is offline
    MemberRank
    Jul 2014 Join Date
    11Posts

    Re: [Game Server] Item Table Problem


  4. #4
    ◝(⁰▿⁰)◜Smile◝ (⁰▿⁰)◜ Taiga is offline
    DeveloperRank
    May 2007 Join Date
    InternetLocation
    2,464Posts

    Re: [Game Server] Item Table Problem

    The fix has already been posted in the release section, you can find it here.

  5. #5
    Apprentice Devonx is offline
    MemberRank
    Jul 2014 Join Date
    11Posts

    Re: [Game Server] Item Table Problem

    Quote Originally Posted by CodeDragon View Post
    The fix has already been posted in the release section, you can find it here.
    the same error. :(

  6. #6
    ◝(⁰▿⁰)◜Smile◝ (⁰▿⁰)◜ Taiga is offline
    DeveloperRank
    May 2007 Join Date
    InternetLocation
    2,464Posts

    Re: [Game Server] Item Table Problem

    Try to re-import your database :)

  7. #7
    Apprentice Devonx is offline
    MemberRank
    Jul 2014 Join Date
    11Posts

    Re: [Game Server] Item Table Problem

    same...I found this error on the source code:

    parseint32 input string was not in a correct format
    In this line:

    _tPrice[J] = int.Parse(Data[3 + J]);

  8. #8
    ◝(⁰▿⁰)◜Smile◝ (⁰▿⁰)◜ Taiga is offline
    DeveloperRank
    May 2007 Join Date
    InternetLocation
    2,464Posts

    Re: [Game Server] Item Table Problem

    Quote Originally Posted by Devonx View Post
    same...I found this error on the source code:
    It means that some data in your table is wrong. You should double check it, try to place a break point & figure out where it goes wrong.

  9. #9
    Apprentice Devonx is offline
    MemberRank
    Jul 2014 Join Date
    11Posts

    Re: [Game Server] Item Table Problem

    Quote Originally Posted by CodeDragon View Post
    It means that some data in your table is wrong. You should double check it, try to place a break point & figure out where it goes wrong.
    Sure?

    Here is full error:

    Error: System.FormatException: Input string was not in a correct format.
    at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
    at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
    at GameServer.Managers.ItemManager.Load() in Files\GameServer\Managers\ItemManager.cs:line 106

  10. #10
    ◝(⁰▿⁰)◜Smile◝ (⁰▿⁰)◜ Taiga is offline
    DeveloperRank
    May 2007 Join Date
    InternetLocation
    2,464Posts

    Re: [Game Server] Item Table Problem

    Quote Originally Posted by Devonx View Post
    Sure?
    There error reports that there is invalid data where it should parse the information. It's easy to figure out that it's the database since the database is the only source where the data can come from. In short words, there might be a table with incorrect information.

    I've no clue what row it is because I didn't wrote that code originally.
    You should hover over item id when the error occurs, that might show you the row where it's causing the problem.

  11. #11
    Apprentice Devonx is offline
    MemberRank
    Jul 2014 Join Date
    11Posts

    Re: [Game Server] Item Table Problem

    I have reinstall the server and use the sames files, now it's works :)



Advertisement