Thread Rating:
  • 8 Vote(s) - 3.88 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tutorial: Getting Started with ACR
#2
Well that didn't take long :) I've found my first mistake.

The loading code should be:
Code:
local function OnLoad()
   local persistedConfig = ACR.GetSetting(GetStateName(), state.config)
   for k,v in pairs(persistedConfig) do
       state.config[k] = v
   end
end
This is to avoid overwriting any new keys you add to the config table.
Reply
 


Messages In This Thread
RE: Tutorial: Getting Started with ACR - by Skygirl779 - 04-22-2017, 04:58 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)

We help you win the game.

FFXIV Bot and More.

 

Products