Jump to content

[10.98] PokeDash Pota v1.0 - TFS 1.2 - Server, Client, Sources, Site, Map editor e Item editor


thepota

Recommended Posts

5 horas atrás, rranka disse:

como eu faço pra ganhar xp matando os pokes? eu mato mas nao consigo adquirir xp, minha barra nao sobe e meu poke tbm não, nao to conseguindo achar a linha para modificar isso, alguem pode me ajudar?

resolvi, mas por algum motivo os nmomes dos pokes e o lv nao aparecem em cima deles, alguem sabe o que pode ser?

Está usando essa base mesmo? Ninguém teve esses problemas até agora

Link to comment
Share on other sites

12 horas atrás, thepota disse:

Está usando essa base mesmo? Ninguém teve esses problemas até agora

sim amigo, é essa base mesmo, substitui os arquivos e continua assim(nao aparecendo nome e lv), pode ser erro no carregamento da db?

49 minutos atrás, rranka disse:

sim amigo, é essa base mesmo, substitui os arquivos e continua assim(nao aparecendo nome e lv), pode ser erro no carregamento da db?

consegui resolver aqui, eu que fiz coisa errada mesmo kkkkkkk

Link to comment
Share on other sites

Essa base ta excelente, muito obrigado pela contribuição!!

Uma pergunta, alguém aqui tentou adaptar o mehah nela? Eu tentei e da um problema nos efeitos, tem alguns que aparecem mas a maioria não aparece. Estou tentando corrigir, se alguém souber algo sobre isso avise

Link to comment
Share on other sites

Em 13/12/2021 em 23:09, Mixlortt disse:

oi pota, eu gostaria de saber como eu posso areglar o computador e a TV , porque eles vêm ruim e sem nome no servidor , se Agradeseria qualquer datito por favor

 

 

Link to comment
Share on other sites

  • 1 month later...
22 horas atrás, Mariano Absolem disse:

alguém tem um tutorial compilando o cliente? ja tentei com os que tão aqui e não tive êxito. já formatei o pc umas 10 vezes, e pensando que poderia ser o win 10. coloquei o win 7. 

https://github.com/edubart/otclient/wiki/Compiling-on-Windows/6d90c1d4fdcf550a95e0bf63e61aa49584bdb619

 

+++++

 

Coloquei no ar o antigo blog do server, com descrição dos sistemas e quests: http://blogpkdpota.ddns.net/

Edited by thepota
Link to comment
Share on other sites

  • 2 weeks later...
Em 08/02/2022 em 02:58, Dilooow disse:

minha duvida e simples aonde fica o blink dos pokemons reparei pokes psy nao tem habilidade blink e nao tem como por neles em xml , onde fica pota ajuda nois ai?

Vc diz para teleportar o player? Acho q o comando é !teleport cidade. Se não funcionar procura no talkactions.xml o comando certo. Se tiver falando da magia de sumir de um lugar e aparecer em outro não tem mesmo, tem que implementar

Link to comment
Share on other sites

Nao posso compilarlo com linux Ubuntu 20.04 ou 18, alguem pode?

Spoiler
/home/otserv/src/connection.cpp: In member function ‘void Connection::accept()’:
/home/otserv/src/connection.cpp:119:81: error: no matching function for call to ‘boost::posix_time::seconds::seco
nds(Connection::<unnamed enum>)’
  119 |   readTimer.expires_from_now(boost::posix_time::seconds(Connection::read_timeout));
      |                                                                                 ^
