Addon Info.
Optional Files (0)
Comments (6)
  Category: Outdated Mods
Addon Information
Download Latest Version.
To add favorites please register for a free account. If you already have one you need to login. How do I install this? (FAQ)
leethal's Portal Bug Reports Feature Requests
Author:
Version:
0.5
Date:
04-10-2007 06:23 PM
Size:
2.59 Kb
Downloads:
1,819
Favorites:
12
MD5:
Pictures
The timer frame
Click to enlarge
Message in chat when returning.
AFK Timer   Popular!
AFK Timer

Note: Some addons use whispers to communicate, and those addons screwed up AfkTimer. I temporarly disabled the whispering functionality to avoid this. Update to the latest version if you're having troubles with this addon wildly whispering random people.

Keeps track of afk status. Does this:
  • Shows a small timer frame for how long you've been afk
  • Tells you how long you've been afk and at what time you went afk when you return from afk
  • If someone whispers you while you're afk, they'll get a whisper in return telling the whisperer how long you've been afk.

Use the normal /afk command as usual. 'tis localized to french too.
  Optional Files - AFK Timer
Sorry, there are currently no optional files available.
  Comments - AFK Timer
Post A Reply
Author Comments Comment Options
Old 04-10-2007, 06:17 PM  
leethal
A Wyrmkin Dreamwalker
Interface Author - Click to view interfaces

Forum posts: 50
File comments: 29
Uploads: 8
A good idea, thanks =)

Edit: The folder used to be named the addon itself, some particular version of the zip probably got messed up.

Last edited by leethal : 04-11-2007 at 07:09 AM.
leethal is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-09-2007, 02:50 PM  
SaiBork
A Kobold Labourer

Forum posts: 0
File comments: 22
Uploads: 0
2 things,

1. Update the toc file with interface 20003
2. Put the files in a folder called afktimer

Otherwise this looks like a fun addon, thanks for making it *smiles*
SaiBork is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 03-28-2007, 10:12 AM  
leethal
A Wyrmkin Dreamwalker
Interface Author - Click to view interfaces

Forum posts: 50
File comments: 29
Uploads: 8
Titan

Yay. I'll try to do something sensible with this. Perhaps it's possible to integrate directly, without any duplicated code (I don't like duplicated code). I'll take a look at what titan has to offer.

Thanks =D
leethal is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 03-28-2007, 07:47 AM  
Lombra
A Deviate Faerie Dragon
 
Lombra's Avatar
Interface Author - Click to view interfaces

Forum posts: 18
File comments: 108
Uploads: 11
I saw on Curse that a Titan plugin was on the todo list. That's great! I actually tried to make one myself, but my experience was limited to copy-from-another-plugin-and-change-variable-names
(my thought was that it'd display the timer and the time you went afk)
Feel free to use it:
this was when it was called "AFK Tell" btw, so you'll have to change that..
Code:
TITAN_AFKTELL_ID = "afktell"

function TitanPanelafktellButton_OnLoad()
	this.registry = {
		id = TITAN_AFKTELL_ID,
		menuText = "AFKTell",
		category = "Interface",
		buttonTextFunction = "TitanPanelafktellButton_GetButtonText",
		tooltipTitle = "AFKTell",
		tooltipTextFunction = "TitanPanelafktellButton_GetTooltipText",
		frequency = 1,
		icon = "Interface\\Icons\\Spell_Nature_TimeStop",
		iconWidth = 16,
		savedVariables = {
			ShowIcon = 1,
		}
	}
end

function TitanPanelafktellButton_GetButtonText(id)
	-- really just guessed here
	local minutes, seconds = afktell:ParseSeconds(num)
	return minutes..":"..seconds;
end

function TitanPanelafktellButton_GetTooltipText()
	-- same here..
	return afktell_GetTooltipText()
end

function TitanPanelRightClickMenu_PrepareafktellMenu()
	TitanPanelRightClickMenu_AddTitle(TitanPlugins[TITAN_AFKTELL_ID].menuText)
	TitanPanelRightClickMenu_AddCommand("Toggle GUI", TITAN_AFKTELL_ID, "afktell_ToggleGUI") -- a couple of functions I added
	TitanPanelRightClickMenu_AddCommand("Lock GUI", TITAN_AFKTELL_ID, "afktell_ToggleGUILock")
	TitanPanelRightClickMenu_AddSpacer()
	TitanPanelRightClickMenu_AddToggleIcon(TITAN_AFKTELL_ID)
	TitanPanelRightClickMenu_AddCommand(TITAN_PANEL_MENU_HIDE, TITAN_AFKTELL_ID, TITAN_PANEL_MENU_FUNC_HIDE)
end
I'd suppose you'll know what the xml and toc should look like but wth:
Code:
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
C:\Projects\WoW\Bin\Interface\FrameXML\UI.xsd">
	<Script file="Titanafktell.lua"/>
	<Frame parent="UIParent">
		<Frames>
			<Button name="TitanPanelafktellButton" inherits="TitanPanelComboTemplate" frameStrata="FULLSCREEN" toplevel="true">
				<Scripts>
					<OnLoad>
						if ( TitanPanelButton_OnLoad ) then
							TitanPanelafktellButton_OnLoad();
							TitanPanelButton_OnLoad();
						end
					</OnLoad>
					<OnClick>
						TitanPanelButton_OnClick(arg1);
					</OnClick>
				</Scripts>
			</Button>
		</Frames>
	</Frame>
</Ui>
Code:
## Interface:: 20000
## Title: AFK Tell
## Notes: Tells you how long you've been AFK
## OptionalDeps: Titan
afktell.xml
Titanafktell.xml
I hope it helps.
Lombra is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 03-14-2007, 01:11 AM  
leethal
A Wyrmkin Dreamwalker
Interface Author - Click to view interfaces

Forum posts: 50
File comments: 29
Uploads: 8
Re: ... One Problem!

Bugs, bugs, bugs. I'll have this fixed somewhen today.
leethal is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 03-13-2007, 05:43 PM  
FruitFly
A Kobold Labourer
 
FruitFly's Avatar

Forum posts: 0
File comments: 1
Uploads: 0
Exclamation ... One Problem!

Erm, Well, the mod works great.. except when someone msgs you.. bcus when they do, it does send a tell back to them letting them know you are AFK and for how long you've been AFK. BUT! it doesn't stop... it keeps sends them a tell everytime the second changes . SOo you end up with a chat window full of "I'm AFK for x amount of time"'s.
__________________
Beware. I'll Bite.

Last edited by FruitFly : 03-13-2007 at 05:45 PM.
FruitFly is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Post A Reply



Category Jump:



The Network:
EQInterface | EQ2Interface | LoTROInterface | MMOUI | War.MMOUI | WoWInterface | VGInterface | Allakhazam | Thottbot | Wowhead | Zam


MMOInterface.com Copyright ©2008
World of Warcraft is a registered Trademark of Blizzard Entertainment.
vBulletin - Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.