Download
(8Kb)
Download
Updated: 03-11-13 03:31 AM
Pictures
File Info
Updated:03-11-13 03:31 AM
Created:unknown
Downloads:6,201
Favorites:68
MD5:

FireExit  Popular! (More than 5000 hits)

Version: 50200.15
by: Frayol [More]

Due to RL taking up far too much time I have cancelled my WoW subscription and as a result of this I will no longer be updating this addon. Thank you to everyone who has used this addon and if anyone does want to take over the addon then I have no objections.

FireExit is a small LibDataBroker based addon that allows you to either logout, exit the game or just reload the UI by clicking the icon (clicks listed below).

  • Left-click to logout
  • Right-Click to exit
  • Shift-Click to force exit, for quickly leaving the game when not at an inn/capital city.

FireExit does not provide it's own display, in order to use it you will need a LibDataBroker based display addon.

Note: I have included a mirror image of the current icon in the download which you can use if you like to have the figure running to the right. To make this change (best done out of the game), open up FireExit.lua in the text editor of your choice and change the commented line to the alternate image name. There are now also included two optional slash commands (/reloadui and /rl) which are disabled by default. To enable them (or even just one) you need to uncomment them out via lua.

Additional Note: It turns out the ReloadUI function doesn't seem to work with YssDrop.

50200.15 - Frayol

* Updated TOC.

**************************

50100.14 - Frayol

* Updated TOC.

**************************

50001.13 - Frayol

* Updated TOC.

**************************

40300.12 - Frayol

* Updated TOC.

**************************

40200.11 - Frayol

* Updated TOC.

**************************

40100.10 - Frayol

* Updated TOC.

**************************

40000.09 - Frayol

* Updated TOC.
* Updated Libs.
* Commented out the slash commands to make them optional.

**************************

30300.08a - Frayol (unreleased)

* Added /rl and /reloadui as slash commands.

**************************

30300.08 - Frayol

* Re-added the reloadUI option, turns out it wasn't broken it was being blocked by another addon. /blush
* Tidied up the code a little bit.

**************************

30300.07 - Frayol

* Removed the reloadUI option, it was broken and I don't use it anyways.

**************************

30300.06 - Frayol

* Updated TOC.

**************************

30200.05 - Frayol

* Changed version naming scheme.
* Updated TOC.
* Updated Libs

**************************

r4 - Frayol

* Updated TOC.
* Updated Libs.

**************************

r3 - Frayol

* Added a reloadUI click option.

**************************

r2 - Frayol

* Updated TOC for Wrath.
* Updated embeds to correct an accidently introduced naming error and generally tidy things up.

**************************

r1 - Frayol

* Initial version.
Optional Files (0)


Post A Reply Comment Options
Unread 10-28-17, 04:11 AM  
Pseudopath
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 66
Uploads: 1
Howdy, I'm having some problems (which don't appear restricted to this addon, another similar one generates the same issue) just hoping for some helpful pointers in tracking down the problem addon;
Date: 2017-10-28 19:21:02
ID: 2
Error occured in: AddOn: FireExit
Count: 1
Message: Error: AddOn FireExit attempted to call a forbidden function (Quit()) from a tainted execution path.
Debug:
[C]: Quit()
FireExit\FireExit.lua:25: OnClick()
ChocolateBar\Chocolate.lua:248:
ChocolateBar\Chocolate.lua:245
Locals:
None
AddOns:
thanks in advance

Sudo
Report comment to moderator  
Reply With Quote
Unread 07-21-12, 08:19 PM  
wolftech
A Deviate Faerie Dragon

Forum posts: 14
File comments: 62
Uploads: 0
I can confirm this works just fine in MoP beta.
Report comment to moderator  
Reply With Quote
Unread 05-04-10, 02:52 PM  
Morgalm
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 184
Uploads: 4
Sweet
Report comment to moderator  
Reply With Quote
Unread 05-04-10, 06:46 AM  
Frayol
A Deviate Faerie Dragon
 
Frayol's Avatar
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 127
Uploads: 4
Managed to find the cause of the problem and it turns out to be an issue with YssDrop preventing the reload from working for some reason. I really should have checked first before making any changes.

Originally posted by Morgalm
Also why don't you just say if button == "RightButton" or button == "LeftButton" instead of having 2 separate if's that do basically the same thing? No biggie anyway
To be honest I have no idea why I did it like that although it has got me thinking about it. Since work turned out to be rather quiet this morning I was not only able to track down where the problem lay, but also tidy up the code a little with the reloadUI option put back in. Sorry for any problems cause.
Report comment to moderator  
Reply With Quote
Unread 05-03-10, 03:29 PM  
Morgalm
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 184
Uploads: 4
Unless of course I fixed it myself and it was so long ago I forgot I did it lol. Here is the code in mine I use it for reloadui all the time:


