Are quit() and logout() now protected?
As of 7.3.2, the functions logout() and quit() are somehow considered protected now. I am trying to look to see if anything has changed that no longer allows you to programmatically call logout or quit() or if there is a new function call that replaces it with the latest patch.
http://wowprogramming.com/docs/api/Quit This is what happens when trying to call it. [ADDON_ACTION_FORBIDDEN] AddOn 'quickQuit' tried to call the protected function 'Quit()'. I mean I can hit escape and use the built in exit buttons so that isn't being tainted or anything. |
It appears so. You can still /logout and /quit
|
Sadness. I hate using macros in code. Hopefully someone will figure out the change
|
It might not be fully protected, might just require a hardware event. E.g. you can call ReloadUI in a click script on an unprotected button, but you can't call ReloadUI from an event handler or an update script.
|
The error say they are only available to the Blizzard UI. You can /run ReloadUI() but not /run Logout() or /run Quit()
|
Has anyone else noticed an error when you /camp if you have an addon with a SlashCmdList loaded?
|
Quote:
Lua Code:
Lua Code:
This should be reported as a bug. |
Quote:
|
In other words, LDB Exit_Buton is completely useless and can't be repaired ATM?
|
Quote:
|
Lua Code:
...should work. |
Quote:
|
All times are GMT -6. The time now is 07:07 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI