Party

This function returns all party members.

Usage

get_party()

Returns

None or an object containing party members.

  • The object can be empty.

  • The key in the object is the player's party ID.

  • player_id will be 0 until they spawn near you.

  • hp_percent and mp_percent are values ranging from 0 to 10. This is how Joymax sends the percentage data.

{
    9958419: {
        'name': 'xxxxxxxxxx',
        'mp_percent': 10,
        'player_id': 0,
        'hp_percent': 10,
        'y': 0.0,
        'guild': '',
        'level': 9,
        'x': 0.0
    },
    18466554: {
        'name': 'KyrieIrVinG_',
        'mp_percent': 10,
        'player_id': 0,
        'hp_percent': 10,
        'y': 0.0,
        'guild': 'Succubus',
        'level': 103,
        'x': 0.0
    },
    18478427: {
        'name': '__LeGo0LaS__',
        'mp_percent': 10,
        'player_id': 0,
        'hp_percent': 10,
        'y': 0.0,
        'guild': 'FGFDGDFGDF',
        'level': 84,
        'x': 0.0
    },
    18459759: {
        'name': '_SrK_KhaN_',
        'mp_percent': 10,
        'player_id': 0,
        'hp_percent': 10,
        'y': 0.0,
        'guild': 'Succubus',
        'level': 103,
        'x': 0.0
    }
}

Last updated