Guest User

Untitled

a guest
May 6th, 2016
309
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.11 KB | None | 0 0
  1. local f = CreateFrame("frame")
  2. local cvars = {
  3. violencelevel = 0,
  4. screenshotQuality = 1,
  5. synchronizeSettings = 0,
  6. synchronizeConfig = 0,
  7. synchronizeBindings = 0,
  8. synchronizeMacros = 0,
  9. farclip = 0,
  10. gxcolorbits = 16,
  11. gxdepthbits = 16,
  12. mapShadows = 0,
  13. shadowLOD = 0,
  14. showfootprints = 0,
  15. extShadowQuality = 0,
  16. ffxGlow = 0,
  17. ffxDeath = 0,
  18. ffxNetherworld = 0,
  19. ffxRectangle = 0,
  20. ffxSpecial = 0,
  21. useWeatherShaders = 0,
  22. groundEffectDist = 0,
  23. groundEffectDensity = 16,
  24. maxfps = 60,
  25. maxfpsbk = 5,
  26. ffx = 0,
  27. hwPCF = 1,
  28. timingmethod = 1,
  29. showshadow = 0,
  30. showfootprintparticles = 0,
  31. overridefarclip = 200,
  32. horizonfarclip = 1305,
  33. detailDoodadAlpha = 0,
  34. groundeffectdist = 1,
  35. smallcull = 1,
  36. skycloudlod = 1,
  37. characterAmbient = 0,
  38. }
  39. f:SetScript("OnEvent", function()
  40. for cvar, value in pairs(cvars) do
  41. if GetCVar(cvar)~=tostring(value) then
  42. ConsoleExec(cvar .. " " .. value)
  43. end
  44. end
  45.  
  46. COMBATLOG:UnregisterEvent("COMBAT_LOG_EVENT")
  47. COMBATLOG:UnregisterEvent("COMBAT_LOG_EVENT_UNFILTERED")
  48. end)
  49. f:RegisterEvent("PLAYER_LOGIN")
Advertisement
Add Comment
Please, Sign In to add comment