Well if you can log in with SoD but not Underfoot then I would imagine the expansions field in the variables table is set incorrectly. Run the following and then try to login with Underfoot.
update variables set value = 32767 where varname = 'Expansions';
If that solved the problem then try reading the Expansions section found here
http://www.eqemulator.net/wiki/wikka...iables#setting as it might help you better understand where that number came from and what it might need to be changed to in the future.