Ir para conteúdo

Featured Replies

Postado
  • Autor
@murilao Esse método de compilação serve para OTX Server? estou tentando aqui seguindo seu tuto pra ver


Nunca tentei, tente ai e avise.

                                          King is Back !                                  Está vendo esse coraçãozinho? Dar um Voto Positivo?                                                                                                                                                                                                       clica ali se eu te ajudei muito. Obrigado !

 

[Tutorial] Colocando sua senha no novo XAMPP

[Tutorial] Como compilar tfs 1.2 no Visual Studio 2015

------------------------------------------

  • Contato:

                    Discord: Lirosz#6563

                      Ts3: 104.154.235.159

 

 

  • Respostas 21
  • Visualizações 12.2k
  • Created
  • Última resposta

Top Posters In This Topic

Most Popular Posts

  • Gostei muito do seu tutorial, mas tenho 1 dúvida, quando instalo o Visual studio ele fica pedindo varias coisas para instalar, ai nao tenho essas coisas ai dar erro e não funciona o visual studio, tem

Posted Images

Postado

Opa.. boa tarde!

 

Primeiramente, parabéns pelo tutorial!

 

Acabei de fazer a compilação, seguindo fielmente o tuto, mas recebi essas linhas em Output

 

Spoiler

1>------ Build started: Project: theforgottenserver, Configuration: Release x64 ------
1>  otpch.cpp
1>  actions.cpp
1>  ban.cpp
1>  baseevents.cpp
1>  bed.cpp
1>  chat.cpp
1>  combat.cpp
1>  commands.cpp
1>  condition.cpp
1>  configmanager.cpp
1>  connection.cpp
1>  container.cpp
1>  creature.cpp
1>  creatureevent.cpp
1>  cylinder.cpp
1>  database.cpp
1>  databasemanager.cpp
1>  databasetasks.cpp
1>  depotchest.cpp
1>  depotlocker.cpp
1>  events.cpp
1>  fileloader.cpp
1>  game.cpp
1>  globalevent.cpp
1>  groups.cpp
1>  guild.cpp
1>  house.cpp
1>  housetile.cpp
1>  inbox.cpp
1>  ioguild.cpp
1>  iologindata.cpp
1>  iomap.cpp
1>  iomapserialize.cpp
1>  iomarket.cpp
1>  item.cpp
1>  items.cpp
1>  luascript.cpp
1>  mailbox.cpp
1>  map.cpp
1>..\src\luascript.cpp(5770): warning C4456: declaration of 'item' hides previous local declaration
1>  ..\src\luascript.cpp(5755): note: see declaration of 'item'
1>..\src\luascript.cpp(5802): warning C4456: declaration of 'item' hides previous local declaration
1>  ..\src\luascript.cpp(5787): note: see declaration of 'item'
1>..\src\luascript.cpp(6730): warning C4456: declaration of 'creature' hides previous local declaration
1>  ..\src\luascript.cpp(6718): note: see declaration of 'creature'
1>  monster.cpp
1>  monsters.cpp
1>  mounts.cpp
1>  movement.cpp
1>  networkmessage.cpp
1>  npc.cpp
1>  otserv.cpp
1>..\src\movement.cpp(823): warning C4100: 'fromPos': unreferenced formal parameter
1>  outfit.cpp
1>  outputmessage.cpp
1>  party.cpp
1>  player.cpp
1>  position.cpp
1>  protocol.cpp
1>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\atomic(659): error C2338: You've instantiated std::atomic<T> with sizeof(T) equal to 2/4/8 and alignof(T) < sizeof(T). Before VS 2015 Update 2, this would have misbehaved at runtime. VS 2015 Update 2 was fixed to handle this correctly, but the fix inherently changes layout and breaks binary compatibility. Please define _ENABLE_ATOMIC_ALIGNMENT_FIX to acknowledge that you understand this, and that everything you're linking has been compiled with VS 2015 Update 2 (or later). (compiling source file ..\src\outputmessage.cpp)
1>  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\atomic(669): note: see reference to class template instantiation 'std::_Atomic_base<_Ty,4>' being compiled
1>          with
1>          [
1>              _Ty=boost::lockfree::detail::tagged_index
1>          ] (compiling source file ..\src\outputmessage.cpp)
1>  C:\boost_1_60_0\boost/lockfree/detail/freelist.hpp(603): note: see reference to class template instantiation 'std::atomic<boost::lockfree::detail::tagged_index>' being compiled (compiling source file ..\src\outputmessage.cpp)
1>  C:\boost_1_60_0\boost/lockfree/detail/freelist.hpp(604): note: see reference to class template instantiation 'boost::lockfree::detail::fixed_size_freelist<T,NodeStorage>' being compiled (compiling source file ..\src\outputmessage.cpp)
1>  protocolgame.cpp
1>  protocollogin.cpp
1>  protocolold.cpp
1>  quests.cpp
1>  raids.cpp
1>  rsa.cpp
1>  scheduler.cpp
1>  scriptmanager.cpp
1>  server.cpp
1>  spawn.cpp
1>  spells.cpp
1>  protocolstatus.cpp
1>  talkaction.cpp
1>  tasks.cpp
1>..\src\spells.cpp(576): error C2065: 'not': undeclared identifier
1>..\src\spells.cpp(576): error C2146: syntax error: missing ';' before identifier 'attr'
1>..\src\spells.cpp(576): error C2146: syntax error: missing ';' before identifier 'or'
1>..\src\spells.cpp(576): error C2065: 'or': undeclared identifier
1>  teleport.cpp
1>  thing.cpp
1>  tile.cpp
1>  tools.cpp
1>  trashholder.cpp
1>  vocation.cpp
1>  waitlist.cpp
1>  weapons.cpp
1>  wildcardtree.cpp
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

 

