WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Carbonite Archive (https://www.wowinterface.com/forums/forumdisplay.php?f=158)
-   -   Carbonite out of date message incorrect (https://www.wowinterface.com/forums/showthread.php?t=43891)

mikenowo 08-14-12 09:28 AM

Carbonite out of date message incorrect
 
I keep getting the message below that Carbonite is out of date EVEN though I have the most recent version from the website (4.301). Why is this displaying when there is NO newer version?

***
[11:01:42 AM] CARBONITE
This version is pretty old.
Visit carboniteaddon.com and check for a newer version
***

Chmee 08-14-12 06:23 PM

Because there is code in the carbonite.lua file which says "after x date, display this message". It's after whatever date is set in there, so it displays the message. You should just ignore it. If you just can't do that, then search these forums — there have been at least a couple of threads about how to find the right spot in the code and how to editit.

mikenowo 08-14-12 11:41 PM

Quote:

Originally Posted by Chmee (Post 259631)
Because there is code in the carbonite.lua file which says "after x date, display this message". It's after whatever date is set in there, so it displays the message. You should just ignore it. If you just can't do that, then search these forums — there have been at least a couple of threads about how to find the right spot in the code and how to editit.

Heh, I've programmed for over 30 years I'm sure I'll find it. Thanks for the heads up.

jeffy162 08-15-12 03:23 AM

From another, older, post on the subject:

Quote:

Quote:

Open that file and search for 120327, not the numbers in the other thread. Those numbers equate to YearMonthDay. The day the message started was 2012, March 27, or 120327. Change it to 130327, save the changes, and you should be good to go.

In my "Carbonite.lua" file, they are on line 18168, but I've seen different lines for the same things in Lua files from the same addon before, so...... Hopefully, that is not the case here.
Apparently when they fixed the nag message they rewrote, re-ordered, or added(?) some other things.

The date you're looking for is 120807, and it is now on line 13967. I had to find it by searching for the function line "function Nx.Sec:VaT()" which is the function the message is part of. That function starts on line 13965 and ends on line 13973. Nine lines of code, but one of them occasionally causes some serious irritation.

I'm not too sure why you would have to change the date, though. If you updated Carbonite to the latest (4.301) version, the nag is gone. You'll start getting it again on August 7, 2012 if there are no further updates til then.
The file you would search in is the "Carbonite.lua" file that you can find in the main Carbonite folder in your "AddOns" folder.

mikenowo 08-15-12 07:30 AM

Quote:

Originally Posted by jeffy162 (Post 259661)
From another, older, post on the subject:



The file you would search in is the "Carbonite.lua" file that you can find in the main Carbonite folder in your "AddOns" folder.

Yeah I see line# 13968 'local x=120807' in function 'Nx.Sec:VaT()', that's when the message started heh.

ezarra 08-25-12 11:44 AM

Quote:

Originally Posted by mikenowo (Post 259674)
Yeah I see line# 13968 'local x=120807' in function 'Nx.Sec:VaT()', that's when the message started heh.

I've said it before, I'll say it again, this is just about the worst possible way to code an update warning, especially since Carbonite updates so infrequently that you spend more time with the warning than without.

WeaveDiva 09-01-12 12:55 PM

the sad thing is, the only thing listed (as far as i can recall) in the last update, was removing that warning message! how ridiculous!...maybe a hidden one was left in as a reminder for the devs to get off their butts? :p

jeffy162 09-05-12 08:44 AM

Quote:

Originally Posted by WeaveDiva (Post 261768)
the sad thing is, the only thing listed (as far as i can recall) in the last update, was removing that warning message! how ridiculous!...maybe a hidden one was left in as a reminder for the devs to get off their butts? :p

Actually, and this will probably be considered by some to be a mere technicality, the Carbonite devs never actually said they "removed" the reminder. They said they "fixed" the reminder.

In fact, it's still in the current code, and will again begin "nagging" us on September 28, 2012, or (as it is written into the coded function) 120928. Unless, of course, said date is changed somewhere along the line.

There is, in fact, no "hidden" reminder message. It's written into the code, and is in plain sight........ If you know where to look, and there are entire threads on the Carbonite forums dedicated to this exact subject. Finding it, or even "fixing" your local installation of Carbonite, is not a problem.

For those of you that actually want to see it, the date is on line 14658 in the current "Carbonite.lua" file. The entire function is contained in lines 14656 through 14664.

Rythal 09-05-12 09:33 AM

yeah I debated long and hard about leaving it in or not and finally decided at least for now to have it nag again the day MoP comes out since not everyone is following the updates / fixes, and I have no other way to say "hey look another update".


All times are GMT -6. The time now is 05:26 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI