How to survive the spectrepocalypse?
In D&D 3 (and related games), a spcetre can easily kill normal people and spawns other spectres, leading to an exponential apocalypse fairly easily.
What reliable means of long-term protection from spectres exist in the rules?
A single spectre stops hanging around in its old tomb and decides that the time has come to snuff out all life. It finds a village or a metropolis, maybe, kills someone in the night, and now there are two spectres. They repeat the deed. Since a spectre causes two negative levels (and d8 damage), it can kill almost anyone instantly, and once the process gets going, stopping it becomes quite a challenge.
It is, however, conceivable that a high level character survives long enough to warn someone else, perhaps on another continent, of the incoming wave of undeath. But spectres are fast and incorporeal, so that will not give much time for preparations.
Given this highly limited time scope, who could survive and how?
I am most interested in core rules only solutions (in D&D 3, D&D 3,5 or I guess some similar game), but should those fail, other sourcebooks can be taken into account.
Shadows and wraiths are less effective, but can certainly start a similar process. Ghouls and wights are even more limited due to corporeality.