WoWInterface SVN AKA

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 13 to Rev 12
    Reverse comparison

Rev 13 → Rev 12

trunk/localization.lua
1,4 → 1,4
AKA_TITLE="A.K.A. Version 2.7";
AKA_TITLE="A.K.A. Version 2.61";
 
 
AKA_TEXT = {};
8,8 → 8,7
AKA_TEXT["CHANNEL_HEAD_OTHER"]="Currently using channel";
AKA_TEXT["CHANNEL_BLOCK"]="Channel ";
AKA_TEXT["VERSION_UPDATE"]="A new version of AKA is available. http://www.wowinterface.com/downloads/info7813-AKA.html";
AKA_TEXT["VERSION_UPDATE"]="A new version of AKA is available. http://wowgnome.com/downloads/aka_2_7.zip";
AKA_TEXT["VERSION_NOTES"]="This is a required upgrade for WoW client 3.1.";
AKA_TEXT["VERSION_NOTES"]="This is a required upgrade for WoW client 3.x.";
 
AKA_ProfessionList={};
AKA_ProfessionList["1"]="Alchemy";
trunk/Readme.txt
1,4 → 1,4
AKA v2.7
AKA v2.61
 
Description
===========
64,10 → 64,6
 
Version History
========
May 7, 2009 (2.7)
* Updated TOC version for WoW client 3.1
* Removed math.randomseed reference - no longer avail in WoW client
 
Oct 14, 2008 (2.61)
* Added Inscription to talent tracking
* Hopefully fixed the folder name at wowinterface
trunk/aka.lua
6,9 → 6,9
-- ========
-- AKASavedVars = {};
 
AKA_Version=2.7;
AKA_Version=2.61;
AKA_HighestSeenVersion=0;
AKA_FormatVersion=1.2;
AKA_FormatVersion=1.1;
AKA_variablesLoaded = false;
 
 
51,7 → 51,7
 
-- constants:
local MYADDON_NAME = "AKA";
local MYADDON_VERSION = "2.7";
local MYADDON_VERSION = "2.4";
local MYADDON_AUTHOR = "Schnoggo";
local MYADDON_EMAIL = "schnoggo@gmail.com";
local MYADDON_WEBSITE = "http://war-monkey.com/files/";
853,20 → 853,17
if (AKA_SavedVars["FormatVersion"] < AKA_FormatVersion) then
-- convert from ealier format
-- 1st version so nothing to do here yet
if (AKA_SavedVars["FormatVersion"] == 1.1) then
DEFAULT_CHAT_FRAME:AddMessage("AKA version change. converting character data.", 0.5, 1.0, 0.5, 3);
 
else
 
if (AKA_SavedVars["FormatVersion"] < 1.01) then
DEFAULT_CHAT_FRAME:AddMessage("AKA database change from 1.0. Erasing old data. Sorry for the inconvenience.", 0.5, 1.0, 0.5, 3);
local tempNick=AKA_SavedVars["myNickName"]
AKA_SavedVars = {};
AKA_SavedVars=AKA_Defaults;
AKA_SavedVars["Version"]=AKA_Version;
AKA_SavedVars["myNickName"]=tempNick;
UpdateMyData();
end
 
DEFAULT_CHAT_FRAME:AddMessage("AKA version change. Updating data.", 0.5, 1.0, 0.5, 3);
 
if (AKA_SavedVars["FormatVersion"] < 1.01) then
DEFAULT_CHAT_FRAME:AddMessage("AKA database change from 1.0. Erasing old data. Sorry for the inconvenience.", 0.5, 1.0, 0.5, 3);
local tempNick=AKA_SavedVars["myNickName"]
AKA_SavedVars = {};
AKA_SavedVars=AKA_Defaults;
AKA_SavedVars["Version"]=AKA_Version;
AKA_SavedVars["myNickName"]=tempNick;
UpdateMyData();
end
AKA_SavedVars["FormatVersion"]=AKA_FormatVersion;
end
901,7 → 898,6
AKA_SavedVars["MyToons"][myPlayerID]["com_channels"]=DEFAULT_COM_CHANNELS;
end
 
 
 
end
 
1230,8 → 1226,7
end
 
if ((pendingSingleAnnounce==true) and (secondsSinceLastMsg>NOISE_THRESHHOLD)) then
-- AKA_TransmitOneToon(myPlayerID);
TransmitMyData(); -- go with the overkill model for now
AKA_TransmitOneToon(myPlayerID);
pendingSingleAnnounce=false;
end
 
1973,8 → 1968,7
if ( event == "VARIABLES_LOADED" ) then
 
-- Reseed the random # generator
-- supposedly not needed with 3.x+ clients
-- math.randomseed(math.random(0,2147483647)+(GetTime()*1000));
math.randomseed(math.random(0,2147483647)+(GetTime()*1000));
if (not AKA_USERID) then
AKA_USERID=GenerateUSERID();
-- this will be expanded into a larger version to handle
trunk/aka.toc
1,7 → 1,7
## Interface: 30100
## Interface: 30000
## Title: AKA
## Notes: Publishes player alts to guild members
## Version: 2.7
## Version: 2.61
## Author: Schnoggo
## OptionalDeps: CleanChat,Gatherer,GuildEventManager2
## SavedVariables: AKA_SavedVars, AKA_USERID, AKA_DEBUG, AKA_TRAFFICMONITOR