Jump to content

Error With My Patch


Guest iowa

Recommended Posts

Hi,

I tried to make a patch to change the announce system, so I writted :

std::string str = GetMangosString(LANG_SYSTEMMESSAGE);
       str += args;
       
       char buffer[100]; 
       sprintf(buffer,str.c_str(),m_session->GetPlayer()->GetName()); 

       sWorld.SendWorldText(buffer, NULL);

But when I try this command the world crash.

Thank's for your help.

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

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. Privacy Policy Terms of Use