Update base repositories to use int as a base to avoid atoi overflow

This commit is contained in:
Akkadius
2020-04-19 04:49:28 -05:00
parent 373fb3f0e7
commit 6409e02aed
97 changed files with 540 additions and 540 deletions
@@ -36,7 +36,7 @@ class BaseItemsRepository {
public:
struct Items {
int id;
int16 minstatus;
int minstatus;
std::string Name;
int aagi;
int ac;
@@ -44,23 +44,23 @@ public:
int acha;
int adex;
int aint;
int8 artifactflag;
int artifactflag;
int asta;
int astr;
int attack;
int augrestrict;
int8 augslot1type;
int8 augslot1visible;
int8 augslot2type;
int8 augslot2visible;
int8 augslot3type;
int8 augslot3visible;
int8 augslot4type;
int8 augslot4visible;
int8 augslot5type;
int8 augslot5visible;
int8 augslot6type;
int8 augslot6visible;
int augslot1type;
int augslot1visible;
int augslot2type;
int augslot2visible;
int augslot3type;
int augslot3visible;
int augslot4type;
int augslot4visible;
int augslot5type;
int augslot5visible;
int augslot6type;
int augslot6visible;
int augtype;
int avoidance;
int awis;
@@ -134,7 +134,7 @@ public:
int mr;
int nodrop;
int norent;
int8 pendingloreflag;
int pendingloreflag;
int pr;
int procrate;
int races;
@@ -152,7 +152,7 @@ public:
int spellshield;
int strikethrough;
int stunresist;
int8 summonedflag;
int summonedflag;
int tradeskills;
int favor;
int weight;
@@ -260,42 +260,42 @@ public:
std::string wornname;
std::string focusname;
std::string scrollname;
int16 dsmitigation;
int16 heroic_str;
int16 heroic_int;
int16 heroic_wis;
int16 heroic_agi;
int16 heroic_dex;
int16 heroic_sta;
int16 heroic_cha;
int16 heroic_pr;
int16 heroic_dr;
int16 heroic_fr;
int16 heroic_cr;
int16 heroic_mr;
int16 heroic_svcorrup;
int16 healamt;
int16 spelldmg;
int16 clairvoyance;
int16 backstabdmg;
int dsmitigation;
int heroic_str;
int heroic_int;
int heroic_wis;
int heroic_agi;
int heroic_dex;
int heroic_sta;
int heroic_cha;
int heroic_pr;
int heroic_dr;
int heroic_fr;
int heroic_cr;
int heroic_mr;
int heroic_svcorrup;
int healamt;
int spelldmg;
int clairvoyance;
int backstabdmg;
std::string created;
int16 elitematerial;
int16 ldonsellbackrate;
int16 scriptfileid;
int16 expendablearrow;
int16 powersourcecapacity;
int16 bardeffect;
int16 bardeffecttype;
int16 bardlevel2;
int16 bardlevel;
int16 bardunk1;
int16 bardunk2;
int16 bardunk3;
int16 bardunk4;
int16 bardunk5;
int elitematerial;
int ldonsellbackrate;
int scriptfileid;
int expendablearrow;
int powersourcecapacity;
int bardeffect;
int bardeffecttype;
int bardlevel2;
int bardlevel;
int bardunk1;
int bardunk2;
int bardunk3;
int bardunk4;
int bardunk5;
std::string bardname;
int16 bardunk7;
int16 UNK214;
int bardunk7;
int UNK214;
int UNK219;
int UNK220;
int UNK221;