Forum

> > CS2D > Servers > Spammer
Forums overviewCS2D overview Servers overviewLog in to reply

English Spammer

6 replies
To the start Previous 1 Next To the start

old Spammer

Infinite Rain
Reviewer Off Offline

Quote
guys I need help
on server "pacman - deathrun" always join spammer and start spamm whole chat that players cant see the way, when we try to votekick him he join again in two seconds and start spamming again, someone can help me what to do?

old Re: Spammer

Phe0
User Off Offline

Quote
That's question for Pacman leader (Kiffer?) via PM. On his specialforces server is antispam thingy anyway, ask him to implement that. I saw that, I was playing with you under a nick "Play3r" and I know that's not funny.

old Re: Spammer

Yates
Reviewer Off Offline

Quote
Lol. You make a thread about this?
Man. You can't ask him to stop or make an admin ban him.
If he is using a proxy or restarting router (Which actually takes longer than 2sec) then just keep on banning until he doesn't want to come.

old Re: Spammer

DC
Admin Off Offline

Quote
ask the server hoster to either

• enable usgn only
• and ban his usgn id(s)

or

• install a fancy anti spam Lua script

old Re: Spammer

Starkkz
Moderator Off Offline

Quote
Maybe this one:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
-- Wait Time for saying in seconds
Wait_Time = 1
Say_Timer = {}

addhook("second","onSec")
function onSec()
	for i = 1, 32 do
		-- For each player
		if Say_Timer[i] then
			if Say_Timer[i] > 0 then
				-- Rest time to the say timer
				Say_Timer[i] = Say_Timer[i] - 1
			end
		else
			Say_Timer[i] = 0
		end
	end
end

addhook("say","onSay")
function onSay(id,txt)
	if not Say_Timer[i] then Say_Timer[i] = 0 end -- You didn't say anything before
	if Say_Timer[i] == 0 then
		Say_Timer[i] = Wait_Time
		return 0 -- Now you can say, you waited
	end
	return 1 -- Do not say, you didn't wait the seconds
end

It should work.
To the start Previous 1 Next To the start
Log in to reply Servers overviewCS2D overviewForums overview