Examples of how spells can kick an adventure hard:
Yesterday night: Big bad monster. All the chars had been ready for the big fight. Haste, mass aid, circle protection from evil, stoneskins etc. (and they are LOT).
(short version)
Mage: I have locate creature active, do I sense the monster approaching?
Me: yes
Mage: I ready prismatic spray
Me: It comes in the corridor... (etc. etc)
Mage: I hit it with the spell. (Rolls 1d8---> Ray that sends it to another domain).
Me(rolling save): It lost the save.
*Poof* The big bad monster has been sent to Vorostok. (Yeap, I rolled to see, and they used scry to check where it ended).
It gave us a good laugh, and we went on with the campaign.
Another time, they scried where a vamp hid his coffin, teleported in invisible, casted web to keep at bay the numerous dominated thralls, got the coffin while the vamp was sleeping for the day and teleported in a river... at midday. Bye bye villain.

One of the most creative uses of teleport I have ever seen.
Another time: Sithicus, Big bad Hydra, 16 HD, 8 heads, diseased bite, was infecting the nearby water with the disease, the locals couldn't deal with it.
Mage flying, throwing empowered cone of cold, mordenkainen's sword, empowered fireball and a couple more spells. The Hydra even dived in the water of a nearby lake, but still, the flying mage got her with sonic spells that can work under the water.
That's how it is. When someone is one of the most powerful mages of the core, compaired to Hazlik in power, he gets to be tough.

That's the fun of evolving to a high level character.
Yeah, sometimes it is not so fun when they find a loophole around an adventure you worked on for 4-5 hours, and they finish it in 5 mins. But I'm creative, so I keep the game going, having them do other things and learning to avoid loopholes.