Jump to content

  •  

AnyThing

Member Since 20 Apr 2014
Offline Last Active Private
-----

Issues I've Posted

    Char server is not sending character data when some data is too big

    Posted 17 Sep 2014

    I enable very high level (up to 1000), and some of player mysql data in table 'char' on the 'base_exp' column has more than 4 billion values (let's say, 6966857840). The mysql field somehow support it since it's bigint(20), but char server will print below message:
    [17/Sep 20:12:05][SQL]: DB error - data of field 'base_exp' was truncated.
    [17/Sep 20:12:05][Debug]: column - 6
    [17/Sep 20:12:05][Debug]: data   - type=UNSIGNED MYSQL_TYPE_LONGLONG, length=4
    [17/Sep 20:12:05][Debug]: buffer - type=UNSIGNED MYSQL_TYPE_LONG, length=4

    And in client-side, this character AND ANY character after this character will not visible anymore in char select.

    For example, in char select we have:
    1. Name1
    2. Name2
    3. Name3

    If Name2 base_exp value is more than 4 billion, only Name1 will be visible. Name2 and Name3 is not visible anymore.

    Map Server Crash

    Posted 17 May 2014

    Create a new character named Test

    @job 4063
    @joblvlup 99
    @allskills

    Then, type this
    @clone Test
    @evilclone Test

    They will vs each other. Create like 10 couples and wait. Map server will crash.

    When I enable debugging in VS2013, it will print this instead:
    [17/May 11:40:11][Error]: --- nullpo info --------------------------------------------
    [17/May 11:40:11][Error]: d:\hercules\src\map\party.c:1077: 'sd' in function `unknown'
    [17/May 11:40:11][Error]: --- end nullpo info ----------------------------------------

    I think one of clones is trying to do a party based skills and it isn't checked against clones without sd data.