Thread Tools Display Modes
04-07-11, 11:53 AM   #21
kraftman
A Theradrim Guardian
AddOn Author - Click to view addons
Join Date: Dec 2008
Posts: 63
There are plenty of addons that allow you to upload your data to their website. Using a program to automate the process is not a giant leap.
  Reply With Quote
04-07-11, 12:03 PM   #22
Duugu
Premium Member
 
Duugu's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 851
Originally Posted by kraftman View Post
There are plenty of addons that allow you to upload your data to their website. Using a program to automate the process is not a giant leap.
Yah. But that will require the users to do/execute something.
  Reply With Quote
04-07-11, 12:09 PM   #23
Vlad
A Molten Giant
 
Vlad's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2005
Posts: 793
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.

Last edited by Vlad : 04-07-11 at 12:15 PM.
  Reply With Quote
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
04-07-11, 12:24 PM   #25
kraftman
A Theradrim Guardian
AddOn Author - Click to view addons
Join Date: Dec 2008
Posts: 63
Originally Posted by Vladinator View Post
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 were using the savedvariables file. However an external program could still change the code of the addon to incorporate the new data upon reloading the UI, just like when you edit your code and reload to test the new changes.
With enough players going afk/reloading manually/logging in, the data would always be fairly up to date.
  Reply With Quote
04-07-11, 01:23 PM   #26
Vlad
A Molten Giant
 
Vlad's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2005
Posts: 793
Duh ofc, hehe. I noticed my error.

But you would at least have to /reload the UI to load new data or upload data, not bad ofc.
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » Addon internet connection

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