Try this
[Spells] - This portion is missing
MiscGem=11 or whatever spell refreshes the fastest
LoadSpellSet=1
SpellSetName=SPELLSETNAME you saved in eq here
For DPS
DPS1=command:/autofire|100|Once looks right. You sure you have LoS?
As for melee, I'm guessing you have something else running in the background causing the melee. A hotkey, automation, etc as your ini seems correct to me for melee
EDIT - Or the melee issue above could also cause the autofire to stop iirc