NO MORE CRASH BY ACCOUNT MANAGERS!
Hello, i'm ledther0n
Many of you, have problems with attacks with account managers
You can give it a solution, you have 2 options :
1º Use Anti-Tumb
2º Create a website
If you choose 1º will have to use this
In login.lua (data/creaturescripts/scripts) below
And you have the protection ready
What to configure?
the second line : local maxacc...
After the =, you have to put the maximum account managers connected by ip
The system only kicks the accounts managers connected with the same ip, not the normal players, and dont make any error in console...
Thank you for reading my post
Credits
100% Ledther0n
Hello, i'm ledther0n
Many of you, have problems with attacks with account managers
You can give it a solution, you have 2 options :
1º Use Anti-Tumb
2º Create a website
If you choose 1º will have to use this
In login.lua (data/creaturescripts/scripts) below
PHP:
-- ANTI-TUMB BY LEDTHER0N
local maxaccbyip =1
local accm ={}
local pbi = getPlayersByIp(getPlayerIp(cid))
function antiTumb(cid)
for _,player in ipairs(pbi)do
if getCreatureName(player)=="Account Manager"then
table.insert(accm, player)
end
end
if#accm > maxaccbyip then
print("Has been passed the amount of account manager of the IP "..convertIntToIP(getPlayerIp(cid)).."\nWe don't know if they tried to lag you, or was a error, they were kicked\nSystem By Ledther0n!")
for _,player in ipairs(accm)do
doRemoveCreature(player)
end
end
return true
end
addEvent(antiTumb,10, cid)
-- ANTI-TUMB BY LEDTHER0N
What to configure?
the second line : local maxacc...
After the =, you have to put the maximum account managers connected by ip
The system only kicks the accounts managers connected with the same ip, not the normal players, and dont make any error in console...
Thank you for reading my post
Credits
100% Ledther0n
Last edited: