Jump to content

Problem - EscapeString: FATAL ERROR!! not enough buffer size


Recommended Posts

  • 4 months later...
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

  • Premium

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 :P

Link to comment
Share on other sites

  • 1 year later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



  • Similar Content

  • Activity

    1. 0

      Metin2 effect script files (MSE and MSA file) how can convert

    2. 10

      Multi Language System

    3. 0

      We are looking for a C++ and Python programmer

    4. 0

      [Quest Scheduler Request] Is there a way to make a quest run independet of player events? Lets say start quest automatically at server startup?

    5. 111

      Ulthar SF V2 (TMP4 Base)

    6. 0

      Quest function when 102.kill definition whereabouts help

    7. 5

      [M2 FILTER] Customized Client Filter

  • Recently Browsing

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.