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
0001944Zandronum[All Projects] Bugpublic2014-10-05 14:372018-04-08 18:03
ReporterMr_Xerxes 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusfeedbackResolutionopen 
PlatformMicrosoftOSWindowsOS VersionXP/Vista/7
Product Version1.2 
Target VersionFixed in Version 
Summary0001944: Sector_SetFade() & Sector_SetColor() clientsided
DescriptionSector_SetFade() & Sector_SetColor() functions didn't work if they'r used into a clientsided script during multiplayer.

They work well in singleplayer but don't do anything for a server's client.
Steps To Reproduce#define SKYBOX_TID 100

script 1 OPEN clientside {
    Sector_SetFade(SKYBOX_TID,255,255,255);
    Sector_SetColor(SKYBOX_TID,128,0,0,0);
}
Attached Files? file icon fade-color_clientside.wad [^] (1,692 bytes) 2014-10-05 14:37

- Relationships
has duplicate 0002684closed Sector_SetColor doesn't take effect with 'CLIENTSIDE' keyword 

-  Notes
User avatar (0010334)
Mr_Xerxes (reporter)
2014-10-05 14:52

I experimented the same problem with the latest testing build for 2.0
User avatar (0010386)
Dusk (developer)
2014-10-08 13:35

We don't really have a way to determine when execution reaches client-sided scripting, so these line specials cannot determine when to wait for the server for packets for changing fade and color.

I have a prototype which tries to track this by setting a global variable when client-side ACS is executed or when a client-handled actor executes its state functions. I do wonder, is there a better way to deal with this?
User avatar (0010491)
Torr Samaho (administrator)
2014-10-11 15:46

The design of our whole client side ACS script logic never took into account that clients call ACS script via DECORATE. Before doing anything about the issue reported here, we should decide how we want to handle ACS scripts called by DECORATE on the client in general.

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
2014-10-05 14:37 Mr_Xerxes New Issue
2014-10-05 14:37 Mr_Xerxes File Added: fade-color_clientside.wad
2014-10-05 14:52 Mr_Xerxes Note Added: 0010334
2014-10-06 20:45 Dusk Assigned To => Dusk
2014-10-06 20:45 Dusk Status new => assigned
2014-10-06 20:45 Dusk Target Version => 1.4
2014-10-08 13:35 Dusk Note Added: 0010386
2014-10-08 13:35 Dusk Assigned To Dusk =>
2014-10-08 13:35 Dusk Status assigned => needs review
2014-10-11 15:46 Torr Samaho Note Added: 0010491
2014-10-11 15:46 Torr Samaho Status needs review => feedback
2015-01-06 09:50 Dusk Target Version 1.4 =>
2016-10-14 09:01 unknownna Relationship added has duplicate 0002684






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker