pnill / T4MP

T4MP (Turok 4 Multiplayer) is an modification to bring online play to Turok 4 Evolution for PC it's currently not any where near being actually useable for competitive or serious gameplay but it's getting there.
GNU Affero General Public License v3.0
16 stars 2 forks source link

WeaponWheel not Server Controlled #27

Open pnill opened 4 years ago

pnill commented 4 years ago

Due to the Weapon wheel not being controlled by the server the game spawns the player with whatever is set in the configuration locally vs what the server believes they should have, this causes some de-synchronization when it comes to very specific weapons like the rocket launcher which appears to have 3 different weapon modifiers.

A long with https://github.com/PermaNulled/T4MP/issues/5 these things should be synced so that when the player spawns their local configuration doesn't attempt to give them weapons they shouldn't have.

A hook should probably be placed wherever the data is being updated for pickups to prevent it from occurring on the client unless the server registers it, this would ultimately resolve the issue.