Hi people,

This is nothing to do with the server plugins but more to do with people
writing shabby client side utilities.  I am hoping by writing here,
those people will do something about them.

The problem exists in at least two "helpers" for buying weapons and
weapon selecting scripts;  RZEs utilities and the CPL script.

Basically, these tools instead of calling "slot1", "slot2",  "slot3",
etc. for weapons, they basically send a request for each weapon of a
type.  So for backup weapon (ie. pistols), the client - instead of
sending "slot2" sends the following;

L 01/23/2006 - 17:11:10: funky -> weapon_usp
L 01/23/2006 - 17:11:10: funky -> weapon_glock18
L 01/23/2006 - 17:11:10: funky -> weapon_deagle
L 01/23/2006 - 17:11:10: funky -> weapon_p228
L 01/23/2006 - 17:11:10: funky -> weapon_elite
L 01/23/2006 - 17:11:10: funky -> weapon_fiveseven

For the main weapon (ie. machine gun, etc), the client sends the following;

L 01/23/2006 - 17:11:11: funky -> weapon_m3
L 01/23/2006 - 17:11:11: funky -> weapon_xm1014
L 01/23/2006 - 17:11:11: funky -> weapon_mp5navy
L 01/23/2006 - 17:11:11: funky -> weapon_tmp
L 01/23/2006 - 17:11:11: funky -> weapon_p90
L 01/23/2006 - 17:11:11: funky -> weapon_mac10
L 01/23/2006 - 17:11:11: funky -> weapon_ump45
L 01/23/2006 - 17:11:11: funky -> weapon_ak47
L 01/23/2006 - 17:11:11: funky -> weapon_sg552
L 01/23/2006 - 17:11:11: funky -> weapon_m4a1
L 01/23/2006 - 17:11:11: funky -> weapon_aug
L 01/23/2006 - 17:11:11: funky -> weapon_famas
L 01/23/2006 - 17:11:11: funky -> weapon_galil
L 01/23/2006 - 17:11:11: funky -> weapon_scout
L 01/23/2006 - 17:11:11: funky -> weapon_awp
L 01/23/2006 - 17:11:11: funky -> weapon_g3sg1
L 01/23/2006 - 17:11:11: funky -> weapon_sg550
L 01/23/2006 - 17:11:11: funky -> weapon_m249

This is extremely wasteful of server CPU cycles and network bandwidth.
Based on a small sample, when I first spotted this, one player sent 640
commands compared to 1650 for the other 7 players in the same time period.

Here is a more extended example from my logs:

