Not answered Team system error compiling game



Thread Author
Member
Jun
Threads
1
11
0
1
Rating - 0%
0   0   0
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,435
2
1,333
113
Rating - 0%
0   0   0
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