• 🎉 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
HubMoney
235
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,354
2
1,284
113
HubMoney
1,669
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.