• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 10:51
CEST 16:51
KST 23:51
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
Classic Games #3: Rogue vs Serral at BlizzCon1[ASL20] Ro16 Preview Pt1: Ascent9Maestros of the Game: Week 1/Play-in Preview12[ASL20] Ro24 Preview Pt2: Take-Off7[ASL20] Ro24 Preview Pt1: Runway13
Community News
Weekly Cups (Sept 1-7): MaxPax rebounds & Clem saga continues22LiuLi Cup - September 2025 Tournaments3Weekly Cups (August 25-31): Clem's Last Straw?39Weekly Cups (Aug 18-24): herO dethrones MaxPax6Maestros of The Game—$20k event w/ live finals in Paris76
StarCraft 2
General
#1: Maru - Greatest Players of All Time Classic Games #3: Rogue vs Serral at BlizzCon Team Liquid Map Contest #21 - Presented by Monster Energy Weekly Cups (Sept 1-7): MaxPax rebounds & Clem saga continues What happened to Singapore/Brazil servers?
Tourneys
LiuLi Cup - September 2025 Tournaments Maestros of The Game—$20k event w/ live finals in Paris WardiTV Mondays Sparkling Tuna Cup - Weekly Open Tournament RSL: Revival, a new crowdfunded tournament series
Strategy
Custom Maps
External Content
Mutation # 490 Masters of Midnight Mutation # 489 Bannable Offense Mutation # 488 What Goes Around Mutation # 487 Think Fast
Brood War
General
The Korean Terminology Thread Recommended FPV games (post-KeSPA) [ASL20] Ro16 Preview Pt1: Ascent FlaSh on ACS Winners being in ASL ASL20 General Discussion
Tourneys
[ASL20] Ro16 Group B [ASL20] Ro16 Group A Is there English video for group selection for ASL BWCL Season 63 Announcement
Strategy
Simple Questions, Simple Answers Muta micro map competition Fighting Spirit mining rates [G] Mineral Boosting
Other Games
General Games
Nintendo Switch Thread Stormgate/Frost Giant Megathread Iron Harvest: 1920+ General RTS Discussion Thread Diablo IV S10 Infernal Tides Guide
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread The Games Industry And ATVI UK Politics Mega-thread
Fan Clubs
The Happy Fan Club!
Media & Entertainment
[Manga] One Piece Anime Discussion Thread Movie Discussion! [\m/] Heavy Metal Thread
Sports
2024 - 2026 Football Thread Formula 1 Discussion MLB/Baseball 2023 TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread High temperatures on bridge(s)
TL Community
BarCraft in Tokyo Japan for ASL Season5 Final The Automated Ban List
Blogs
Collective Intelligence: Tea…
TrAiDoS
A very expensive lesson on ma…
Garnet
hello world
radishsoup
Lemme tell you a thing o…
JoinTheRain
RTS Design in Hypercoven
a11
Evil Gacha Games and the…
ffswowsucks
INDEPENDIENTE LA CTM
XenOsky
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1278 users

CS:GO Sensitivity Problem

Forum Index > General Games
Post a Reply
1 2 3 Next All
weqn
Profile Joined July 2016
31 Posts
Last Edited: 2016-08-11 19:17:15
July 21 2016 15:59 GMT
#1
FULL EDITED POST

Do you feel struggle while aiming? well, not your fault.

This is a factual aspect

For those who have doubts about this command, m_pitch is responsible for the vertical sensitivity speed in the game, as m_yaw is responsible for the horizontal. Both combined determine the sensitivity speed factor.

This command has become protected to prevent abuses in the changing of the values, ​​that caused the servers to crash; And for example in CS:S, If you trigger this on your mouse1 while shooting in, it gives lesser recoil. These are the reasons for the command to be locked.

Taking this into account, these are the following settings m_pitch and m_yaw

"m_yaw" = "0.022"

"m_pitch" = "0.022000" ( def. "0.022" )

People have complained that 0.022000 is different from 0.022

0.022000 which is slightly faster than 0.022

The default value is 0.022, but its locked to 0.022000

Therefore, assuming there is some configuration error

Ok,

Lets convert them:

Decimal Representation - 0.022

Binary Representation - 00111100101101000011100101011000

Hexadecimal Representation - 0x3cb43958

After casting to double precision - 0.02199999988079071


Decimal Representation - 0.022000

Binary Representation - 00111100101101000011100101011000

Hexadecimal Representation - 0x3cb43958

After casting to double precision - 0.02199999988079071

They have equal 32-bit representation values so it is not how they are written in Source Code

So,

where you can find these commands? in a configuration file (a text that game loads) (config.cfg), Wich goes through a different code logic;

Then that means "0.022000" and "0.022" are text that Valve's Code has to read and interpret. It's perfectly possible that Valve's code has a bug in it, when interpreting from the text symbols "0.022000" to the actual number "0.022" ,so the problem might be in fact text-to-float conversion function.

Is this really an issue? Yes, the difference is small but is related to sensitivity which is crucial. This directly affects your ingame performance when it comes to aiming accucary.

brief explanation:

https://i.imgsafe.org/8d2bd74174.png

Console: https://i.imgsafe.org/8d29bc53f9.pn

From 2000 to 2012, CS 1.6

m_pitch 0.022

m_yaw 0.022

From 2004-2012, CS:Source

m_pitch 0.022

m_yaw 0.022

CS:GO

m_pitch 0.022000

m_yaw 0.022


If someone can please check it in runtime, please step foward.
Branch.AUT
Profile Blog Joined May 2010
Austria853 Posts
July 21 2016 16:09 GMT
#2
What are you saying here? I don't understand the purpose of this thread.

Are you saying not to change these two settings on console?
weqn
Profile Joined July 2016
31 Posts
July 21 2016 16:46 GMT
#3
No, I'm saying that the current sensitivity in CS:GO is not being calculated correctly , it means that you can even feel comfortable with your sensitivity but would have better accuracy with it corrected.

The current yaw and pitch values ​​are out of sync;
For this, Valve need to correct the current value of m_pitch which is a protected command, we can not change it, only if sv_cheats 1.
Ragnarork
Profile Blog Joined June 2011
France9034 Posts
Last Edited: 2016-07-21 17:42:44
July 21 2016 17:13 GMT
#4

Source Engine is written in CC++ Language, Depending on compiler and the settings made at compile time (fast float compiling) will determine how precise values are.
If written 0.0220000 then it may be 0.0220096 or something for example.
If written 0.022 then it can only be 0.022.


This is entirely and completely false.

Look for the IEEE754 standard which defines how floating point works (and which is the representation used by all the C++ compilers out there, though the standard specifies that it's up to them), and then come back and show me how the binary representations differ for "0.022" and "0.022000".

Hint: they don't.

Too lazy to check this but I'd bet any sane C++ compiler out there (be it Clang, gcc or even VC++) would just trim the 0 anyway beforehand (when it actually remove space, comments, etc. from a translation unit) in such cases at compile time (and even without aggressive optimization flags set up).

The two values are out of sync visually, but that's it.

EDIT: Here's a working code that shows you that, live on Coliru.
LiquipediaWanderer
weqn
Profile Joined July 2016
31 Posts
July 21 2016 18:01 GMT
#5
0.022000 and 0.022 are not necessarily the same when IEEE 754 floats, you should probably read this
http://floating-point-gui.de
Ragnarork
Profile Blog Joined June 2011
France9034 Posts
Last Edited: 2016-07-21 18:29:13
July 21 2016 18:22 GMT
#6
I think you missed my example where the code actually outputs the binary representations that are identical.

And saying "they are not necessary the same" shows a profound misunderstanding of floats and the IEEE754, which is determinist. That doesn't mean that 0.022 has an exact representation, but it will always be rounded to the same one (otherwise, we would have a VERY big problem with floats, as if there wasn't already traps with the most used representation).

Just linking one of the most well known guides about floating points doesn't magically make your argument right. There's nothing about extra 0s in there.



LiquipediaWanderer
weqn
Profile Joined July 2016
31 Posts
Last Edited: 2016-08-02 20:02:37
July 21 2016 19:40 GMT
#7
Yes, they are identical

so you are saying that
0.022 + 0.022000 = 0.022000
and not
0.022 + 0.022000 = 0.0220096 or something

I must explain this

ingame they act different when 0.022000 is set

if both set to 0.022 vertical and horizontal sensitivity is precise
if one set to 0.022 and other to 0.022000 sensitivity is precise but not as much as values above;
0.022 + 0.022000 somehow it is not as accurate as 0.022 + 0.022
checking in earlier versions of the counter-strike m_yaw and m_pitch values ​​it appears that both are 0.022 since all time

It is something related to the engine and the way it handles these settings compile + hardware + outputs
which causes this to happen
I just did the physical testing and research, I have no concrete evidence to show how both are different .
You know somehow it is possible to test both values ​​and prove that work differently ?
PunitiveDamages
Profile Joined June 2009
United States131 Posts
July 21 2016 19:51 GMT
#8
Unless there is a serious bug in their config parser's floating point value parsing, you are going to have the same representations for 0.022 and 0.022000.

The IEEE754 standard absolutely does not treat those constants any differently. Rounding and precision are (in this case) only going to rely on the underlying float type they chose.
BW forever
Ragnarork
Profile Blog Joined June 2011
France9034 Posts
Last Edited: 2016-07-21 20:15:17
July 21 2016 20:13 GMT
#9
What I'm actually saying is, if there's a difference, or whatever, this paragraph:


Source Engine is written in CC++ Language, Depending on compiler and the settings made at compile time (fast float compiling) will determine how precise values are.
If written 0.0220000 then it may be 0.0220096 or something for example.
If written 0.022 then it can only be 0.022.


is just dead wrong, whatever the context.

Any actual difference if provably existing must be explained differently, because this is not how it could happen.

It actually makes your title


(This happens because of: Floating-Point Arithmetic Calculations)


completely wrong as well.
LiquipediaWanderer
weqn
Profile Joined July 2016
31 Posts
Last Edited: 2016-07-21 20:56:07
July 21 2016 20:53 GMT
#10
[B] ingame they act different when 0.022000 is set

if both set to 0.022 vertical and horizontal sensitivity is precise
if one set to 0.022 and other to 0.022000 sensitivity is precise but not as much as values above;
0.022 + 0.022000 somehow it is not as accurate as 0.022
checking in earlier versions of the counter-strike m_yaw and m_pitch values ​​it appears that both are 0.022 since all time

It is something related to the engine and the way it handles these settings compile + hardware + outputs
which causes this to happen
I just did the physical testing and research, I have no concrete evidence to show how both are different .
You know somehow it is possible to test both values ​​and prove that work differently ?


I thinkyou missed my last post, so assuming that this is incorrect , what are the alternatives to this?
which may be the source of
0022 + 0.022000
be diferent from
0.022 + 0.022
in terms of accuracy / sensitivity

memory?
outputs?
PunitiveDamages
Profile Joined June 2009
United States131 Posts
July 21 2016 21:00 GMT
#11
How do you know there is a demonstrable difference?
Your video doesn't show anything measurable.

It also has a bunch of misleading and/or wrong comments on floating point values and how they are interpreted. (Ex: those two values aren't going to be 16bit vs 32bit floats since the type they get parsed into isn't changing.)
BW forever
Ragnarork
Profile Blog Joined June 2011
France9034 Posts
Last Edited: 2016-07-21 21:30:43
July 21 2016 21:25 GMT
#12
On July 22 2016 05:53 weqn wrote:
Show nested quote +
[B] ingame they act different when 0.022000 is set

if both set to 0.022 vertical and horizontal sensitivity is precise
if one set to 0.022 and other to 0.022000 sensitivity is precise but not as much as values above;
0.022 + 0.022000 somehow it is not as accurate as 0.022
checking in earlier versions of the counter-strike m_yaw and m_pitch values ​​it appears that both are 0.022 since all time

It is something related to the engine and the way it handles these settings compile + hardware + outputs
which causes this to happen
I just did the physical testing and research, I have no concrete evidence to show how both are different .
You know somehow it is possible to test both values ​​and prove that work differently ?


I thinkyou missed my last post, so assuming that this is incorrect , what are the alternatives to this?
which may be the source of
0022 + 0.022000
be diferent from
0.022 + 0.022
in terms of accuracy / sensitivity

memory?
outputs?


That you haven't thought of another explanation doesn't make this one valid automatically.

Also, I think this has been too long already, tapping out.
LiquipediaWanderer
weqn
Profile Joined July 2016
31 Posts
July 21 2016 21:42 GMT
#13
On July 22 2016 06:00 PunitiveDamages wrote:
How do you know there is a demonstrable difference?


Because the difference its noticeable ingame, not just me to notice but also many other people wich shared this with
PunitiveDamages
Profile Joined June 2009
United States131 Posts
July 21 2016 21:47 GMT
#14
On July 22 2016 06:42 weqn wrote:
Show nested quote +
On July 22 2016 06:00 PunitiveDamages wrote:
How do you know there is a demonstrable difference?


Because the difference its noticeable ingame, not just me to notice but also many other people wich shared this with

Unfortunately without a quantitative difference that you can measure, its going to be impossible to figure out if there is an actual difference in behavior.
And without that you can't find a source for the difference in behavior.

I'll echo again everything Ragnarork said; there is no difference between 0.022 and 0.022000 as far as floating point is concerned. If there is a real effect, it is not being caused by rounding or precision effects of floating point.
BW forever
weqn
Profile Joined July 2016
31 Posts
July 21 2016 21:48 GMT
#15
On July 22 2016 06:25 Ragnarork wrote:
Show nested quote +
On July 22 2016 05:53 weqn wrote:
[B] ingame they act different when 0.022000 is set

if both set to 0.022 vertical and horizontal sensitivity is precise
if one set to 0.022 and other to 0.022000 sensitivity is precise but not as much as values above;
0.022 + 0.022000 somehow it is not as accurate as 0.022
checking in earlier versions of the counter-strike m_yaw and m_pitch values ​​it appears that both are 0.022 since all time

It is something related to the engine and the way it handles these settings compile + hardware + outputs
which causes this to happen
I just did the physical testing and research, I have no concrete evidence to show how both are different .
You know somehow it is possible to test both values ​​and prove that work differently ?


I thinkyou missed my last post, so assuming that this is incorrect , what are the alternatives to this?
which may be the source of
0022 + 0.022000
be diferent from
0.022 + 0.022
in terms of accuracy / sensitivity

memory?
outputs?


That you haven't thought of another explanation doesn't make this one valid automatically.

Also, I think this has been too long already, tapping out.



please dont take as an offense but you are not helping... i asked if it is possible to test both values ​​and prove that both setups work differently ?
weqn
Profile Joined July 2016
31 Posts
Last Edited: 2016-07-21 22:15:06
July 21 2016 22:01 GMT
#16
On July 22 2016 06:47 PunitiveDamages wrote:
Show nested quote +
On July 22 2016 06:42 weqn wrote:
On July 22 2016 06:00 PunitiveDamages wrote:
How do you know there is a demonstrable difference?


Because the difference its noticeable ingame, not just me to notice but also many other people wich shared this with

Unfortunately without a quantitative difference that you can measure, its going to be impossible to figure out if there is an actual difference in behavior.
And without that you can't find a source for the difference in behavior.

I'll echo again everything Ragnarork said; there is no difference between 0.022 and 0.022000 as far as floating point is concerned. If there is a real effect, it is not being caused by rounding or precision effects of floating point.


Ok there is no difference in floats, numbers, values everything is precise.
both setups are precise

but 0.022
feels so much better to control;
feels so much precise;

looking into previous versions of counter-strike all versions had it 0.022 + 0.022, and not 0.022 + 0.022000 like CS:GO
theres got to be something with the engine/coding some bug i dont know what it can be ( you just made my mind clear about the floats)
i want to prove it, how can i prove both values? any programs or macros that would help figuring this out?
i would lost my time and other people time if i didn't had 100% about what im trying to say
PunitiveDamages
Profile Joined June 2009
United States131 Posts
July 21 2016 22:08 GMT
#17
On July 22 2016 07:01 weqn wrote:
Show nested quote +
On July 22 2016 06:47 PunitiveDamages wrote:
On July 22 2016 06:42 weqn wrote:
On July 22 2016 06:00 PunitiveDamages wrote:
How do you know there is a demonstrable difference?


Because the difference its noticeable ingame, not just me to notice but also many other people wich shared this with

Unfortunately without a quantitative difference that you can measure, its going to be impossible to figure out if there is an actual difference in behavior.
And without that you can't find a source for the difference in behavior.

I'll echo again everything Ragnarork said; there is no difference between 0.022 and 0.022000 as far as floating point is concerned. If there is a real effect, it is not being caused by rounding or precision effects of floating point.


Ok there is no difference in floats, numbers, values everything is precise.
both setups are precise

but 0.022
feels so much better to control;
feels so much precise;

looking into previous versions of counter-strike all versions had it 0.022 + 0.022, and not 0.022 + 0.022000 like CS:GO
theres got to be something with the engine/coding some bug i dont know what it can be ( you just made my mind clear about the floats)
i want to prove it, how can i prove both values? any programs ou macros that would help figuring this out?
i would lost my time and other people time if i didn't had 100% about what im trying to say


