Bom galera alguns amigos meus que tem ot estão sofrendo constantes atakes nuker então resolvi posta um anti mc que pode ajudar muito eu mesmo recomendo..se ja tiver talvez não ta organizado como esse
Crie um arquivo chamado antimc.lua na pasta creaturescripts/scripts e insira o SCRIPT
--[[
Anti Multi-Client System
Modify but preserve credits
Developed by Notorious
]]--
local config = {
msg = "Notorious Anti-MC System has detected that you are multi clienting.",
maxMultiClients = 0,
allowGroupId = 2,
ignoreIps = {}
}
function onLogin(cid)
if getPlayerGroupId(cid) >= config.allowGroupId then
return TRUE
end
local number
local playersOnline = getPlayersOnline()
for _, pid in pairs(playersOnline) do
local pip = getPlayerIp(pid)
if cid ~= pid and getPlayerIp(cid) == pip and not isInArray(config.ignoreIps, doConvertIntegerToIp(getPlayerIp(cid))) then
number = (number or 0) + 1
if number > config.maxMultiClients then
return FALSE, doPlayerPopupFYI(cid, config.msg)
end
end
end
return TRUE
end
Em seguida modifique o arquivo creaturescripts.xml e adicione a tag:
<event type="login" name="AntiMc" event="script" value="antimc.lua"/>
Video :
http://www.youtube.com/watch?v=o-drZQ4apt8&feature=youtu.be
Pronto tem video e tal pra mostra a area correta onde voce deve colocar .. o script
COMENTEM!