找回密码
 点一下
查看: 1707|回复: 9

万恶的HKE,55YOU

[复制链接]
发表于 2012-2-28 15:43:28 | 显示全部楼层 |阅读模式
标题是控诉,问题在这里
如何检查一张地图触发器的个数,比如正常的图只有100个触发,当发现数量不对时直接结束游戏,结束游戏神马的会,主要是触发个数怎么检查
发表于 2012-2-28 20:37:44 | 显示全部楼层
建议验证handleid的说~
[jass]
function A takes nothing returns nothing
    local location loc=Location(0,0)
    if (GetHandleId(loc)!=xxxx) then
        //失败&结束游戏等等的说~
    endif
    call RemoveLocation(loc)
    set loc=null
endif
[/jass]
至于这里的XXX,请在地图发布之前,先获取一下此时正常时刻新建一个点得到的id,然后抄上去的说~

嘛,其实真正想改你图的家伙是拦不住的,但是对付hke这种傻瓜式入侵嘛,其实有更好的方法~

在你的地图中,定义一个变量或者函数,与hke注入的重名,总之,让它们发生语法错误,从而禁止地图执行喵~
回复

使用道具 举报

发表于 2012-2-29 12:41:26 | 显示全部楼层
以下为hke注入的所有函数,我把它们都改成空函数了,直接复制到脚本区里就行。

