idea: do a match and after get a "sensitivity" that maximazes your accuracy.
#19
Round 1:
Sens 6
Acc 54.1
Code:
0 12.0141 1 11.7735 11.2525 Coefficients Found: in the form a*x+b*y....+bias 4.31282142857142


Round 2:
Sens 4.31
Acc 54.9
Code:
0 9.49776 1 9.40082 9.20709 Coefficients Found: in the form a*x+b*y....+bias 5.1916806722689


Round 3: (w/o nades)

Sens 5.19
Acc 55.4
Code:
0 6.20236 1 5.99026 5.61178 Coefficients Found: in the form a*x+b*y....+bias 3.5002569373073

I will do some more shortly, and just update this post.

Also, I added a couple lines to your code.
Code:
if(d->state!=CS_ALIVE) continue; if(!player1->attacking) continue; if(player1->weaponsel->type == 8) continue; //This one is added
And to help debug a bit:
Code:
std::ofstream a_file ( "mousedata.txt" ,std::ios::app); conoutf("writing to mousedata.txt"); //This one is added a_file << x << " " << player1->yaw << " " << dyaw << " " << sensitivity << std::endl; a_file.close();
Thanks given by:


Messages In This Thread
RE: idea: do a match and after get a "sensitivity" that maximazes your accuracy. - by Ronald_Reagan - 22 Aug 11, 01:15AM