silvermen 1 Posted November 8, 2016 Share Posted November 8, 2016 when i created guild i have this log in channel syser, how to fix it? EscapeString: FATAL ERROR!! not enough buffer size (dstSize 25 srcSize 13 src: helloworld) Link to comment Share on other sites More sharing options...
Premium DarkFire 12 Posted March 28, 2017 Premium Share Posted March 28, 2017 I know that it's an old topic but some people have this problem nowadays too. I saw that if the server has this error , in his source , in guild_manager.cpp are this lines : static char __escape_name[GUILD_NAME_MAX_LEN * 2 + 1]; DBManager::instance().EscapeString(__escape_name, sizeof(__escape_name), static_cast<const char *>(gcp.name), sizeof(gcp.name)); std::auto_ptr<SQLMsg> pmsg(DBManager::instance().DirectQuery("SELECT COUNT(*) FROM guild%s WHERE name = '%s'", get_table_postfix(), __escape_name)); I haven't the error and in my source i haven't this lines . I don't know if it is the corret method to repair the problem , so make a backup befor compiling Sorry for my bad english Link to comment Share on other sites More sharing options...
[email protected] 1 Posted November 19, 2018 Share Posted November 19, 2018 In member function 'DWORD CGuildManager::CreateGuild(TGuildCreateParameter&)': I make and the error appear.. sory for my bad english. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now