function hke_Z64 takes nothing returns nothing
endfunction
function hke_Z94 takes nothing returns nothing
endfunction
function hke_zz4 takes nothing returns nothing
endfunction
function hke_z14 takes nothing returns nothing
endfunction
function hke_z24 takes nothing returns nothing
endfunction
function hke_Z45 takes nothing returns nothing
endfunction
function hke_Z95 takes nothing returns nothing
endfunction
function hke_zZ5 takes nothing returns nothing
endfunction
function hke_zz5 takes nothing returns nothing
endfunction
function hke_z35 takes nothing returns nothing
endfunction
function hke_z45 takes nothing returns nothing
endfunction
function hke_z55 takes nothing returns nothing
endfunction
function hke_Zz6 takes nothing returns nothing
endfunction
function hke_Z16 takes nothing returns nothing
endfunction
function hke_Z56 takes nothing returns nothing
endfunction
function hke_Z86 takes nothing returns nothing
endfunction
function hke_Z96 takes nothing returns nothing
endfunction
function hke_zz6 takes nothing returns nothing
endfunction
function hke_z16 takes nothing returns nothing
endfunction
function hke_z26 takes nothing returns nothing
endfunction
function hke_z36 takes nothing returns nothing
endfunction
function hke_z56 takes nothing returns nothing
endfunction
function hke_z96 takes nothing returns nothing
endfunction
function hke_Z37 takes nothing returns nothing
endfunction
function hke_Z47 takes nothing returns nothing
endfunction
function hke_Z77 takes nothing returns nothing
endfunction
function hke_Z87 takes nothing returns nothing
endfunction
function hke_zZ7 takes nothing returns nothing
endfunction
function hke_z07 takes nothing returns nothing
endfunction
function hke_z17 takes nothing returns nothing
endfunction
function hke_z37 takes nothing returns nothing
endfunction
function hke_z47 takes nothing returns nothing
endfunction
function hke_z57 takes nothing returns nothing
endfunction
function hke_z67 takes nothing returns nothing
endfunction
function hke_z87 takes nothing returns nothing
endfunction
function hke_z97 takes nothing returns nothing
endfunction
function hke_Z08 takes nothing returns nothing
endfunction
function hke_Z18 takes nothing returns nothing
endfunction
function hke_Z28 takes nothing returns nothing
endfunction
function hke_Z38 takes nothing returns nothing
endfunction
function hke_Z58 takes nothing returns nothing
endfunction
function hke_Z78 takes nothing returns nothing
endfunction
function hke_Z98 takes nothing returns nothing
endfunction
function hke_zZ8 takes nothing returns nothing
endfunction
function hke_zz8 takes nothing returns nothing
endfunction
function hke_z18 takes nothing returns nothing
endfunction
function hke_z28 takes nothing returns nothing
endfunction
function hke_z88 takes nothing returns nothing
endfunction
function hke_z98 takes nothing returns nothing
endfunction
function hke_ZZzZ takes nothing returns nothing
endfunction
function hke_ZZ1Z takes nothing returns nothing
endfunction
function hke_ZZ3Z takes nothing returns nothing
endfunction
function hke_ZZ4Z takes nothing returns nothing
endfunction
function hke_ZZ5Z takes nothing returns nothing
endfunction
function hke_ZZ7Z takes nothing returns nothing
endfunction
function hke_ZZ8Z takes nothing returns nothing
endfunction
function hke_ZZ9Z takes nothing returns nothing
endfunction
function hke_ZzZZ takes nothing returns nothing
endfunction
function hke_ZzzZ takes nothing returns nothing
endfunction
function hke_Zz0Z takes nothing returns nothing
endfunction
function hke_Zz1Z takes nothing returns nothing
endfunction
function hke_Zz2Z takes nothing returns nothing
endfunction
function hke_Zz3Z takes nothing returns nothing
endfunction
function hke_Zz7Z takes nothing returns nothing
endfunction
function hke_Zz8Z takes nothing returns nothing
endfunction
function hke_Zz9Z takes nothing returns nothing
endfunction
function hke_Z0ZZ takes nothing returns nothing
endfunction
function hke_Z05Z takes nothing returns nothing
endfunction
function hke_Z09Z takes nothing returns nothing
endfunction
function hke_Z1ZZ takes nothing returns nothing
endfunction
function hke_Z1zZ takes nothing returns nothing
endfunction
function hke_Z12Z takes nothing returns nothing
endfunction
function hke_Z13Z takes nothing returns nothing
endfunction
function hke_Z15Z takes nothing returns nothing
endfunction
function hke_Z16Z takes nothing returns nothing
endfunction
function hke_Z2ZZ takes nothing returns nothing
endfunction
function hke_Z20Z takes nothing returns nothing
endfunction
function hke_Z21Z takes nothing returns nothing
endfunction
function hke_Z22Z takes nothing returns nothing
endfunction
function hke_Z23Z takes nothing returns nothing
endfunction
function hke_Z24Z takes nothing returns nothing
endfunction
function hke_Z25Z takes nothing returns nothing
endfunction
function hke_Z26Z takes nothing returns nothing
endfunction
function hke_Z27Z takes nothing returns nothing
endfunction
function hke_Z28Z takes nothing returns nothing
endfunction
function hke_Z29Z takes nothing returns nothing
endfunction
function hke_Z3ZZ takes nothing returns nothing
endfunction
function hke_Z3zZ takes nothing returns nothing
endfunction
function hke_Z30Z takes nothing returns nothing
endfunction
function hke_Z31Z takes nothing returns nothing
endfunction
function hke_Z32Z takes nothing returns nothing
endfunction
function hke_Z33Z takes nothing returns nothing
endfunction
function hke_Z34Z takes nothing returns nothing
endfunction
function hke_Z35Z takes nothing returns nothing
endfunction
function hke_Z36Z takes nothing returns nothing
endfunction
function hke_Z4zZ takes nothing returns nothing
endfunction
function hke_Z40Z takes nothing returns nothing
endfunction
function hke_Z42Z takes nothing returns nothing
endfunction
function hke_Z44Z takes nothing returns nothing
endfunction
function hke_Z45Z takes nothing returns nothing
endfunction
function hke_Z46Z takes nothing returns nothing
endfunction
function hke_Z47Z takes nothing returns nothing
endfunction
function hke_Z48Z takes nothing returns nothing
endfunction
function hke_Z49Z takes nothing returns nothing
endfunction
function hke_Z5ZZ takes nothing returns nothing
endfunction
function hke_Z50Z takes nothing returns nothing
endfunction
function hke_Z51Z takes nothing returns nothing
endfunction
function hke_Z52Z takes nothing returns nothing
endfunction
function hke_Z53Z takes nothing returns nothing
endfunction
function hke_Z54Z takes nothing returns nothing
endfunction
function hke_Z55Z takes nothing returns nothing
endfunction
function hke_Z56Z takes nothing returns nothing
endfunction
function hke_Z57Z takes nothing returns nothing
endfunction
function hke_Z58Z takes nothing returns nothing
endfunction
function hke_Z59Z takes nothing returns nothing
endfunction
function hke_Z6ZZ takes nothing returns nothing
endfunction
function hke_Z6zZ takes nothing returns nothing
endfunction
function hke_Z60Z takes nothing returns nothing
endfunction
function hke_Z61Z takes nothing returns nothing
endfunction
function hke_Z62Z takes nothing returns nothing
endfunction
function hke_Z64Z takes nothing returns nothing
endfunction
function hke_Z66Z takes nothing returns nothing
endfunction
function hke_Z67Z takes nothing returns nothing
endfunction
function hke_Z68Z takes nothing returns nothing
endfunction
function hke_Z69Z takes nothing returns nothing
endfunction
function hke_Z7ZZ takes nothing returns nothing
endfunction
function hke_Z7zZ takes nothing returns nothing
endfunction
function hke_Z70Z takes nothing returns nothing
endfunction
function hke_Z71Z takes nothing returns nothing
endfunction
function hke_Z72Z takes nothing returns nothing
endfunction
function hke_Z73Z takes nothing returns nothing
endfunction
function hke_Z74Z takes nothing returns nothing
endfunction
function hke_Z75Z takes nothing returns nothing
endfunction
function hke_Z76Z takes nothing returns nothing
endfunction
function hke_Z77Z takes nothing returns nothing
endfunction
function hke_Z78Z takes nothing returns nothing
endfunction
function hke_Z79Z takes nothing returns nothing
endfunction
function hke_Z8zZ takes nothing returns nothing
endfunction
function hke_Z80Z takes nothing returns nothing
endfunction
function hke_Z81Z takes nothing returns nothing
endfunction
function hke_Z82Z takes nothing returns nothing
endfunction
function hke_Z83Z takes nothing returns nothing
endfunction
function hke_Z84Z takes nothing returns nothing
endfunction
function hke_Z85Z takes nothing returns nothing
endfunction
function hke_Z86Z takes nothing returns nothing
endfunction
function hke_Z87Z takes nothing returns nothing
endfunction
function hke_Z88Z takes nothing returns nothing
endfunction
function hke_Z89Z takes nothing returns nothing
endfunction
function hke_Z9ZZ takes nothing returns nothing
endfunction
function hke_Z9zZ takes nothing returns nothing
endfunction
function hke_Z90Z takes nothing returns nothing
endfunction
function hke_Z91Z takes nothing returns nothing
endfunction
function hke_Z92Z takes nothing returns nothing
endfunction
function hke_Z93Z takes nothing returns nothing
endfunction
function hke_Z94Z takes nothing returns nothing
endfunction
function hke_Z95Z takes nothing returns nothing
endfunction
function hke_Z96Z takes nothing returns nothing
endfunction
function hke_Z97Z takes nothing returns nothing
endfunction
function hke_Z98Z takes nothing returns nothing
endfunction
function hke_Z99Z takes nothing returns nothing
endfunction
function hke_zZZZ takes nothing returns nothing
endfunction
function hke_zZzZ takes nothing returns nothing
endfunction
function hke_zZ0Z takes nothing returns nothing
endfunction
function hke_zZ1Z takes nothing returns nothing
endfunction
function hke_zZ2Z takes nothing returns nothing
endfunction
function hke_zZ3Z takes nothing returns nothing
endfunction
function hke_zZ4Z takes nothing returns nothing
endfunction
function hke_zZ5Z takes nothing returns nothing
endfunction
function hke_zZ6Z takes nothing returns nothing
endfunction
function hke_zZ7Z takes nothing returns nothing
endfunction
function hke_zZ8Z takes nothing returns nothing
endfunction
function hke_zZ9Z takes nothing returns nothing
endfunction
function hke_zzZZ takes nothing returns nothing
endfunction
function hke_zzzZ takes nothing returns nothing
endfunction
function hke_zz0Z takes nothing returns nothing
endfunction
function hke_zz1Z takes nothing returns nothing
endfunction
function hke_zz2Z takes nothing returns nothing
endfunction
function hke_zz3Z takes nothing returns nothing
endfunction
function hke_zz4Z takes nothing returns nothing
endfunction
function hke_zz5Z takes nothing returns nothing
endfunction
function hke_zz6Z takes nothing returns nothing
endfunction
function hke_zz7Z takes nothing returns nothing
endfunction
function hke_zz8Z takes nothing returns nothing
endfunction
function hke_zz9Z takes nothing returns nothing
endfunction
function hke_z0ZZ takes nothing returns nothing
endfunction
function hke_z0zZ takes nothing returns nothing
endfunction
function hke_z00Z takes nothing returns nothing
endfunction
function hke_z01Z takes nothing returns nothing
endfunction
function hke_z02Z takes nothing returns nothing
endfunction
function hke_z03Z takes nothing returns nothing
endfunction
function hke_z04Z takes nothing returns nothing
endfunction
function hke_z05Z takes nothing returns nothing
endfunction
function hke_z06Z takes nothing returns nothing
endfunction
function hke_z07Z takes nothing returns nothing
endfunction
function hke_z08Z takes nothing returns nothing
endfunction
function hke_z09Z takes nothing returns nothing
endfunction
回复

