Ir para conteúdo

Featured Replies

Postado
  • Autor
Em 30/09/2019 em 15:47, ZeeroBR disse:

Desculpa dar uma revivida no tópico, mas tô com um erro chatinho, que é quando falo com um NPC. Dá esse erro aí:

 

image.png.dc06ee05891f771ec67498f204587596.png

 

OBS: Sou meio leigo no assunto, então como os arquivos do servidor estavam incompletas, baixei os arquivos de uma base também de uma TFS 0.4 porém rev 3777, se não me engano e juntei os dois, suspeito que essa seja a causa do erro, já tentei usar lib de diversos outros servidores, mas até agora nada

 

 

Em 05/10/2019 em 01:43, FeehLoveCes disse:

image.png.dc06ee05891f771ec67498f204587596.png.9e889648dcb2ef963ffc39ed6b2dc0ac.png

Estou também com o seguinte erro, não é possivel falar HI com um npc pois da erro na lib dos npc, alguém pode me ajudar?

 

Em \data\npc\lib\npcsystem tentem utilizar está LIB:

npchandler.lua

 

  • Respostas 77
  • Visualizações 25.9k
  • Created
  • Última resposta

Top Posters In This Topic

Most Popular Posts

  • Salve salve pessoal, no inicio desse ano estava dando uma estudada e mexendo com a TFS 0.4 rev3884, e vi que havia alguns bugs e que não tinha Cast incluso. Com base nisso decidi atualizar e otimizar

  • Em \data\npc\lib\npcsystem tentem utilizar está LIB: npchandler.lua  

  • Links para download atualizado. Foi corrigido um probleminha no max packet, agora não congela mais. Um bug de Cast que contém nas outras tfs 0.4 foi reportado por um membro e foi corrigid

Posted Images

  • 3 weeks later...
Postado
Em 25/09/2019 em 01:03, Levyzera disse:

Boa noite irmão.

 

Ao compilar está retornando vários erros, poderia me auxiliar? ubuntu 14.04 - 32bits

 


player.h: In member function ‘uint32_t Player::getCastIpByName(std::string)’:
player.h:216:11: error: converting to non-pointer type ‘uint32_t {aka unsigned int}’ from NULL [-Werror=conversion-null]
    return NULL;
           ^
player.h: In member function ‘void Player::kickCastViewers()’:
player.h:237:34: error: cannot call constructor ‘PlayerCast::PlayerCast’ directly [-fpermissive]
    cast = PlayerCast::PlayerCast();
                                  ^
player.h:237:34: error:   for a function-style cast, remove the redundant ‘::PlayerCast’ [-fpermissive]
In file included from party.h:20:0,
                 from chat.h:24,
                 from chat.cpp:18:
player.h: In member function ‘bool Player::addCastBan(std::string)’:
player.h:263:46: error: cannot call constructor ‘CastBan::CastBan’ directly [-fpermissive]
    cast.bans.push_back(CastBan::CastBan(n, ip));
                                              ^
player.h:263:46: error:   for a function-style cast, remove the redundant ‘::CastBan’ [-fpermissive]
player.h: In member function ‘bool Player::addCastMute(std::string)’:
player.h:284:47: error: cannot call constructor ‘CastBan::CastBan’ directly [-fpermissive]
    cast.muted.push_back(CastBan::CastBan(n, ip));
                                               ^
player.h:284:47: error:   for a function-style cast, remove the redundant ‘::CastBan’ [-fpermissive]
chat.cpp: In member function ‘ChatChannel* Chat::getChannel(Player*, uint16_t)’:
chat.cpp:1144:10: error: converting ‘false’ to pointer type ‘ChatChannel*’ [-Werror=conversion-null]
   return false;
          ^
In file included from game.h:31:0,
                 from combat.cpp:23:
player.h: In member function ‘uint32_t Player::getCastIpByName(std::string)’:
player.h:216:11: error: converting to non-pointer type ‘uint32_t {aka unsigned int}’ from NULL [-Werror=conversion-null]
    return NULL;
           ^
player.h: In member function ‘void Player::kickCastViewers()’:
player.h:237:34: error: cannot call constructor ‘PlayerCast::PlayerCast’ directly [-fpermissive]
    cast = PlayerCast::PlayerCast();
                                  ^
player.h:237:34: error:   for a function-style cast, remove the redundant ‘::PlayerCast’ [-fpermissive]
In file included from game.h:31:0,
                 from combat.cpp:23:
player.h: In member function ‘bool Player::addCastBan(std::string)’:
player.h:263:46: error: cannot call constructor ‘CastBan::CastBan’ directly [-fpermissive]
    cast.bans.push_back(CastBan::CastBan(n, ip));
                                              ^
player.h:263:46: error:   for a function-style cast, remove the redundant ‘::CastBan’ [-fpermissive]
player.h: In member function ‘bool Player::addCastMute(std::string)’:
player.h:284:47: error: cannot call constructor ‘CastBan::CastBan’ directly [-fpermissive]
    cast.muted.push_back(CastBan::CastBan(n, ip));
                                               ^
player.h:284:47: error:   for a function-style cast, remove the redundant ‘::CastBan’ [-fpermissive]
In file included from house.h:27:0,
                 from beds.cpp:20:
player.h: In member function ‘uint32_t Player::getCastIpByName(std::string)’:
player.h:216:11: error: converting to non-pointer type ‘uint32_t {aka unsigned int}’ from NULL [-Werror=conversion-null]
    return NULL;
           ^
player.h: In member function ‘void Player::kickCastViewers()’:
player.h:237:34: error: cannot call constructor ‘PlayerCast::PlayerCast’ directly [-fpermissive]
    cast = PlayerCast::PlayerCast();
                                  ^
player.h:237:34: error:   for a function-style cast, remove the redundant ‘::PlayerCast’ [-fpermissive]
In file included from house.h:27:0,
                 from beds.cpp:20:
player.h: In member function ‘bool Player::addCastBan(std::string)’:
player.h:263:46: error: cannot call constructor ‘CastBan::CastBan’ directly [-fpermissive]
    cast.bans.push_back(CastBan::CastBan(n, ip));
                                              ^
player.h:263:46: error:   for a function-style cast, remove the redundant ‘::CastBan’ [-fpermissive]
player.h: In member function ‘bool Player::addCastMute(std::string)’:
player.h:284:47: error: cannot call constructor ‘CastBan::CastBan’ directly [-fpermissive]
    cast.muted.push_back(CastBan::CastBan(n, ip));
                                               ^
player.h:284:47: error:   for a function-style cast, remove the redundant ‘::CastBan’ [-fpermissive]
In file included from actions.cpp:23:0:
player.h: In member function ‘uint32_t Player::getCastIpByName(std::string)’:
player.h:216:11: error: converting to non-pointer type ‘uint32_t {aka unsigned int}’ from NULL [-Werror=conversion-null]
    return NULL;
           ^
player.h: In member function ‘void Player::kickCastViewers()’:
player.h:237:34: error: cannot call constructor ‘PlayerCast::PlayerCast’ directly [-fpermissive]
    cast = PlayerCast::PlayerCast();
                                  ^
player.h:237:34: error:   for a function-style cast, remove the redundant ‘::PlayerCast’ [-fpermissive]
In file included from actions.cpp:23:0:
player.h: In member function ‘bool Player::addCastBan(std::string)’:
player.h:263:46: error: cannot call constructor ‘CastBan::CastBan’ directly [-fpermissive]
    cast.bans.push_back(CastBan::CastBan(n, ip));
                                              ^
player.h:263:46: error:   for a function-style cast, remove the redundant ‘::CastBan’ [-fpermissive]
player.h: In member function ‘bool Player::addCastMute(std::string)’:
player.h:284:47: error: cannot call constructor ‘CastBan::CastBan’ directly [-fpermissive]
    cast.muted.push_back(CastBan::CastBan(n, ip));
                                               ^
player.h:284:47: error:   for a function-style cast, remove the redundant ‘::CastBan’ [-fpermissive]
cc1plus: all warnings being treated as errors
make[1]: ** [chat.o] Erro 1
make[1]: ** Esperando que outros processos terminem.
mv -f .deps/baseevents.Tpo .deps/baseevents.Po
cc1plus: all warnings being treated as errors
make[1]: ** [combat.o] Erro 1
cc1plus: all warnings being treated as errors
make[1]: ** [beds.o] Erro 1
cc1plus: all warnings being treated as errors
make[1]: ** [actions.o] Erro 1

 

 

@Yan Liima poderia me auxiliar?

  • 3 months later...
Postado

@Yan Liima Se puder me ajuda agradeço, estou com um problema nessa TFS que é o seguinte: tudo que envolve tempo pra acabar ta cortando o efeito antes da hora, por exemplo o player ativa uma vip por 30 dias, e o efeito corta com 1, 2 dias as vezes 5, mais nunca fica os 30 dias, e quando um player usa exp potion acontece o mesmo, até em eventos que os bixo spawna a cada 30 segundo buga e n spawna ou começa spawna e dps para, ja verefiquei as script, troquei de distro e tudo funcionou normal, o problema é que n queria abrir mão dessa TFS pq ja fiz muitas mudanças, queria saber se é possivel resolver isso.

Visitante
Este tópico está impedido de receber novos posts.

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