# Maximum gems? (Dumb joke warning)

**URL:** <https://community.gemsofwar.com/t/maximum-gems-dumb-joke-warning/16475>\
**Category:** Gameplay Chat (General)\
**Created:** [December 11, 2016, 2:50pm UTC](https://community.gemsofwar.com/t/maximum-gems-dumb-joke-warning/16475 "2016-12-11T14:50:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jalijer](https://sea1.discourse-cdn.com/flex019/user_avatar/community.gemsofwar.com/jalijer/32/2209_2.png) [@Jalijer](https://community.gemsofwar.com/u/Jalijer)\
**Post date:** [December 11, 2016, 2:50pm UTC](https://community.gemsofwar.com/t/maximum-gems-dumb-joke-warning/16475/1 "2016-12-11T14:50:53Z")

</div>

Just hit the maximum limit for gems…  
😅

![](https://us1.discourse-cdn.com/flex019/uploads/gemsofwar/original/2X/c/c798d15e5eb9bd4b4526c1ced8f3e66108cff2a2.png)

Better not collect any more or it will rollover to -255!

---

<div class="post-metadata">

**Author:** ![yonizaf](https://sea1.discourse-cdn.com/flex019/user_avatar/community.gemsofwar.com/yonizaf/32/1435_2.png) [@yonizaf](https://community.gemsofwar.com/u/yonizaf)\
**Post date:** [December 11, 2016, 5:08pm UTC](https://community.gemsofwar.com/t/maximum-gems-dumb-joke-warning/16475/2 "2016-12-11T17:08:53Z")

</div>

Signed byte goes from -128 to 127, so it would have rolled over long ago. Unsigned byte goes from 0 to 255, and cannot represent negative, so it can’t roll over, it will overflow instead. 2-byte or bigger integer will have ways to go. Just what is the size of your variable?

---

<div class="post-metadata">

**Author:** ![Jainus](https://sea1.discourse-cdn.com/flex019/user_avatar/community.gemsofwar.com/jainus/32/34949_2.png) [@Jainus](https://community.gemsofwar.com/u/Jainus)\
**Post date:** [December 11, 2016, 6:06pm UTC](https://community.gemsofwar.com/t/maximum-gems-dumb-joke-warning/16475/3 "2016-12-11T18:06:58Z")

</div>

> [@yonizaf](#):
>
> Just what is the size of your variable?

Please, you only just met…

---

<div class="post-metadata">

**Author:** ![Jalijer](https://sea1.discourse-cdn.com/flex019/user_avatar/community.gemsofwar.com/jalijer/32/2209_2.png) [@Jalijer](https://community.gemsofwar.com/u/Jalijer)\
**Post date:** [December 12, 2016, 4:38am UTC](https://community.gemsofwar.com/t/maximum-gems-dumb-joke-warning/16475/4 "2016-12-12T04:38:44Z")

</div>

Lol. Just goes to show how much I know… 😛

---

<div class="post-metadata">

**Author:** ![Crash333](https://sea1.discourse-cdn.com/flex019/user_avatar/community.gemsofwar.com/crash333/32/10479_2.png) [@Crash333](https://community.gemsofwar.com/u/Crash333)\
**Post date:** [December 12, 2016, 5:54am UTC](https://community.gemsofwar.com/t/maximum-gems-dumb-joke-warning/16475/5 "2016-12-12T05:54:40Z")

</div>

put it in the “bug” section, so the devs can work on that, because I see this as an issue!
