Zandronum Chat on our Discord Server Get the latest version: 3.1
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002699Zandronum[All Projects] Bugpublic2016-04-10 02:242016-04-10 14:47
ReporterTribeam3rd 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
PlatformMicrosoftOSWindowsOS VersionXP/Vista/7
Product Version 
Target VersionFixed in Version 
Summary0002699: Global Vars have a different state when a script is activated between decorate and world(online)
DescriptionWarning 20mb gif:'https://dl.dropboxusercontent.com/u/49758621/zanbug.gif [^]'

This gif demonstrates what happens in single player and multiplayer(I connect to a local server half way through)

In single player, the global var is updated regardless of pressing the switch and collecting the item.

In multiplayer it seems the the global var has 2 states, the state of which the switch updates, and the state of which the decorate item updates.
Steps To ReproduceRun included test wad online, press switch, collect item, see different values
Attached Files? file icon bug.wad [^] (4,111 bytes) 2016-04-10 02:24

- Relationships

-  Notes
User avatar (0014686)
Tribeam3rd (reporter)
2016-04-10 02:27

Also forgot to mention that sbarinfo(the number on the top left) only shows the version of the global var updated by the item.
User avatar (0014687)
Torr Samaho (administrator)
2016-04-10 10:25

From what I can tell, you are observing two problems here:

First, ACS vars are not synced between client and server, so GlobalVar in SBARINFO only works properly for vars that are only set in client side scripts.

Second, ACS in DECORATE is not handled properly online. Both client and server execute the script, which makes it look as if the script calls triggered by DECORATE are counted separately.

Unfortunately, both are structural problems that are not easy to fix. ZDoom's design of this features is incompatible with our client/server architecture.

Nevertheless, the global vars should be working exactly as intended on the server. You just don't see it since some of the values you see in the example are displayed by the client, some by the server.

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

- Issue History
Date Modified Username Field Change
2016-04-10 02:24 Tribeam3rd New Issue
2016-04-10 02:24 Tribeam3rd File Added: bug.wad
2016-04-10 02:27 Tribeam3rd Note Added: 0014686
2016-04-10 10:25 Torr Samaho Note Added: 0014687






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker