Raised This Month: $7 Target: $400
 1% 

TF2Items FAQ


Post New Thread Reply   
 
Thread Tools Display Modes
lizzy
New Member
Join Date: Dec 2017
Old 06-10-2020 , 05:04   Re: TF2Items FAQ
Reply With Quote #21

Is there a hard-coded limit of 16 attributes in tf2 or is that simply imposed by the plugin?
lizzy is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 06-10-2020 , 05:11   Re: TF2Items FAQ
Reply With Quote #22

Quote:
Originally Posted by lizzy View Post
Is there a hard-coded limit of 16 attributes in tf2
The limit comes from TF2, but it was increased from 16 to 20 back in 2017 (and TF2Items updated to match.)
__________________
asherkin is offline
ksyko
New Member
Join Date: May 2020
Old 02-08-2021 , 05:49   Re: TF2Items FAQ
Reply With Quote #23

Can someone please check these files. Cant tell what im doing wrong.
I am not able to get the weapon changes.

tf2.items.txt (sourcemod/gamedata/)

Code:
"Games"
{
        "tf"
        {
                "Offsets"
                {
                        "GiveNamedItem"
                        {
                                "windows"       "477"
                                "linux" "484"
                                "mac"   "484"
                        }
                }
        }
}
tf2items.weapons.txt (sourcemod/configs)
Code:
"custom_weapons_v3"
{
        "*"
        {
                "230" 
                {
                        "level"   "1"
                        "quality"               "6" 
                        "1"                     "305; 1" 
                        "2"                     "308; 1" 
                        "3"                     "41 ; .6"
            
                }


                "41"
                {
                        "level"   "1"
                        "quality"               "6" 
                        "1"     "280 ; 2"
                        "2"     "5 ; 3"
                        "3"     "488 ; 1"
                        "4"     "100 ; .3"   
                        "5"     "77 ; .75"
                }
        }
}
ksyko is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 02-08-2021 , 05:51   Re: TF2Items FAQ
Reply With Quote #24

Have you compiled and loaded the tf2items_manager plugin?
__________________
asherkin is offline
ksyko
New Member
Join Date: May 2020
Old 02-08-2021 , 06:10   Re: TF2Items FAQ
Reply With Quote #25

Quote:
Originally Posted by asherkin View Post
Have you compiled and loaded the tf2items_manager plugin?
Havent compiled. But have the old plugin with me.

Code:
tf2items_manager_reload
L 02/08/2021 - 10:57:50: [tf2items_manager.smx] Reloading items list

If needed to compile, how do I compile. Tried compiling it (ran configure.py), got this "Exception: Could not find a valid path for MMSOURCE19"... Im on linux.

Edit: Was able to solve mmsource19 issue. Now i get this: Exception: Could not determine repository version
Edit2: I gave a random version (3,3) and compiled it. Got the smx file, using the same. Still not able to see the changes.
Edit3: Just had to validate game files (had messed with the official item schema) and restart the server

Thanks for making this.

Last edited by ksyko; 02-11-2021 at 11:03.
ksyko 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 06:47.


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