Jump to content

Recommended Posts

Hi ! Im tryna add team system on ulthar v2 tmp but when i compile the game src i have this error:

messenger_manager.cpp:50:39: error: no member named 'bind1st' in namespace 'std'
   50 |         DBManager::instance().FuncQuery(std::bind1st(std::mem_fun(&MessengerManager::LoadTeamList), this),
      |                                         ~~~~~^
messenger_manager.cpp:50:52: error: no member named 'mem_fun' in namespace 'std'
   50 |         DBManager::instance().FuncQuery(std::bind1st(std::mem_fun(&MessengerManager::LoadTeamList), this),
 

In the tutorial of system its said to find this thing on messenger_manager.cpp "DBManager::instance().FuncQuery(std::bind1st(std::mem_fun(&MessengerManager::LoadList), this),"

but i have it like that "DBManager::instance().FuncQuery(std::bind(&MessengerManager::LoadList, this, std::placeholders::_1)," and i think thats the problem..

someone help pls?

Link to comment
https://metin2.dev/topic/32391-team-system-error/
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Hi , i do that and now i have for this messenger_manager.cpp:49:39: error: no member named 'bind1st' in namespace 'std'
   49 |         DBManager::instance().FuncQuery(std::bind1st(std::mem_fn(&MessengerManager::LoadTeamList), this),

i tried "bind" instead "bind1st" and got this much errors

Link to comment
https://metin2.dev/topic/32391-team-system-error/#findComment-164199
Share on other sites

  • Bot
1 hour ago, thekignngn said:

Hi , i do that and now i have for this messenger_manager.cpp:49:39: error: no member named 'bind1st' in namespace 'std'
   49 |         DBManager::instance().FuncQuery(std::bind1st(std::mem_fn(&MessengerManager::LoadTeamList), this),

i tried "bind" instead "bind1st" and got this much errors

Post whole code block

english_banner.gif

Link to comment
https://metin2.dev/topic/32391-team-system-error/#findComment-164200
Share on other sites

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • 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.