GW2Raidar / gw2raidar

A log parsing website for Guild Wars 2 combat logs
http://www.gw2raidar.com
GNU General Public License v3.0
20 stars 14 forks source link

Update parser to cater for new log structure #319

Closed merforga closed 6 years ago

merforga commented 6 years ago

Update log structure for stats is :

    /* define agent. stats range from 0-10 */
    typedef struct evtc_agent {
        uint64_t addr;
        uint32_t prof;
        uint32_t is_elite;
        int16_t toughness;
        int16_t concentration;
        int16_t healing;
        int16_t pad1;
        int16_t condition;
        int16_t pad2;
        char name[64];
    } evtc_agent;

Need to change parser to:

AGENT_DTYPE = np.dtype([
        ('addr', np.int64), # required: https://github.com/pandas-dev/pandas/issues/3506
        ('prof', np.int32),
        ('elite', np.int32),
        ('toughness', np.int16),
        ('concentration', np.int16),
        ('healing', np.int16),
        ('pad1', np.int16),
        ('condition', np.int16),
        ('pad2', np.int16),
        ('name', '|S64'),
], True)
merforga commented 6 years ago

Version 2.2.3 released on 2018-08-15 10:24:40