View Single Post
04-07-11, 12:21 PM   #24
Shadowed
...
Premium Member
Featured
Join Date: Feb 2006
Posts: 387
Originally Posted by Vladinator View Post
The thread is about addons communicating with a site without having to restart the game, but as stated even doing reloading of the UI can only be used to upload fresh data obtained, can't load new data as it will first overwrite the variable in the file, then reload it with no time to edit it.
If you logout the program in the background can upload the new data, then download new data and insert it in the file, before the user enters the world again -that way you would achieve loading data from a site, but not while remaining in the game all the time.
Sure you can. Addon files are loaded on UI reload. You keep a blank with an empty table, you have a client that saves new data to that file rather than a SavedVariable. All you have to do is reload to get new data in to the client.
  Reply With Quote