PDA

View Full Version : Saved Variable Woes


Psycowtic
03-06-2007, 01:47 AM
Hey guys,

I was putting the finishing touches on my Titan HonorGrind update and decided to go through and clean up the code. Apparently I deleted or changed something important because now it's not creating the lua file in the savedvariables folder anymore at all. Anyone know what I can do to put it back? I know you need more info, just lemme know what.

Psycowtic
03-06-2007, 02:10 AM
Nevermind. I'm retarded and have been staring at the code too long. I forgot I changed a variable reference so I was essentially doubling the honor.

But I still can't find the lua file in the SavedVariables folder.

Jumpy
03-06-2007, 08:11 AM
Nevermind. I'm retarded and have been staring at the code too long. I forgot I changed a variable reference so I was essentially doubling the honor.

But I still can't find the lua file in the SavedVariables folder.

Are you sure you are looking in the right SavedVariables folder. There is one for each character on each server and one for each account. And check that the toc has that variable or table defined as a saved variable.

Psycowtic
03-06-2007, 04:18 PM
Ya I'm sure. The equation was to add the honor which was previously gained to the honor that has been gained today in order to estimate what the total wil be for tomorrow. I was adding the honor previously gained to itself, effectively doubling my honor which put me up past any of the goals I used to test it. And since no matter what I picked, I had already completed the goal in the button text and the tooltip, I assumed it wasn't recording the goal info in the SavedVariables. I did find lua finally, after quitting WoW entirely and refreshing the folder.