Go Back   WowAce Forums > Official Addon Threads > General AddOns
General AddOns Authors, post your release ready addons here to get feedback or just to let everyone know about it.

Reply
 
Thread Tools
Old 05-07-2009   #1
falconindy
Junior Member
 
Join Date: Sep 2008
Posts: 59
Default UlduarAutoPilot

The ultimate in lazy Ulduar raiding, I present: UlduarAutoPilot

What is UlduarAutoPilot?
This addon takes the thought out of those endless wipe sessions when learning encounters or hard modes in Ulduar. Simply put, if you release after a death, the Base Camp teleporter will send you as close as it can to where you wiped. This location is announced to you in chat as you zone back in.

How does it work?
Sub zones in Ulduar are each linked to a teleporter, and on death, the sub zone is scanned and a teleporter is assigned.

What if I don't want to go back there?
You have the option to alt-click the Base Camp teleporter to prevent UlduarAutoPilot from automatically teleporting you. The addon also includes an LDB data source that provides a dropdown menu if you want to change the teleport destination yourself.

lolwut?
Yes. I know this concept seems silly. It's only a minor convenience, but so be it. My guild's going to be wiping a lot to hard modes so there's going to be a lot of running back. Also, I wanted to write it to learn more Lua and because it was inspired by an idea on the Ideas Forum, I published it.

I need your help!
Because of the way the auto-selection works, I need help localizing the addon to non-enUS clients. All but 2 of the localization strings are just the subzone names in Ulduar. If you have a cleared instance, take a run through and jot down the names for me in the localization app. They need to be exact.

Happy wiping!
falconindy is offline   Reply With Quote
Old 05-08-2009   #2
Phanx
Seal Cub Clubbing Club
 
Phanx's Avatar
 
Join Date: May 2005
Posts: 5,576
Send a message via AIM to Phanx Send a message via MSN to Phanx Send a message via Yahoo to Phanx
Default Re: UlduarAutoPilot

You need to add:
Code:
## OptionalDependencies: Ace3
to your .toc file, so your addon works for non-embedded library users.
__________________
Author/maintainer of Grid, PhanxChat, AnkhUp, OnScreenHealth, ShieldsUp, and others.
Phanx is offline   Reply With Quote
Old 05-08-2009   #3
oomp
Member
 
oomp's Avatar
 
Join Date: Apr 2009
Posts: 17
Default Re: UlduarAutoPilot

Would it be possible to add an option for toggling Verbose Mode on and off? That is, I like my addons to be minimalistic and to the point. For example, when I enter Ulduar, a message like:

UlduarAutoPilot: The Colossal Forge.

...is more appealing to me than...

UlduarAutoPilot: The Base Camp teleport will automatically send you to The Colossal Forge. Use Alt-click to override.

Not a big deal, sure, but then again "it's only a minor convenience, but so be it."
oomp is offline   Reply With Quote
Old 05-08-2009   #4
falconindy
Junior Member
 
Join Date: Sep 2008
Posts: 59
Default Re: UlduarAutoPilot

@Phanx: done. Thanks!

@oomp: I'm not keen on making this mod any more complicated than it needs to be. That said, the chat message on zoning probably is a little too verbose for what it is. I'll likely shrink it down in the next release.
falconindy is offline   Reply With Quote
Old 06-04-2009   #5
Zidomo
Amazing Member
 
Zidomo's Avatar
 
Join Date: Jun 2005
Posts: 1,039
Default Re: UlduarAutoPilot

UlduarAutoPilot 1.3-beta (upgrade from 1.25-beta), USEnglish client/server, disembedded libs, error at logon:

AceLocale-3.0: UlduarAutoPilot: Missing entry for 'The Descent Into Madness':UlduarAutoPilot-@project-revision@\core.lua:37: in main chunk
Zidomo is offline   Reply With Quote
Old 06-09-2009   #6
falconindy
Junior Member
 
Join Date: Sep 2008
Posts: 59
Default Re: UlduarAutoPilot

Pushed a new beta. Fixes the localization issue and also solves issues with dying in no man's land areas including but not limited to the area between razorscale and ignis, or the second part of thorim's gauntlet.
falconindy is offline   Reply With Quote
Old 06-12-2009   #7
Asteague
Newbie
 
Join Date: May 2008
Posts: 1
Default Re: UlduarAutoPilot

It's nice of you to release this Addon with some localizations, but if you set every single one of them to be the default language, then only the first one loaded (according to the .toc-file, in this case enUS) will be used ingame, regardless of the real locale.

To fix this, just change
Code:
local L = LibStub('AceLocale-3.0'):NewLocale('UlduarAutoPilot', 'xxXX', true)
to
Code:
local L = LibStub('AceLocale-3.0'):NewLocale('UlduarAutoPilot', 'xxXX', false)
if not L then return end
in every locale file except the enUS one.
Thus the really needed locale will be used and if no translation is available for that locale, enUS will be used.

Greetz Asteague

Last edited by Asteague; 06-13-2009 at 10:52 PM.
Asteague is offline   Reply With Quote
Old 07-03-2009   #8
HunterZ
Legendary Member
 
HunterZ's Avatar
 
Join Date: Dec 2005
Location: Seattle
Posts: 3,367
Default Re: UlduarAutoPilot

Using beta-1.3.6. Getting the following errors on startup:

[2009/07/02 18:35:23-5988-x1]: UlduarAutoPilot-beta-1.3.6\locales\frFR.lua:3: attempt to index local 'L' (a nil value)

---

[2009/07/02 18:35:23-5988-x1]: UlduarAutoPilot-beta-1.3.6\locales\deDE.lua:3: attempt to index local 'L' (a nil value)

---

[2009/07/02 18:35:23-5988-x1]: UlduarAutoPilot-beta-1.3.6\locales\ruRU.lua:3: attempt to index local 'L' (a nil value)

---

[2009/07/02 18:35:23-5988-x1]: UlduarAutoPilot-beta-1.3.6\locales\zhTW.lua:3: attempt to index local 'L' (a nil value)

---

Also, it seems to be randomly porting me to Iron Concourse for no reason.
HunterZ is offline   Reply With Quote
Old 07-03-2009   #9
Morgalm
Hero Member
 
Join Date: Sep 2006
Posts: 666
Default Re: UlduarAutoPilot

Yeah it's broken:P
Morgalm is offline   Reply With Quote
Old 07-03-2009   #10
Tristanian
Senior Member
 
Tristanian's Avatar
 
Join Date: Dec 2006
Posts: 422
Default Re: UlduarAutoPilot

Every single localization file, except the enUS one (which is the default locale) is missing :

Code:
if not L then return end
...as its 2nd line. If you add this, it won't display that error at least. Moreover, it is generally a good idea to call GetLocale like this :

Code:
local L = LibStub("AceLocale-3.0"):GetLocale("UlduarAutoPilot", true)
...so if a string is missing from the locale file, AceLocace-3.0 will revert to the default value.
Tristanian is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 05:58 PM.