Thread Tools Display Modes
11-13-15, 10:31 AM   #1
kawe
A Cyclonian
 
kawe's Avatar
Join Date: Sep 2009
Posts: 40
cvar error

Message: Interface\AddOns\!okScripts\cvars.lua:26: "flaggedTutorials" is read-only
Time: 11/13/15 17:23:50
Count: 1
Stack: [C]: in function `SetCVar'
Interface\AddOns\!okScripts\cvars.lua:26: in function <Interface\AddOns\!okScripts\cvars.lua:3>

Locals: (*temporary) = "flaggedTutorials"
(*temporary) = 0
Code:
SetCVar("flaggedTutorials", 0)
SetCVar("showTutorials", 0)
so after resetting my wow settings and editting my small script with cvars, i get this error. these tutorials and popups from garrisson etc are extremely annoying and i want to disable permanently on all my toons.
anyone knows whats best to use or do i need an addon just for this?
  Reply With Quote
11-13-15, 01:17 PM   #2
Resike
A Pyroguard Emberseer
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,290
I'm pretty sure that you can disable the tutorials in the interface menu. I'm not sure if thats also gonna cover the garrison tutorials or not tho.
  Reply With Quote
11-13-15, 03:30 PM   #3
semlar
A Pyroguard Emberseer
 
semlar's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2007
Posts: 1,060
The "flaggedTutorials" cvar is read-only because it stores which tutorials have been flagged, it's not a setting for you to toggle.
  Reply With Quote
11-13-15, 04:09 PM   #4
kawe
A Cyclonian
 
kawe's Avatar
Join Date: Sep 2009
Posts: 40
Originally Posted by Leatrix View Post
In addition to the tutorials checkbox in the help menu of the game options panel, you can modify closedInfoFrames like this:
Code:
SetCVarBitfield("closedInfoFrames", LE_FRAME_TUTORIAL_WORLD_MAP_FRAME, true)
SetCVarBitfield("closedInfoFrames", LE_FRAME_TUTORIAL_CLEAN_UP_BAGS, true)
SetCVarBitfield("closedInfoFrames", LE_FRAME_TUTORIAL_BAG_SETTINGS, true)
SetCVarBitfield("closedInfoFrames", LE_FRAME_TUTORIAL_GARRISON_ZONE_ABILITY, true)
SetCVarBitfield("closedInfoFrames", LE_FRAME_TUTORIAL_GARRISON_LANDING, true)
SetCVarBitfield("closedInfoFrames", SpellBookFrame_GetTutorialEnum(), true)
Set to true to flag the tutorial as already seen, set to false and the tutorial will show the next time you open the relevant frame.
thx allot, that's what i was looking for

Last edited by kawe : 11-13-15 at 04:13 PM.
  Reply With Quote
11-13-15, 04:11 PM   #5
kawe
A Cyclonian
 
kawe's Avatar
Join Date: Sep 2009
Posts: 40
Originally Posted by semlar View Post
The "flaggedTutorials" cvar is read-only because it stores which tutorials have been flagged, it's not a setting for you to toggle.
yes, i figured that out, it's been written into config.wtf but its coded. i just wanted an alternative.
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » cvar error

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off