Thread Tools Display Modes
11-06-13, 06:35 AM   #1
Lulleh
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Mar 2012
Posts: 15
Confirmation for "exit game"?

This is quoted from a post on the general eu forums, I thought instead of replying there (necro) I'd bring it up here. Also, don't bother replying with "I hear that eyes and reading do a very good job." or similar bull**** because obviously that doesn't work or I'd not come here. =)

Anyone knows the feeling...

Your standing in a ctiy/inn and want to log out
so you can get on-line on your alt.

But instead of pressing "log out" your cursor hits "Exit Game".
and then there is nothing else to do then open WoW again and start
up from the beginning.

So is there an addon/option that asks confirmation if you want to exit the game?
  Reply With Quote
11-06-13, 07:35 AM   #2
humfras
A Flamescale Wyrmkin
AddOn Author - Click to view addons
Join Date: Oct 2009
Posts: 131
Either just hide it via
Lua Code:
  1. GameMenuButtonQuit:Hide()
or change its OnClick script (might produce taint)
Lua Code:
  1. GameMenuButtonQuit:SetScript("OnClick", function(self)
  2.   PlaySound("igMainMenuQuit")
  3.   StaticPopup_Show("QUIT")
  4.   HideUIPanel(GameMenuFrame)
  5. end)
__________________
Author of VuhDo CursorCastBar OptiTaunt Poisoner RaidMobMarker
  Reply With Quote
11-06-13, 07:41 AM   #3
Lulleh
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Mar 2012
Posts: 15
Hm, the last code seem interesting, what do I do with the code though? I'm not too good with .lua

Thanks for the reply btw
  Reply With Quote
11-06-13, 08:05 AM   #4
humfras
A Flamescale Wyrmkin
AddOn Author - Click to view addons
Join Date: Oct 2009
Posts: 131
The easy way:
- go to http://addon.bool.no/
- enter a name in the first editbox (e.g. Lulleh_QuitConfirm)
- copy the code in the 'LUA file' editbox
- click on 'Create my AddOn and give me my files!'
- extract the AddOn files into WoW's AddOn folder
- (re)start WoW
__________________
Author of VuhDo CursorCastBar OptiTaunt Poisoner RaidMobMarker
  Reply With Quote
11-06-13, 08:13 AM   #5
Lulleh
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Mar 2012
Posts: 15
Guess I'll be able to handle that, thanks a lot. Hope it works :P

Edit: Works like a charm, thanks a lot.

Last edited by Lulleh : 11-06-13 at 08:19 AM.
  Reply With Quote
11-10-13, 06:13 AM   #6
Lulleh
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Mar 2012
Posts: 15
here it is for those who wants http://www.wowinterface.com/download...itConfirm.html
  Reply With Quote
11-10-13, 12:09 PM   #7
natassja72
A Wyrmkin Dreamwalker
Join Date: Aug 2008
Posts: 59
Thanks so much for bringing this up and for the code. I can't count how many times I exited the game instead of logging out!
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Search/Requests » Confirmation for "exit game"?


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off