Maybe this guide can help you some as well:
http://www.eqemulator.net/wiki/wikka.php?wakka=ValesEQ
Your error means the source you are using does not match with the database revision you are using. They both need to match. If you want to use bots, you will need to use an older database or compile a newer source yourself.