使用道具 举报

发表于 2012-2-29 12:43:13 | 显示全部楼层
可能这是最笨的方法了......
回复

使用道具 举报

 楼主| 发表于 2012-2-29 16:16:45 | 显示全部楼层

回 夜の星 的帖子

夜の星:建议验证handleid的说~
[jass]
function A takes nothing returns nothing
    local location loc=Location(0,0)
    if (GetHandleId(loc)!=xxxx) then
....... (2012-02-28 20:37) 
3Q,对于那些真真要改JASS的无能为力,防下一般的小白就好了
回复

使用道具 举报

发表于 2012-3-1 06:17:42 | 显示全部楼层
触发器个数无法检测,但是你可以使用 反HKE.txt (1 KB, 下载次数: 49)
回复

使用道具 举报

发表于 2012-3-3 09:53:30 | 显示全部楼层
额……个数可以用手动的办法检测,用整数地址

点评

不错不错这样就绝对反HKE了 哈哈 谢谢提醒  详情 回复 发表于 2013-3-26 16:09
请问怎么用用整数地址来检测触发个数呢??触发的整数地址计算方法是什么呢??  详情 回复 发表于 2013-3-26 15:49
回复

使用道具 举报

发表于 2012-3-13 06:33:52 | 显示全部楼层

回 kigami·ken 的帖子

kigami·ken:触发器个数无法检测,但是你可以使用 (2012-03-01 06:17)
!@@@!!!###@@@@
回复

使用道具 举报

发表于 2013-3-26 15:49:28 | 显示全部楼层
xu695622238 发表于 2012-3-3 09:53
额……个数可以用手动的办法检测,用整数地址

请问怎么用用整数地址来检测触发个数呢??触发的整数地址计算方法是什么呢??
回复

使用道具 举报

发表于 2013-3-26 16:09:55 | 显示全部楼层
xu695622238 发表于 2012-3-3 09:53
额……个数可以用手动的办法检测,用整数地址

不错不错这样就绝对反HKE了  哈哈  谢谢提醒
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 点一下

本版积分规则

Archiver|移动端|小黑屋|地精研究院

GMT+8, 2024-12-23 19:56 , Processed in 0.080251 second(s), 22 queries .

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表