In file included from /usr/include/boost/date_time/posix_time/posix_time_types.hpp:16,
                 from /usr/include/boost/asio/time_traits.hpp:23,
                 from /usr/include/boost/asio/detail/timer_queue_ptime.hpp:22,
                 from /usr/include/boost/asio/detail/deadline_timer_service.hpp:29,
                 from /usr/include/boost/asio/basic_deadline_timer.hpp:24,
                 from /usr/include/boost/asio.hpp:25,
                 from /home/otserv/src/otpch.h:42,
                 from /home/otserv/build/cotire/tfs_CXX_prefix.cxx:4,
                 from /home/otserv/build/cotire/tfs_CXX_prefix.hxx:4:
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:57:16: note: candidate: ‘template<class T> boost:
:posix_time::seconds::seconds(const T&, typename boost::enable_if<boost::is_integral<T>, void>::type*)’
   57 |       explicit seconds(T const& s,
      |                ^~~~~~~
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:57:16: note:   template argument deduction/substi
tution failed:
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp: In substitution of ‘template<class T> boost::pos
ix_time::seconds::seconds(const T&, typename boost::enable_if<boost::is_integral<T>, void>::type*) [with T = Conn
ection::<unnamed enum>]’:
/home/otserv/src/connection.cpp:119:81:   required from here
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:57:16: error: no type named ‘type’ in ‘struct boo
st::enable_if<boost::is_integral<Connection::<unnamed enum> >, void>’
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:53:30: note: candidate: ‘boost::posix_time::secon
ds::seconds(const boost::posix_time::seconds&)’
   53 |   class BOOST_SYMBOL_VISIBLE seconds : public time_duration
      |                              ^~~~~~~
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:53:30: note:   no known conversion for argument 1
 from ‘Connection::<unnamed enum>’ to ‘const boost::posix_time::seconds&’
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:53:30: note: candidate: ‘boost::posix_time::secon
ds::seconds(boost::posix_time::seconds&&)’
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:53:30: note:   no known conversion for argument 1
 from ‘Connection::<unnamed enum>’ to ‘boost::posix_time::seconds&&’
/home/otserv/src/connection.cpp: In member function ‘void Connection::parseHeader(const boost::system::error_code
&)’:
/home/otserv/src/connection.cpp:163:81: error: no matching function for call to ‘boost::posix_time::seconds::seco
nds(Connection::<unnamed enum>)’
  163 |   readTimer.expires_from_now(boost::posix_time::seconds(Connection::read_timeout));
      |                                                                                 ^
In file included from /usr/include/boost/date_time/posix_time/posix_time_types.hpp:16,
                 from /usr/include/boost/asio/time_traits.hpp:23,
                 from /usr/include/boost/asio/detail/timer_queue_ptime.hpp:22,
                 from /usr/include/boost/asio/detail/deadline_timer_service.hpp:29,
                 from /usr/include/boost/asio/basic_deadline_timer.hpp:24,
                 from /usr/include/boost/asio.hpp:25,
                 from /home/otserv/src/otpch.h:42,
                 from /home/otserv/build/cotire/tfs_CXX_prefix.cxx:4,
                 from /home/otserv/build/cotire/tfs_CXX_prefix.hxx:4:
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:57:16: note: candidate: ‘template<class T> boost:
:posix_time::seconds::seconds(const T&, typename boost::enable_if<boost::is_integral<T>, void>::type*)’
   57 |       explicit seconds(T const& s,
      |                ^~~~~~~
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:57:16: note:   template argument deduction/substi
tution failed:
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp: In substitution of ‘template<class T> boost::pos
ix_time::seconds::seconds(const T&, typename boost::enable_if<boost::is_integral<T>, void>::type*) [with T = Conn
ection::<unnamed enum>]’:
/home/otserv/src/connection.cpp:163:81:   required from here
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:57:16: error: no type named ‘type’ in ‘struct boo
st::enable_if<boost::is_integral<Connection::<unnamed enum> >, void>’
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:53:30: note: candidate: ‘boost::posix_time::secon
ds::seconds(const boost::posix_time::seconds&)’
   53 |   class BOOST_SYMBOL_VISIBLE seconds : public time_duration
      |                              ^~~~~~~
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:53:30: note:   no known conversion for argument 1
 from ‘Connection::<unnamed enum>’ to ‘const boost::posix_time::seconds&’
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:53:30: note: candidate: ‘boost::posix_time::secon
ds::seconds(boost::posix_time::seconds&&)’
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:53:30: note:   no known conversion for argument 1
 from ‘Connection::<unnamed enum>’ to ‘boost::posix_time::seconds&&’
/home/otserv/src/connection.cpp: In member function ‘void Connection::parsePacket(const boost::system::error_code
&)’:
/home/otserv/src/connection.cpp:225:81: error: no matching function for call to ‘boost::posix_time::seconds::seco
nds(Connection::<unnamed enum>)’
  225 |   readTimer.expires_from_now(boost::posix_time::seconds(Connection::read_timeout));
      |                                                                                 ^
In file included from /usr/include/boost/date_time/posix_time/posix_time_types.hpp:16,
                 from /usr/include/boost/asio/time_traits.hpp:23,
                 from /usr/include/boost/asio/detserv/src/otpch.h:42,ail/timer_queue_ptime.hpp:22,
                 from /usr/include/boost/asio/detail/deadline_timer_service.hpp:29,
                 from /usr/include/boost/asio/basic_deadline_timer
                 from /usr/include/boost/asio.hpp:25,
				 from /home/otserv/build/cotire/tfs_CXX_prefix.cxx:4,
                 from /home/otserv/build/cotire/tfs_CXX_prefix.hxx:4:
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:57:16: note: candidate: ‘template<class T> boost::posix_time::seconds::seconds(const T&, typename boost::enable_if<boost::is_integral<T>, void>::type*)’
   57 |       explicit seconds(T const& s,
      |                ^~~~~~~
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:57:16: note:   template argument deduction/substitution failed:
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp: In substitution of ‘template<class T> boost::posix_time::seconds::seconds(const T&, typename boost::enable_if<boost::is_integral<T>, void>::type*) [with T = Connection::<unnamed enum>]’:
/home/otserv/src/connection.cpp:225:81:   required from here
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:57:16: error: no type named ‘type’ in ‘struct boost::enable_if<boost::is_integral<Connection::<unnamed enum> >, void>’
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:53:30: note: candidate: ‘boost::posix_time::seconds::seconds(const boost::posix_time::seconds&)’
   53 |   class BOOST_SYMBOL_VISIBLE seconds : public time_duration
      |                              ^~~~~~~
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:53:30: note:   no known conversion for argument 1 from ‘Connection::<unnamed enum>’ to ‘const boost::posix_time::seconds&’
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:53:30: note: candidate: ‘boost::posix_time::seconds::seconds(boost::posix_time::seconds&&)’
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:53:30: note:   no known conversion for argument 1 from ‘Connection::<unnamed enum>’ to ‘boost::posix_time::seconds&&’
/home/otserv/src/connection.cpp: In member function ‘void Connection::internalSend(const OutputMessage_ptr&)’:
/home/otserv/src/connection.cpp:257:83: error: no matching function for call to ‘boost::posix_time::seconds::seconds(Connection::<unnamed enum>)’
  257 |   writeTimer.expires_from_now(boost::posix_time::seconds(Connection::write_timeout));
      |                                                                                   ^
In file included from /usr/include/boost/date_time/posix_time/posix_time_types.hpp:16,
                 from /usr/include/boost/asio/time_traits.hpp:23,
                 from /usr/include/boost/asio/detail/timer_queue_ptime.hpp:22,
                 from /usr/include/boost/asio/detail/deadline_timer_service.hpp:29,
                 from /usr/include/boost/asio/basic_deadline_timer.hpp:24,
                 from /usr/include/boost/asio.hpp:25,
                 from /home/otserv/src/otpch.h:42,
                 from /home/otserv/build/cotire/tfs_CXX_prefix.cxx:4,
                 from /home/otserv/build/cotire/tfs_CXX_prefix.hxx:4:
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:57:16: note: candidate: ‘template<class T> boost::posix_time::seconds::seconds(const T&, typename boost::enable_if<boost::is_integral<T>, void>::type*)’
   57 |       explicit seconds(T const& s,
      |                ^~~~~~~
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:57:16: note:   template argument deduction/substitution failed:
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp: In substitution of ‘template<class T> boost::posix_time::seconds::seconds(const T&, typename boost::enable_if<boost::is_integral<T>, void>::type*) [with T = Connection::<unnamed enum>]’:
/home/otserv/src/connection.cpp:257:83:   required from here
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:57:16: error: no type named ‘type’ in ‘struct boost::enable_if<boost::is_integral<Connection::<unnamed enum> >, void>’
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:53:30: note: candidate: ‘boost::posix_time::seconds::seconds(const boost::posix_time::seconds&)’
   53 |   class BOOST_SYMBOL_VISIBLE seconds : public time_duration
      |                              ^~~~~~~
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:53:30: note:   no known conversion for argument 1 from ‘Connection::<unnamed enum>’ to ‘const boost::posix_time::seconds&’
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:53:30: note: candidate: ‘boost::posix_time::seconds::seconds(boost::posix_time::seconds&&)’
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:53:30: note:   no known conversion for argument 1 from ‘Connection::<unnamed enum>’ to ‘boost::posix_time::seconds&&’
make[2]: *** [CMakeFiles/tfs.dir/build.make:217: CMakeFiles/tfs.dir/src/connection.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:160: CMakeFiles/tfs.dir/all] Error 2
make: *** [Makefile:84: all] Error 2

 

 

Link to comment
Share on other sites

Em 12/02/2022 em 16:26, RodrigoSc disse:

Nao posso compilarlo com linux Ubuntu 20.04 ou 18, alguem pode?

  Mostrar conteúdo oculto
/home/otserv/src/connection.cpp: In member function ‘void Connection::accept()’:
/home/otserv/src/connection.cpp:119:81: error: no matching function for call to ‘boost::posix_time::seconds::seco
nds(Connection::<unnamed enum>)’
  119 |   readTimer.expires_from_now(boost::posix_time::seconds(Connection::read_timeout));
      |                                                                                 ^
In file included from /usr/include/boost/date_time/posix_time/posix_time_types.hpp:16,
                 from /usr/include/boost/asio/time_traits.hpp:23,
                 from /usr/include/boost/asio/detail/timer_queue_ptime.hpp:22,
                 from /usr/include/boost/asio/detail/deadline_timer_service.hpp:29,
                 from /usr/include/boost/asio/basic_deadline_timer.hpp:24,
                 from /usr/include/boost/asio.hpp:25,
                 from /home/otserv/src/otpch.h:42,
                 from /home/otserv/build/cotire/tfs_CXX_prefix.cxx:4,
                 from /home/otserv/build/cotire/tfs_CXX_prefix.hxx:4:
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:57:16: note: candidate: ‘template<class T> boost:
:posix_time::seconds::seconds(const T&, typename boost::enable_if<boost::is_integral<T>, void>::type*)’
   57 |       explicit seconds(T const& s,
      |                ^~~~~~~
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:57:16: note:   template argument deduction/substi
tution failed:
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp: In substitution of ‘template<class T> boost::pos
ix_time::seconds::seconds(const T&, typename boost::enable_if<boost::is_integral<T>, void>::type*) [with T = Conn
ection::<unnamed enum>]’:
/home/otserv/src/connection.cpp:119:81:   required from here
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:57:16: error: no type named ‘type’ in ‘struct boo
st::enable_if<boost::is_integral<Connection::<unnamed enum> >, void>’
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:53:30: note: candidate: ‘boost::posix_time::secon
ds::seconds(const boost::posix_time::seconds&)’
   53 |   class BOOST_SYMBOL_VISIBLE seconds : public time_duration
      |                              ^~~~~~~
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:53:30: note:   no known conversion for argument 1
 from ‘Connection::<unnamed enum>’ to ‘const boost::posix_time::seconds&’
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:53:30: note: candidate: ‘boost::posix_time::secon
ds::seconds(boost::posix_time::seconds&&)’
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:53:30: note:   no known conversion for argument 1
 from ‘Connection::<unnamed enum>’ to ‘boost::posix_time::seconds&&’
/home/otserv/src/connection.cpp: In member function ‘void Connection::parseHeader(const boost::system::error_code
&)’:
/home/otserv/src/connection.cpp:163:81: error: no matching function for call to ‘boost::posix_time::seconds::seco
nds(Connection::<unnamed enum>)’
  163 |   readTimer.expires_from_now(boost::posix_time::seconds(Connection::read_timeout));
      |                                                                                 ^
In file included from /usr/include/boost/date_time/posix_time/posix_time_types.hpp:16,
                 from /usr/include/boost/asio/time_traits.hpp:23,
                 from /usr/include/boost/asio/detail/timer_queue_ptime.hpp:22,
                 from /usr/include/boost/asio/detail/deadline_timer_service.hpp:29,
                 from /usr/include/boost/asio/basic_deadline_timer.hpp:24,
                 from /usr/include/boost/asio.hpp:25,
                 from /home/otserv/src/otpch.h:42,
                 from /home/otserv/build/cotire/tfs_CXX_prefix.cxx:4,
                 from /home/otserv/build/cotire/tfs_CXX_prefix.hxx:4:
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:57:16: note: candidate: ‘template<class T> boost:
:posix_time::seconds::seconds(const T&, typename boost::enable_if<boost::is_integral<T>, void>::type*)’
   57 |       explicit seconds(T const& s,
      |                ^~~~~~~
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:57:16: note:   template argument deduction/substi
tution failed:
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp: In substitution of ‘template<class T> boost::pos
ix_time::seconds::seconds(const T&, typename boost::enable_if<boost::is_integral<T>, void>::type*) [with T = Conn
ection::<unnamed enum>]’:
/home/otserv/src/connection.cpp:163:81:   required from here
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:57:16: error: no type named ‘type’ in ‘struct boo
st::enable_if<boost::is_integral<Connection::<unnamed enum> >, void>’
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:53:30: note: candidate: ‘boost::posix_time::secon
ds::seconds(const boost::posix_time::seconds&)’
   53 |   class BOOST_SYMBOL_VISIBLE seconds : public time_duration
      |                              ^~~~~~~
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:53:30: note:   no known conversion for argument 1
 from ‘Connection::<unnamed enum>’ to ‘const boost::posix_time::seconds&’
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:53:30: note: candidate: ‘boost::posix_time::secon
ds::seconds(boost::posix_time::seconds&&)’
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:53:30: note:   no known conversion for argument 1
 from ‘Connection::<unnamed enum>’ to ‘boost::posix_time::seconds&&’
/home/otserv/src/connection.cpp: In member function ‘void Connection::parsePacket(const boost::system::error_code
&)’:
/home/otserv/src/connection.cpp:225:81: error: no matching function for call to ‘boost::posix_time::seconds::seco
nds(Connection::<unnamed enum>)’
  225 |   readTimer.expires_from_now(boost::posix_time::seconds(Connection::read_timeout));
      |                                                                                 ^
In file included from /usr/include/boost/date_time/posix_time/posix_time_types.hpp:16,
                 from /usr/include/boost/asio/time_traits.hpp:23,
                 from /usr/include/boost/asio/detserv/src/otpch.h:42,ail/timer_queue_ptime.hpp:22,
                 from /usr/include/boost/asio/detail/deadline_timer_service.hpp:29,
                 from /usr/include/boost/asio/basic_deadline_timer
                 from /usr/include/boost/asio.hpp:25,
				 from /home/otserv/build/cotire/tfs_CXX_prefix.cxx:4,
                 from /home/otserv/build/cotire/tfs_CXX_prefix.hxx:4:
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:57:16: note: candidate: ‘template<class T> boost::posix_time::seconds::seconds(const T&, typename boost::enable_if<boost::is_integral<T>, void>::type*)’
   57 |       explicit seconds(T const& s,
      |                ^~~~~~~
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:57:16: note:   template argument deduction/substitution failed:
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp: In substitution of ‘template<class T> boost::posix_time::seconds::seconds(const T&, typename boost::enable_if<boost::is_integral<T>, void>::type*) [with T = Connection::<unnamed enum>]’:
/home/otserv/src/connection.cpp:225:81:   required from here
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:57:16: error: no type named ‘type’ in ‘struct boost::enable_if<boost::is_integral<Connection::<unnamed enum> >, void>’
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:53:30: note: candidate: ‘boost::posix_time::seconds::seconds(const boost::posix_time::seconds&)’
   53 |   class BOOST_SYMBOL_VISIBLE seconds : public time_duration
      |                              ^~~~~~~
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:53:30: note:   no known conversion for argument 1 from ‘Connection::<unnamed enum>’ to ‘const boost::posix_time::seconds&’
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:53:30: note: candidate: ‘boost::posix_time::seconds::seconds(boost::posix_time::seconds&&)’
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:53:30: note:   no known conversion for argument 1 from ‘Connection::<unnamed enum>’ to ‘boost::posix_time::seconds&&’
/home/otserv/src/connection.cpp: In member function ‘void Connection::internalSend(const OutputMessage_ptr&)’:
/home/otserv/src/connection.cpp:257:83: error: no matching function for call to ‘boost::posix_time::seconds::seconds(Connection::<unnamed enum>)’
  257 |   writeTimer.expires_from_now(boost::posix_time::seconds(Connection::write_timeout));
      |                                                                                   ^
In file included from /usr/include/boost/date_time/posix_time/posix_time_types.hpp:16,
                 from /usr/include/boost/asio/time_traits.hpp:23,
                 from /usr/include/boost/asio/detail/timer_queue_ptime.hpp:22,
                 from /usr/include/boost/asio/detail/deadline_timer_service.hpp:29,
                 from /usr/include/boost/asio/basic_deadline_timer.hpp:24,
                 from /usr/include/boost/asio.hpp:25,
                 from /home/otserv/src/otpch.h:42,
                 from /home/otserv/build/cotire/tfs_CXX_prefix.cxx:4,
                 from /home/otserv/build/cotire/tfs_CXX_prefix.hxx:4:
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:57:16: note: candidate: ‘template<class T> boost::posix_time::seconds::seconds(const T&, typename boost::enable_if<boost::is_integral<T>, void>::type*)’
   57 |       explicit seconds(T const& s,
      |                ^~~~~~~
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:57:16: note:   template argument deduction/substitution failed:
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp: In substitution of ‘template<class T> boost::posix_time::seconds::seconds(const T&, typename boost::enable_if<boost::is_integral<T>, void>::type*) [with T = Connection::<unnamed enum>]’:
/home/otserv/src/connection.cpp:257:83:   required from here
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:57:16: error: no type named ‘type’ in ‘struct boost::enable_if<boost::is_integral<Connection::<unnamed enum> >, void>’
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:53:30: note: candidate: ‘boost::posix_time::seconds::seconds(const boost::posix_time::seconds&)’
   53 |   class BOOST_SYMBOL_VISIBLE seconds : public time_duration
      |                              ^~~~~~~
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:53:30: note:   no known conversion for argument 1 from ‘Connection::<unnamed enum>’ to ‘const boost::posix_time::seconds&’
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:53:30: note: candidate: ‘boost::posix_time::seconds::seconds(boost::posix_time::seconds&&)’
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:53:30: note:   no known conversion for argument 1 from ‘Connection::<unnamed enum>’ to ‘boost::posix_time::seconds&&’
make[2]: *** [CMakeFiles/tfs.dir/build.make:217: CMakeFiles/tfs.dir/src/connection.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:160: CMakeFiles/tfs.dir/all] Error 2
make: *** [Makefile:84: all] Error 2

 

 

Tem que instalar uma versão antiga da lib boost. Uso a 1.55

Link to comment
Share on other sites

  • 1 month later...

Faz tempo que não entro no xtibia tenho um projeto do tfs 1.3 parado a anos semana quevem vamos olhar a suas sources e quem sabe posso ajudar vc que me lembre o meu tem tv system sem se o teleport 100% funcional duelo sistem 100% barra de level block respaw tudo 100% entre outras coisas não lembro mais.

Link to comment
Share on other sites

Pelo que percebi, ao usar o comando de adicionar level(/addskill) o client sofre com lags e em vez de adicionar os leveis conforme os parametros,os leveis são duplicados.Exemplo:Ao tentar adicionar o valor 100 no campo de level estou recebendo o valor 200

Link to comment
Share on other sites

×
×
  • Create New...