View previous topic :: View next topic |
Author |
Message |
Oxyde Dominating!
Joined: 01 Feb 2012 Location: France (67) Host: Zero Dawn
|
Posted: Sat Mar 10, 2018 10:07 pm Post subject: CPW_CustomBulletAttack & CPW_CustomMissile online issues |
|
|
Hi all,
Two quick issues noticed on using these codepointers for custom attacks :
- Infinite Ammo DMFlag doesn't extend to these - So if you happen to use these weapons with this flag on, your ammo will still deplete regardless
- There is a synchronisation issue online regarding remaining ammo: The first shot isn't counted on the client's ammo pool, resulting in a very bad desync. This leads to cases where you can still pull out the weapon, even when it is server-side empty, and attept to shoot but nothing will ever come out of your gun (but still show and play firing animations)
Test wad : https://www.dropbox.com/s/xv3dhtcs1k850lc/test_ammo_depleted.wad?dl=1 (kudos to JCD!)
This wad emulates the pistol and rocket launcher's vanilla behavior, while using a custom attack. |
|
Back to top |
|
|
Aeyesx Dominating!
Joined: 13 Oct 2012
|
Posted: Sun Mar 11, 2018 11:00 am Post subject: |
|
|
Hmm too bad nobody found this issue before 1.10 release :/
You can give it infinite ammo using dehacked possibly. |
|
Back to top |
|
|
Oxyde Dominating!
Joined: 01 Feb 2012 Location: France (67) Host: Zero Dawn
|
Posted: Sun Mar 11, 2018 11:58 am Post subject: |
|
|
Aeyesx wrote: | Hmm too bad nobody found this issue before 1.10 release :/
You can give it infinite ammo using dehacked possibly. |
Actually this could work, but the aim I have for using this flag is for testing purposes ! |
|
Back to top |
|
|
Krawa There is a limit
Joined: 23 Nov 2008 Location: #SDA
|
Posted: Mon Apr 30, 2018 9:49 pm Post subject: |
|
|
Added CPW_BulletAttack to chaingun (with 1 shot instead of 2): test_ammo_depleted2.wad
All 3 functions are affected:
CPW_BulletAttack (A_CP_BulletAttack_Aux)
CPW_CustomBulletAttack (A_CP_CustomBulletAttack_Aux)
CPW_CustomMissile (A_CP_CustomMissile_Aux)
Moved to confirmed. |
|
Back to top |
|
|
Krawa There is a limit
Joined: 23 Nov 2008 Location: #SDA
|
Posted: Sat May 05, 2018 3:08 pm Post subject: |
|
|
Fix for CPW_BulletAttack, CPW_CustomBulletAttack and CPW_CustomMissile: sv_infiniteammo had no effect and ammo counting was wrong online.
Fixed for 1.10.04 |
|
Back to top |
|
|
Aeyesx Dominating!
Joined: 13 Oct 2012
|
Posted: Sat May 05, 2018 3:20 pm Post subject: |
|
|
Cool, those generic ones are handy. |
|
Back to top |
|
|
Oxyde Dominating!
Joined: 01 Feb 2012 Location: France (67) Host: Zero Dawn
|
Posted: Mon May 07, 2018 8:21 pm Post subject: |
|
|
Sexcellent ! |
|
Back to top |
|
|
|