Thread Tools Display Modes
03-19-09, 01:24 PM   #41
Shirik
Blasphemer!
Premium Member
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2007
Posts: 818
Originally Posted by tonsusbron View Post
How are you doing the update. The old one already has updates for the addons. Can't you treat the update like an addon and make the program restart so that updates take effect?
It would be next to impossible to meaningfully treat it as another addon. The biggest problem with having it update itself is the fact that you cannot replace files that are currently in use (namely, the executable file). As a result, there is a "Module Center" where all updates of the core and modules are handled.

When an update is available, two things can happen. If it's a required update (this will only be done in the event that everything will break if you don't install it), then the module center will pop up on startup and require you to install the update to continue (you can cancel, but the program will shut down). If the update is not required, you will just see a red message, out of the way in a corner, indicating that there is an update available and to go to the module center to apply the update.

The modules are updated while the program is running. This goes into OSGi details that are probably too technical for this forum, but suffice to say the module is shut down, replaced, and restarted. The program does not have to restart.

When the core needs an update, the program first downloads an update "bootstrap." It then executes this program in another process and shuts down. The bootstrap program then downloads the full update (specifically, the files to replace), waits to ensure that the program has shut down, and then replaces the files. Finally, it restarts the application. This is similar to how WoW is updated.
__________________
たしかにひとつのじだいがおわるのお
ぼくはこのめでみたよ
だけどつぎがじぶんおばんだってことわ
しりたくなかったんだ
It's my turn next.

Shakespeare liked regexes too!
/(bb|[^b]{2})/

Last edited by Shirik : 03-19-09 at 01:28 PM.
 
03-19-09, 03:27 PM   #42
jonathon
A Chromatic Dragonspawn
 
jonathon's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2006
Posts: 179
Sounds like fun... can we by chance get a screen shot of the alpha?

I'm very curious
__________________
hackers always learn.. thats why there are security patches.
 
03-19-09, 07:40 PM   #43
trogdorhunter
A Defias Bandit
Join Date: Aug 2008
Posts: 2
Feature Request

Hi Shirik,

Hope all's well.

Is there a bug / feature tracker open for this release? Perhaps it's a bit premature but I wanted to submit a request for the new version.
 
03-21-09, 02:11 AM   #44
Shirik
Blasphemer!
Premium Member
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2007
Posts: 818
Screenshots: Yes. When I get a chance I'll try to provide meaningful screenshots to you all.

Bug tracker: Yes we have one.

I'm going to have to defer both of those questions until a later date until I think about the best course of action here. While I want to keep you all up-to-date, we also face the ever-challenging software management problem of trying to push a release without changing the requirements of the software every 5 seconds. For that reason, I'm thinking that maybe I won't release the bug track site until it goes into beta, but I haven't decided yet.

Please note it is very much unlike me to want to hide things from anxious users, but I also realize that some things went wrong last time and I want to make sure the same mistakes aren't made again.
__________________
たしかにひとつのじだいがおわるのお
ぼくはこのめでみたよ
だけどつぎがじぶんおばんだってことわ
しりたくなかったんだ
It's my turn next.

Shakespeare liked regexes too!
/(bb|[^b]{2})/
 
03-22-09, 02:11 AM   #45
Fellrond
A Murloc Raider
AddOn Author - Click to view addons
Join Date: Aug 2008
Posts: 5
I have some ideas, but don't know, did you have it.

1. Addon uploading in-app (for addon authors)
2. Support more than one WoW directory (some people have more than one directory becouse of type of account and language, Russian at EU account for example)
 
03-22-09, 08:44 PM   #46
tonsusbron
A Murloc Raider
Join Date: Nov 2008
Posts: 6
Question

Originally Posted by Shirik View Post
It would be next to impossible to meaningfully treat it as another addon. The biggest problem with having it update itself is the fact that you cannot replace files that are currently in use (namely, the executable file). As a result, there is a "Module Center" where all updates of the core and modules are handled.

When an update is available, two things can happen. If it's a required update (this will only be done in the event that everything will break if you don't install it), then the module center will pop up on startup and require you to install the update to continue (you can cancel, but the program will shut down). If the update is not required, you will just see a red message, out of the way in a corner, indicating that there is an update available and to go to the module center to apply the update.

The modules are updated while the program is running. This goes into OSGi details that are probably too technical for this forum, but suffice to say the module is shut down, replaced, and restarted. The program does not have to restart.

When the core needs an update, the program first downloads an update "bootstrap." It then executes this program in another process and shuts down. The bootstrap program then downloads the full update (specifically, the files to replace), waits to ensure that the program has shut down, and then replaces the files. Finally, it restarts the application. This is similar to how WoW is updated.
I was thinking like you were but using dll files to update the program. You would see there was an update it would close the main program and open an update which would download the dll file which holds the interface for the program and maybe any other files and overwrite the old. Then restart the program and close the updater.

My teacher was trying to get us to use dll files to enclose all files for our programs so that it would be harder to mess up with multiple coders as all files are together needed for that app part .

Either way you do it I'm sure wowINTERFACE will come out fine.
 
03-22-09, 09:01 PM   #47
Shirik
Blasphemer!
Premium Member
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2007
Posts: 818
DLL files are unacceptable because this is written in Java and must be OS-independent. Using DLL files would mean having to create a new archive for every operating system, which would be a nightmare for a single person to maintain.

What you have proposed is no different from what I am doing, just with different file types.
__________________
たしかにひとつのじだいがおわるのお
ぼくはこのめでみたよ
だけどつぎがじぶんおばんだってことわ
しりたくなかったんだ
It's my turn next.

Shakespeare liked regexes too!
/(bb|[^b]{2})/
 
03-23-09, 01:54 AM   #48
Limb0
A Cobalt Mageweaver
 
Limb0's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2008
Posts: 220
Thumbs down

Originally Posted by Lykofos View Post
Yes, the Curse Client will data mine, if you enable it.
Well, I downloaded the CC and turned off the datamining aspects of it, updated a few of my addons and now my autoloot keeps turning off. This never happened before and it's a real pain.

Originally Posted by Lykofos View Post
However in order for the Curse Client to actually scrape that data, it needs to download and install a WoW AddOn.
Isn't the idea of an upater to update your addons? It sounds like you're saying that if you update any addon, you will be datascraped.. Oh and after I closed the CC, then reopened it, none of the settings to not datascrape were saved. User beware!
 
03-23-09, 10:31 AM   #49
Zyonin
Coffee powered Kaldorei
 
Zyonin's Avatar
AddOn Author - Click to view addons
Join Date: May 2006
Posts: 1,443
Originally Posted by Limb0 View Post
Well, I downloaded the CC and turned off the datamining aspects of it, updated a few of my addons and now my autoloot keeps turning off. This never happened before and it's a real pain.
That has nothing to do with CC, likely another AddOn is messing with your AutoLoot. If you used a Loot AddOn previously, it may have changed some of its behaviour from when you first installed it. This does happen with any AddOn regardless of the site it was downloaded from.

]Isn't the idea of an upater to update your addons? It sounds like you're saying that if you update any addon, you will be datascraped.. Oh and after I closed the CC, then reopened it, none of the settings to not datascrape were saved. User beware!
If none of your settings where saved, then its a bug, post a ticket on CC's CurseForge page. Include all relevant data including the installed CC version, OS, etc.

Also, please look at the title of the program, "Curse Client". Note what it does not say, "Updater". Curse Client is an overall user installed program for the entire Curse network. WoW AddOn updating is just one of its features. Other games that support AddOns will likely get added in the future such as Wahammer Age of Reckoning.

The data scraping part of CC is done by one specific AddOn that the Curse Client installs. If that AddOn is NOT installed or is disabled, then CC can't datascrape. CC will ask you if you want to contribute data, if you select NO, then CC will not install the AddOn needed to data scrape. The only other bit of data scraping CC can do is from your Cache folder, however again, if you select NO to uploading data, then CC will not upload data.

The only data that is required is your Curse user name/password (to activate premium features) and your AddOn list so CC knows what AddOns that CC has installed (which it will update) and which AddOns CC did NOT install (which CC will not touch unless you tell it to). In this regard, CC is no different than other updater's such as WoWI's.
__________________
Twitter

Last edited by Zyonin : 03-23-09 at 10:41 AM.
 
03-23-09, 12:19 PM   #50
Cairenn
Credendo Vides
 
Cairenn's Avatar
Premium Member
WoWInterface Admin
Join Date: Mar 2004
Posts: 7,134
Just a reminder. This thread isn't about the Curse Client.
 
04-06-09, 05:07 PM   #51
Zeyphos
A Defias Bandit
Join Date: Nov 2008
Posts: 3
Can we get an update on progress? Thanks for the effort.
 
04-07-09, 09:01 AM   #52
Shirik
Blasphemer!
Premium Member
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2007
Posts: 818
Originally Posted by Seerah View Post
Remember, too, that Shirik has school, etc, outside of working on this. Even though he's spent countless nights with hardly any sleep to get it up and running, he's still human.
1. The message you have entered is too short. Please lengthen your message to at least 10 characters.
__________________
たしかにひとつのじだいがおわるのお
ぼくはこのめでみたよ
だけどつぎがじぶんおばんだってことわ
しりたくなかったんだ
It's my turn next.

Shakespeare liked regexes too!
/(bb|[^b]{2})/
 
04-07-09, 03:31 PM   #53
jonathon
A Chromatic Dragonspawn
 
jonathon's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2006
Posts: 179
Originally Posted by Shirik View Post
1. The message you have entered is too short. Please lengthen your message to at least 10 characters.
I lol'd...
__________________
hackers always learn.. thats why there are security patches.
 
04-14-09, 08:20 AM   #54
syberghost
A Murloc Raider
 
syberghost's Avatar
Join Date: Mar 2009
Posts: 4
Originally Posted by Shirik View Post
DLL files are unacceptable because this is written in Java and must be OS-independent. Using DLL files would mean having to create a new archive for every operating system, which would be a nightmare for a single person to maintain.
Interesting. Will any attention be given to making it work natively in Linux to update a WoW client located in Wine and/or Cedega, or at least a bit of attention given to making sure it works OK in Wine instead of forcing Wine to come to it?
 
04-14-09, 08:27 AM   #55
Cairenn
Credendo Vides
 
Cairenn's Avatar
Premium Member
WoWInterface Admin
Join Date: Mar 2004
Posts: 7,134
Yup, it should work just fine.

Originally Posted by Shirik View Post
EDIT: To address the other questions, we have alpha testers from Windows, Mac OS, and Linux all reviewing the software right now. Additionally, there will only be a single release for all three OSes, as an OS-independent installer application, which will identify OS, architecture, and JVM version to obtain the correct release for you, painlessly.
 
04-14-09, 09:19 AM   #56
Gond
A Kobold Labourer
Join Date: Oct 2008
Posts: 1
Thanks for working on this, but it sure would have been awesome to finish this BEFORE disabling that "other" auto downloader
 
04-14-09, 09:31 AM   #57
Crovax
A Murloc Raider
Join Date: May 2007
Posts: 8
Great to hear that wow interface is working on this but i do hope it gets put out soon as 3.1 is upon us!

and blocking the other apps that allow us to update our addons when this patch is coming out is going to painful for me esp since i have over 50 addons.
 
04-14-09, 09:44 AM   #58
Takika
A Murloc Raider
Join Date: Oct 2005
Posts: 5
Api

Originally Posted by MaikuMori View Post
Are you going to change the wow interface API?

I have a personal addon updater which currently uses the old API. The source is public, it's just that I haven't mentioned it anywhere, because I'm still improving/implementing some of the features I wanted it to have. It was intended to be aimed at programmers, not general public and therefore has advanced features (before/after update hooks, ability to write custom updaters to grab addons from other sites then wowinterface, etc). I would really love if there was a public API (the very same old one or improved one).

At very least please don't shut down the old one.

~Maiku Mori
Where can I find any informations about the old (currently used) and new API?
 
04-14-09, 10:12 AM   #59
Nuchaleft
A Fallenroot Satyr
 
Nuchaleft's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2008
Posts: 29
I'd offer to help you out, but well, my Java is rusty from 2 years of neglect
Originally Posted by Takika View Post
Where can I find any informations about the old (currently used) and new API?
That's what I'd like to know
__________________
At your service... Also known as NytewolfAU2k7 on Curse...
 
04-14-09, 10:22 AM   #60
Takika
A Murloc Raider
Join Date: Oct 2005
Posts: 5
Originally Posted by Nuchaleft View Post
I'd offer to help you out, but well, my Java is rusty from 2 years of neglect

That's what I'd like to know
I want to find the xml interface, with the addon informations (name, filename, author, version, last update, md5, size, download url, addon info) in it. The info page is parseable, but contains lots of unneeded informations (comments, changelog, etc).
 

WoWInterface » Site Forums » News » Our UI Manager

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