Really curious to know what made it so that a stack of 12 million cannonballs would spawn on someone's death, lol.
23 December Updates: Christmas event, minor bugfixes
-
- Premium Donator
- Posts: 248
- Joined: Fri Sep 15, 2017 12:48 pm
- Mike
- Programmer
- Posts: 6348
- Joined: Sun Nov 01, 2009 8:00 pm
- Location: PkHonor HQ
Re: 23 December Updates: Christmas event, minor bugfixes
Rather technical, but it's got to do with casting an integer to a byte. Any item that has an amount as a multiple of 256 (256, 512, 768, ...) will be interpreted as an amount of 0 and screw up your death pile. A couple of weeks ago, someone dropped 2,816 dragonstone bolts (e) on death along with a bunch of other stuff. 2,816 is 11 x 256 and made half of their death pile not show up when they teleported back.
The fix was really easy, but tracking down the bug was really hard since it seemed so random. As with pretty much any bug, it wasn't random, we simply didn't know what to look for in the first place. With the information we found, we finally managed reproducing the bug ourself.
- Arrsenic
- Premium Donator
- Posts: 1014
- Joined: Sun Dec 16, 2018 5:01 pm
- Location: Palestine\Israel
Re: 23 December Updates: Christmas event, minor bugfixes
Wonderful! No more trust issues with the Uims
- Uim killerb
- Premium Donator
- Posts: 180
- Joined: Thu Oct 29, 2015 11:04 am
- Contact: