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

TF2Items - Items with custom attributes.


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Velture
Senior Member
Join Date: Jan 2011
Location: Poland, Warsaw
Old 06-08-2011 , 05:24   Re: TF2Items - Items with custom attributes.
#881

Quote:
Originally Posted by FlaminSarge View Post
Revolutzia: I think that may be outdated. You can find the current items_game.txt in your steamapps folder, "team fortress 2 content.gcf". Open it up with GCFScape (google it) and head to tf/scripts/items/items_game.txt

Velture: you and Ginxeng have been basically saying "not working; working; not working; working" for the past couple of posts. Can both of you post an sm plugins list and sm exts list, so you can compare and see what might be different?
here:

Code:
11:20:44 sm exts list
11:20:44 [SM] Displaying 13 extensions:
         [01] Automatic Updater (1.4.0-dev): Updates SourceMod gamedata files
         [02] Webternet (1.4.0-dev): Extension for interacting with URLs
         [03] TF2Items (1.4.3): TF2 Item Modifier
         [04] TF2 Tools (1.4.0-dev): TF2 extended functionality
         [05] BinTools (1.4.0-dev): Low-level C/C++ Calling API
         [06] Client Preferences (1.4.0-dev): Saves client preference settings
         [07] SQLite (1.4.0-dev): SQLite Driver
         [08] SDK Tools (1.4.0-dev): Source SDK Tools
         [09] SDK Hooks (2.0.0): Source SDK Hooks
         [10] GeoIP (1.4.0-dev): Geographical IP information
         [11] Top Menus (1.4.0-dev): Creates sorted nested menus
         [12] TFDodgeball (1.3.0): Helper for the TFDodgeball plugin
         [13] MySQL-DBI (1.4.0-dev): MySQL driver implementation for DBI
Code:
11:21:14 sm plugins list
11:21:14 [SM] Listing 63 plugins:
           01 "Client Preferences" (1.4.0-dev) by AlliedModders LLC
           02 "HLstatsX CE Ingame Plugin" (1.6.12) by psychonic
           03 "Civilian Class Fixer" (1.0.1) by bl4nk
           04 "Server Crontab Module" (1.0.1.0) by dubbeh
           05 "[TF2] Have Some Ballz" (1.0) by DarthNinja
           06 "Simple Welcome Message" (1.2) by Zuko
           07 "Anti-Flood" (1.4.0-dev) by AlliedModders LLC
           08 "RateChecker" (0.2) by pRED*
           09 "Admin Help" (1.4.0-dev) by AlliedModders LLC
           10 "Welcome Sound" (0.0.1) by R-Hehl
           11 "Reserved Slots" (1.2.1) by AlliedModders LLC
           12 "VS Saxton Hale Mode" (1.32_2) by Dr.Eggman
           13 "Admin File Reader" (1.4.0-dev) by AlliedModders LLC
           14 "Samurai NoiseMakers" (1.0.5) by Velture, Jouva Moufette ,DarthNinja
           15 "Forlix FloodCheck" (1.7) by Forlix (Dominik Friedrichs)
           16 "Ban-Hammer!" (1.4.1) by Leonardo
           17 "Game Description Override" (1.2) by psychonic
           18 "Block unassigned team" (1.4) by =(eG)=TM Use My Teleporter
           19 "TF2 Ware" (1.0.0 - 20) by Mecha the Slag
           20 "Trade Chat" (1.1) by Luki
           21 "Basic Commands" (1.4.0-dev) by AlliedModders LLC
           22 "Basic Chat" (1.4.0-dev) by AlliedModders LLC
           23 "Simple AllTalk Manager" (1.3.0) by Simple Plugins
           24 "Noise Maker Player" (1.2.0) by Jouva Moufette <[email protected]>, DarthNinja
           25 "RCON Lock" (0.6.7) by devicenull
           26 "Maps and Prefix Maps Configs" (1.2) by graczu
           27 "Basic Info Triggers" (1.4.0-dev) by AlliedModders LLC
           28 "M3Motd - MOTD / Rules Display" (0.2.1) by M3Studios, Inc.
           29 "Basic Comm Control" (1.4.0-dev) by AlliedModders LLC
           30 "M3Motd - MOTD / Rules Display" (0.2.1) by M3Studios, Inc.
           31 "przeladowywacz konfigow" (1.0) by Patrys
           32 "PermaMute" (0.1) by Ryan "FLOOR_MASTER" Mannion
           33 "Fun Commands" (1.4.0-dev) by AlliedModders LLC
           34 "Aim Names" (0.8) by -MCG-Retsam & Antithasys
           35 "Jestem jedyny" (1.0.5) by Velture
           36 "Nextmap" (1.4.0-dev) by AlliedModders LLC
           37 "JAPAN NoiseMakers" (1.0.5) by Velture, Jouva Moufette ,DarthNinja
           38 "Player Commands" (1.4.0-dev) by AlliedModders LLC
           39 "SourceBans" (1.4.8) by SourceBans Development Team
           40 "Advanced Client Redirect" (1.0) by Olly/Tobi
           41 "Admin Menu" (1.4.0-dev) by AlliedModders LLC
           42 "HLSW Info" (1.1) by Tsunami
           43 "Slag Soccer" (1.0) by Mecha the Slag
           44 "AdminSentinel" (1.2.100) by <eVa>StrontiumDog 
           45 "Rock The Vote" (1.4.0-dev) by AlliedModders LLC
           46 "Sound Commands" (1.4.0-dev) by AlliedModders LLC
           47 "[TF2] Airblast Glitch Fix" (1.0.3) by Fox
           48 "Map Nominations" (1.4.0-dev) by AlliedModders LLC
           49 "TFDodgeball" (1.3) by Asherkin
           50 "Extended Mapvote" (1.3) by Zuko, SM Community and AlliedModders LLC
           51 "Basic Votes" (1.4.0-dev) by AlliedModders LLC
           52 "Dodgebal weaponiser" (0.1) by Kemsan
           53 "TF2 Class Restrictions" (0.6) by Tsunami
           54 "AFK Manager" (2.6) by Liam
           55 "High Ping Kicker - Lite Edition" (1.0.0.1) by Liam
           56 "SuperLogs: TF2" (2.0.16) by Thomas "CmptrWz" Berezansky & psychonic
           57 "noc i dzien" (1.0) by Patrys
           58 "The Amplifier" (2.3) by Plugin: Dr.Eggman; Idea & Model: Jumento M.D.; Great Help: -=|JFH|=-Naris
           59 "Server Crontab" (1.0.1.0) by dubbeh
           60 "Admin Sounds" (1.2.2) by cadav0r, dalto, o_O.Uberman.O_o, |HS|Jesus
           61 "Advertisements" (0.6.2) by Tsunami, Otstrel.ru Team
           62 "Players Votes" (1.5.0) by The Resident, pZv!
           63 "[TF2Items] Manager" (1.4.1) by Damizean & Asherkin

