Ir para conteúdo

Featured Replies

Postado

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?

  • Respostas 48
  • Visualizações 13.3k
  • Created
  • Última resposta

Top Posters In This Topic

Most Popular Posts

Posted Images

Postado
  • Autor
Em 20/03/2021 em 20:22, Bagani disse:

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?

I recommend using Ubuntu 14.04

Editado por trint (veja o histórico de edições)

Postado
  • Autor
5 horas atrás, Alexandre The Black disse:

O config.lua ta bugado, se eu altero qualquer coisa nele, a TFS não inicia mais dando erro load config.lua 

Qnd vc altera oq?

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Estatísticas dos Fóruns

  • Tópicos 96.9k
  • Posts 519.6k

Informação Importante

Confirmação de Termo