Версия 1.01
Что ловит:
-Практически все мапхаки
-Хак на мини карту
-Хак на иллюзии
-Хак на итемы
-Хак на показ денег у врагов
-Хак на показ скилов и кд у врагов
-Хак обход -ah
-Практически все мапхаки
-Хак на мини карту
-Хак на иллюзии
-Хак на итемы
-Хак на показ денег у врагов
-Хак на показ скилов и кд у врагов
-Хак обход -ah
Поддержка версий
-1.26
-1.27 - в плане. (пока не слишком много хаков создали)
-1.26
-1.27 - в плане. (пока не слишком много хаков создали)
Наработка использует библиотеку ReturnBug с возможностью чтения памяти.
library AntiMapHack initializer Init requires Utils
globals
private integer array MemoryAddress
private integer array MemoryValue
private integer indexhack = 0
private constant integer Maxintdex = 25
private constant real time = 5
endglobals
private function AntiHack takes nothing returns nothing
if indexhack > Maxintdex then
set indexhack = 0
endif
if Version == 5205600 then
if Memory[ GameBase+ (MemoryAddress[indexhack]/4) ] != MemoryValue[indexhack] then
//local for player
call DisplayTextToPlayer(GetLocalPlayer(),0,0,"Hack: " + I2S(indexhack) )
call CreateUnit(GetLocalPlayer(),'hfoo',0,0,0) //dys
endif
endif
set indexhack = indexhack + 1
endfunction
function Init takes nothing returns nothing
set MemoryAddress[0] = 0x3A159B
set MemoryAddress[1] = 0x2851B0
set MemoryAddress[2] = 0x3999F9
set MemoryAddress[3] = 0x3A14BC
set MemoryAddress[4] = 0x282A50
set MemoryAddress[5] = 0x34F2A6
set MemoryAddress[6] = 0x34F2E6
set MemoryAddress[7] = 0x28E1DC
set MemoryAddress[8] = 0x2026DA
set MemoryAddress[9] = 0x3C639C
set MemoryAddress[10] = 0x3CB872
set MemoryAddress[11] = 0x43EE96
set MemoryAddress[12] = 0x43EEA9
set MemoryAddress[13] = 0x34DDA2
set MemoryAddress[14] = 0x34DDAA
set MemoryAddress[15] = 0x35FA4A
set MemoryAddress[16] = 0x04B7D3
set MemoryAddress[17] = 0x1AE1E1
set MemoryAddress[18] = 0x171DAE
set MemoryAddress[19] = 0x047DBF
set MemoryAddress[20] = 0x38B602
set MemoryAddress[21] = 0x399A98 // BlackWolf Reveal Illusion
set MemoryAddress[22] = 0x36143C // BlackWolf ShowUnit On MiniMap
set MemoryAddress[23] = 0x3A1564 // BlackWolf ShowUnit on MainMap
set MemoryAddress[24] = 0x282a5C // Reveal Illusion
set MemoryAddress[25] = 0x3A14F0 // ShowRunes
set MemoryValue[0] = 600880911
set MemoryValue[1] = 695582853
set MemoryValue[2] = -1982323968
set MemoryValue[3] = 846580259
set MemoryValue[4] = -621293533
set MemoryValue[5] = -1064960013
set MemoryValue[6] = -1064960013
set MemoryValue[7] = 829800581
set MemoryValue[8] = -1065025510
set MemoryValue[9] = 65341
set MemoryValue[10] = 192151560
set MemoryValue[11] = -1065025533
set MemoryValue[12] = 264275200
set MemoryValue[13] = -2020931468
set MemoryValue[14] = -2020931861
set MemoryValue[15] = 149624868
set MemoryValue[16] = 1958774016
set MemoryValue[17] = -653167379
set MemoryValue[18] = 393527429
set MemoryValue[19] = 1958774016
set MemoryValue[20] = -935605965
set MemoryValue[21] = 1815684980
set MemoryValue[22] = 1
set MemoryValue[23] = 1715539083
set MemoryValue[24] = -858993469
set MemoryValue[25] = 1149962731
call TimerStart(CreateTimer(),time/Maxintdex,true,function AntiHack)
endfunction
endlibrary
Устоновка:
2.2 Снять галку Disable Script Optimizator
2.3 Отключить cJass оптимизатор (или полностью отключить его)
- Скопировать весь код себе в карту (всего получится 7 либ)
- Настроить JNGP
2.2 Снять галку Disable Script Optimizator
2.3 Отключить cJass оптимизатор (или полностью отключить его)
Скачать:
Ред. nvc123
описание ресурса прочти внимательнее
Ред. okfinch
local for player
call DisplayTextToPlayer(GetLocalPlayer(),0,0,"Hack: " + I2S(indexhack) ) -------> Only hack player will see this msg.
call CreateUnit(GetLocalPlayer(),'hfoo',0,0,0) dys -------> if use this... will kickout some player. (work on host player only)
call DisplayTimedTextToForce( GetPlayersAll(), 15.00, "test" ) -------> Only hack player will see this msg too.
endif
Thank. :D
One other way is force black screen mask for 99999seconds, disable user controls, enable cinematic mode, if player keeping stacked and disconnected bnet, might he is a hacker.
The examples of protection against cheaters laid out on hiveworkshop do not suit you?
i try some data Sync like integer sync, real sync, but i can't use it work for me.
seem like DracoLich's memory API not good for unskilled like me.
add 2 line under hack detect function
call FogMaskEnableOff()
call FogEnableOff()
then, if open map like this on Anti-Hack system #2 will detect it then crash bad Player,
because this player seeing unit that can't be seen in normally (hackdummyUnit).
Ex."call SelectUnit(XXX,true)"
thank you, a test map will be the best,
Hanuman, скинь анти мап хак я не могла сделать
Ред. Жандос Мукатаев