Feature #98

Inspect/add prediction code...

Added by IR4T4 almost 7 years ago. Updated almost 3 years ago.

Status:New% Done:

0%

Priority:NormalSpent time:-
Assignee:-
Category:Mod QAGAME
Target version:2.78
OS: Arch:

Description

Extend pmove for prediction.


Related issues

Related to ET: Legacy Development - Feature #198: All new hitbox and bounding box system New 10.02.2013

Associated revisions

Revision 53d3cbe5
Added by IR4T4 about 4 years ago

cgame: commented a condition in CG_PredictionOk which always evaluates
to true

Revision 2d2ef4f1
Added by IR4T4 about 4 years ago

cgame: cg_optimizePrediction feature by forty

Revision de041647
Added by IR4T4 about 4 years ago

cgame: missing prediction code

Revision 8f2446a0
Added by IR4T4 about 4 years ago

mod: fix stats[STAT_AIRLEFT] prediction when not in water (we have a tiny diff in time when player is in water)

History

#1 Updated by IR4T4 almost 7 years ago

  • Target version changed from 2.70rc1 to 2.75

#2 Updated by Dragonji over 6 years ago

  • Subject changed from Add prediction code ... to Add prediction code...

#3 Updated by IR4T4 about 4 years ago

  • Target version changed from 2.75 to 2.78

#4 Updated by IR4T4 about 4 years ago

  • Subject changed from Add prediction code... to Inspect/add prediction code...

#5 Updated by Spyhawk about 4 years ago

  • CG_PredictionOk() in cg_predict.c is actually unused in Vanilla/Legacy mod.
  • ETPub and NQ make use of it with the cg_optimizePrediction cvar.
  • Check also coverity CID 1315760. There is an early return in the middle of the existing CG_PredictionOk function.

#6 Updated by Dragonji about 4 years ago

Prediction code in ETPub is bugged. They fixed it in silEnT mod but changes are not public as silEnT is closed.

http://mygamingtalk.com/forums/tracker/issue-200-jump-problems/

#7 Updated by Spyhawk about 4 years ago

Dragonji wrote:

Prediction code in ETPub is bugged. They fixed it in silEnT mod but changes are not public as silEnT is closed.

http://mygamingtalk.com/forums/tracker/issue-200-jump-problems/

Thx Dragon. If I understand correctly, this mostly affects doublejump that isn’t (and might never be) implemented in legacy). Also, according to that forum link, the open sourced ETrun mod also fixed it, probably in this commit.

#8 Updated by Dragonji about 4 years ago

Not exactly. Don’t know about ETrun but in ETPub/old silEnT jumping is bugged in general, not only DJ. My movie attached to the ticket nicely showed it but as I can see it’s no more available. Unfortunately I can’t reupload it atm.

#9 Updated by Spyhawk about 4 years ago

  • Check leaning code. Afaik, it’s implemented client side only. Sync it server side might solve a few issues related to the anti-wallhack.

#10 Updated by IR4T4 about 3 years ago

  • Target version changed from 2.78 to 2.76

#11 Updated by IR4T4 almost 3 years ago

  • Target version changed from 2.76 to 2.78

Also available in: Atom PDF