[x] I have tried my absolute best to reduce the problem-space and have provided the absolute smallest test-case possible.
[x] I can always reproduce the issue with the provided description below.
[x] I have checked that my issue still occours when using the plugin's default settings.
[ ] I am running the original plugin without third-party modifications.
Environment
SourceMod version: 1.11
Plugin version: 1.2.16
[x] I have updated the plugin to the latest version available in the repository and my issue still happens.
Description
For the majority of the time Blue players spawn, they are being forced to pick up the flag even when another player already has it. This causes a weird issue where the bomb will drop and teleport to where one of the players that previously had it died. This issue seem to be tied to the SDKCall on CCaptureFlag::IsHome used in TF2_IsFlagHome, possibly being outdated and returning wrong values.
I was able to fix this by instead replacing the SDKCall with a check on the flag's netprop m_nFlagStatus, as it seems to serve the exact same purpose.
This issue was noticed on Windows.
Steps to reproduce
Join Blue.
Have another Blue player pick up the bomb.
Respawn. Nearly every time the bomb will always be forcibly picked up, regardless who currently has it.
Help us help you
Environment
Description
For the majority of the time Blue players spawn, they are being forced to pick up the flag even when another player already has it. This causes a weird issue where the bomb will drop and teleport to where one of the players that previously had it died. This issue seem to be tied to the SDKCall on
CCaptureFlag::IsHome
used inTF2_IsFlagHome
, possibly being outdated and returning wrong values.I was able to fix this by instead replacing the SDKCall with a check on the flag's netprop
m_nFlagStatus
, as it seems to serve the exact same purpose.This issue was noticed on Windows.
Steps to reproduce