Hey, i try compiling on ubuntu 18.04 and I got this error:
/usr/include/c++/7/bits/basic_string.h:6284:5: note: template argument deduction/substitution failed:
protocolgame.cpp:966:57: note: ‘std::stringstream {aka std::__cxx11::basic_stringstream<char>}’ is not derived from ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
s << player->getName() << " sent unknown byte: " << hex << std::endl;
^~~
protocolgame.cpp: In member function ‘void ProtocolGame::AddCreatureSpeak(NetworkMessage_ptr, const Creature*, SpeakClasses, std::__cxx11::string, uint16_t, uint32_t, Position*, ProtocolGame*)’:
protocolgame.cpp:2987:158: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
CustomFlag(PlayerCustomFlag_HideLevel) && (pg == NULL || pg != NULL && !pg->getIsCast()))
any solution?