10-18-2014, 06:25 AM
What's "initialize the obfuscator"?
You should initialize the plugin normally - when it's loaded and its Initialize function called. And then you should obfuscate the chunk directly in cChunkDesc while processing the HOOK_CHUNK_GENERATED hook. You might need to optimize the obfuscating code, otherwise it might get slow and seem to have hanged.
You should initialize the plugin normally - when it's loaded and its Initialize function called. And then you should obfuscate the chunk directly in cChunkDesc while processing the HOOK_CHUNK_GENERATED hook. You might need to optimize the obfuscating code, otherwise it might get slow and seem to have hanged.