TagCounter-Strike

Disabling Mouse Acceleration in Ubuntu

I’ve been quite accustomed to disabling mouse acceleration on my Windows machine (thanks to playing massive amounts of Counter-Strike back in the day), but now that I’ve started to use Linux a bit more, I’ve found that disabling mouse acceleration was not as easy as in Windows.

Script

I’ve managed to produce a script to disable mouse acceleration (works for me on Ubuntu 14.04).  However, this script needs to be run every time the computer boots because the settings don’t stay.  Here is the script:

#wait for the desktop to settle
sleep 5

#gets the hardware id's of all mice plugged into the system
hardwareIds=$(xinput | grep -i mouse | awk '{print substr($(NF-3),4)}')

#turn off mouse acceleration
for i in $hardwareIds
do
xinput set-prop ${i} 'Device Accel Profile' -1
xinput set-prop ${i} 'Device Accel Velocity Scaling' 1
done

Explanation

The script works by extracting the hardware id’s of the mice that are connected to the system and then applying properties to them that disable mouse acceleration for that device.  The extraction of the mouse hardware id’s are done with this:

#gets the hardware id's of all mice plugged into the system
hardwareIds=$(xinput | grep -i mouse | awk '{print substr($(NF-3),4)}')

Calling xinput in the Terminal will list all the connected input devices, which is grepped (case insensitively) for the word “mouse”, which gives something like this on my machine:

⎜ ↳ Logitech G500s Laser Gaming Mouse id=14 [slave pointer (2)]
⎜ ↳ Logitech G500s Laser Gaming Mouse id=15 [slave pointer (2)]

The call to awk extracts the hardware id from those two lines (14, 15 in the above case) and stores them in an array that is iterated through when setting the mouse properties.

Reference

This is the website that showed me how to disable mouse acceleration to begin with: http://ubuntuforums.org/showthread.php?t=1734400

Counter-Strike Nostalgia

Every now and then, I feel nostalgic about this game…

image Boosting
Unrealistic, but it was definitely a useful tool for getting teammates to places that otherwise couldn’t be reached to surprise people
image Bhopping/Crouch Running
That satisfying kill from crouch hopping around the map and then hopping around a corner and slashing someone in the face.
image Lagging in a smoke grenade
Even turning the graphics to 16 bit didn’t help. But at least you could see through the smoke!
image Picking mid
I was always terrible at it. Could never pick off the guy running out of CT spawn.
image Shooting hostages
We all did this.
image Surfing
Flying in the air while the noobs died without understanding why.
image Stacking players
Just for teh lulz
image awp_map
There was always that one guy who decided to buy a a regular rifle and rush down the map.
image fy_iceworld
Most awesome run and gun map created for Counter-Strike
image Stacked player defense
It seriously works – well maybe not with 5 people…
image Defusing
Likes to blow up right before the defuse is finished. Then at times, we hear the satisfying click of a defused bomb.
image Cat with a scout?
I guess this was a LOLcat before they were called LOLcats
image Silent plant
Was always scared of defusing these…
image FPS
Everyone played at 100 fps, rate 25000, cl_cmdrate 101, cl_rate 25000, and ex_interp 0.01. Otherwise, the settings weren’t optimal.
image Knifing
Humiliation!
image Suicide bombing
With four other people, we once tried cooking a nade in our hand and running up to one player. As people died, they’d drop their nades hoping that we’d blow up the other guy. Didn’t work.
image Teamkilling with grenades
Was always super unexpected, but hilarious.
image Accidental teamkilling
I once got shot by my teammate when I ran through mid while he was picking it…noob mistake.
image That awkward moment
Happens to the best of us.
image Trolling with non-standard weapons
I once 1v5 clutch aced using a para…all in the name of trolling.
image Stacked running
Was always a nice surprise to those unsuspecting enemies.
image Eco rounds
Leads to camping and clutch wins.
image Camping
We’ve all done it. Campmeter = 100%.
image Driving
I’m sure everyone tried to drive a car to run over other people and then somehow die when another car intersected with their own. Somehow, the player would then fly up to the ceiling and fall to his death.
image One-click headshots
Probably the second most satisfying kill. Strafe out of a corner, click, win.
image Screenshot rounds
An annoying but necessary chore for league play. Had to be done before lo3.
image Hopping through the window
Anybody in league play had to know how to do this. Unfortunately for me, I sucked at it.
image Defusing the bomb through the floor on de_nuke
Classic Pubmasters game play. It works.
image Flashbangs
I team flashed for fun. Or other times, I’d be blind as a bat and get gang knifed.
image Riot shields
Use them when you can’t win. A nice and annoying weapon. There was once a bug on amx mod where if you were carrying a gun, you could spawn a riot shield for that player and the player would be able to use a gun and a riot shield at the same time. Very OP.
image Spam spots
I had those memorized at one point.

