On your most severe Bad Hair Day, I would give the character some form of Knowledge check to pull back/realize.
Generally speaking, I would in all other situations just tell them it doesn't work.
Part of your annoyance is that his use of metagame knowledge is leading to an unrealistic outcome...your fix seems to be to make his wizard (not the player, the character) not understand the most basic bits of magic...which to me seems just as immersion/realism breaking as the initial attempt.
It sounds like he needed to be smacked down - it's just not the way I would have done it (and I'm a gd geeeeneeus) because of the break in realism, and also because as it seems there was a fair chunk of gaming time lost for this argument and the accompanying cursing.
I would have been blunt, though..."Dude, that's completely metagame knowledge...so watch that...but also it won't work because...."
And of course I understand that DMs have a lot on their plate already, but I would have pulled the figures for the hidden folks anyway...or left them there, but kept track of their REAL locations secretly..which would have been a great way to deal with the attempt to be meta if they DID have a spell that could do something through the wall.
Generally speaking, I would in all other situations just tell them it doesn't work.
Part of your annoyance is that his use of metagame knowledge is leading to an unrealistic outcome...your fix seems to be to make his wizard (not the player, the character) not understand the most basic bits of magic...which to me seems just as immersion/realism breaking as the initial attempt.
It sounds like he needed to be smacked down - it's just not the way I would have done it (and I'm a gd geeeeneeus) because of the break in realism, and also because as it seems there was a fair chunk of gaming time lost for this argument and the accompanying cursing.
I would have been blunt, though..."Dude, that's completely metagame knowledge...so watch that...but also it won't work because...."
And of course I understand that DMs have a lot on their plate already, but I would have pulled the figures for the hidden folks anyway...or left them there, but kept track of their REAL locations secretly..which would have been a great way to deal with the attempt to be meta if they DID have a spell that could do something through the wall.