Skip to content

Unknown Search for encrypted trigger strings #42

@speige

Description

@speige

Run Jass / Lua interpreter to decode encrypted strings

function w3pro_decrypt_string takes string s returns string
local integer hash
if StringLength(s)>4 then
set hash=StringHash(s)
if not HaveSavedString(MainHook_Crypto_ht,hash,$539) then
call SaveStr(MainHook_Crypto_ht,hash,$539,decrypt(s))
endif
return LoadStr(MainHook_Crypto_ht,hash,$539)
else
return decrypt(s)
endif
endfunction

set SoundDefinition_file[this_1]=w3pro_decrypt_string("QaN,N4B[:Y?sW5l\;ASF.KAe`5l\;.&",^=p^N"O4M"ljKFlaK-^@1f+Zj")

set SoundInstance_snd[this_1_1]=CreateSound(SoundDefinition_file[this_1],SoundDefinition_looping[this_1],SoundDefinition_is3D[this_1],SoundDefinition_stopOnLeaveRange[this_1],SoundDefinition_fadeIn[this_1],SoundDefinition_fadeOut[this_1],SoundDefinition_eaxSetting[this_1])

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions