Download
(99Kb)
Download
Updated: 10-22-08 09:45 PM
Pictures
File Info
Updated:10-22-08 09:45 PM
Created:unknown
Downloads:2,114
Favorites:8
MD5:

BreakTime!

Version: 1.1
by: Bazor [More]

This mod tells you when to take a break much like Guild Wars and Lineage 2 did. You can output a message on the screen or in the chat window. You can also associate a sound to play when the message is displayed. The message can be set to go off every 15 minutes up to 2 hours as well. If you switch characters this mod will not save the previous session's online time. If I find a suitable way to make this work correctly I will put this in but until then this will have to do.

This is a simple mod but I felt WoW needed this for those people who need to take a break every so often and they forget to do so. So enjoy! I'm always open to suggestions so feel free to contact me if you have any.

0.1 -- Released mod for WoW 2.4 patch.
1.0 -- Added sounds to be played when the message is displayed and redid the fire time option to be user-friendly. Mod now fully works with the WoW 3.0.2 patch.
1.1 -- Fixed the bugs that carried over from the 1.0 release. All should be well now.
Optional Files (0)


Post A Reply Comment Options
Unread 10-22-08, 09:48 PM  
Bazor
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 3
Uploads: 1
Oops! Looks like some bugs got in from the 1.0 release. I've fixed them now though so now it should work fully with WoW 3.0.2. Thanks for pointing that out Zidomo.
Report comment to moderator  
Reply With Quote
Unread 10-22-08, 01:55 AM  
Zidomo
A Cliff Giant
 
Zidomo's Avatar

Forum posts: 76
File comments: 1046
Uploads: 0
v1.0 unfortunately does not fully work here. Disembedded libs (Ace3 standalone r708 from wowace.com) except LibStub & CallbackHandler, USEng server/client, WoW 3.0.2 live. Error thrown up at logon (recorded with the BugSack/!BugGrabber mods):

AceLocale-3.0: BreakTime: Missing entry for 'Special Characters: @hr = hours and @min = minutes':\nBreakTime-1.0\\Core.lua:62: in main chunk

v0.1 worked fine without issues in WoW 2.4.x here.
Report comment to moderator  
Reply With Quote
Unread 10-21-08, 11:28 PM  
Bazor
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 3
Uploads: 1
I have released BreakTime to 1.0 status and it fully works with the 3.0.2 patch. I've added some new features to the addon so be sure to check them out!

Thanks freshworks for the translation. I have redone that part of the code so maybe now it won't show an error. I've also added some new things too though so if you want to translate BreakTime 1.0 to Korean then send me a copy of the translation to my Private Message box or you can post it here and I will put it in. Thanks.

If anyone else is skilled in another language that WoW supports and wants to translation my mod free feel to contact me or send me the locale and I will look at it.
Report comment to moderator  
Reply With Quote
Unread 09-13-08, 12:46 AM  
freshworks
A Kobold Labourer

Forum posts: 0
File comments: 19
Uploads: 0
below source code is translated korean locale.

Code:
local L = LibStub("AceLocale-3.0"):NewLocale("BreakTime", "koKR")
if not L then return end

L["Fire Time"] = "휴식 시간"
L["How often the message is displayed."] = "메시지를 얼마 간격으로 표시할지 설정합니다."
L["<When to fire in secs; 3600=one hour>"] = "<휴식 시간 간격을 초 단위로 설정; 3600=한 시간>"

L["Show in Chat"] = "대화로 보기"
L["Show on Screen"] = "화면으로 보기"
L["Toggles the display of the message in the chat window."] = "대화창에서 메시지가 표시되도록 토글합니다."
L["Toggles the display of the message on the screen."] = "화면에서 메시지가 표시되도록 토글합니다."

-- Playing time messages
L["You have been playing for "] = "당신이 플레이한지 "
L["Please take a break."] = "잠시 휴식을 취하도록 하세요."
L[" second."] = "초가 지났습니다."
L[" minute."] = "분이 지났습니다."
L[" hour."] = "시간이 지났습니다."
L[" seconds."] = "초가 지났습니다."
L[" minutes."] = "분이 지났습니다."
L[" hours."] = "시간이 지났습니다."

-- Chat Commands
L["bt"] = true
L["BreakTime"] = true
added to Locale-koKR.lua and BreakTime.toc. but, first time chat message displayed with an error occured.

Code:
[2008/09/13 15:39:20-205-x1]: AceLocale-3.0: BreakTime: Missing entry for '당신이 플레이한지 ':
BreakTime-0.1\Core.lua:134: in function <Interface\AddOns\BreakTime\Core.lua:128>
(tail call): ?:
<in C code>: ?
<string>:"safecall Dispatcher[2]":9: in function <[string "safecall Dispatcher[2]"]:5>
(tail call): ?:
AceTimer-3.0\AceTimer-3.0.lua:140: in function <Interface\AddOns\Ace3\AceTimer-3.0\AceTimer-3.0.lua:114>

  ---
fix Core.lua source code
Code:
self:Print(L[L["You have been playing for "]] .. secs .. L[" seconds."])
to
Code:
self:Print(L["You have been playing for "] .. secs .. L[" seconds."])
ps. sorry, my english is poor
Last edited by freshworks : 09-14-08 at 09:59 AM.
Report comment to moderator  
Reply With Quote
Unread 08-28-08, 05:49 AM  
Bazor
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 3
Uploads: 1
Originally posted by Sec
Rather basic question: How do I go about setting up a custom message? Is this to be done through .Lua? In viewing the addon's configuration (/bt), I do not see any sort of field to enter text. Is it a slash command? If so, what?
Sorry for the long wait. This feature hasn't been setup yet, but I plan on working that into the mod soon.
Report comment to moderator  
Reply With Quote
Unread 06-15-08, 10:53 AM  
Sec
A Cyclonian
 
Sec's Avatar

Forum posts: 48
File comments: 177
Uploads: 0
Rather basic question: How do I go about setting up a custom message? Is this to be done through .Lua? In viewing the addon's configuration (/bt), I do not see any sort of field to enter text. Is it a slash command? If so, what?
Report comment to moderator  
Reply With Quote
Unread 04-21-08, 07:01 PM  
Purity
A Deviate Faerie Dragon

Forum posts: 16
File comments: 170
Uploads: 0
Thank you, I am going to try this out. I am one of those people that lose track of time tweaking my UI. I like that this gives a message, not just an alarm.
__________________
Report comment to moderator  
Reply With Quote
Unread 04-21-08, 04:22 PM  
NickyNOS
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Alarm at Specific Time

I still didn't use this addon, but I am giving you an idea:
Specific alarms.
Example:
12:00 - Time to have lunch.
15:00 (03:00 pm) Time to have a breakfast.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: