Raised This Month: $12 Target: $400
 3% 

New Weapons (10/20/17) as "Invalid Item Index"


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
cheddar
Member
Join Date: Sep 2015
Old 10-20-2017 , 22:32   New Weapons (10/20/17) as "Invalid Item Index"
Reply With Quote #1

Hi,

I'm trying to use the "giveweapon" plugin to give access to the new weapons as of 10/20/17 (Inferno Update).

I'm trying "sm_giveweapon @me 1178" which is the Dragon's Fury. It returns with "Invalid Item Index". I'm assuming this is because TF2Items needs to be updated.

I see the tf2.items.txt has been updated in the TF2Items github and so I've tried to compile it myself but I keep getting an error.



It seems it can't find where SM is located... but I can't find where to enter the path.

Any estimate on when or where I can get an updated TF2Items file. Or what a workaround might be in the meantime.

Thanks
-Ched

Last edited by cheddar; 10-21-2017 at 00:00.
cheddar is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 10-21-2017 , 05:20   Re: New Weapons (10/20/17) as "Invalid Item Index"
Reply With Quote #2

This isn't related to TF2Items, post in the giveweapon plugin thread.
__________________
asherkin is offline
cheddar
Member
Join Date: Sep 2015
Old 10-21-2017 , 19:37   Re: New Weapons (10/20/17) as "Invalid Item Index"
Reply With Quote #3

Asherkin, I apologize. I'm a bit confused.
The error message I'm receiving says "[TF2Items] Invalid Weapon Index".

Isn't TF2Items what informs "giveweapon" what item indexes are available?
-Ched
cheddar is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 10-21-2017 , 20:02   Re: New Weapons (10/20/17) as "Invalid Item Index"
Reply With Quote #4

Quote:
Originally Posted by cheddar View Post
Isn't TF2Items what informs "giveweapon" what item indexes are available?
No, it is not, the giveweapon plugin has an internal list (which can be augmented at runtime by a different plugin I can't remember the name of). TF2Items does not do any validation.
__________________
asherkin is offline
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 10-22-2017 , 07:29   Re: New Weapons (10/20/17) as "Invalid Item Index"
Reply With Quote #5

Quote:
Originally Posted by asherkin View Post
No, it is not, the giveweapon plugin has an internal list (which can be augmented at runtime by a different plugin I can't remember the name of). TF2Items does not do any validation.
The other plugin is TF2 Items Info which if I recall parsed the items_game.txt file
__________________
WildCard65 is offline
Reply


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 18:37.


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