Bug 2727 - cl_packetdelay and sv_packetdelay
Status: RESOLVED FIXED
Alias: None
Product: ioquake3
Classification: Unclassified
Component: Misc
Version: 1.33 SVN
Hardware: All All
: P2 enhancement
Assignee: Zachary J. Slater
QA Contact: ioquake3 bugzilla mailing list
URL:
Depends on:
Blocks:
 
Reported: 2006-05-31 00:34 EDT by Tony J. White
Modified: 2007-05-21 11:26:40 EDT
1 user (show)

See Also:


Attachments
cl_packetdelay and sv_packetdelay (3.73 KB, patch)
2006-05-31 00:38 EDT, Tony J. White
cl_packetdelay and sv_packetdelay (3.74 KB, patch)
2006-06-03 00:30 EDT, Tony J. White

Description Tony J. White 2006-05-31 00:34:36 EDT
This patch adds two cheat protected cvars:

sv_packetdelay
cl_packetdelay

This functionality is a clone of the cvars as they exist in Wolf: ET.  If set to > 0 they will delay transmission of packets from their respective engine components by the specified number of milliseconds.  These cvars are obviously only useful for development and testing.  I'm adding them to work on an unlagged implementation in the server engine.

Note that ET also has two more cvars sv_packetloss and cl_packetloss, but these don't seem necessary since ioquake3 already has com_dropsim which seems to have roughly the same functionality.
Comment 1 Tony J. White 2006-05-31 00:38:02 EDT
Created attachment 923 [details]
cl_packetdelay and sv_packetdelay

I have not yet tested cl_packetdelay, but I think it should work.  sv_packetdelay works fine.
Comment 2 Tony J. White 2006-06-03 00:30:07 EDT
Created attachment 926 [details]
cl_packetdelay and sv_packetdelay

cl_packetdelay wasn't working in the last patch (forgot an else).
Comment 3 Ryan C. Gordon 2007-05-21 11:26:40 EDT
Setting a QA contact on all ioquake3 bugs, even resolved ones. Sorry if you get a flood of email from this, it should only happen once. Apologies for the incovenience.

--ryan.