Bag Slot ID signed/or unsigned
Posted: Sun Mar 24, 2019 3:00 pm
i use greatbig 255 slot bags
now that it is starting to get fuller , i am getting errors when server is trying to write character items to the dbthat the 'slot' is of the wrong type and the values is a negative number
the db has slot as unsigned tinyint
the server has sint16 i think this is it
which is correct
now that it is starting to get fuller , i am getting errors when server is trying to write character items to the dbthat the 'slot' is of the wrong type and the values is a negative number
the db has slot as unsigned tinyint
the server has sint16 i think this is it
Code: Select all
struct ItemCore{
int32 item_id;
sint32 soe_id;
int32 bag_id;
sint32 inv_slot_id;
sint16 slot_id;
int8 index;
int16 icon;
int16 count;
int8 tier;
int8 num_slots;
int32 unique_id;
int8 num_free_slots;
int16 recommended_level;
};