The only option I can think of would be to:
- Hook the CS:GO mouse input (obviously this is possible, since various hacks can spoof mouse inputs)
- Send a specific mouse movement (you can't do this manually or with a physical mouse)
- Record the results with different settings (0.022 and 0.022000) from the same starting point.

Then examine the recordings to see if the ingame crosshair movement is any different. If there isn't a difference then its not a real effect. If there is, then you've found a bug in how CS:GO handles mouse movements.

Good luck.
BW forever
weqn
Profile Joined July 2016
31 Posts
Last Edited: 2016-07-22 00:46:06
July 21 2016 22:21 GMT
#18
how do i set input mouse?

im not a programmer, is there some sort of program?
weqn
Profile Joined July 2016
31 Posts
July 22 2016 01:44 GMT
#19
can you please help me on that?
i have no ideia how to do it, i tryed macros but they dont work i had to move the mouse
please help me
weqn
Profile Joined July 2016
31 Posts
July 26 2016 02:55 GMT
#20
https://s32.postimg.org/5zn7g36v7/Untitled.jpg

1 2 3 Next All
Please log in or register to reply.
Live Events Refresh
Next event in 1h 9m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
mouzHeroMarine 402
SteadfastSC 359
IndyStarCraft 134
goblin 17
StarCraft: Brood War
Britney 63209
Rain 4430
Bisu 3500
Flash 2560
Shuttle 1916
BeSt 787
Calm 784
Larva 722
Mini 684
firebathero 666
[ Show more ]
Light 612
EffOrt 550
Stork 406
Barracks 313
hero 304
sSak 270
actioN 245
Soma 146
Rush 135
Snow 108
Mong 81
Mind 74
Nal_rA 53
PianO 49
Backho 40
TY 38
Sharp 27
Yoon 23
Sacsri 23
sorry 21
Terrorterran 16
scan(afreeca) 16
soO 12
sas.Sziky 12
HiyA 12
Noble 10
Shine 9
yabsab 9
Rock 8
Dota 2
Gorgc7416
qojqva3396
Dendi1516
League of Legends
Reynor70
Counter-Strike
zeus860
ScreaM842
byalli358
Super Smash Bros
Chillindude30
amsayoshi24
Westballz9
Other Games
hiko890
crisheroes433
DeMusliM356
Hui .280
Happy207
ArmadaUGS186
Liquid`VortiX118
QueenE61
KnowMe60
SortOf56
Organizations
Other Games
gamesdonequick742
StarCraft 2
CranKy Ducklings160
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• FirePhoenix12
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Nemesis3504
• Jankos1166
• TFBlade493
Upcoming Events
OSC
1h 9m
Moja vs Babymarine
Solar vs TBD
sOs vs goblin
Nice vs INexorable
sebesdes vs Iba
Nicoract vs TBD
NightMare vs TBD
OSC
9h 9m
ReBellioN vs PAPI
Spirit vs TBD
Percival vs TBD
TriGGeR vs TBD
Shameless vs UedSoldier
Cham vs TBD
Harstem vs TBD
RSL Revival
19h 9m
Cure vs SHIN
Reynor vs Zoun
Kung Fu Cup
21h 9m
The PondCast
22h 9m
RSL Revival
1d 19h
Classic vs TriGGeR
ByuN vs Maru
Online Event
1d 21h
Kung Fu Cup
1d 21h
BSL Team Wars
2 days
Team Bonyth vs Team Dewalt
BSL Team Wars
2 days
[ Show More ]
RSL Revival
2 days
Maestros of the Game
2 days
ShoWTimE vs Classic
Clem vs herO
Serral vs Bunny
Reynor vs Zoun
Cosmonarchy
3 days
Bonyth vs Dewalt
[BSL 2025] Weekly
3 days
RSL Revival
3 days
Maestros of the Game
4 days
BSL Team Wars
4 days
Afreeca Starleague
4 days
Snow vs Sharp
Jaedong vs Mini
Sparkling Tuna Cup
5 days
Afreeca Starleague
5 days
Light vs Speed
Larva vs Soma
LiuLi Cup
6 days
Liquipedia Results

Completed

Copa Latinoamericana 4
SEL Season 2 Championship
HCC Europe

Ongoing

BSL 20 Team Wars
KCM Race Survival 2025 Season 3
BSL 21 Points
ASL Season 20
CSL 2025 AUTUMN (S18)
LASL Season 20
RSL Revival: Season 2
Maestros of the Game
Chzzk MurlocKing SC1 vs SC2 Cup #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1

Upcoming

2025 Chongqing Offline CUP
BSL Polish World Championship 2025
BSL Season 21
BSL 21 Team A
EC S1
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
MESA Nomadic Masters Fall
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.