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

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003075Zandronum[All Projects] Bugpublic2017-04-19 09:172017-05-04 13:48
ReporterFused 
Assigned ToTorr Samaho 
PrioritynormalSeveritymajorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version3.0-beta 
Target Version3.0Fixed in Version3.0 
Summary0003075: Latest 3.0 build removes the ability to use SetActivatorToTarget() to an item.
DescriptionI use SetActivatorToTarget() for items in my mod in order to simulate a more realistic pick-up system. You need to look at an item, be in range, and press use on it in order to start scripts which will give you a virtual version of this item. This system however does not work anymore since the latest build, because it seems like SetActivatorToTarget() doesn't like items anymore, which it did do before.
Steps To ReproduceSummon zombieman2. When pressing use on its hitbox, it should say you pressed the zombieman.

Summon thingy. No matter where you press it, it will say thingy not found, because its hitbox can not be found.
Additional InformationStarts happening in Zandronum 3.0-alpha-170416-0710
This did not happen in zandronum-3.0-r170402-2027-26a565b-windows which can be found here:https://zandronum.com/tracker/view.php?id=2979#c17083 [^]
Attached Files? file icon example.pk3 [^] (1,613 bytes) 2017-04-19 09:17
? file icon crushtest.wad [^] (4,438 bytes) 2017-04-22 20:14

- Relationships

-  Notes
User avatar (0017217)
Fused (reporter)
2017-04-19 09:19
edited on: 2017-04-19 09:55

I would like to mention that setting it solid does not work either.

EDIT: This does actually work when not using decorate, oddly enough. I have a different function that displays the item's name, which works fine.

User avatar (0017219)
Torr Samaho (administrator)
2017-04-19 18:34

Works fine for me in 170416-0710. I have to take a tiny step back after summoning thingy, but then it's found. The behavior in 2.1.2 is identical.
User avatar (0017222)
Fused (reporter)
2017-04-19 19:26

Sorry, this is supposed to be done online.
I asked Watakid to update the summary, but he hasn't responded yet.
User avatar (0017223)
Torr Samaho (administrator)
2017-04-19 19:29

I tested it online. Works fine for me. Did you test this with the official binaries? Which OS did you use for client and server?
User avatar (0017226)
Fused (reporter)
2017-04-19 19:45
edited on: 2017-04-19 19:49

I've done some research, and it turns out it stops working when my ping is very high (I tested with 300 ping). This seems to be the problem, because with a low ping, or in a local server, the bug indeed did not exist. This bug not happen in previous builds though.

I tested with TSPG, using their binary and the stock one, and AUSDOOM.

User avatar (0017227)
Torr Samaho (administrator)
2017-04-19 19:56
edited on: 2017-04-19 19:56

I'd say it's quite unlikely that 170416-0710 and 170402-2027-26a565b behave differently in this regard.

Can you reproduce the problem reliably, e.g. with a ping emulator locally? If so, what are the exact steps to reproduce the problem?

User avatar (0017228)
Fused (reporter)
2017-04-19 20:07

I used 170402-2027-26a565b and 170416-0710 for the same host, and the bug happened when it switched to the newer one.

Although to be honest they failed to properly compile a build before, and perhaps this might be the case too. I didn't come to think of it, but that might very well be the case now that I see it happends on AUSDOOM.

On top of that, I tested with somebody with a low ping (< 40) in the same server, and he couln't take an item either.

Big chance it failed to compile again. I supose I'll ask him how he compiled Zandronum. His server runs on Linux, if it matters.
User avatar (0017249)
Torr Samaho (administrator)
2017-04-22 09:06

Ok, so you suspect that it's independent of the ping, but dependent on the server? Can you confirm this and report back?
User avatar (0017369)
Fused (reporter)
2017-04-27 18:41

DoomJoshuaBoy told me his cluster uses a build compiled usinghttps://wiki.zandronum.com/Compiling_Zandronum_on_Linux. [^]
I'm guessing the bug happends only when ran on a Linux server, but I'm not experienced with this so I could be wrong.
I don't know anyone else who could host a linux server to try this sadly.
User avatar (0017385)
Fused (reporter)
2017-04-28 13:35
edited on: 2017-04-28 13:39

The build fromhttp://zandronum.com/tracker/view.php?id=2594#c17326 [^] actually seems to break the feature inside the example pk3. I thing Thing_SetSpecial doesn't work anymore in this case. Since this is actually a new issue, shall I make another ticket instead?

User avatar (0017393)
Torr Samaho (administrator)
2017-04-29 09:58

Base on #17385, I found a problem with parsing the DECORATE flag USESPECIAL, which may explain the problems you observed. This parsing problem should be fixed now.
User avatar (0017408)
Fused (reporter)
2017-04-29 16:18
edited on: 2017-04-29 16:18

That seems to have fixed it. Regarding the actual ticket, I am unable to find someone who could host another Linux server for now. Hopefully I might find someone later.

User avatar (0017411)
Torr Samaho (administrator)
2017-04-29 16:21

FYI, the bug I fixed may also have caused the different behavior under Windows and Linux. So if we are lucky, the Linux problems you observed are also fixed now.
User avatar (0017546)
Fused (reporter)
2017-05-04 08:58

After testing, it seems the issue is fixed on Linux servers aswell.

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
2017-04-19 09:17 Fused New Issue
2017-04-19 09:17 Fused File Added: example.pk3
2017-04-19 09:19 Fused Note Added: 0017217
2017-04-19 09:20 Fused Note Edited: 0017217 View Revisions
2017-04-19 09:21 Fused Note Edited: 0017217 View Revisions
2017-04-19 09:55 Fused Note Edited: 0017217 View Revisions
2017-04-19 18:34 Torr Samaho Note Added: 0017219
2017-04-19 18:34 Torr Samaho Assigned To => Torr Samaho
2017-04-19 18:34 Torr Samaho Status new => feedback
2017-04-19 19:26 Fused Note Added: 0017222
2017-04-19 19:26 Fused Status feedback => assigned
2017-04-19 19:29 Torr Samaho Note Added: 0017223
2017-04-19 19:45 Fused Note Added: 0017226
2017-04-19 19:46 Fused Note Edited: 0017226 View Revisions
2017-04-19 19:48 Fused Note Edited: 0017226 View Revisions
2017-04-19 19:49 Fused Note Edited: 0017226 View Revisions
2017-04-19 19:56 Torr Samaho Note Added: 0017227
2017-04-19 19:56 Torr Samaho Note Edited: 0017227 View Revisions
2017-04-19 19:57 Torr Samaho Note Revision Dropped: 17227: 0010366
2017-04-19 20:07 Fused Note Added: 0017228
2017-04-22 09:06 Torr Samaho Note Added: 0017249
2017-04-22 20:14 Fused File Added: crushtest.wad
2017-04-23 08:11 Torr Samaho Status assigned => feedback
2017-04-27 18:41 Fused Note Added: 0017369
2017-04-27 18:41 Fused Status feedback => assigned
2017-04-28 13:35 Fused Note Added: 0017385
2017-04-28 13:39 Fused Note Edited: 0017385 View Revisions
2017-04-29 09:58 Torr Samaho Note Added: 0017393
2017-04-29 09:58 Torr Samaho Status assigned => needs testing
2017-04-29 16:18 Fused Note Added: 0017408
2017-04-29 16:18 Fused Note Edited: 0017408 View Revisions
2017-04-29 16:21 Torr Samaho Note Added: 0017411
2017-05-04 08:58 Fused Note Added: 0017546
2017-05-04 13:48 Ru5tK1ng Status needs testing => resolved
2017-05-04 13:48 Ru5tK1ng Resolution open => fixed
2017-05-04 13:48 Ru5tK1ng Fixed in Version => 3.0
2017-05-04 13:48 Ru5tK1ng Target Version => 3.0






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker