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
0002021Zandronum[All Projects] Bugpublic2014-12-06 02:342017-08-15 10:56
ReporterStrikerMan780 
Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
StatusnewResolutionopen 
PlatformOSOS Version
Product Version1.3 
Target VersionFixed in Version 
Summary0002021: Clients are not made aware of Target pointer if bulletpuff has +PUFFGETSOWNER
DescriptionIt seems that bullet puffs that have +PUFFGETSOWNER, do not inform clients of the owner of the puff. This can cause some issues with some effects that rely on knowing this information, such as bullet tracers, or other effects.
Steps To Reproducezandronum -host -nomonsters -file decorate.txt
zandronum -file decorate.txt -connect localhost

Shoot a hitscan weapon, the fire should be spawning in your face, not at the impact site.
Additional Information
Quote

22:03 <TheEnigma> The bullet tracer code that I put together works wonderfully offline, but has a major fucking freakout online.
22:05 <TheEnigma> I'm guessing the pointers of bullet puffs are either not sent to clients at all
22:06 <TheEnigma> or, the pointers of an actor spawned by the server rather than clientside, aren't transferred to clientside spawned actors/effects later (which is a major problem).

✂ ✂ ✂ ✂ ✂

22:26 <Dusk> it needs to know the target pointer of the puff?
22:26 <TheEnigma> It needs to know the target, and the rearranged pointers to the tracer.
22:26 <Dusk> okay well the client doesn't know this
22:26 <Dusk> which is why this isn't working
Attached Filestxt file icon decorate.txt [^] (780 bytes) 2014-12-06 03:45 [Show Content]

- Relationships

-  Notes
User avatar (0011039)
StrikerMan780 (reporter)
2014-12-06 03:40
edited on: 2014-12-06 03:46

The test decorate.txt included is messed up, use this code instead:
Detached posted code into a new testcase decorate.txt --Dusk

User avatar (0011040)
Dusk (developer)
2014-12-06 16:27
edited on: 2014-12-06 19:27

We have a problem. Starting from 2.0 Zandronum starts getting ZDoom's pointer manipulation functionality. I don't think that the netcode is designed to handle this. We need to assess this issue or pointer manipulation functions will potentially be a massive trainwreck online!

Note: I'm not sure if we need to actually do anything regards to pointer manipulation, however I see a potential problem and we should discuss that in more detail. The problem in this ticket is that clients don't know what a puff has hit.

User avatar (0011276)
Torr Samaho (administrator)
2015-01-04 17:30

Quote from Dusk

Starting from 2.0 Zandronum starts getting ZDoom's pointer manipulation functionality. I don't think that the netcode is designed to handle this.

I think that fact that this are pointers internally doesn't matter. Our netID can be used for the identification. What may be a problem is that we don't sync target, master or tracer in general.
User avatar (0011373)
Dusk (developer)
2015-01-14 12:19

As for the actual bullet puff scripting, this is something we need to discuss more about.
User avatar (0018192)
Catastrophe (reporter)
2017-08-15 06:19

Was anything done about this?

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-12-06 02:34 StrikerMan780 New Issue
2014-12-06 03:17 Dusk Assigned To => Dusk
2014-12-06 03:17 Dusk Status new => assigned
2014-12-06 03:27 Dusk Steps to Reproduce Updated View Revisions
2014-12-06 03:27 Dusk Additional Information Updated View Revisions
2014-12-06 03:28 Dusk File Added: decorate.txt
2014-12-06 03:40 StrikerMan780 Note Added: 0011039
2014-12-06 03:41 Dusk File Deleted: decorate.txt
2014-12-06 03:41 StrikerMan780 Note Edited: 0011039 View Revisions
2014-12-06 03:42 StrikerMan780 Note Edited: 0011039 View Revisions
2014-12-06 03:43 StrikerMan780 Note Edited: 0011039 View Revisions
2014-12-06 03:45 Dusk File Added: decorate.txt
2014-12-06 03:46 Dusk Note Edited: 0011039 View Revisions
2014-12-06 03:46 Dusk Note Edited: 0011039 View Revisions
2014-12-06 16:27 Dusk Note Added: 0011040
2014-12-06 16:28 Dusk Priority normal => high
2014-12-06 16:28 Dusk Product Version => 2.0-beta
2014-12-06 16:28 Dusk Target Version => 2.0
2014-12-06 17:16 Dusk Note Edited: 0011040 View Revisions
2014-12-06 17:16 Dusk Additional Information Updated View Revisions
2014-12-06 19:27 Dusk Note Edited: 0011040 View Revisions
2015-01-04 17:30 Torr Samaho Note Added: 0011276
2015-01-11 16:18 Dusk Target Version 2.0 =>
2015-01-14 12:19 Dusk Note Added: 0011373
2015-01-14 12:19 Dusk Assigned To Dusk =>
2015-01-14 12:19 Dusk Status assigned => new
2015-01-14 12:20 Dusk Priority high => normal
2015-01-14 12:20 Dusk Product Version 2.0-beta => 1.3
2015-01-17 21:28 StrikerMan780 Note Added: 0011410
2015-01-17 21:31 Dusk Note Deleted: 0011410
2017-08-15 06:19 Catastrophe Note Added: 0018192






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker