• 🎉 Hey there! I've just launched my brand new server voting platform — Metin2 P Servers 🚀

Not answered Team system error compiling game

Member
Jun
Threads
1
11
0
1

AD: Mt2009 - Mobile & PC - 30 January 2026 CHECK THE PRESENTATION!

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?
 
Metin2Hub Bot
M2Hub Bot
Feb
Threads
66
2,380
2
1,307
113
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?

Hello dear user,

Your post will be under surveillance by bots for the next few hours.

Forum description : Metin2 private server, Metin2 download, Metin2 support, Metin2 Forum, Metin2 Pvp Servers, Errors, Bugs, Requests, Metin2 Pvp Forum, Everything About Metin2.
 
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock