http://odamex.net/bugs/show_bug.cgi?id=269 --- Comment #23 from Kyle <elykdav@xxxxxxxxx> 2012-04-15 07:16:34 UTC --- Created attachment 355 --> http://odamex.net/bugs/attachment.cgi?id=355 Weapon desync correction This patch reintroduces weapon pickup prediction (removed in r2943) and adds a new cvar, cl_predictpickup, that turns the prediction on and off. A menu item controlling this cvar is also added. More importantly, this patch adds a way of correcting any weapon desyncs that do happen, without causing the "repeat pickup" glitch that previously happened. When a player fires a weapon on the server, the server makes use of the message "svc_fireweapon", telling the client what weapon they fired. When the client receives this message, they check to make sure that the weapon they fired on the server is the same as they have on their client. If it isn't, the client immediately sets their weapon to the correct one and sends the new "clc_getplayerinfo" message to the server, asking for the server to send the correct playerinfo to them. -- Configure bugmail: http://odamex.net/bugs/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.