this is indeed a old topic
but to answer your question
if the querry gives a error then you are probaly on a differend database then you gave up in the settings
the basic settings goes to teh database called my
and then to cq_user and then search for your username and change the recods of that username to the fixed value's
simple and easy script (from 3 years ago) and was created because our lovely old server was having a bug that you got logged out because of mass mobs spawn on a certain place
but this post is from 2008 and was a server from 2007 or so
you can still use this script but need to edit a bit to get it working
and soon i going re release this script with a few extra options ,so it checks password of user and email of user before they can move
Greets From PowerChaos