View Single Post
08/10/15, 09:19 AM   #21
merlight
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 671
I took a chunk of data from my saved vars and put it in an add-on that throws several copies of that data into saved vars. Here's the add-on: svFailTest.7z

Here are the steps I used to get corrupted saved vars:
  1. disable all other add-ons, enable svFailTest (no saved vars file yet)
  2. login
  3. /svfail
  4. /reloadui
  5. check SavedVariables/svFailTest.lua: mine has 118715 lines / 21802807 bytes
  6. /reloadui
  7. check SavedVariables/svFailTest.lua:
    • if empty (this is an error, too), go to step 3.
    • otherwise look for the string "svFailTestSV"
      for me the corrupted file has 118715 lines / 21595305 bytes (~200k less), and the corruption starts at line 115950