Classic No quitters addon idea

I want to make an addon that players can use to prove the number of dungeons runs they have done without quitting. How it would work is that it would detect if the user of the addon left the dungeon before it was completed. At the start of the run, the quit flag would be enabled, and at the end of the run when the dungeon was finished, the quit flag would be disabled, and the dungeons run count incremented by one. If another player leaves the group during the dungeon, the quit flag is disabled, but the dungeons run count is only incremented when the dungeon is finished.Now, to the proof side. The player can prove to others running the mod that they are not a quitter by pressing the prove I am not a quitter button. The mod generates a random string, concatenates the string+playersname+dungeons_run_count, and hashes them. after hashing this, the mod provides a new string that is the hash+ number of runs + random stringThis proves that the player wishing to prove that they are not a quitter was able to run a hash function using a random string that they provided on their name+ a number.To prevent malicious modders to create a cheat mod that generates a fake proof, there are multiple hash functions. The hash function selected is based on the current timestamp, calculated for universal time. The hash selection algorithm runs a decrypt operation on an encrypted string hardcoded into the mod to generate the hash selection seed. That seed is then used to calculate which is the current correct hash function. The hash functions themselves are encrypted, and are decrypted at runtime. This prevents another modder from casually copying the hash functions, and then trying all ten, and basically guessing their way to which hash function to use.TLDR: Mod algorithm that generates proofs that players have not quit their most recent X number of mythic+ runs. This will allow the community to pick people who don't quit the dungeon, without relying on third party servers. via /r/wow https://ift.tt/2I4JIm1
Kommentarer
Skicka en kommentar