Thread Tools Display Modes
Prev Previous Post   Next Post Next
10-20-06, 02:11 AM   #1
Tene
A Defias Bandit
Join Date: Oct 2006
Posts: 3
Trigger to write SavedVariables file?

This question must have been asked before, a search in these and other boards came to no result, though.

I wrote an AddOn which depends on some variables, which should be "alive" over several sessions. If I log out of the game, the myAddon.lua in the SavedVariables directory is written and in the next session my AddOn can work with the values of the previous session. All fine.

Problem is
: when I disconnect (or at least fake to disconnect by pulling the cable ) the file is not written. The next session starts with empty variables.

My Question: Is there a function or a trick to make WoW write the file even when disconnecting? Or a method to update the file while still in the game?
  Reply With Quote
 

WoWInterface » Developer Discussions » General Authoring Discussion » Trigger to write SavedVariables file?

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