Raised This Month: $267 Target: $400

Missing weapons when overwriting in OGNI

Thread Tools Display Modes
Prev Previous Post   Next Post Next
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 - 156 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 online now

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -4. The time now is 00:40.

Powered by vBulletin®
Copyright ©2000 - 2021, vBulletin Solutions, Inc.
Theme made by Freecode