O que pode ter acontecido pra ter falho o processo?

 

Pelo que entendi disso tudo, existem alguns erros de sintaxe em alguns arquivos, mas não sei se isso é o motivo da falha da build. Pode dar uma luz?

Postado
  • Autor
Opa.. boa tarde!

 

Primeiramente, parabéns pelo tutorial!

 

Acabei de fazer a compilação, seguindo fielmente o tuto, mas recebi essas linhas em Output

 

Spoiler 1>------ Build started: Project: theforgottenserver, Configuration: Release x64 ------
1>  otpch.cpp
1>  actions.cpp
1>  ban.cpp
1>  baseevents.cpp
1>  bed.cpp
1>  chat.cpp
1>  combat.cpp
1>  commands.cpp
1>  condition.cpp
1>  configmanager.cpp
1>  connection.cpp
1>  container.cpp
1>  creature.cpp
1>  creatureevent.cpp
1>  cylinder.cpp
1>  database.cpp
1>  databasemanager.cpp
1>  databasetasks.cpp
1>  depotchest.cpp
1>  depotlocker.cpp
1>  events.cpp
1>  fileloader.cpp
1>  game.cpp
1>  globalevent.cpp
1>  groups.cpp
1>  guild.cpp
1>  house.cpp
1>  housetile.cpp
1>  inbox.cpp
1>  ioguild.cpp
1>  iologindata.cpp
1>  iomap.cpp
1>  iomapserialize.cpp
1>  iomarket.cpp
1>  item.cpp
1>  items.cpp
1>  luascript.cpp
1>  mailbox.cpp
1>  map.cpp
1>..\src\luascript.cpp(5770): warning C4456: declaration of 'item' hides previous local declaration
1>  ..\src\luascript.cpp(5755): note: see declaration of 'item'
1>..\src\luascript.cpp(5802): warning C4456: declaration of 'item' hides previous local declaration
1>  ..\src\luascript.cpp(5787): note: see declaration of 'item'
1>..\src\luascript.cpp(6730): warning C4456: declaration of 'creature' hides previous local declaration
1>  ..\src\luascript.cpp(6718): note: see declaration of 'creature'
1>  monster.cpp
1>  monsters.cpp
1>  mounts.cpp
1>  movement.cpp
1>  networkmessage.cpp
1>  npc.cpp
1>  otserv.cpp
1>..\src\movement.cpp(823): warning C4100: 'fromPos': unreferenced formal parameter
1>  outfit.cpp
1>  outputmessage.cpp
1>  party.cpp
1>  player.cpp
1>  position.cpp
1>  protocol.cpp
1>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\atomic(659): error C2338: You've instantiated std::atomic with sizeof(T) equal to 2/4/8 and alignof(T) 1>  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\atomic(669): note: see reference to class template instantiation 'std::_Atomic_base<_ty>' being compiled
1>          with
1>          [
1>              _Ty=boost::lockfree::detail::tagged_index
1>          ] (compiling source file ..\src\outputmessage.cpp)
1>  C:\boost_1_60_0\boost/lockfree/detail/freelist.hpp(603): note: see reference to class template instantiation 'std::atomic<:lockfree::detail::tagged_index>' being compiled (compiling source file ..\src\outputmessage.cpp)
1>  C:\boost_1_60_0\boost/lockfree/detail/freelist.hpp(604): note: see reference to class template instantiation 'boost::lockfree::detail::fixed_size_freelist' being compiled (compiling source file ..\src\outputmessage.cpp)
1>  protocolgame.cpp
1>  protocollogin.cpp
1>  protocolold.cpp
1>  quests.cpp
1>  raids.cpp
1>  rsa.cpp
1>  scheduler.cpp
1>  scriptmanager.cpp
1>  server.cpp
1>  spawn.cpp
1>  spells.cpp
1>  protocolstatus.cpp
1>  talkaction.cpp
1>  tasks.cpp
1>..\src\spells.cpp(576): error C2065: 'not': undeclared identifier
1>..\src\spells.cpp(576): error C2146: syntax error: missing ';' before identifier 'attr'
1>..\src\spells.cpp(576): error C2146: syntax error: missing ';' before identifier 'or'
1>..\src\spells.cpp(576): error C2065: 'or': undeclared identifier
1>  teleport.cpp
1>  thing.cpp
1>  tile.cpp
1>  tools.cpp
1>  trashholder.cpp
1>  vocation.cpp
1>  waitlist.cpp
1>  weapons.cpp
1>  wildcardtree.cpp
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

 

O que pode ter acontecido pra ter falho o processo?

 

Pelo que entendi disso tudo, existem alguns erros de sintaxe em alguns arquivos, mas não sei se isso é o motivo da falha da build. Pode dar uma luz?


Essa source é de qual servidor ?

                                          King is Back !                                  Está vendo esse coraçãozinho? Dar um Voto Positivo?                                                                                                                                                                                                       clica ali se eu te ajudei muito. Obrigado !

 

[Tutorial] Colocando sua senha no novo XAMPP

[Tutorial] Como compilar tfs 1.2 no Visual Studio 2015

------------------------------------------

  • Contato:

                    Discord: Lirosz#6563

                      Ts3: 104.154.235.159

 

 

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