Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shortstop used as a base spawns with low maxammo #60

Open
3 tasks done
gronktonkbabonk opened this issue May 8, 2024 · 0 comments
Open
3 tasks done

Shortstop used as a base spawns with low maxammo #60

gronktonkbabonk opened this issue May 8, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@gronktonkbabonk
Copy link

gronktonkbabonk commented May 8, 2024

Pre-flight checklist

  • I am only describing a single issue. (If you want to report multiple, please file them individually so they can be referenced and closed separately.)
  • I have upgraded to the latest version of CWX and its dependencies; the issue still persists.
  • I have verified that the issue is specific to CWX, and have ruled out other plugins that work indirectly with CWX (e.g. attributes).

Environment

  • Operating system:
  • Linux Mint 21.2 Victoria
  • SourceMod version:
  • 1.11.0.6962
  • CWX version:
  • X.0.10-2c22df4

Description
Upon using the Shortstop as a base and increasing the maxammo with the attribute: "maxammo primary increased", the shortstop spawns with 25 reserve ammo instead of the intended 200. This is not an issue with the attribute not working- the reserve can still be filled up to max, it's just emptied beforehand.

Steps to replicate

Make a primary weapon that inherits the shortstop, then add the attrib "maxammo primary increased", any value above 1 is fine. the weapon, upon recieving, will have 25 reserve ammo, not the specified amount.

Other information
sample: minimalrecreate.txt

sm exts list; sm plugins list;
[SM] Displaying 10 extensions:
[01] Automatic Updater (1.11.0.6962): Updates SourceMod gamedata files
[02] Webternet (1.11.0.6962): Extension for interacting with URLs
[03] TF2 Tools (1.11.0.6962): TF2 extended functionality
[04] BinTools (1.11.0.6962): Low-level C/C++ Calling API
[05] SDK Hooks (1.11.0.6962): Source SDK Hooks
[06] SDK Tools (1.11.0.6962): Source SDK Tools
[07] Top Menus (1.11.0.6962): Creates sorted nested menus
[08] Client Preferences (1.11.0.6962): Saves client preference settings
[09] SQLite (1.11.0.6962): SQLite Driver
[10] DHooks (2.2.0-detours17): Dynamic Hooks
[SM] Listing 27 plugins:
  01 "[TF2] Econ Data" (0.19.1) by nosoop
  02 "[TF2] Custom Attribute Debugger" (1.0.0) by nosoop
  03 "Player Commands" (1.11.0.6962) by AlliedModders LLC
  04 "Admin Menu" (1.11.0.6962) by AlliedModders LLC
  05 "[TF2] Custom Attribute Team Subsection Handler" (1.1.0) by nosoop
  06 "Basic Votes" (1.11.0.6962) by AlliedModders LLC
  07 "[TF2] TF2Attributes" (1.7.3) by FlaminSarge
  08 "[TF2] Custom Attributes" (0.4.1) by nosoop
  09 "Basic Ban Commands" (1.11.0.6962) by AlliedModders LLC
  10 "Nextmap" (1.11.0.6962) by AlliedModders LLC
  11 "Basic Commands" (1.11.0.6962) by AlliedModders LLC
  12 "Basic Comm Control" (1.11.0.6962) by AlliedModders LLC
  13 "Admin Help" (1.11.0.6962) by AlliedModders LLC
  14 "Admin File Reader" (1.11.0.6962) by AlliedModders LLC
  15 "Fun Votes" (1.11.0.6962) by AlliedModders LLC
  16 "Fun Commands" (1.11.0.6962) by AlliedModders LLC
  17 "[TF2] Custom Weapons X - Equip Commands" (1.1.0) by nosoop
  18 "[TF2] Custom Attribute Manager" (1.0.0) by nosoop
  19 "[TF2] Custom Weapons X" (X.0.10-2c22df4) by nosoop
  20 "Basic Chat" (1.11.0.6962) by AlliedModders LLC
  21 "Client Preferences" (1.11.0.6962) by AlliedModders LLC
  22 "Sound Commands" (1.11.0.6962) by AlliedModders LLC
  23 "Anti-Flood" (1.11.0.6962) by AlliedModders LLC
  24 "TF2 Utils" (1.3.2) by nosoop
  25 "[TF2CA] Custom Weapons Config Adapter for Custom Attributes" (1.2.2) by nosoop
  26 "Reserved Slots" (1.11.0.6962) by AlliedModders LLC
  27 "Basic Info Triggers" (1.11.0.6962) by AlliedModders LLC
@gronktonkbabonk gronktonkbabonk added the bug Something isn't working label May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant