Page 1 of 1

Runebooks Not Reducing runebook.Count on drop

Posted: Wed Oct 12, 2022 3:16 pm
by Azzerhoden
Had an issue with Runebooks not recording that there was one less rune in the book when I dropped it. This lead to being told that a runebook was full, even though it only had a few runes in it. Used client output to confirm rouneCount. Confirmed in bugs section of discord by another.

Had to add the following lines in the drop[ rune section:

Code: Select all

// Get the number of runes in the book.  Added right after the 'case: 116' code
var runeCount = runeBook.GetTag( "runeCount" );

// Added after the message to the client 'You have removed the rune.
runeBook.SetTag( "runeCount", runeCount - 1 );
UOX3 Version - .99.5.a
Razor Version - 1.7.4.49
UO Client Version - 7.0.96.10 : ClassicUO 0.1.10.282