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
0002440Zandronum[All Projects] Bugpublic2015-09-06 11:442018-09-30 22:18
ReporterZalewa 
Assigned ToDusk 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version2.1 
Target VersionFixed in Version3.0 
Summary0002440: Clientside DECORATE negative args[] wonkiness in A_SpawnItemEx with SXF_CLIENTSIDE
DescriptionConsider following decorate code

Actor Spawner 195
{
  states
  {
    Spawn:
    Active:
      TNT1 A 0
      TNT1 A 5 A_SpawnItemEx("Splat", 0.0, 0.0, 32.0, \
                             Args[0], Args[0], Args[0], \
                             0, SXF_CLIENTSIDE)
      Loop
  }
}

actor Splat
{
  +NoGravity
  States
  {
  Spawn:
    BLUD CBA 8
    Stop
  }
}


Assigning a negative value to args[0] will set negative X/Y/Z velocity for spawned object. This works correctly offline. However, when run on server, things will go crazy. Removing SXF_CLIENTSIDE flag fixes the issue.
Steps To Reproduce1. Download attached "argsnegative.wad"
2. Run MAP01 offline.
3. Notice two spawners spawning blood splats in separate directions.
4. Now run MAP01 on a server.
5. Join this server.
6. Notice only one spawner functioning properly.
Additional InformationSame thing happens in Zandronum 3.0.
Attached Files? file icon argsnegative.wad [^] (1,803 bytes) 2015-09-06 11:44

- Relationships

-  Notes
User avatar (0013526)
Dusk (developer)
2015-09-17 16:09
edited on: 2015-09-17 16:10

'https://bitbucket.org/Torr_Samaho/zandronum-stable/pull-requests/11 [^]'

The client was setting the thing arguments as 255 as instructed by the server. We need 4 byte length for thing arguments because UDMF and modern DECORATE are things now.

User avatar (0013591)
Torr Samaho (administrator)
2015-10-04 14:13

I added your patch.
User avatar (0013614)
Zalewa (developer)
2015-10-05 18:55

Tested my example in 3.0-alpha-r151004-2012. Seems to be working fine.

Issue Community Support
This issue is already marked as resolved.
If you feel that is not the case, please reopen it and explain why.
Supporters: No one explicitly supports this issue yet.
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2015-09-06 11:44 Zalewa New Issue
2015-09-06 11:44 Zalewa File Added: argsnegative.wad
2015-09-06 12:29 Zalewa Additional Information Updated View Revisions
2015-09-11 18:59 Dusk Status new => acknowledged
2015-09-11 18:59 Dusk Status acknowledged => assigned
2015-09-11 18:59 Dusk Assigned To => Dusk
2015-09-11 18:59 Dusk Status assigned => acknowledged
2015-09-17 15:23 Dusk Status acknowledged => assigned
2015-09-17 16:09 Dusk Note Added: 0013526
2015-09-17 16:09 Dusk Status assigned => needs review
2015-09-17 16:10 Dusk Note Edited: 0013526 View Revisions
2015-10-04 14:13 Torr Samaho Note Added: 0013591
2015-10-04 14:13 Torr Samaho Status needs review => needs testing
2015-10-05 18:55 Zalewa Note Added: 0013614
2015-10-06 16:22 Dusk Status needs testing => resolved
2015-10-06 16:22 Dusk Fixed in Version => 3.0
2015-10-06 16:22 Dusk Resolution open => fixed
2018-09-30 22:18 Blzut3 Status resolved => closed






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker