I used the command line
-zapwallettxes
to delete all 0 confirmed transactions. They were all months old.
I then used
-rescan
I was able to retrieve all my btc in that manner.
My problem now is connecting to a network to make proper transactions.
I don't have info on the old transactions because they were deleted.
I'm starting to understand what you're saying
What actually happened was that you created a couple of transactions that were either never broadcasted (because you had no peers), or had other problems. This resulted in the fact that they were never included in a block. Because of the way bitcoin-qt is made, the wallet kept on re-broadcasting the transactions, and the inputs used for this transaction were unspendable.
By using zapwallets and rescan, you forced your wallet to remove those transactions, so the inputs became usable again...
Theorethically, the coins never left your wallet
As for your problem, you're correct, you'll need some peers in order to broadcast new transactions to the network, so i'd suggest to try the steps i listed in my previous post.
If this doesn't work, maybe there are some network problems??? A firewall, routing problems,... ?
I do find it weird that you were able to sync your wallet without any peers...
Worst case scenario, we could potentially walk you trough exporting your private keys, and importing them into electrum (for example)...