GMod $ikchain problems

Ok, so whenever I use $ikchain on the model (and to a lesser extent ikrule) it causes the feet and legs to spazz out.
I have googled this and came up with nothing so I’m hoping to get help from the Facepunch community.

P.S please excuse the purple and black reflections, I think its something to do with GMod’s HLMV

EDIT: I was able to fix it by adding contact and range and removing usesource

Here is the old QC:



// Houndeye //

$modelname "zanto/houndeye.mdl"

$cdmaterials "models/zanto/houndeye"

$model houndeye "houndeye.smd"
$model houndeye_eye "houndeye_eye.smd"

$ikchain backleg HoundEye.Toe knee 177.65 0 0
$ikchain rightleg HoundEye.PawR knee 177.65 0 0
$ikchain leftleg HoundEye.PawL knee 177.65 0 0

$sequence ragdoll "anims/ragdoll" ACT_RAGDOLL 1
$sequence idle1 "anims/idle1" ACT_IDLE 1 loop fps 7
$sequence idle2 "anims/idle2" ACT_IDLE 1 fps 23
$sequence walkN "anims/walkN.smd" ACT_WALK 1 loop fps 30 LX ikrule backleg footstep usesource ikrule rightleg footstep usesource ikrule leftleg footstep usesource
$sequence runN "anims/runN_test2.smd" ACT_RUN 1 loop fps 48 LX ikrule backleg footstep usesource ikrule rightleg footstep usesource ikrule leftleg footstep usesource

Here is the new one:


// Houndeye //

$modelname "zanto/houndeye.mdl"

$cdmaterials "models/zanto/houndeye"

$model houndeye "houndeye.smd"
$model houndeye_eye "houndeye_eye.smd"

$ikchain backleg HoundEye.Toe pad 5 floor 0 knee 177.65 0 0
$ikchain rightleg HoundEye.PawR pad 5 floor 0 knee 177.65 0 0
$ikchain leftleg HoundEye.PawL pad 5 floor 0 knee 177.65 0 0

$sequence ragdoll "anims/ragdoll" ACT_RAGDOLL 1
$sequence idle1 "anims/idle1" ACT_IDLE 1 loop fps 7
$sequence idle2 "anims/idle2" ACT_IDLE 1 fps 23
$sequence walkN "anims/walkN.smd" ACT_WALK 1 loop fps 30 LX ikrule backleg footstep ikrule rightleg footstep ikrule leftleg footstep
$sequence runN "anims/runN_test2.smd" { 
ACT_RUN 1 
loop 
fps 48 
LX 
ikrule backleg footstep contact 10 range 9 10 14 15
ikrule rightleg footstep contact 6 range 6 7 14 15
ikrule leftleg footstep contact 6 range 5 6 9 10
}