L 01/23/2006 - 17:11:10: funky -> lastinv
L 01/23/2006 - 17:11:10: funky -> weapon_knife
L 01/23/2006 - 17:11:10: funky -> weapon_knife
L 01/23/2006 - 17:11:11: MONKEY -> lastinv
L 01/23/2006 - 17:11:11: funky -> weapon_m3
L 01/23/2006 - 17:11:11: funky -> weapon_xm1014
L 01/23/2006 - 17:11:11: funky -> weapon_mp5navy
L 01/23/2006 - 17:11:11: funky -> weapon_tmp
L 01/23/2006 - 17:11:11: funky -> weapon_p90
L 01/23/2006 - 17:11:11: funky -> weapon_mac10
L 01/23/2006 - 17:11:11: funky -> weapon_ump45
L 01/23/2006 - 17:11:11: funky -> weapon_ak47
L 01/23/2006 - 17:11:11: funky -> weapon_sg552
L 01/23/2006 - 17:11:11: funky -> weapon_m4a1
L 01/23/2006 - 17:11:11: funky -> weapon_aug
L 01/23/2006 - 17:11:11: funky -> weapon_famas
L 01/23/2006 - 17:11:11: funky -> weapon_galil
L 01/23/2006 - 17:11:11: funky -> weapon_scout
L 01/23/2006 - 17:11:11: funky -> weapon_awp
L 01/23/2006 - 17:11:11: funky -> weapon_g3sg1
L 01/23/2006 - 17:11:11: funky -> weapon_sg550
L 01/23/2006 - 17:11:11: funky -> weapon_m249
L 01/23/2006 - 17:11:11: funky -> weapon_knife
L 01/23/2006 - 17:11:11: funky -> lastinv
L 01/23/2006 - 17:11:12: MONKEY -> weapon_hegrenade
L 01/23/2006 - 17:11:13: Duffy -> lastinv
L 01/23/2006 - 17:11:13:
"GM*SmOkEy^{J}^<260><STEAM_0:1:6898470><TERRORIST>" triggered
"Planted_The_Bomb"
L 01/23/2006 - 17:11:14: Duffy -> lastinv
L 01/23/2006 - 17:11:15: GM*SmOkEy^{J}^ -> lastinv
L 01/23/2006 - 17:11:15: GM*SmOkEy^{J}^ -> lastinv
L 01/23/2006 - 17:11:16: GM*SmOkEy^{J}^ -> lastinv
L 01/23/2006 - 17:11:16: DEBUG: _run_timed_command: player_check (id: 8590)
L 01/23/2006 - 17:11:16: DEBUG: run_delayed: player_check (id: 8591, 10
secs)
L 01/23/2006 - 17:11:16: MONKEY -> lastinv
L 01/23/2006 - 17:11:16: GM*SmOkEy^{J}^ -> lastinv
L 01/23/2006 - 17:11:17: GM*SmOkEy^{J}^ -> lastinv
L 01/23/2006 - 17:11:17: GM*SmOkEy^{J}^ -> lastinv
L 01/23/2006 - 17:11:19: GM*SmOkEy^{J}^ -> weapon_knife
L 01/23/2006 - 17:11:19: funky -> weapon_smokegrenade
L 01/23/2006 - 17:11:19: funky -> weapon_flashbang
L 01/23/2006 - 17:11:19: funky -> weapon_hegrenade
L 01/23/2006 - 17:11:19: GM*SmOkEy^{J}^ -> lastinv
L 01/23/2006 - 17:11:19: GM*SmOkEy^{J}^ -> lastinv
L 01/23/2006 - 17:11:19: funky -> weapon_smokegrenade
L 01/23/2006 - 17:11:19: funky -> weapon_hegrenade
L 01/23/2006 - 17:11:19: funky -> weapon_flashbang
L 01/23/2006 - 17:11:20: GM*SmOkEy^{J}^ -> lastinv
L 01/23/2006 - 17:11:21: GM*SmOkEy^{J}^ -> lastinv
L 01/23/2006 - 17:11:21: GM*SmOkEy^{J}^ -> lastinv
L 01/23/2006 - 17:11:21: funky -> weapon_knife
L 01/23/2006 - 17:11:21: funky -> weapon_knife
L 01/23/2006 - 17:11:21: funky -> weapon_usp
L 01/23/2006 - 17:11:21: funky -> weapon_glock18
L 01/23/2006 - 17:11:21: funky -> weapon_deagle
L 01/23/2006 - 17:11:21: funky -> weapon_p228
L 01/23/2006 - 17:11:21: funky -> weapon_elite
L 01/23/2006 - 17:11:21: funky -> weapon_fiveseven
L 01/23/2006 - 17:11:21: funky -> weapon_knife
L 01/23/2006 - 17:11:21: funky -> lastinv
L 01/23/2006 - 17:11:22: funky -> weapon_usp
L 01/23/2006 - 17:11:22: funky -> weapon_glock18
L 01/23/2006 - 17:11:22: funky -> weapon_deagle
L 01/23/2006 - 17:11:22: funky -> weapon_p228
L 01/23/2006 - 17:11:22: funky -> weapon_elite
L 01/23/2006 - 17:11:22: funky -> weapon_fiveseven
L 01/23/2006 - 17:11:22: funky -> weapon_knife
L 01/23/2006 - 17:11:22: funky -> lastinv
L 01/23/2006 - 17:11:24: funky -> weapon_m3
L 01/23/2006 - 17:11:24: funky -> weapon_xm1014
L 01/23/2006 - 17:11:24: funky -> weapon_mp5navy
L 01/23/2006 - 17:11:24: funky -> weapon_tmp
L 01/23/2006 - 17:11:24: funky -> weapon_p90
L 01/23/2006 - 17:11:24: funky -> weapon_mac10
L 01/23/2006 - 17:11:24: funky -> weapon_ump45
L 01/23/2006 - 17:11:24: funky -> weapon_ak47
L 01/23/2006 - 17:11:24: funky -> weapon_sg552
L 01/23/2006 - 17:11:24: funky -> weapon_m4a1
L 01/23/2006 - 17:11:24: funky -> weapon_aug
L 01/23/2006 - 17:11:24: funky -> weapon_famas
L 01/23/2006 - 17:11:24: funky -> weapon_galil
L 01/23/2006 - 17:11:24: funky -> weapon_scout
L 01/23/2006 - 17:11:24: funky -> weapon_awp
L 01/23/2006 - 17:11:24: funky -> weapon_g3sg1
L 01/23/2006 - 17:11:24: funky -> weapon_sg550
L 01/23/2006 - 17:11:24: funky -> weapon_m249
L 01/23/2006 - 17:11:24: funky -> weapon_knife
L 01/23/2006 - 17:11:24: funky -> lastinv
L 01/23/2006 - 17:11:25: Jaffa -> weapon_knife
L 01/23/2006 - 17:11:25: MONKEY -> lastinv


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to