RETAIL RegisterFunction fails after Reload menu

User Tag List

Results 1 to 3 of 3
  1. #1
    34D's Avatar Member
    Reputation
    4
    Join Date
    May 2020
    Posts
    57
    Thanks G/R
    10/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    RETAIL RegisterFunction fails after Reload

    The limitation in the past is that the core file .toc of the addon is only loaded once when the client is started. If the addon file changes (addition/modification/removal) during the game running, the .toc file will not be updated even if the addon is reloaded List, there is no way to know the structure change of the plug-in. The result is that the addon overload is incomplete (the file with the same name can be updated, and the new and removed structure cannot be updated), which is the reason why the addon cannot be updated correctly. After this update, the reload command will rescan the list of .toc files so that all changes to the addon can be loaded correctly.

      Use the /reload command to directly reload the newly added/modified/removed addons without restarting the game client!

       This change is a huge experience improvement for players and addon developers who frequently adjust addons.

    After the 9.0 update, My registered function Lose effect after /reload
    Last edited by 34D; 10-27-2020 at 01:13 AM.

    RETAIL RegisterFunction fails after Reload
  2. #2
    ChrisIsMe's Avatar Contributor
    Reputation
    164
    Join Date
    Apr 2017
    Posts
    210
    Thanks G/R
    67/100
    Trade Feedback
    0 (0%)
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by 34D View Post
    The limitation in the past is that the core file .toc of the addon is only loaded once when the client is started. If the addon file changes (addition/modification/removal) during the game running, the .toc file will not be updated even if the addon is reloaded List, there is no way to know the structure change of the plug-in. The result is that the addon overload is incomplete (the file with the same name can be updated, and the new and removed structure cannot be updated), which is the reason why the addon cannot be updated correctly. After this update, the reload command will rescan the list of .toc files so that all changes to the addon can be loaded correctly.

      Use the /reload command to directly reload the newly added/modified/removed addons without restarting the game client!

       This change is a huge experience improvement for players and addon developers who frequently adjust addons.

    After the 9.0 update, My registered function Lose effect after /reload
    Wow is probably just dumping the in memory lua and re-initing all of the addons, I couldn't tell you if that's accurate, but it is what I would do/expect to be done to add that type of functionality to WoW... So, you need to listen to inGame or similar on your bots main loop, and if it becomes false then you know you need to reinit your lua once it's true... or hook the function called by reload and do the logic there (preferable)

  3. #3
    GlittPrizes's Avatar Active Member CoreCoins Purchaser Authenticator enabled
    Reputation
    58
    Join Date
    Nov 2019
    Posts
    104
    Thanks G/R
    53/33
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by ChrisIsMe View Post
    Wow is probably just dumping the in memory lua and re-initing all of the addons, I couldn't tell you if that's accurate, but it is what I would do/expect to be done to add that type of functionality to WoW... So, you need to listen to inGame or similar on your bots main loop, and if it becomes false then you know you need to reinit your lua once it's true... or hook the function called by reload and do the logic there (preferable)
    With a combination of event listening and hooksecurefunc you can distinguish between reload and actual logouts and re-register accordingly or detach.. whatever behavior is desired.

Similar Threads

  1. BFA retail -- WriteProcessMemory from injected dll fails
    By noctural in forum WoW Memory Editing
    Replies: 5
    Last Post: 07-08-2020, 01:29 PM
  2. [Release] APB:Reloaded "UNBOXING THE RETAIL BOX!" and Showing the In-game rewards!
    By DisturbingEffect in forum MMO Exploits|Hacks
    Replies: 0
    Last Post: 05-04-2012, 06:42 PM
  3. Replies: 10
    Last Post: 02-13-2011, 01:21 AM
  4. Behind Zul Gurub Portal after 1.11
    By kuikui in forum World of Warcraft Exploits
    Replies: 3
    Last Post: 09-16-2006, 12:16 PM
  5. MMORPG Gold and Services Retailer Reviews?
    By Matt in forum Suggestions
    Replies: 3
    Last Post: 05-21-2006, 12:05 AM
All times are GMT -5. The time now is 01:57 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search