[unsupported] KZ Stats
Originally posted by SchlumPFi planned /kzstats as 2nd cmd but /ljstats wont be removed
you will never be able to turn off/on anticheat cuz all anticheats i add will be stuff which could show you a wrong distance etc
max height wont be added cuz there is no sense in it
ladderjump stats are planned to be added
walking speed stats oO what do you mean
u could do atleast to display height with some command like /height ^^
Originally posted by IchWillu could do atleast to display height with some command like /height ^^
cs uses a frame absed enginge which means i can just retrieve in certain moments player values like origin or velocity which makes suggestions like this a lot math... since im just 16 and had not calculations in 3d rooms in school yet i need help from others like eDark who just created a yet perfect looking way for getting failedstats (he uses extrapolation for those math geeks who are interested in this). this means i would need to ask eDark again for some calculation nobody really needs... better ask for some table with the maximum jump heights for each single technque we know about.
Originally posted by Spaniolubug : -link-
thats caused cuz i did not add any surf/slide protection yet :P before i add sth really new like a protection or some new detection i want to fix other bugs which exist in my current code. ofc i will add new features if i get to know about them by luck :D
... when im talking about these lucky hits i would like to know whether you would prefer to see cj stats always or a "you jumped too early" message like in lt.rats plugin w/o stats :P tested it a bit and i already got 250 stats even if i jumped to early but i noticed some strange "feeling" when jumping to late while doing a cj.
maybe i will post today some "beta beta" for those who are interested in my current progress which is...
- "you jumped too late" message for bhop and depending on your thinking on cj too
* prestrafe before doubleducking on cj
* changed the commands for the hudmessage to be cvars
* added a cvar to get a different color for failed stats
* jumptype in hudmessage will not contain "failed"
* added a cvar for automaticle enabling of ljstats after connecting
* cvars for min and max jumpdistance which will be shown
* distance is now more correct for gravity jumps (changed the gravity variable in the distance calculation to be pev_gravity * sv_gravity since cs can set gravity individual for players. this means if the player got a individual gravity of 0.5 then his actual gravity would be 0.5*800 on default cs settings)
* added a define in the code so you can decide whether you want to see the saycmd in chat for enableing/disabling stats
* added saycmd /kzstats (i did and will not remove /ljstats!)
* stats for russianwalking+bhop after it was not correct since the distance shown was the distance between jumpoff xyZ and landing xy... the only distance we are corious about is the xy distance between those points
i may have forgotten some changes/fixes/new features but just wait for the red update text in one of my posts ;D
btw i did not post any plugin with the changes above because i still have a small bug in it and i need to test some things... sadly the next version will probably dont have any hj detection because the current cannot be used with failed stats and it is not as accurate as i thought (just jump some small hj block with distance < 100...). maybe it will even dont contain eDarks new way of calculating failed stats because translating the formula into some amxx copatible code is not as easy as you may think (this emans its buggy atm :P)... for example returns a wrong result for getting the power of some float value like on a calculator which would look like this: "123.456^7.89"
i need to use commands for this and although eDark and me think the translation as it is now is correct amxx still dont wants to return the correct value :D
mh... when im already talking about the enw failed stats formula i can tell you about lt.rat too. he says he will use a linear interpolation (linear = he is calculating your failed stats as if you had 100fps even if you had less) which is complety inaccurate in edarks eyes so my stats should be correct :P just as a small info for those who are already haveing a version of that plugin (dont know whether he already gave it to someone... at least i have the code ^^)
puh huge text :S actually i just wanted to tell you about the current progress but it turned out a bit :P gotta sleep now!
Nice work SchlumPF,and ofc,and NumB,Lt.ratttttttttttt!
Lots of errors :(
Originally posted by kn0Ty`Lots of errors :(
[Not finished yet] KZ Stats
currently i am working alone on this, all i use from other authors is:
numb - hj + cj detection (gonna write a better hj detection soon)
lt.rat - hint how to easily check bhop
edark - a lot of formulas to calculate :D
btw failed stats are now working and are as correct as nonfailed stats!
for those who are interested in the formula:
[blockquote]
height of jumpoff-18=h if ducking on landing, else w/o -18
height of frame before that frame that has height lower than h=h0
gravity=-a
velocity in x/y direction of frame with height h0=v
velocity in z direction of frame with height h0=vz
origin of jumpoff=s
origin of frame with height h0=s0
distance in x/y direction=abs(s0-s)+abs(v*(-vz-sqrt(vz^2-2*a*(h0-h)))/a)
complete distance=sqrt(distance_x^2+distance_y^2)
[/blockquote]
@ltrat
edark once repeated your way is not correct enough. your accuracy is just 98.7% and the distance will always be a bit to high. also, your accuracy is depending on the distance between hight and the measured point. edark and me tested this and it works awesome. this formula's returned distance is currect until the 4th decimal place. the rest is wrong cuz of amxx's rounding
edit:
+ updated my code to have accurater stats, distances of other plugins are atm 0.0625 to huge
Originally posted by SchlumPF@ltrat
edark once repeated your way is not correct enough. your accuracy is just 98.7% and the distance will always be a bit to high. also, your accuracy is depending on the distance between hight and the measured point. edark and me tested this and it works awesome. this formula's returned distance is currect until the 4th decimal place. the rest is wrong cuz of amxx's rounding
CodeWars :>
n1 work SchlumPF, we will wait for final version :D
this will take a long time i guess xD
but nobody answered my qzestion yet :(
... when im talking about these lucky hits i would like to know whether you would prefer to see cj stats always or a "you jumped too early" message like in lt.rats plugin w/o stats tested it a bit and i already got 250 stats even if i jumped to early but i noticed some strange "feeling" when jumping to late while doing a cj.
@emti this is not a coding war, just advertising for MY plugin and a appeal to lt.rat to use edarks method too :)
edit: forget about the question.. i will stay with that message for cj too cuz somehow me likez it :)
apper allways because i hate when i get "you pressed jump to early".
answer to ure question about cj.
I'd like to see cj stats allways, but that's my oppinion !
i just add some option in the code to enable/disable the message on cj too
Originally posted by SchlumPFOriginally posted by IchWillu could do atleast to display height with some command like /height ^^
cs uses a frame absed enginge which means i can just retrieve in certain moments player values like origin or velocity which makes suggestions like this a lot math... since im just 16 and had not calculations in 3d rooms in school yet i need help from others like eDark who just created a yet perfect looking way for getting failedstats (he uses extrapolation for those math geeks who are interested in this). this means i would need to ask eDark again for some calculation nobody really needs... better ask for some table with the maximum jump heights for each single technque we know about.
I will think about that.. but maybe the help would arrive too late, when I find some "new tech" :P
take ur time :)
Really looking forward to seeing it ready SchlumPF!
your doing great, so far so good mate.
awsome, just saw that you liked my idea :)
When u do cjdrop/wj it still says Longjump in stead of them.
btw is there a top ? and post a reply when you update it xD
there will be no top. Schlumpf's ljs is a pure stats plugin, that will give only you (no chat msgs or anything else) information for your jumps.
Originally posted by dLxWhen u do cjdrop/wj it still says Longjump in stead of them.
btw is there a top ? and post a reply when you update it xD
cuz there is no detection yet but stats should be correct
about the top... i will NOT add any top15
Good job, SchlumPF! I think you must NOT add protection for aa, gravity and other cvars or if you make protection, please add messages like "SchlumPF jumped 250.461 units!". Mine idea for msgs is "250.461 units were jumped by SchlumPF!" :D
Originally posted by eMTithere will be no top. Schlumpf's ljs is a pure stats plugin, that will give only you (no chat msgs or anything else) information for your jumps.
reading would help :)
Please log in to post replies.