Page 2 of 2

Re: 23 December Updates: Christmas event, minor bugfixes

Posted: Thu Jan 05, 2023 5:40 pm
by Mvpranger
Mike wrote: Thu Jan 05, 2023 5:38 pm Update to my original post: the cause of the bugged item piles on death has been found and a fix will be included in the next server update.
Really curious to know what made it so that a stack of 12 million cannonballs would spawn on someone's death, lol.

Re: 23 December Updates: Christmas event, minor bugfixes

Posted: Thu Jan 05, 2023 5:45 pm
by Mike
Mvpranger wrote: Thu Jan 05, 2023 5:40 pm
Mike wrote: Thu Jan 05, 2023 5:38 pm Update to my original post: the cause of the bugged item piles on death has been found and a fix will be included in the next server update.
Really curious to know what made it so that a stack of 12 million cannonballs would spawn on someone's death, lol.
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.

Re: 23 December Updates: Christmas event, minor bugfixes

Posted: Thu Jan 05, 2023 6:10 pm
by Arrsenic
Mike wrote: Thu Jan 05, 2023 5:38 pm Update to my original post: the cause of the bugged item piles on death has been found and a fix will be included in the next server update.
Wonderful! No more trust issues with the Uims

Re: 23 December Updates: Christmas event, minor bugfixes

Posted: Thu Jan 05, 2023 6:12 pm
by Uim killerb
Mike wrote: Thu Jan 05, 2023 5:38 pm Update to my original post: the cause of the bugged item piles on death has been found and a fix will be included in the next server update.
great work kicking 2023 of with a bang @Mike