Raised This Month: $27 Target: $400
 6% 

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
block_place1232
New Member
Join Date: Mar 2025
Old 03-23-2025 , 07:38   Re: TF2Items FAQ
Reply With Quote #26

Help! I am stuck with loading the extenstion. It doesn't appear in my plugins list. The other 3 dependencies for the plugin I need work fine but this one doesn't appear or work.

please help

`WARNING: No map specified! Server may not heartbeat.
Auto detecting CPU
Using default binary: ./srcds_linux
Enabling debug mode
Server will auto-restart if there is a crash.
Using shader api: shaderapiempty_srv.so
Using Breakpad minidump system. Version: 9543365 AppID: 232250
Setting breakpad minidump AppID = 232250
Using breakpad crash handler
server_srv.so loaded for "Team Fortress"
For FCVAR_REPLICATED, ConVar must be defined in client and game .dlls (sv_use_steam_voice)
ProtoDefs post data loaded.
ProtoDefs loaded. 21.93 MB used
ProtoDefs post data loaded.
ProtoDefs loaded. 21.93 MB used
failed to dlopen /home/block/Servers/tf_dedicated/tf/addons/metamod/bin/linux64/server.so error=/home/block/Servers/tf_dedicated/tf/addons/metamod/bin/linux64/server.so: wrong ELF class: ELFCLASS64
Unable to load plugin "addons/metamod/bin/linux64/server"
maxplayers set to 24
No '-replayserverdir' parameter found - using default replay folder.
Replay: Creating thread pool...succeeded.
Replay: Starting thread pool with 4 threads...succeeded.
Cleaning files from temp dir, "/home/block/Servers/tf_dedicated/tf/replay/server/tmp/" ...no files removed.
ProtoDefs post data loaded.
ProtoDefs post data loaded.
Setting breakpad minidump AppID = 232251
Forcing breakpad minidump interfaces to load
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
03/23 11:27:53 minidumps folder is set to /tmp/dumps
03/23 11:27:53 Init: Installing breakpad exception handler for appid(232251)/version(9543365)/tid(8153)
Unknown command "r_decal_cullsize"
--------------------------------------------------------
sv_pure value unchanged (current value is 0).
--------------------------------------------------------
Using map cycle file 'cfg/mapcycle.txt'.
randommap: selecting map 14 out of 34
ConVarRef dev_loadtime_map_start doesn't point to an existing ConVar
maxplayers set to 24
Unknown command "startupmenu"
Network: IP 192.168.0.19, mode MP, dedicated Yes, ports 27015 SV / 27005 CL
[META] Loaded 1 plugin.
Initializing Steam libraries for secure Internet server
[S_API] SteamAPI_Init(): Loaded local 'steamclient.so' OK.
03/23 11:27:53 minidumps folder is set to /tmp/dumps
CAppInfoCacheReadFromDiskThread took 1 milliseconds to initialize
Setting breakpad minidump AppID = 440
SteamInternal_SetMinidumpSteamID: Caching Steam ID: 76561197960265728 [API loaded yes]
SteamInternal_SetMinidumpSteamID: Setting Steam ID: 76561197960265728
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
SteamInternal_SetMinidumpSteamID: Caching Steam ID: 76561197960265728 [API loaded yes]
SteamInternal_SetMinidumpSteamID: Setting Steam ID: 76561197960265728
[S_API FAIL] Tried to access Steam interface SteamUtils010 before SteamAPI_Init succeeded.
Setting breakpad minidump AppID = 232250
Logging into Steam game server account
L 03/23/2025 - 11:27:54: [TF2ITEMS] "GiveNamedItem" offset = 493
[StAC]
----> StAC version [6.3.5] loaded
CNetChan:rocessPacket detoured!
CBasePlayer:rocessUsercmds detoured!
CVEngineServer::GetClientConVarValue detoured!
CBaseClient::GetPlayerSlot set up!
CNetChan::GetMsgHandler set up!
CNetChan::GetTimeSinceLastReceived set up!
ConVarRef room_type doesn't point to an existing ConVar
Executing dedicated server config file server.cfg
VSCRIPT: Started VScript virtual machine using script language 'Squirrel'
VSCRIPT: Started VScript virtual machine using script language 'Squirrel'
Script not found (scripts/vscripts/mapspawn.nut)
Script not found (scripts/vscripts/mapspawn.nut)
Set motd from file 'cfg/motd.txt'
Set motd_text from file 'cfg/motd_text_default.txt'. ('cfg/motd_text.txt' was not found.)
SV_ActivateServer: setting tickrate to 66.7
Connection to game coordinator established.
Current item schema is up-to-date with version EC2F6F07.
Cannot change maxplayers while the server is running
--------------------------------------------------------
sv_pure value unchanged (current value is 0).
--------------------------------------------------------
Writing cfg/banned_user.cfg.
Writing cfg/banned_ip.cfg.
Server logging enabled.
Server logging data to file logs/L0323005.log
L 03/23/2025 - 11:28:01: Log file started (file "logs/L0323005.log") (game "/home/block/Servers/tf_dedicated/tf") (version "9543365")
Unknown command "mp_autoteambalance_delay"
Unknown command "mp_autoteambalance_warning_delay"
L 03/23/2025 - 11:28:01: server_cvar: "mp_stalemate_enable" "1"
L 03/23/2025 - 11:28:01: server_cvar: "mp_timelimit" "45"
L 03/23/2025 - 11:28:01: server_cvar: "mp_scrambleteams_auto" "0"
L 03/23/2025 - 11:28:01: server_cvar: "decalfrequency" "30"
L 03/23/2025 - 11:28:01: server_cvar: "sv_alltalk" "1"
L 03/23/2025 - 11:28:01: server_cvar: "sv_tags" "alltalk,block_place1232,cp,nocrits"
Unknown command "sm_engipve_allow_respawnroom_build"
Unknown command "sm_engipve_bot_sapper_insta_remove"
Unknown command "sm_engipve_respawn_bots_on_round_end"
Unknown command "sm_engipve_clear_bots_building_gibs"
Unknown command "sm_engipve_spy_capblock_time"
'koth_viaduct.cfg' not present; not executing.
Server is hibernating
Connection to Steam servers successful.
Public IP to Steam is 77.100.90.15.
Assigned persistent gameserver Steam ID [G:1:13127952].
VAC secure mode is activated.
L 03/23/2025 - 11:28:01: server_cvar: "sm_nextmap" "cp_yukon_final"
sm plugins [S_API FAIL] Tried to access Steam interface SteamNetworkingUtils004 before SteamAPI_Init succeeded.
list
[SM] Listing 21 plugins:
01 "Basic Info Triggers" (1.13.0.7221) by AlliedModders LLC
02 "Sound Commands" (1.13.0.7221) by AlliedModders LLC
03 "[TF2] TF2Attributes" (1.7.3) by FlaminSarge
04 "Basic Comm Control" (1.13.0.7221) by AlliedModders LLC
05 "Source Scramble Manager" (1.2.0) by nosoop
06 "Admin Menu" (1.13.0.7221) by AlliedModders LLC
07 "Basic Commands" (1.13.0.7221) by AlliedModders LLC
08 "Player Commands" (1.13.0.7221) by AlliedModders LLC
09 "Client Preferences" (1.13.0.7221) by AlliedModders LLC
10 "Admin File Reader" (1.13.0.7221) by AlliedModders LLC
11 "Fun Commands" (1.13.0.7221) by AlliedModders LLC
12 "Basic Votes" (1.13.0.7221) by AlliedModders LLC
13 "Reserved Slots" (1.13.0.7221) by AlliedModders LLC
14 "[TF2] Econ Data" (0.19.1) by nosoop
15 "Anti-Flood" (1.13.0.7221) by AlliedModders LLC
16 "Basic Ban Commands" (1.13.0.7221) by AlliedModders LLC
17 "Nextmap" (1.13.0.7221) by AlliedModders LLC
18 "Admin Help" (1.13.0.7221) by AlliedModders LLC
19 "Basic Chat" (1.13.0.7221) by AlliedModders LLC
20 "Steph's AntiCheat [StAC]" (6.3.5) by https://sappho.io
21 "Fun Votes" (1.13.0.7221) by AlliedModders LLC
sm exts load tf2items
[SM] Loaded extension tf2items.ext.so successfully.
sm plugins list
[SM] Listing 21 plugins:
01 "Basic Info Triggers" (1.13.0.7221) by AlliedModders LLC
02 "Sound Commands" (1.13.0.7221) by AlliedModders LLC
03 "[TF2] TF2Attributes" (1.7.3) by FlaminSarge
04 "Basic Comm Control" (1.13.0.7221) by AlliedModders LLC
05 "Source Scramble Manager" (1.2.0) by nosoop
06 "Admin Menu" (1.13.0.7221) by AlliedModders LLC
07 "Basic Commands" (1.13.0.7221) by AlliedModders LLC
08 "Player Commands" (1.13.0.7221) by AlliedModders LLC
09 "Client Preferences" (1.13.0.7221) by AlliedModders LLC
10 "Admin File Reader" (1.13.0.7221) by AlliedModders LLC
11 "Fun Commands" (1.13.0.7221) by AlliedModders LLC
12 "Basic Votes" (1.13.0.7221) by AlliedModders LLC
13 "Reserved Slots" (1.13.0.7221) by AlliedModders LLC
14 "[TF2] Econ Data" (0.19.1) by nosoop
15 "Anti-Flood" (1.13.0.7221) by AlliedModders LLC
16 "Basic Ban Commands" (1.13.0.7221) by AlliedModders LLC
17 "Nextmap" (1.13.0.7221) by AlliedModders LLC
18 "Admin Help" (1.13.0.7221) by AlliedModders LLC
19 "Basic Chat" (1.13.0.7221) by AlliedModders LLC
20 "Steph's AntiCheat [StAC]" (6.3.5) by https://sappho.io
21 "Fun Votes" (1.13.0.7221) by AlliedModders LLC
sm extenstions list
SourceMod Menu:
Usage: sm <command> [arguments]
cmds - List console commands
config - Set core configuration options
credits - Display credits listing
cvars - View convars created by a plugin
exts - Manage extensions
plugins - Manage Plugins
prof - Profiling
version - Display version information
sm plugins
SourceMod Plugins Menu:
info - Information about a plugin
list - Show loaded plugins
load - Load a plugin
load_lock - Prevents any more plugins from being loaded
load_unlock - Re-enables plugin loading
refresh - Reloads/refreshes all plugins in the plugins folder
reload - Reloads a plugin
unload - Unload a plugin
unload_all - Unloads all plugins
sm plugins load tf_items
[SM] Plugin tf_items.smx failed to load: Unable to open file.
sm exts load tf_items
[SM] Extension tf_items.ext.so failed to load: /home/block/Servers/tf_dedicated/tf/addons/sourcemod/extensions/tf_items.ext.so: cannot open shared object file: No such file or directory
sm exts load tf2_items
[SM] Extension tf2_items.ext.so failed to load: /home/block/Servers/tf_dedicated/tf/addons/sourcemod/extensions/tf2_items.ext.so: cannot open shared object file: No such file or directory
sm exts load tf2items
[SM] Loaded extension tf2items.ext.so successfully.
sm exts load tf2items
[SM] Loaded extension tf2items.ext.so successfully.
sm exts load tf2items
[SM] Loaded extension tf2items.ext.so successfully.
sm exts load tf2items
[SM] Loaded extension tf2items.ext.so successfully.
sm exts load tf2items
[SM] Loaded extension tf2items.ext.so successfully.
sm exts load tf2items
[SM] Loaded extension tf2items.ext.so successfully.
sm exts load tf2items
[SM] Loaded extension tf2items.ext.so successfully.
sm exts load tf2items
[SM] Loaded extension tf2items.ext.so successfully.
sm exts load tf2items
[SM] Loaded extension tf2items.ext.so successfully.
sm exts load tf2items
[SM] Loaded extension tf2items.ext.so successfully.
sm exts unload tf2items
[SM] Extension number 0 was not found.
sm exts load tf2items
[SM] Loaded extension tf2items.ext.so successfully.
sm exts reload tf2items
[SM] Extension number 0 was not found.`
block_place1232 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 14:16.


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