• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 18:15
CEST 00:15
KST 07:15
  • 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
RSL Season 1 - Final Week6[ASL19] Finals Recap: Standing Tall15HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0
Community News
Esports World Cup 2025 - Brackets Revealed14Weekly Cups (July 7-13): Classic continues to roll8Team TLMC #5 - Submission extension3Firefly given lifetime ban by ESIC following match-fixing investigation17$25,000 Streamerzone StarCraft Pro Series announced7
StarCraft 2
General
RSL Revival patreon money discussion thread Who will win EWC 2025? The GOAT ranking of GOAT rankings Server Blocker Weekly Cups (July 7-13): Classic continues to roll
Tourneys
FEL Cracov 2025 (July 27) - $8000 live event Sparkling Tuna Cup - Weekly Open Tournament Sea Duckling Open (Global, Bronze-Diamond) RSL: Revival, a new crowdfunded tournament series $5,100+ SEL Season 2 Championship (SC: Evo)
Strategy
How did i lose this ZvP, whats the proper response
Custom Maps
External Content
Mutation # 482 Wheel of Misfortune Mutation # 481 Fear and Lava Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome
Brood War
General
Flash Announces (and Retracts) Hiatus From ASL BGH Auto Balance -> http://bghmmr.eu/ BW General Discussion Soulkey Muta Micro Map? [ASL19] Finals Recap: Standing Tall
Tourneys
Starcraft Superstars Winner/Replays [Megathread] Daily Proleagues Cosmonarchy Pro Showmatches CSL Xiamen International Invitational
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Stormgate/Frost Giant Megathread Path of Exile Nintendo Switch Thread CCLP - Command & Conquer League Project The PlayStation 5
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 Vanilla Mini Mafia
Community
General
Things Aren’t Peaceful in Palestine US Politics Mega-thread Russo-Ukrainian War Thread We are Ready to Testify: Emergence Stop Killing Games - European Citizens Initiative
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Movie Discussion! Korean Music Discussion [Manga] One Piece Anime Discussion Thread [\m/] Heavy Metal Thread
Sports
2024 - 2025 Football Thread Formula 1 Discussion TeamLiquid Health and Fitness Initiative For 2023 NBA General Discussion NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
Ping To Win? Pings And Their…
TrAiDoS
momentary artworks from des…
tankgirl
from making sc maps to makin…
Husyelt
StarCraft improvement
iopq
Customize Sidebar...

Website Feedback

Closed Threads



Active: 608 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 11h 45m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
ZombieGrub333
Nathanias 178
UpATreeSC 140
JuggernautJason75
ForJumy 45
CosmosSc2 32
StarCraft: Brood War
Larva 1085
scan(afreeca) 174
ZZZero.O 127
Aegong 107
Dota 2
NeuroSwarm122
monkeys_forever13
League of Legends
Grubby4988
Counter-Strike
fl0m628
Stewie2K519
flusha482
byalli370
oskar260
Super Smash Bros
Liquid`Ken47
Heroes of the Storm
Liquid`Hasu496
Other Games
tarik_tv17576
summit1g7666
shahzam351
C9.Mang0194
Skadoodle132
ViBE101
Trikslyr49
PPMD36
Organizations
Other Games
gamesdonequick2656
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 17 non-featured ]
StarCraft 2
• sitaska45
• musti20045 22
• IndyKCrew
• Migwel
• AfreecaTV YouTube
• sooper7s
• intothetv
• Kozan
• LaughNgamezSOOP
StarCraft: Brood War
• HerbMon 19
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• masondota22766
• Ler83
League of Legends
• TFBlade900
Other Games
• imaqtpie2280
Upcoming Events
CranKy Ducklings
11h 45m
Epic.LAN
13h 45m
CSO Contender
18h 45m
Sparkling Tuna Cup
1d 11h
Online Event
1d 17h
Esports World Cup
3 days
ByuN vs Astrea
Lambo vs HeRoMaRinE
Clem vs TBD
Solar vs Zoun
SHIN vs Reynor
Maru vs TriGGeR
herO vs Lancer
Cure vs ShoWTimE
Esports World Cup
4 days
Esports World Cup
5 days
Esports World Cup
6 days
Liquipedia Results

Completed

JPL Season 2
RSL Revival: Season 1
Murky Cup #2

Ongoing

BSL 2v2 Season 3
Copa Latinoamericana 4
Jiahua Invitational
BSL20 Non-Korean Championship
CSL Xiamen Invitational
CSL Xiamen Invitational: ShowMatche
Championship of Russia 2025
FISSURE Playground #1
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25

Upcoming

2025 ACS Season 2
CSLPRO Last Chance 2025
CSLPRO Chat StarLAN 3
BSL Season 21
RSL Revival: Season 2
SEL Season 2 Championship
uThermal 2v2 Main Event
FEL Cracov 2025
Esports World Cup 2025
Underdog Cup #2
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
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.