ping has little to do with your kit apart from the Ethernet, router and connection.
if your hitting 999 its likely some1 else is using your bandwidth, either wirelessly or there on your network.
downloading, streaming and basic web surfing can cause your ping to max out or bounce. so unless your on a dedicated line your gonna have issues.
if its wireless then it could be your at the extreme range of your routers signal and if you are it may be breathing. as it goes in and out your signal will increase and decrease. on the decrease your ping will rise and you will likely start loosing packets.(packets are the data transfer bursts)
all you can do is move to a wire and turn off the wireless.
you can tracert to the servers ip and see if your getting and *'s on the hops. most connections will take about 10 hops to get to its destination but the more there are the higher yur ping will be and if theres a high ping or timeout (shown by *'s where the ip addi should be or hop length should be) you will get an increase in the lines over all ping.
so try turning off your modem/router for 30 seconds reconnect and hop the connection takes a different rout to the game server.
also check the router and firewalls ports are set correctly.