Candy of Extreme life consumed bug


#1

“Candy of Extreme life consumed!”

looks at hp bar and the gift chest


[Edit: I’ve split this into its own topic as it appears to be to do with how an item functions, though maybe you could describe it a bit more, as I can’t work out what you mean. -Nevov]


Trivial Issues Thread
#2

lmfao @ nevov for splitting a singular 17 day old post

Anyway, to explain what’s going on here for those who didn’t get it, the candy can’t be consumed from the gift chest directly. When demonseye tried to do it anyway, the message that says it was consumed still appeared even though the candy is still in the gift chest and the characters life isn’t maxed.


#3

It seems the item is overriding the gift chest error message, when otherwise attempts to use a consumable item from within the inventory of a gift chest would warrant said message. Because inventory management is not processed from within the gift chest, the item is never officially used within the character’s inventory, and the item’s effect nor item removal are completed.

Without having access to the most recent server code, or older server code legally, my best guess is that the item is specifically missing an if statement to check if it’s a gift chest. Or some property that then is tested against that check. So the item code runs anyways, printing the line in chat, but runs into errors when applying the health modification, et cetera. Therefore my earlier theory of overriding is incorrect. I now believe the case to be, that the gift chest code is never run in the first place. And because the item can not function properly outside the player’s inventory (vault chests, bag inventories, and other in-game inventories are different from gift chests), the item effects are never realized.


#4

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.