Zandronum Chat @ irc.zandronum.com
#zandronum
Get the latest version: 3.0
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000842Zandronum[All Projects] Bugpublic2012-05-09 14:332017-06-20 14:11
ReporterApothem 
Assigned ToTIHan 
PrioritynormalSeverityminorReproducibilityalways
StatusacknowledgedResolutionopen 
PlatformOSOS Version
Product Version98d 
Target VersionFixed in Version 
Summary0000842: SetWeapon desync online
Description
Quote from unknownna
The client thinks that the weapon is ready before it actually is, allowing you to fire before you should.
Steps To Reproduce1. skulltag.exe -file setweapon_01.wad -host
2. Connect a client to the server with an emulated ping of 50.
3. Join the game.
4. Push the switch while holding +attack.
Attached Files? file icon setweapon_01.wad [^] (2,134 bytes) 2012-05-09 14:33

- Relationships

-  Notes
User avatar (0003610)
TIHan (reporter)
2012-05-10 04:05

Unfortunately, there isn't anything I can do to prevent the client from firing early. Clients do not run server scripts.

A way to remedy it would be to force the exact frame the client should be at compared to the server. We have had similar issues with this before and requires a lot of design, so this will not make it into 98e.

I do propose an idea to solve a lot of these timing issues that are related to scripts. Perhaps people who are scripting need to make code specifically for the client-side to handle bugs such as we are getting. For example: In setweapon_01.wad you could have a function that runs server-side and a function that runs client-side. Both functions are nearly identical. The client-side function is to predict what will happen, in this case, SetWeapon. Doing so could prevent issues as what we are getting.

Issue Community Support
Only registered users can voice their support. Click here to register, or here to log in.
Supporters: Korshun
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2012-05-09 14:33 unknownna New Issue
2012-05-09 14:33 unknownna File Added: setweapon_01.wad
2012-05-09 14:33 unknownna Status new => confirmed
2012-05-09 14:33 unknownna Reporter unknownna => Apothem
2012-05-09 18:25 TIHan Assigned To => TIHan
2012-05-09 18:25 TIHan Status confirmed => assigned
2012-05-10 04:05 TIHan Note Added: 0003610
2012-05-10 04:05 TIHan Status assigned => feedback
2012-05-10 04:23 TIHan Status feedback => acknowledged
2012-06-09 13:22 Torr Samaho Category General => Bug






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2020 MantisBT Team
Powered by Mantis Bugtracker