about items_game.txt - you can find it also on your servers ftp @tf/scripts/items/items_game.txt
__________________

Last edited by Velture; 06-08-2011 at 05:26.
Velture is offline
Ginxeng
Senior Member
Join Date: Nov 2009
Location: Timber Doodle
Old 06-08-2011 , 20:25   Re: TF2Items - Items with custom attributes.
#882

Here are mine. the plugin itself works but curtain weapons dont work. They are empty slots on the player where the weapon would normally be in.

Code:
[SM] Displaying 13 extensions:
         [01] Automatic Updater (1.3.7): Updates SourceMod gamedata files
         [02] Webternet (1.3.7): Extension for interacting with URLs
         [03] Huntsman (0.1.2): Removes the restriction of firing in the air.
         [04] TF2Items (1.4.3): TF2 Item Modifier
         [05] TF2 Tools (1.3.7): TF2 extended functionality
         [06] BinTools (1.3.7): Low-level C/C++ Calling API
         [07] SDK Tools (1.3.7): Source SDK Tools
         [08] Top Menus (1.3.7): Creates sorted nested menus
         [09] Client Preferences (1.3.7): Saves client preference settings
         [10] SQLite (1.3.7): SQLite Driver
         [11] GeoIP (1.3.7): Geographical IP information
         [12] Socket (3.0.1): Socket extension for SourceMod
         [13] MySQL-DBI (1.3.7): MySQL driver implementation for DBI
Code:
[SM] Listing 48 plugins:
           01 "Basic Comm Control" (1.3.6) by AlliedModders LLC
           02 "Sound Commands" (1.3.6) by AlliedModders LLC
           03 "M3Motd - MOTD / Rules Display" (0.2.1) by M3Studios, Inc.
           04 "[TF2Items] Give Weapon" (3.0) by asherkin (Updated by FlaminSarge)
           05 "Client Preferences" (1.3.6) by AlliedModders LLC
           06 "ConVar List" (1.01) by Jannik 'Peace-Maker' Hartung
           07 "Basic Info Triggers" (1.3.6) by AlliedModders LLC
           08 "Sentry Fun" (1.3) by Goerge
           09 "Console Commands" (1.3.7-dev) by GinXeng
           10 "Round Triggers" (1.10) by MikeJS
           11 "SourceBans" (1.4.8) by SourceBans Development Team
           12 "Targets" (1.0) by GinXeng
           13 "[TF2] Golden Wrench" (1.0) by Mecha the Slag
           14 "Anti-Flood" (1.3.6) by AlliedModders LLC
           15 "Admin Menu" (1.3.6) by AlliedModders LLC
           16 "TeamSwitch" (1.3) by MistaGee
           17 "Basic Chat" (1.3.6) by AlliedModders LLC
           18 "[TF2] Set Soldier Rage Amount" (1.0) by Zuko
           19 "Admin File Reader" (1.3.6) by AlliedModders LLC
           20 "[TF2] Horseless Headless Horsemann" (1.6) by Geit, modified by retsam, FlaminSarge and Naris
           21 "[TF2Items] Manager" (1.4.1) by Damizean & Asherkin
           22 "HANSE Reserved Slots" (1.5) by red!
           23 "Fun Commands X" (1.8) by Spazman0 and Arg!
           24 "[TF2] Fake Halloween Gifts" (1.0.1) by DarthNinja
           25 "Noise Maker Player" (2.0.0) by Jouva Moufette <[email protected]>, DarthNinja, Velture
           26 "Fun Commands" (1.3.6) by AlliedModders LLC
           27 "No Cvar Print" (1.3.7-dev) by GinXeng
           28 "Player Commands" (1.3.6) by AlliedModders LLC
           29 "[TF2] Player Stats" (7.7.0) by DarthNinja
           30 "[TF2] Set Uber Charge Amount" (1.3) by Zuko
           31 "Fun Votes" (1.3.6) by AlliedModders LLC
           32 "Light Colors" (0.6) by Jindo
           33 "Win panel for losing team" (1.2) by Reflex
           34 "VAC Status Checker" (1.3.3) by Stevo.TVR
           35 "Idle Kicker" (3.3.0) by GinXeng
           36 "[TF2] Holiday" (1.0) by Fox
           37 "Basic Votes" (1.3.6) by AlliedModders LLC
           38 "Admin Help" (1.3.6) by AlliedModders LLC
           39 "[TF2] PowerPlay" (1.5.1) by DarthNinja
           40 "BS RankS" (1.1) by GinXeng
           41 "False Messages" (3.1) by Jindo
           42 "Basic Commands" (1.3.6) by AlliedModders LLC
           43 "[TF2] Fake Items" (1.1) by Mecha the Slag
           44 "[TF2] High-Five" (1.32) by Geit (modified by FlaminSarge)
           45 "TF2 Fast Respawns" (1.0.7.1) by WoZeR
           46 "Advertisements" (0.5.5) by Tsunami
           47 "Nextmap" (1.3.6) by AlliedModders LLC
           48 "[TF2] BIRD BIRD BIRD BIRD" (0.1) by FlaminSarge (thanks to linux_lover for pumpkins!)
__________________

Last edited by Ginxeng; 06-09-2011 at 00:27.
Ginxeng is offline
Send a message via AIM to Ginxeng Send a message via MSN to Ginxeng Send a message via Skype™ to Ginxeng
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 06-08-2011 , 23:55   Re: TF2Items - Items with custom attributes.
#883

Oh, and your respective configs too, don't forget those. Feel free to replace steamID's with STEAMID1, STEAMID2, etc.
__________________
Bread EOTL GunMettle Invasion Jungle Inferno 64-bit will break everything. Don't even ask.

All plugins: Randomizer/GiveWeapon, ModelManager, etc.
Post in plugin threads with questions.
Steam is for playing games.
You will be fed to javalia otherwise.
Psyduck likes replays.
FlaminSarge is offline
bovril
Member
Join Date: Jan 2011
Old 06-09-2011 , 11:30   Re: TF2Items - Items with custom attributes.
#884

I'm having trouble finding the attribute to set for instantly recharging the heavy's sandvich.

I'd be grateful if anybody could point me in the right direction.

Thanks in advance.
bovril is offline
Sorrowfire
Member
Join Date: Jul 2010
Location: <Missing String>
Old 06-09-2011 , 12:57   Re: TF2Items - Items with custom attributes.
#885

Quote:
Originally Posted by bovril View Post
I'm having trouble finding the attribute to set for instantly recharging the heavy's sandvich.

I'd be grateful if anybody could point me in the right direction.

Thanks in advance.
I'm pretty sure that there are no attributes to intently recharge the sandwich. Because the sandwich recharge timer is a script rather then a full out attribute.
If you want an instant recharging sandwich you are probably going to need to find a separate plugin. Sorry i can't help more Bovril.
__________________
"What do you mean SourcePawn doesn't count as a 2nd language?"

Last edited by Sorrowfire; 06-09-2011 at 12:57. Reason: Spelling edit
Sorrowfire is offline
Thrawn2
Veteran Member
Join Date: Apr 2009
Old 06-11-2011 , 10:09   Re: TF2Items - Items with custom attributes.
#886

since the last update this seems to be broken:
PHP Code:
#pragma semicolon 1
#include <sourcemod>
#include <tf2items>
#include <sdktools>

public Action:TF2Items_OnGiveNamedItem(iClientString:strClassName[], iItemDefinitionIndex, &Handle:hItemOverride) {
    if (
hItemOverride != INVALID_HANDLE)
        return 
Plugin_Continue;

    if(
iItemDefinitionIndex == 140) {
        
PrintToChat(iClient"Replacing your wrangler with a pistol");
        new 
Handle:hTest TF2Items_CreateItem(OVERRIDE_CLASSNAME OVERRIDE_ITEM_DEF OVERRIDE_ITEM_LEVEL OVERRIDE_ITEM_QUALITY OVERRIDE_ATTRIBUTES);
        
TF2Items_SetClassname(hTest"tf_weapon_pistol");
        
TF2Items_SetItemIndex(hTest22);
        
TF2Items_SetLevel(hTest1);
        
TF2Items_SetQuality(hTest0);
        
TF2Items_SetNumAttributes(hTest0);
        
hItemOverride hTest;

        
CreateTimer(1.0Timer_TestSlotiClient);
        return 
Plugin_Changed;
    }

    return 
Plugin_Continue;
}

public 
Action:Timer_TestSlot(Handle:timerany:iClient) {
    
PrintToChat(iClient"Replace: %s"GetPlayerWeaponSlot(iClient1) != -"ok" "fail");

The weapon won't be replaced, but completely stripped, so no wrangler + no pistol.
But only weapons with completely different behavior are affected, it's no problem to replace the loch'n'load with a pipe launcher.
It worked before the last tf2 patch.

edit: should i create a new issue for this?
__________________
einmal mit profis arbeiten. einmal.

Last edited by Thrawn2; 06-11-2011 at 10:21.
Thrawn2 is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 06-12-2011 , 00:59   Re: TF2Items - Items with custom attributes.
#887

I've noticed that too, since a while back (around the time of polycount, I think), @Thrawn.
__________________
Bread EOTL GunMettle Invasion Jungle Inferno 64-bit will break everything. Don't even ask.

All plugins: Randomizer/GiveWeapon, ModelManager, etc.
Post in plugin threads with questions.
Steam is for playing games.
You will be fed to javalia otherwise.
Psyduck likes replays.
FlaminSarge is offline
Thrawn2
Veteran Member
Join Date: Apr 2009
Old 06-12-2011 , 04:53   Re: TF2Items - Items with custom attributes.
#888

uh, didn't notice until i got hinted at it yesterday.
__________________
einmal mit profis arbeiten. einmal.
Thrawn2 is offline
Muscle Brazil
Senior Member
Join Date: Apr 2009
Location: Brazil
Old 06-12-2011 , 13:20   Re: TF2Items - Items with custom attributes.
#889

pluguin this to not work anymore. installed on my server last night I had no success someone confirms this
Muscle Brazil is offline
Max_Damage
Junior Member
Join Date: Jun 2009
Old 06-12-2011 , 16:15   Re: TF2Items - Items with custom attributes.
#890

Quote:
Originally Posted by Muscle Brazil View Post
pluguin this to not work anymore. installed on my server last night I had no success someone confirms this
Seems as though it works
__________________
Max_Damage is offline
Closed Thread



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 11:05.


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