The Current State of Counter-Strike 1.6

At one point, Counter-Strike 1.6 was the most popular game on the Internet.  Released in 1999, it was one of the most popular games of its day, surpassing even the Battlefield series, Unreal Tournament 2003 and Quake 3.  It was the most popular Half-Life mod.  As game developers released the next generation of games, Counter-Strike began to lose popularity despite the massive gaming culture surrounding it.  The game had less and less casual players and more and more league players (CAL, CPL, CEVO, CEGL, WCG, OGL, etc.).  In 2004, Valve released Counter-Strike: Source, which introduced more casual players to the game, while the seasoned veterans still stayed with Counter-Strike 1.6 and they saw it as the better game.  Over time, new players of Counter-Strike: Source improved their game, while some CS1.6 veterans migrated over.  Many stopped playing simply due to the fact that they played this game for a long time and just lost interest.  A lot of professional teams such as Team3D, compLexity, SK Gaming, and others migrated over to source.  As more and more teams migrated over, the popularity of CS1.6 waned.  Do people still play Counter-Strike 1.6?

de_dust20014 de_dust20018

I felt a little bit of nostalgia toward the game, so I opened it up to play a little bit.  I played this game for about 8 years on and off (2001 to 2008 inclusive) and participated in a couple leagues such as CAL, CEVO, and CEGL. The last time I played, the community was still pretty strong – I could find a game pretty quickly and play.  Not anymore.

Public servers are almost extinct.  Most public servers that remain are Romanian.  Not that there is anything wrong with that, but there is no point in joining any of these games.  They are filled with bots.  I looked at the detailed game information and it shows 19 players that all “magically” joined the server at the same time and have been playing for some ridiculous amount of time.  Playing 306 hours of Counter-Strike and earning a score of 10000+ is not possible for a human.

CSServers

Out of curiosity, I joined one of these Romanian servers.  It turns out that these servers just redirect me to an actual server where people play.  The downside is that these servers are actually in Romania, which means I that pinged > 200 to the server.  A minute later I am kicked for going over their ping limit.  I still can’t play.  At least there still is a community for CS1.6.

Playing pubs seemed out of the option.  The next thing I looked at were pugs.  I looked at #findscrim and #findringer.  I remember people posting in these channels constantly to organize matches.  Not anymore.  The frequency of posts has definitely decreased dramatically.  It was hard enough for me to find a match on the west coast.  People living on the east coast and west coast both post in these channels and of course there would be more east coast games happening simply because more people lived there.  Now, with less people playing, it is even harder to find a match on the west coast.

Of course, it is normal for a game to reach a peak in popularity and then lose it over time, but I expected Counter-Strike to have a strong player base.  In comparison to other games similarly old, such as Day of Defeat (released in 2000) and Team Fortress Classic (released in 1999), they seemed to suffer a similar fate.  These games have been reduced to just servers that redirect people to different countries.  Why run these servers at all if people will lag on them anyway?  If a game is unpopular anymore, it would just have no servers at all.  Despite all of that, Counter-Strike was one of the most popular games ever made and it definitely left a mark for many gamers of this generation.

© 2019 Henry Poon's Blog

Theme by Anders NorénUp ↑