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
0003666Zandronum[All Projects] Bugpublic2019-06-22 08:472019-06-22 08:47
Reporterauratoostronk 
Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
StatusnewResolutionopen 
PlatformPCOSWindows 10OS Version10.0.17763
Product Version3.0 
Target VersionFixed in Version 
Summary0003666: Sine and Cosine functions in decorate not working on servers?
DescriptionI'm using the following decorate code to fire a shotgun in a consistant circular pattern every time it is fired. It works fine in offline skirmish but I've tested it on TSPG's hosting service and on my own server from my own device and when it fires the game freezes until I have to close it. It does not affect the server but only the client i.e. other players on the server are not affected.
Steps To ReproduceThis is my code for the shotgun:

Fire:
        TNT1 A 0 ACS_NamedExecuteAlways("PauseEnergyRegen", 0)
        TNT1 A 0 A_TakeInventory("StealthTic", 999)
        TNT1 A 0 A_FireCustomMissile("PurpleFlashShoot", 0, false)
        TNT1 A 0 A_PlayWeaponSound("ParticleSplitter/Fire")
        TNT1 A 0 A_Recoil(6)
        TNT1 A 0 Bright A_FireCustomMissile("SGPellet", frandom(-3.0, 3.0), true, 0.0, -1.0, 0, frandom(-3.0, 3.0))
        TNT1 A 0 A_SetArg(0, 0)
        TNT1 A 0 A_SetArg(1, 0)
    Fire1:
        TNT1 A 0 A_FireCustomMissile("SGPellet", 1.8*cos(args[0]), false, 0.0, -1.0, 0, 1.8*sin(args[0]))
        TNT1 A 0 A_FireCustomMissile("SGPellet", 3.0*cos(args[0]), false, 0.0, -1.0, 0, 3.0*sin(args[0]))
        TNT1 A 0 A_SetArg(0, args[0] + 30)
        TNT1 A 0 A_JumpIf(args[0] >= 360, "Fire2")
        Goto Fire1
    Fire2:
        TNT1 A 0 A_FireCustomMissile("SGPellet", 0.8*cos(args[1]), false, 0.0, -1.0, 0, 0.8*sin(args[1]))
        TNT1 A 0 A_FireCustomMissile("SGPellet", 4.0*cos(args[1]), false, 0.0, -1.0, 0, 4.0*sin(args[1]))
        TNT1 A 0 A_SetArg(1, args[1] + 60)
        TNT1 A 0 A_JumpIf(args[1] >= 360, "FireFinish")
        Goto Fire2
    FireFinish:
        PSGF ABCBA 1
        Goto Pump
Additional InformationI've recorded the footage of both the offline skirmish with bots and myself on my server. The files are too big to put here so I posted links to the videos on my google drive.

https://drive.google.com/open?id=17U5qGP6lEWvHytlmjKlXfdaS1QKT4afE [^]

https://drive.google.com/open?id=12WMOkagcGkxR-185MwugSlDKc6Ib-X_0 [^]
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

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
2019-06-22 08:47 auratoostronk New Issue






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker