• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Magebombers - Crashing the server - tfs 0.2

Dalale

GX
Joined
Jun 13, 2008
Messages
718
Reaction score
2
Location
Sweden
Hello.
Dear people, As i can understand many other also got this problem.
My server daily have 200+ online. Everything is working fine without one thing. Magebombers. They are crashing they server by login in like 20 chars and spamming spells so the server crash.
So what im searching is that if somone could make a system so you wont be able to bomb...


So lets make a system so you cant crash.
In 0.3 you got somth thats working so you cant spam spells.
But i would be happy if somone could fix it for 0.2 ..

Also if somone that's retard thats reply this thread like saying this " Change to 0.3 " Im not going to do it since 0.2 is more stable.

I hope somone can help me.
Chiao!~
/dalale
 
Last edited:
use anti magebomb system maybe that will work i had it for like 1 week ago on holy-roxor.hopto.org but i got hacked and did also change comp then maybe still is on the forum
 
Where can i find it? I need it for 0.2 as i said.
I tried a script but it didnt work..

Here is the script, Its creaturescript that i named login2

Code:
local config = {
        seconds = 2,		-- in seconds
        onlyWithSameIP = TRUE	-- will work for all players (FALSE), or only check player with same IP? (TRUE)
}

local m_lastLogin, m_lastIP = 0, 0

function onLogin(cid)
        local timeNow, playerIP = os.time(), getIPByPlayerName(getPlayerName(cid))
        if(m_lastLogin + config.seconds >= timeNow and
                (config.onlyWithSameIP == FALSE or m_lastIP == playerIP)) then
                return FALSE
        end

        m_lastIP = playerIP
        m_lastLogin = timeNow
        return TRUE
end

Code:
	<event type="login" name="PlayerLogin" event="script" value="login2.lua"/>
 
:eek: Didn't think 0.2 has this problem too... however, this script will not help you, at least, it did not help my 0.3.4, so I don't think you should configure it for 0.2
 
Back
Top