Jump to content
  • Add warning to extractors when extracting with debug extractors


    madmax
    • Status: requested
      Main Category: Core / Mangos Daemon
      Sub-Category: Unknown
      Version: 0.20 Milestone: 20 Priority: Normal
      Implemented Version: 0.20

    Add warning to extractors when extracting with debug extractors

    When client extractors are built in debug it can take many hours (over night usually) to extract mmaps.

    A warning should be added somewhere in the extractor .exe's when they are built in debug to make it clear.

    [QUOTE]
    Are you sure you want to build mmaps? - This extractor is compiled in DEBUG mode.
    This will take 12+ hours - For quick extraction always use extractors built in release.[/QUOTE]


    User Feedback

    Recommended Comments

    I'm sure of the reason behind why this should take that much longer in debug.

    In the Build process there is a definition _DEBUG which indicates that it's a debug build

    The issue with trying to do something with movemaps extractor itself is that it is called multiple times by the build scripts
    - so it cannot keep track of its overall status beyond the current run

    Olion has mentioned about setting and using the errorcode to flag the error during the run
    - This combined with a -DEBUGOVERRIDE flag, might do the trick


    As I see it, the logic flow would be this..

    Are we in Debug Mode ?
    No... Carry on as normal
    Yes....
    Do we have -DEBUGOVERRIDE set ?
    Yes... Carry on as normal
    No....
    Do we have an Errorcode >0
    No... Generate the Debug warning message and then set Errorcode to be greater then 0 and and Exit
    Yes.... Exit

    Thoughts ?

    Link to comment
    Share on other sites



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use