View Single Post
Author Message
Veteran Member
Join Date: Aug 2014
Old 03-22-2019 , 05:58   Missing weapons when overwriting in OGNI
Reply With Quote #1

Been having trouble for the longest time trying to replace weapons in the TF2Items_OnGiveNamedItem forward. I want to believe it's user error, but nothing obvious stands out to me.

Tested the attached plugin against the following on a fresh Linux server (requires Econ Data):
  • MM:S 1.11.0-git1125
  • SM 1.9.0-git6275
  • TF2Items 1.6.4-hg279

The expected outcome is that the bots (and player) spawn with replacement items, but the bots usually end up equipped with either one stock item or no items at all, though the debugging messages indicate that the item selection process was successful.
Attached Files
File Type: sp Get Plugin or Get Source (bot_randomizer_minimal.sp - 161 views - 1.6 KB)
I do TF2, TF2 servers, and TF2 plugins.
I don't do DMs over Discord -- PM me on the forums regarding inquiries.
AlliedModders Releases / Github / TF2 Server / Donate (BTC / BCH / coffee)

Last edited by nosoop; 03-22-2019 at 22:58.
nosoop is offline