vexler222
Active Member
- Joined
- Apr 22, 2012
- Messages
- 714
- Solutions
- 15
- Reaction score
- 46
Hi, i try implemented this NPC working with balance. (https://otland.net/threads/npc-working-with-balance.245690/)
To TFS 1.3 8.6 downgraded by nekiro, and it work if i use
When i try use it with uint64, still working when i buying something by say message ( hi > buy mana potion), but when i try use "trade" i got crash client
I need uint64 cuz when i got to much money i have blanace in minus in npc
To TFS 1.3 8.6 downgraded by nekiro, and it work if i use
Code:
msg.add<uint32_t>(player->getMoney() + player->getBankBalance());
When i try use it with uint64, still working when i buying something by say message ( hi > buy mana potion), but when i try use "trade" i got crash client
I need uint64 cuz when i got to much money i have blanace in minus in npc