Raised This Month: $ Target: $400
 0% 

Some attributes aren't working


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
VintageEpicFail
Senior Member
Join Date: Feb 2012
Location: Straya
Old 07-05-2013 , 22:50   Some attributes aren't working
Reply With Quote #1

To be more specific, one person's attributes aren't working.
Below is a little bit of the config file because it is pretty big, but here you go:

Code:
"custom_weapons_v3"
{		
	"STEAM_0:0:54638544" //This person's attributes AREN'T working
	{
		"760"
		{
			"quality"		"5"
			"preserve-attributes"	"1"

			"1"			"134 ; 9"
		}
		"981"
		{
			"quality"		"5"
			"preserve-attributes"	"1"

			"1"			"134 ; 40"
		}
		"637"
		{
			"quality"		"5"
			"preserve-attributes"	"1"

			"1"			"134 ; 14"
		}
	}
	"STEAM_0:0:57313328" //This person's attributes are working
	{
		"518"
		{
			"quality"		"5"
			"preserve-attributes"	"1"

			"1"			"134 ; 14"
		}
		"94"
		{
			"quality"		"5"
			"preserve-attributes"	"1"

			"1"			"134 ; 71"
		}
		"591"
		{
			"quality"		"5"
			"preserve-attributes"	"1"

			"1"			"134 ; 69"
		}
		"976"
		{
			"quality"		"5"
			"preserve-attributes"	"1"

			"1"			"134 ; 13"
		}
		"295"
		{
			"quality"		"5"
			"preserve-attributes"	"1"

			"1"			"134 ; 9"
		}
		"940"
		{
			"quality"		"5"
			"preserve-attributes"	"1"

			"1"			"134 ; 8"
		}
		"744"
		{
			"quality"		"5"
			"preserve-attributes"	"1"

			"1"			"134 ; 40"
		}
		"261"
		{
			"quality"		"5"
			"preserve-attributes"	"1"

			"1"			"134 ; 17"
		}
		"30027"
		{
			"quality"		"5"
			"preserve-attributes"	"1"

			"1"			"134 ; 72"
		}
	}
	"STEAM_0:1:47162166" //This person's attributes are working
	{
		"940"
		{
			"quality"		"5"
			"preserve-attributes"	"1"

			"1"			"134 ; 38"
		}
		"760"
		{
			"quality"		"5"
			"preserve-attributes"	"1"

			"1"			"134 ; 29"
		}
		"473"
		{
			"quality"		"5"
			"preserve-attributes"	"1"

			"1"			"134 ; 8"
		}
		"378"
		{
			"quality"		"5"
			"preserve-attributes"	"1"

			"1"			"134 ; 9"
		}
	}
}
Does anyone see anything wrong with this config?
Normally if there is a problem, I can see it when I reload the plugin through Rcon but no errors show up when I refresh it.

Last edited by VintageEpicFail; 07-05-2013 at 22:51.
VintageEpicFail is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 07-06-2013 , 07:45   Re: Some attributes aren't working
Reply With Quote #2

Please attach the whole thing.
__________________
asherkin is offline
VintageEpicFail
Senior Member
Join Date: Feb 2012
Location: Straya
Old 07-07-2013 , 02:49   Re: Some attributes aren't working
Reply With Quote #3

Here
Attached Files
File Type: txt tf2items.weapons.txt (11.5 KB, 187 views)
VintageEpicFail is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 07-07-2013 , 08:20   Re: Some attributes aren't working
Reply With Quote #4

You've included him in the file twice, I'm guessing it's actually the 2nd block that isn't working (you pasted the first in the OP, but that should be fine).

You also have a case of the 's' missing on "preserve-attributes".
__________________
asherkin is offline
VintageEpicFail
Senior Member
Join Date: Feb 2012
Location: Straya
Old 07-07-2013 , 08:57   Re: Some attributes aren't working
Reply With Quote #5

Ah, that did the trick. Thanks for that, my bad
VintageEpicFail is offline
Reply



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 16:53.


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