Quote:
Originally Posted by Queekusme
Code:
quickslot1:SetShortcut(Turbine.UI.Lotro.Shortcut(type value,data value)) -- type and data values called from the loadup process
|
If there is any chance that your saved quickslot data could have an Alias type shortcut, you can run into a Turbine bug using the default Shortcut constructor with international characters. To avoid that issue with german and french users, use the :SetData() method to set the shortcut like:
Code:
local sc=Turbine.UI.Lotro.Shortcut();
sc:SetType(typeValue);
sc:SetData(dataValue); -- works with international characters
Quickslot1:SetShortcut(sc);
It's not as pretty but it avoids the international character bug in the constructor. You should also be using some form of encoding for your save data and load data routines (I use Vindar's patch available here on LoTROInterface.com)