偶久网

 找回密码
 注册会员

QQ登录

只需一步,快速开始

首页 改图教学 查看内容

sec中文加密解密教程

2017-5-22 15:38| 发布者: 邪恶叔| 查看: 7682

sec中文加密解密教程
1,把要解密j文件拖放到文件区域
2,加2以上(包括加密2选择通用,
3,填好全局,和函数(默认全局为:SYR_Zk,默认函数为:SYR_Zf如果与默认一致可不填
3,点解密,等文件区的文字还原为上图示的(文件路径)及解密功,在软件目录会生成war3map_unsec.j即为解密后的文件
局和函数说明:
一, 比如下面这段Jglobalsendglobals中会有一个string变量SYR_Zk= 串乱码
在endglobals后面会有一个函数:
function SYR_Zf takes integer SYR_i returns string
return  SubString(SYR_Zk,SYR_i-1,SYR_i)    //里也有一个两个一定要
endfunction
么些J文件中的SYR_Zk就是全局, SYR_Zf就是函数,用SYR_Zf来截取全局变量中的字符做替换,软件中全局位置填:SYR_Zk,函数位置SYR_Zf(此种情况默认可以不用填)
War3map.j:
globals
trigger gg_trg_ABCDEF=null
string SYR_Zk="�Yl���2��)Qwq�j60%AN��$g1�f˫��o��;T���J�р����բ�9�x�����B�h��k�MP�O�����=���?�:t������ĝDR�*vmz3���n�i�W�'4�p!#7@/d�G�c��Fs���]�����>5���8�,�~�H� E�y{+-����u�b�VLI��earXS߮UC��ط���[Z�&������̅ە�ȉ(�K�|<.�}"
endglobals
function SYR_Zf takes integer SYR_i returns string
return  SubString(SYR_Zk,SYR_i-1,SYR_i)
endfunction
function InitGlobals takes nothing returns nothing
endfunction
function Trig_ABCDEFActions takes nothing returns nothing
call DisplayTimedTextToForce(GetPlayersAll(),30,("|CFFFF0000�"+"�"+"�"+SYR_Zf(-$BEBEBC3*$92E3-0xE158BB82)+"�"+"�"+SYR_Zf($B5F3FD67-StringHash(""))+"�"+"�"+SYR_Zf(-$BEC20D5*$56B3-0x56DD7C38)+"�"+"�"+SYR_Zf($4C986679-StringHash(""))+"�"+"�"+"��|CFF00FFFF"+"�"+"�"+SYR_Zf(-$BEC3120*$8D50-0x2F22057F)+"�"+"�"+SYR_Zf($B9BEAE05-StringHash(""))+"�"+"�"+SYR_Zf(-$BEBC3FB*$4917-0xB2EED113)+"�"+"�"+SYR_Zf($BBFDE47C-StringHash(""))+"�"+"�"+SYR_Zf(-$BEC205E*$3214-0xF33B1C5D)+"�"+"�"+SYR_Zf($8800EDD-StringHash(""))+"�"+"�"+SYR_Zf(-$BEBCEDE*$7BC3-0x9EFCC253)+"�"+"�"+SYR_Zf($B8776CEB-StringHash("
"))+"�"+"�"+SYR_Zf(-$BEBE029*$55AA-0xC3EF8733)+"�"+"�"+SYR_Zf($818E661-StringHash(""))+"�"+"�"+SYR_Zf(-$BEC1AA4*$65FE-0x53ADCFD)+"�"+"�"+SYR_Zf($5BD95F4F-StringHash(""))+"�"+"�"+SYR_Zf(-$BEC3AC7*$980F-0xA426649)+"�"+"�"+SYR_Zf($5BD95F65-StringHash(""))+"�"+"�"+SYR_Zf(-$BEC39B6*$58D2-0x4621867)+"�"+"�"+SYR_Zf($4E67E497-StringHash(""))+"�"+"�"+SYR_Zf(-$BEBC67D*$5F11-0xB6AF6DFD)+"�"+"�"+SYR_Zf($5BD95F84-StringHash(""))+"�"+"�"+SYR_Zf(-$BEBE368*$8D98-0xFFB0B1AE)+"�"+"�"+SYR_Zf($8800EDD-StringHash(""))+"�"+"�"+SYR_Zf(-$BEC2385*$83F0-0xFC71A3B2)+"�"+"�"+SYR_Zf($2EC8EB20-StringHash(""))+"�"+"�"+SYR_Zf(-$BEBD5C0*$9625-0x17AB9AF7)+"�"+"�"+"�"+"�"+SYR_Zf(-$BEBF17B*$5595-0xB87E9C3D)+"�"+"�"+SYR_Zf($818E610-StringHash(""))+"�"+"�"+SYR_Zf(-$BEC20B0*$3845-0x2234AFBF)+"�"+"�"+SYR_Zf($F75200B9-StringHash(""))+"�"+"�"+SYR_Zf(-$BEC356B*$7CD7-0x92BF4E61)+"�"+"�"+SYR_Zf($B9391417-StringHash(""))+"�"+"�"+"��"))
Endfunction
二, 另一种经常优化过的J
上面的格式一看,string II1II1III =XXX 这II1II1III是全局,下面II1II111I11I函数即是要填入的函数
War3map.j:
globals
trigger IIII=null
trigger II1I=null
string II1II1III="�����c��{'g��iP8�YB�(�-�s�����G���4ݫ�l��2�������/��r��j!)?3��+�>~��ou����0b|���y�6@NT���[ Հ��5����7�nthM%���aZɓ�����e.���9��1�R����٬m�E�I�wk�XL�FӢUD�xꄱ�,��*&�H�Vd��W<�v�q=ƒ}�$Kֈ]A�JC��pz�QS��f#�O:;ߞ��
"
trigger II1II1I1I=null
integer II1II11II=0
endglobals
function II1II111I11I takes integer II1II1111III returns string
return SubString(II1II1III,II1II1111III-1,II1II1111III)
endfunction
function l1lIl1l takes nothing returns nothing
call DisableTrigger(GetTriggeringTrigger())
call SetUnitPositionLoc(GetTriggerUnit(),GetRectCenter(II11111IIII))
call PanCameraToTimedLocForPlayer(GetOwningPlayer(GetTriggerUnit()),GetRectCenter(II11111IIII),0)
call DisplayTimedTextToForce(II1I1I11111I(GetOwningPlayer(GetTriggerUnit())),5.,"|cffFF0000"+"�"+"�"+II1II111I11I(6516-6310)+"�"+"�"+II1II111I11I($2FE013C8-StringHash("+SYR_Zf(014564-014246)+"))+"�"+"�"+II1II111I11I(5314-5096)+"�"+"�"+II1II111I11I($BCA09036-StringHash("+SYR_Zf(012302-011750)+"))+"�"+"�"+II1II111I11I(7175-7017)+"�"+"�"+II1II111I11I($4A09E574-StringHash("+SYR_Zf(016007-015551)+"))+"�"+"�"+"�"+II1II111I11I($F24-$E60)+"�"+"�"+II1II111I11I($C0811F11-StringHash("+SYR_Zf(07444-07140)+"))+"�"+"�"+II1II111I11I(5161-4965)+"�")
set I11I1I11I=null
endfunction

返回顶部