The issue with getting the 'Bot name is already in use' message may be a case sensitivity thing on Linux.
The query that is being used to check if the name is available is:
Code:
SELECT COUNT(id) FROM vwbotcharactermobs WHERE name LIKE '%s'
But the view name is actually mixed case:
Code:
CREATE VIEW `vwBotCharacterMobs` AS ...
You could try changing the query on line 928 in bot.cpp to:
Code:
SELECT COUNT(id) FROM vwBotCharacterMobs WHERE name LIKE '%s'
and recompiling.