How to debug your workshop.vdf

Post Reply
.=QUACK=.Major.Pain
This is my homepage
This is my homepage
Posts: 1573
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Sun Jun 26, 2011 8:03 am

How to debug your workshop.vdf

Post by .=QUACK=.Major.Pain »

So lets start out with the following workshop.vdf:

Code: Select all

"addons"
{
   "1"      "106516163"   // PlayX
   "2"      "104514796"   // Directional Gravity
   "3"      "107554072"   // Functional Clock
   "4"      "105115318"   // Fading Door
   "5"      "112388171"   // Builder
   "6"      "108424005"   // keypad + cracker
   "7"      "107214517"   // Turret tool
   "8"      "106944414"   // RT camera
   "9"      "110639547"   // Money detector wire
   "10"      "110600736"   // Spawnpoint
   "11"      "104619813"   // HL2 tools
   "12"      "104815552"   // Smartsnap
   "13"      "104479831"   // Stacker
   "14"      "112418323"   // Blastfungus
   "15"      "104479467"   // Doors
   "16"      "104601200"   // Bone Merger   
   "17"      "105841291"   // Mo' Materials
   "18"      "104486597"   // Npc tools
   "19"      "105447250"   // Particle Attacher
   "20"      "104768448"   // Check'em
   "21"      "104527283"   // Offset Trails
   "22"      "109989908"   // Gaben
   "23"      "115375720"   // m24 sniper
   "24"      "113554084"   // g-15 Gauss
   "25"      "109382995"   // Predator missle
   "26"      "107235820"   // HAAX swep
   "27"      "106565409"   // Nuke pack 4
   "28"      "104503988"   // Vehicles with weapons
   "29"      "105685526"   // Jihad bomb
   "30"      "104588702"   // Stickybomb rifle
   "31"      "104495009"   // Siminov's weapons
   "32"      "104700241"   // Siminov's weapons expansion
   "33"      "105038131"   // Admin weapons
   "34"      "116797740"   // HNPC
   "35"      "112702467"   // Teletubbies
   "36"      "105954448"   // NPC groups
   "37"      "105500058"   // Nature staff
   "38"      "104990330"   // WAV vehicles
   "39"      "104540057"   // Gravity Toggle
   "40"      "115476405"   // Speedpads and jump pads
}
Now when we run the server for the first time, the console or log will show something like this (Note: this with an empty Addons folder):

Image

Notice the errors for Keyvalues indicating something went wrong when loading the addons.

Also notice the last addon to load in was "Keypad Tool + Cracker".
This was the first addon to fail, so start by removing that line from the workshop.vdf file and saving the file when finished. Now start the server again and watch the console or log.

If you watch, you will again see the errors for Keyvalues indicating another addons that fails. And if you look further down you will see the addons loading in until it stops after the addon that is causing the issues.

Image

In the above screenshot of the console, you can see that the "Suppressed M24 Sniper Rifle" is the problem addon.

So again, remove that line in your workshop.vdf file, save the file and start your server again.

At this point, you shouldn't see anymore errors for Keyvalues, and the remaining addons will successfully load up.


NOTE: As long as you see the Keyvales errors, there is a bad addon and you have to remove the last addon that appears to load in the console. Repeat until no more Keyvales errors appear.
Visit gspreviews.com And Rate & Review Your Old & Current GSP's
Find Your GSP Coupons at gspreviews.com/coupons/
Zangrande
New to forums
New to forums
Posts: 9
Joined: Tue Jan 01, 2013 8:08 pm
Location: Ohio

Re: How to debug your workshop.vdf

Post by Zangrande »

Thanks a bunch man! Especially for using my workshop.vdf file :D
.=QUACK=.Major.Pain
This is my homepage
This is my homepage
Posts: 1573
Joined: Sun Jun 26, 2011 8:03 am

Re: How to debug your workshop.vdf

Post by .=QUACK=.Major.Pain »

All good.
We run a Garry's mod also but with maybe 2 or 3 addons.
No issues that I have seen, so it took a little detective work.

I do see other issues on our server where it's kicking out a bunch of errors, but the server runs fine so I ignore them.
Visit gspreviews.com And Rate & Review Your Old & Current GSP's
Find Your GSP Coupons at gspreviews.com/coupons/
Post Reply