Vehicle and trading bugfixes (#51)

* Sanity checks + Starting level changes

- Item movement handler checks to make sure items aren't moved from equipment slot to equipment slot.
- Item give command checks to make sure an out of bounds item is not spawned (Below iType 0 or above iType 8)
- Players now begin at level 36, consequently the item give command does not level you up now.

* Initial Trade Implementation

* Sanity Check

- Prevents out of bounds item movement by comparing it to AINVEN_COUNT.

* Taros and Trading

* Update ItemManager.cpp

* Update ItemManager.cpp

* working trading system

* Trading system code pointerified

- It works with the recent pointer changes needed.

* Vehicles and Trading bugfixes
This commit is contained in:
JadeShrineMaiden
2020-08-27 03:35:13 +01:00
committed by GitHub
parent 64d4b1d26a
commit 5c8a0069fc
6 changed files with 132 additions and 70 deletions

View File

@@ -27,7 +27,7 @@ struct Player {
sItemBase Inven[AINVEN_COUNT];
sItemTrade Trade[12];
int32_t moneyInTrade;
bool IsTrading;
bool IsTradeConfirm;
bool isTrading;
bool isTradeConfirm;
bool IsGM;
};