Raised This Month: $32 Target: $400
 8% 

KeyValues Error


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
NGWMark
Member
Join Date: Oct 2012
Location: Missouri, United States
Old 06-09-2013 , 21:46   KeyValues Error
Reply With Quote #1

I'm having trouble adding the turn to gold effect to an admins huntsman. I keep getting the following error when I reload TF2 Items:
Code:
KeyValues Error: RecursiveLoadFromBuffer: got empty keyname in file addons/sourcemod/configs/tf2items.weapons.txt
custom_weapons_v3, STEAM_0:1:57051660, 56, 
KeyValues Error: RecursiveLoadFromBuffer: got NULL key in file addons/sourcemod/configs/tf2items.weapons.txt
custom_weapons_v3, STEAM_0:1:57051660, 
}
}
}, (*56*), 
KeyValues Error: RecursiveLoadFromBuffer: got EOF instead of keyname in file addons/sourcemod/configs/tf2items.weapons.txt
custom_weapons_v3, (*STEAM_0:1:57051660*), (*
}
}
}*), (*56*),
Here's my TF2 Items CFG:
Code:
"custom_weapons_v3"
{
	"STEAM_0:1:43495879"
	{
		"416"
		{
			"level"		"100"
			"quality"		"3"
			"preserve-attributes"		"1"
			"1"		"134 ; 17"
		}
		"154"
		{
			"level"		"100"
			"quality"		"3"
			"preserve-attributes"		"1"
			"1"		"134 ; 1"
		}
		"308"
		{
			"level"		"100"
			"quality"		"3"
			"preserve-attributes"		"1"
			"1"		"134 ; 34"
		}
		"132"
		{
			"level"		"100"
			"quality"		"3"
			"preserve-attributes"		"1"
			"1"		"134 ; 1"
		}
		"200"
		{
			"level"		"100"
			"quality"		"3"
			"preserve-attributes"		"1"
			"1"		"134 ; 2"
		}
		"264"
		{
			"level"		"100"
			"quality"		"3"
			"preserve-attributes"		"1"
			"1"		"134 ; 4"
		}
		"58"
		{
			"level"		"100"
			"quality"		"3"
			"preserve-attributes"		"1"
			"1"		"134 ; 14"
		}
		"56"
		{
			"level"		"100"
			"quality"		"3"
			"preserve-attributes"		"1"
			"1"		"134 ; 9"
		}
		"232"
		{
			"level"		"100"
			"quality"		"0"
			"preserve-attributes"		"1"
			"1"		"134 ; 1"
		}
		"215"
		{
			"level"		"100"
			"quality"		"0"
			"preserve-attributes"		"1"
			"1"		"134 ; 1"
		}
		"221"
		{
			"level"		"100"
			"quality"		"3"
			"preserve-attributes"		"1"
			"1"		"134 ; 17"
		}
		"222"
		{
			"level"		"100"
			"quality"		"3"
			"preserve-attributes"		"1"
			"1"		"134 ; 14"
		}
		"225"
		{
			"level"		"100"
			"quality"		"3"
			"preserve-attributes"		"1"
			"1"		"134 ; 14"
		}
	}
	"STEAM_0:1:44496069"
	{
		"172"
		{
			"level"		"100"
			"quality"		"0"
			"preserve-attributes"		"1"
			"1"		"134 ; 7"
		}
		"19"
		{
			"level"		"100"
			"quality"		"0"
			"preserve-attributes"		"1"
			"1"		"134 ; 12"
		}
		"207"
		{
			"level"		"100"
			"quality"		"0"
			"preserve-attributes"		"1"
			"1"		"134 ; 31"
		}
	}
	"STEAM_0:1:57051660"
	{
		"58"
		{
			"level"		"100"
			"quality"		"0"
			"preserve-attributes"		"1"
			"1"		"134 ; 17"
		}
		"232"
		{
			"level"		"100"
			"quality"		"0"
			"preserve-attributes"		"1"
			"1"		"134 ; 13"
		}
		"56"
		{
			""preserve_attributes" "1"
			"1"		"150; 1"
		}
	}
}
Thanks in advance!
__________________


NGWMark is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 06-10-2013 , 00:23   Re: KeyValues Error
Reply With Quote #2

You have an extra quote in the very last item in the file, specifically on the preserve_attributes line.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
NGWMark
Member
Join Date: Oct 2012
Location: Missouri, United States
Old 06-10-2013 , 00:48   Re: KeyValues Error
Reply With Quote #3

Quote:
Originally Posted by Powerlord View Post
You have an extra quote in the very last item in the file, specifically on the preserve_attributes line.
Thanks so much, I don't know how i missed that!
__________________


NGWMark is offline
Old 04-07-2017, 03:27
pappyrus
This message has been deleted by pappyrus.
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 01:21.


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