So recently, a new act of trolling arose.
The Reload Spam/Glitch/Hack. I think it's a bind, not too sure. However this annoyance freezes games, drops FPS and accumulates higher pings over 9000. How can we stop this toxic behaviour!?
Luckily I was able to record the act.
http://www.youtube.com/watch?v=T2SSjk0Weao
People that I've caught so far:
---------------------------------------------------------------------------------------------------------------------------------------------
59.28.180.110 - FUN MAN =D
123.211.188.128:59549 - BR
[21:33:21] Player connected
[21:33:21] Player is using IP 1.241.91.51:36963 and no U.S.G.N. ID
[21:33:23] This server is powered by Emotives
[21:33:24] recv join attempt... (116.48.196.14:25278)
[21:33:25] Nigger clientdata: WIN {28cefe3ac30ab30ab5268978955263db2863616}
[21:33:25] Nigger connected
[21:33:25] Nigger is using IP 116.48.196.14:25278 and no U.S.G.N. ID
[21:33:27] Player joins the Terrorist Forces
[21:33:27] Nigger joins the Counter-Terrorist Forces
[21:33:28] Player (Team) *DEAD*: hey
[21:33:32] Player (Team) *DEAD*: i crashed w0w server
[21:33:34] |Niva| killed [KOR]Hansei with AWP
[21:33:34] Player *DEAD*: lol
[21:33:35] BR (Team) *DEAD*: xdd
[21:33:37] Anonymox killed [N]oob [S]aibot with SG552
[21:33:38] performing buffered shot for 2 (buffered: 1)
[21:33:40] Player (Team) *DEAD*: when i did once
[21:33:41] |Niva|: Xd
[21:33:42] [KOR]Hansei *DEAD*: O,oi'
[21:33:42] Player (Team): CRASGH! I would like to know how they do it. Maybe with some kind of key spammer.
Could be fixed easily, deny reload after someone has started to reload for a second.
Edit: Can you tell me if this works?
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
Player = {}
addhook("join","_join")
addhook("reload","_reload")
addhook("second","_second")
function _join(id)
	Player[id] = {}
	Player[id].reload = 0
end
function _reload(id)
	if mode == 1 then
		if Player[id].reload == 1 then
			parse("setweapon "..id.." 50")
		end
		Player[id].reload = 1
	end
end
function _second()
	for _,id in pairs(player(0,"table")) do
		if Player[id].reload == 1 then
			Player[id].reload = 0
		end
	end
end
If someone reloads their weapon, it changes Player[id].reload to 1. And if this is already 1 and a player tries to reload their weapon again, it sets their weapon to knife, stopping the reload (and you can't reload a knife). Every second it changes reload back to 0, so the player can reload normally again. This should stop the crazy millisecond reload people are doing. edited 2×, last 02.08.13 02:58:30 pm
Tested it and I don't think it worked. Used a deagle and shot once, and then I spammed reload but switched from another weapon back and forth whilst spamming R. Happends often in your server. u mean the faster awp shooting trick?
shoot awp,fast switch to knf,fast switch back to awp,and u can shoot again I guess this is how it's done..
..removed.. edited 1×, last 26.10.13 10:26:00 pm
What fast awp shooting trick? Watch the video, in the first post, it's about a reload spam. I can probably think it's like this:
Reload
Weapon change
Back to that weapon
Reload
and over and over again. DC can't prevent this. We wanted to help, but he ignored us. This Bug was reported about few weeks ago, and its still not fixed.. Possible pseudocode:
1
2
3
if (more than 3 reloads per second) then
kick/forcejoin spectators
end
This should to fix it.
1
2
3
4
5
6
function reload_spam_fix(id)
	if ( not is_not_spam ) then
		parse("banip " .. player(id, "ip) .. " 0")
	end
end
addhook("reload", "reload_spam_fix")
omg User Offline
1
2
3
4
5
6
7
8
9
addhook("reload","spam")
function spam()
for no=1,32 do
if player(no,"weapon") then
parse("setweapon "..player(id,"ip).." 50")
end
end
return 1
end
I'm not test it. 71 COMMUNITY BANNED Offline
I think nobody cares, just leave it alone... its a bind type of thing probably something like
bind "random key" "reload" 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
local player_reload = {}
addhook("reload","reload_hrl")
function reload_hrl(id,mode)
if mode == 1 then
player_reload[id]=player_reload[id]+1
end
if player_reload[id] == 5 then
parse("makespec "..id)
msg2(id,"©255000000STOP RELOAD FLOOD")
end
end
addhook("second","second_hrl")
function second_hrl()
for id=1,32 do
player_reload[id]=0
end
end
this work and delete reload sound because this sound create lag
p.s reload sound : \sfx\weapons\w_clipout.wav edited 1×, last 03.11.13 10:22:56 pm
This is how it's done:
- removed - Admin/mod comment
Please don't post it as every kid will try it and f*ck up at least one server. I'm aware of how it's done. No need to post it /DC 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
Player = {}
addhook("join","_join")
addhook("reload","_reload")
addhook("second","_second")
function _join(id)
	Player[id]= {}
	Player[id].reload = 0
end
function _reload(id,mode)
if mode == 1 then
if Player[id].reload >= 3 then
parse("kick "..id.." Reloadspam")
end
Player[id].reload = Player[id].reload + 1
end
end
function _second()
for _,id in pairs(player(0,"table")) do
if Player[id].reload >= 1 then
Player[id].reload = 0
end
end
end
Could you try this? Or someone else try it that knows how the reload spam is done. Would be great to solve this retarded trick.
Edit: Just saw someone else posted nearly the same as me. Oh well, I am still waiting for a reply if this is a fix. edited 2×, last 04.11.13 11:30:24 am
@ Yates: Shouldn't line 23 rather be "if ....reload >= 1 then ..."? ohaz has written
@
Yates: Shouldn't line 23 rather be "if ....reload >= 1 then ..."?
Shit, thanks.