![]() |
|
|
Mapping Mapping sizes Limits Entities Bugs & Work-a-rounds Notes Scripting reference Mapping - Tutorials Brushwork from blueprint Tools Brush generator Vehicle generator MD3 Tag The Dummy Modding Project: Bug Fix Project: Crockett Other stuff Forum Server Info Colors Voice Chats Scripts Links |
Project: Bug FixThe objectiveThe goal of this project is to provide modders in the ET community with a SDK code base that contains fixes for various bugs which are present in the stock etmain game (version 2.60).26th september 2006: Sadly bugfix 088 had a bug :-( There were 3 lines that should have been deleted for the fix to work correctly. Show index Previous bug: Custom 5 minute warning is the same as 2 minute warning Next bug: Playing time shown at debriefing keep increasing Bugfix 093 - Lag-o-meter ping not correct during demo playbackProblem:The game engine is not providing the correct pings during demo playback.Solution:Guess the ping based on times we know at demo playback.References:Thread with ETPro's implementationNotes:This solution is not the correct way to fix it. However guess the ping seems to be the only way.2.60 Code
cg_draw.c @ 820
return;
}
// CHRUKER: b093 - Lagometer ping not correct during demo playback
if (cg.demoPlayback) {
snap->ping = (snap->serverTime - snap->ps.commandTime) - 50;
} // b093
// add this snapshot's info
lagometer.snapshotSamples[ lagometer.snapshotCount & ( LAG_SAMPLES - 1) ] = snap->ping;
Show index Previous bug: Custom 5 minute warning is the same as 2 minute warning Next bug: Playing time shown at debriefing keep increasing Color codingSample = New codeSample = Changed code (the new version is what is displayed) Sample = Deleted code |
| ©2013 Chruker | |