i didn't mine any of AC but i bought all my coins and i have around 600k AC will i lose any of my coins if they were from the premined?
or the new code will only kill the premined coins in the dev's wallet?
No you won't lose them, and yes, it will only kill the premined coins in the dev's wallet.
What if the dev saw this thread and started distributing the premined coins to different wallet?

It would be kind of a pain.. so original scammer dev if you are reading this: just .. don't. At least let what you created have a chance of survive.. you got your coins.. just leave it alone

In that case there's some options:
1) Keep ahead of him and just keep banning the latest wallet addresses in the hardcode.
2) Pick a block to hard fork at (this would unfortunately require everyone to redownload blockchain), where he didn't move the premine to something other than the "banned" block addresses. This would also invalidate any transactions beyond that block.
3) Write a more sophisticated patch that looks a Input history.. and after some block N, reject any transaction that had a parent transaction that was the premine scammer's wallet address. But if exchanges open prior to N, this gives the scammer a chance to unload even more of the premine to unsuspecting people.. and those people that received the inputs.. would forever have their coins lost.
You can always workaround this stuff in code.. nothing impossible.. just how much effort it takes. Hopefully the original dev has some shred of decency left and just leave his creation alone so that it may have some life left in it.