fix: Fixes issue with cached static gump strings. Fixes bad gump colors (#1771)
### Summary - Fixes an issue that causes CUO to crash due to bad string caching in static gumps - Fixes wrong/bad 16bit html gump hues. - Moves `C16232` (16-bit to 32-bit) and `C32216` (32-bit to 16-bit) to Utility class for broader use. TODO: - Some gumps have different 32bit (for string content) vs 16bit (for localized content) strings. Does this matter?
This commit is contained in:
parent
a001eb03da
commit
622250b8f4
27 changed files with 129 additions and 155 deletions
|
|
@ -465,15 +465,15 @@ public partial class TreasureMapChest : LockableContainer
|
|||
AddBackground(30, 0, 240, 240, 2620);
|
||||
|
||||
// When this treasure chest is removed, any items still inside of it will be lost.
|
||||
AddHtmlLocalized(45, 15, 200, 80, 1048125, 0xFFFFFF);
|
||||
AddHtmlLocalized(45, 15, 200, 80, 1048125, 0x7FFF);
|
||||
// Are you certain you're ready to remove this chest?
|
||||
AddHtmlLocalized(45, 95, 200, 60, 1048126, 0xFFFFFF);
|
||||
AddHtmlLocalized(45, 95, 200, 60, 1048126, 0x7FFF);
|
||||
|
||||
AddButton(40, 153, 4005, 4007, 1);
|
||||
AddHtmlLocalized(75, 155, 180, 40, 1048127, 0xFFFFFF); // Remove the Treasure Chest
|
||||
AddHtmlLocalized(75, 155, 180, 40, 1048127, 0x7FFF); // Remove the Treasure Chest
|
||||
|
||||
AddButton(40, 195, 4005, 4007, 2);
|
||||
AddHtmlLocalized(75, 197, 180, 35, 1006045, 0xFFFFFF); // Cancel
|
||||
AddHtmlLocalized(75, 197, 180, 35, 1006045, 0x7FFF); // Cancel
|
||||
}
|
||||
|
||||
public override void OnResponse(NetState sender, in RelayInfo info)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue