GSE: Sequences, Variables, Macros

GSE: Sequences, Variables, Macros

7M Downloads

Change GSE Storage to store Spell ID rather than Spell Name

TimothyLuke opened this issue ยท 1 comments

commented

GSE maintains a list of spells that when you are playing on a non enUS client, chews up a lot of RAM. Each macro is executed in the client's normalised language and while each spell has an ID it cant be cast by ID. Storing each spell ID and using that for exporting spells will allow macros to be truely able to be interchanged between languages.

commented

When creating a sequence GSE.GUIUpdateSequenceDefinition (GUIFunctions.lua) calls GSE.TranslateSequenceFromTo in translator.lua.

GSE.ReloadSequences resets the macro buttons and updates them. This calls GSE.UpdateSequence which then in turn calls GSE.OOCUpdateSequence. This then calls GSE.TranslateSequence(tempseq, name) where the end result is an actual sequence.

Changing TranslateSequence to convert back to local spells and changing TranslateSequenceFromTo to convert to convert from spell names to spell ids should achieve this aim.