function dataobj.OnClick()
local button = GetMouseButtonClicked()
if button == "LeftButton" then
if IsShiftKeyDown() then
ForceQuit()
elseif IsAltKeyDown() then
ReloadUI()
else
Logout();
end
elseif ( button == "RightButton" ) then
if IsShiftKeyDown() then
ForceQuit()
elseif IsAltKeyDown() then
ReloadUI()
else
Quit();
end
end
end

Also why don't you just say if button == "RightButton" or button == "LeftButton" instead of having 2 separate if's that do basically the same thing? No biggie anyway
Report comment to moderator  
Reply With Quote
Unread 05-03-10, 04:37 AM  
Frayol
A Deviate Faerie Dragon
 
Frayol's Avatar
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 127
Uploads: 4
Originally posted by Morgalm
ReloadUI was broken? Works fine for me...
I plan to investigate further when I get more free time to see if I can find the root cause, but perhaps it isn't broken for everyone and just depends on you addon combo. Although I don't really use the function much I hate not knowing what the problem is so I will look into it.
Report comment to moderator  
Reply With Quote
Unread 05-02-10, 03:17 PM  
Morgalm
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 184
Uploads: 4
ReloadUI was broken? Works fine for me...
Report comment to moderator  
Reply With Quote
Unread 11-25-08, 08:06 PM  
Morgalm
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 184
Uploads: 4
No the saved variables are still saved only way they don't save is a hard crash or alt-f4 out of game.

Although I should warn you that I did change the way the clicks were implemented in this release as with just adding an extra click option on the older versions would not only reload the UI, but would then logout/quit the game depending on which button had been used.
That is weird worked fine for me.
Report comment to moderator  
Reply With Quote
Unread 11-10-08, 09:36 AM  
Frayol
A Deviate Faerie Dragon
 
Frayol's Avatar
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 127
Uploads: 4
Re: Does this affect saving or risk file corruption?

Originally posted by Josey
Been using this; really like one-click log.
Notice it does not close open windows like bags, talent books, char screen, etc. first like the default escape/logout does.

Does that affect things like saving before logging, or risk corruption of .lua or cache files for not closing before logging?
Not that I am aware of. I've never had any problems of that sort either with FireExit or before when using either ExitFu (does pretty much exactly the same things) or slash commands to logout/quit/forcequit. Not saying that it couldn't happen, but I've never heard of it happening with anything.

Originally posted by Morgalm
Thanks had added it to mine anyway but nice to see in it
Fair enough, I tend to do the same myself with some addons. Although I should warn you that I did change the way the clicks were implemented in this release as with just adding an extra click option on the older versions would not only reload the UI, but would then logout/quit the game depending on which button had been used.
Report comment to moderator  
Reply With Quote
Unread 11-09-08, 12:43 PM  
Josey
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Does this affect saving or risk file corruption?

Been using this; really like one-click log.
Notice it does not close open windows like bags, talent books, char screen, etc. first like the default escape/logout does.

Does that affect things like saving before logging, or risk corruption of .lua or cache files for not closing before logging?
Report comment to moderator  
Reply With Quote
Unread 11-06-08, 07:46 PM  
Morgalm
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 184
Uploads: 4
Thanks had added it to mine anyway but nice to see in it
Report comment to moderator  
Reply With Quote
Unread 11-06-08, 05:15 AM  
Frayol
A Deviate Faerie Dragon
 
Frayol's Avatar
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 127
Uploads: 4
I'll see about adding reloadui in soon. Possibly before the weekend if I can get enough free time, but no promises on that.

Edit: Having said that, I already had a copy that that I was testing with this function so I have tidied it up a bit and uploaded it.
Last edited by Frayol : 11-06-08 at 06:40 AM.
Report comment to moderator  
Reply With Quote
Unread 11-04-08, 03:10 PM  
Elite_Gamer04
A Kobold Labourer

Forum posts: 0
File comments: 36
Uploads: 0
Would love to see a reloadui also
Report comment to moderator  
Reply With Quote
Unread 11-04-08, 02:33 PM  
ant1pathy
A Murloc Raider

Forum posts: 5
File comments: 83
Uploads: 0
The alt+click for reload would be nice .
Report comment to moderator  
Reply With Quote
Unread 10-21-08, 07:25 AM  
Frayol
A Deviate Faerie Dragon
 
Frayol's Avatar
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 127
Uploads: 4
Originally posted by Morgalm
Hey why not add a reloadui click as well like alt-click = reloadui?
I use Opticon which already has reloadui built in as part of it so it's not something that I would have thought about adding. However if people think that this is something that should also be in this addon then I'll have to think about adding it.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: