Nothing was wrong until recently, when I added an addon to the workshop.vdf file and I starting getting a crap-load of errors. I removed that addon but from the server and workshop.vdf but I still get this:
http://pastebin.com/yrFm1yiw
Edit: Pastebin’ed it to avoid wall of text
It doesn’t load any of the workshop.vdf addons obviously because of whatever is causing that specific error.
[editline]6th January 2013[/editline]
And I apologize for that monster of a wall of text.
KeyValues Error: LoadFromBuffer: missing { in file workshop
KeyValues Error: LoadFromBuffer: missing { in file workshop
KeyValues Error: LoadFromBuffer: missing { in file workshop
KeyValues Error: LoadFromBuffer: missing { in file workshop
KeyValues Error: LoadFromBuffer: missing { in file workshop
KeyValues Error: LoadFromBuffer: missing { in file workshop
workshop.vdf
“addons”
{ <-- do you have this?
“1” “blablabla”
}
Yeah, I double-checked. I saw in another thread with a similar problem but only the problems with workshop, he said to try remaking it. I did that and still get it
Do you have any addons in workshop.vdf? I got the same error when I only had:
“addons”
{
}
and nothing between the braces.
I have a bunch of addons. I have all of the addons I had before it started messing up.
Could you post what you have in that file? Maybe there’s something wrong with the formatting, idk.
"addons"
{
"1" "104607228" // fire extinguisher
"2" "105500058" // nature_staff
"3" "109382995" // predator_missile
"5" "104483020" // scars_slim
"6" "104641183" // colorable_l4d_driveable_vehicles
"7" "104651870" // cssource_driveable_vehicles
"8" "104962104" // extra_scars_sounds
"9" "104648051" // half-life_2_driveable_vehicles
"11" "104635582" // left_4_dead_drivable_vehicles
"13" "105862893" // player_weld_tool
"14" "104492363" // scars_extra
"18" "112607905" // tdmscars
"19" "114578864" // spidey gun
"22" "112986621" // drugz mod
}
It looks fine to me. Maybe you could change the numbers so it doesn’t skip any, like instead of going 1 2 3 5, make it go 1 2 3 4 5 6 etc… It shouldn’t make a difference anyways, but you may try.
Meh. Tried that and no improvement.
I think I found your issue. It might be the encoding of the workshop.vdf file. Try saving it with ANSI or Unicode and it should work.
I tried both formats in brand new files and now my error list is a lot shorter, just:
KeyValues Error: LoadFromBuffer: missing { in file workshop
but now I’m getting literally more than 1000 lines of those random-seeming numbers