Ir para conteúdo
  • 0
Havokz

OTClient [Ajuda/Pedido] Compilar Otclient

Pergunta

Havokz    0
Havokz

Base:

The Forgotten Server 1.3, Versão: 10.98. (Gustavo Contreiras)

VS 2017, Git Bash, vcpkg libraries

Qual é a sua pergunta?

Oi amigos,

Estou  criando um projeto com base no servidor e cliente deste reposistório: https://github.com/GustavoContreiras/TheForgottenTibia

E preciso fazer alugumas modificações para aumentar os tiles de visão dentro do jogo.

Já fiz as devidas modificações no servidor e recompilei com sucesso, mas estou  com problemas em compilar as sources do Otclient.

Tentei compilar através do VS 2017 e vcpkg, e também tentei com CMake e codeblocks, porém sem sucesso...

Segue abaixo no spoiller um print do erro na tentativa de compilar via  VS 2017, seguindo o tutorial do edubart e o do @Majesty:

Spoiler

image.thumb.png.26a9fd698064daf569cf56ab228bef7a.png

 

image.thumb.png.a3f8b19ffddd4efabb88ed7a84512234.png

 

A lista de erro é enorme, colocarei aqui a parte que está no print:

Spoiler

1>------ Build started: Project: otclient, Configuration: Release x64 ------
1>animatedtext.cpp
1>animator.cpp
1>client.cpp
1>container.cpp
1>creature.cpp
1>creatures.cpp
1>effect.cpp
1>game.cpp
1>c:\vcpkg otclient\otclient\src\framework\luaengine\luaobject.h(85): warning C4100: 'other': unreferenced formal parameter (compiling source file ..\src\client\client.cpp)
1>c:\vcpkg otclient\otclient\src\framework\luaengine\luainterface.h(309): warning C4100: 'index': unreferenced formal parameter (compiling source file ..\src\client\client.cpp)
1>c:\vcpkg otclient\otclient\src\framework\luaengine\luaobject.h(85): warning C4100: 'other': unreferenced formal parameter (compiling source file ..\src\client\creatures.cpp)
1>c:\vcpkg otclient\otclient\src\framework\luaengine\luainterface.h(309): warning C4100: 'index': unreferenced formal parameter (compiling source file ..\src\client\creatures.cpp)
1>c:\vcpkg otclient\otclient\src\framework\luaengine\luaobject.h(85): warning C4100: 'other': unreferenced formal parameter (compiling source file ..\src\client\animator.cpp)
1>c:\vcpkg otclient\otclient\src\framework\luaengine\luainterface.h(309): warning C4100: 'index': unreferenced formal parameter (compiling source file ..\src\client\animator.cpp)
1>c:\vcpkg otclient\otclient\src\client\thing.h(39): warning C4100: 'lightView': unreferenced formal parameter (compiling source file ..\src\client\client.cpp)
1>c:\vcpkg otclient\otclient\src\client\thing.h(39): warning C4100: 'animate': unreferenced formal parameter (compiling source file ..\src\client\client.cpp)
1>c:\vcpkg otclient\otclient\src\client\thing.h(39): warning C4100: 'scaleFactor': unreferenced formal parameter (compiling source file ..\src\client\client.cpp)
1>c:\vcpkg otclient\otclient\src\client\thing.h(39): warning C4100: 'dest': unreferenced formal parameter (compiling source file ..\src\client\client.cpp)
1>c:\vcpkg otclient\otclient\src\client\thing.h(41): warning C4100: 'id': unreferenced formal parameter (compiling source file ..\src\client\client.cpp)
1>c:\vcpkg otclient\otclient\src\client\thing.h(127): warning C4100: 'oldPos': unreferenced formal parameter (compiling source file ..\src\client\client.cpp)
1>c:\vcpkg otclient\otclient\src\client\thing.h(127): warning C4100: 'newPos': unreferenced formal parameter (compiling source file ..\src\client\client.cpp)
1>c:\vcpkg otclient\otclient\src\framework\luaengine\luaobject.h(85): warning C4100: 'other': unreferenced formal parameter (compiling source file ..\src\client\game.cpp)
1>c:\vcpkg otclient\otclient\src\framework\luaengine\luaobject.h(85): warning C4100: 'other': unreferenced formal parameter (compiling source file ..\src\client\effect.cpp)
1>c:\vcpkg otclient\otclient\src\framework\luaengine\luainterface.h(309): warning C4100: 'index': unreferenced formal parameter (compiling source file ..\src\client\effect.cpp)
1>c:\vcpkg otclient\otclient\src\framework\luaengine\luainterface.h(309): warning C4100: 'index': unreferenced formal parameter (compiling source file ..\src\client\game.cpp)
1>c:\vcpkg otclient\otclient\src\framework\luaengine\luaobject.h(85): warning C4100: 'other': unreferenced formal parameter (compiling source file ..\src\client\creature.cpp)
1>c:\vcpkg otclient\otclient\src\framework\luaengine\luaobject.h(85): warning C4100: 'other': unreferenced formal parameter (compiling source file ..\src\client\animatedtext.cpp)
1>c:\vcpkg otclient\otclient\src\framework\luaengine\luaobject.h(85): warning C4100: 'other': unreferenced formal parameter (compiling source file ..\src\client\container.cpp)
1>c:\vcpkg otclient\otclient\src\framework\luaengine\luainterface.h(309): warning C4100: 'index': unreferenced formal parameter (compiling source file ..\src\client\creature.cpp)
1>c:\vcpkg otclient\otclient\src\framework\luaengine\luainterface.h(309): warning C4100: 'index': unreferenced formal parameter (compiling source file ..\src\client\animatedtext.cpp)
1>c:\vcpkg otclient\otclient\src\framework\luaengine\luainterface.h(309): warning C4100: 'index': unreferenced formal parameter (compiling source file ..\src\client\container.cpp)
1>c:\vcpkg otclient\otclient\src\client\thing.h(39): warning C4100: 'lightView': unreferenced formal parameter (compiling source file ..\src\client\effect.cpp)
1>c:\vcpkg otclient\otclient\src\client\thing.h(39): warning C4100: 'animate': unreferenced formal parameter (compiling source file ..\src\client\effect.cpp)
1>c:\vcpkg otclient\otclient\src\client\thing.h(39): warning C4100: 'scaleFactor': unreferenced formal parameter (compiling source file ..\src\client\effect.cpp)
1>c:\vcpkg otclient\otclient\src\client\thing.h(39): warning C4100: 'dest': unreferenced formal parameter (compiling source file ..\src\client\effect.cpp)
1>c:\vcpkg otclient\otclient\src\client\thing.h(41): warning C4100: 'id': unreferenced formal parameter (compiling source file ..\src\client\effect.cpp)
1>c:\vcpkg otclient\otclient\src\client\thing.h(127): warning C4100: 'oldPos': unreferenced formal parameter (compiling source file ..\src\client\effect.cpp)
1>c:\vcpkg otclient\otclient\src\client\thing.h(127): warning C4100: 'newPos': unreferenced formal parameter (compiling source file ..\src\client\effect.cpp)
1>c:\vcpkg otclient\otclient\src\client\thing.h(39): warning C4100: 'lightView': unreferenced formal parameter (compiling source file ..\src\client\container.cpp)
1>c:\vcpkg otclient\otclient\src\client\thing.h(39): warning C4100: 'animate': unreferenced formal parameter (compiling source file ..\src\client\container.cpp)
1>c:\vcpkg otclient\otclient\src\client\thing.h(39): warning C4100: 'scaleFactor': unreferenced formal parameter (compiling source file ..\src\client\container.cpp)
1>c:\vcpkg otclient\otclient\src\client\thing.h(39): warning C4100: 'dest': unreferenced formal parameter (compiling source file ..\src\client\container.cpp)
1>c:\vcpkg otclient\otclient\src\client\thing.h(41): warning C4100: 'id': unreferenced formal parameter (compiling source file ..\src\client\container.cpp)
1>c:\vcpkg otclient\otclient\src\client\thing.h(127): warning C4100: 'oldPos': unreferenced formal parameter (compiling source file ..\src\client\container.cpp)

1 - Alguém tem ideia, ou solução para este problema?

2 - Alguém poderia compilar estas sources em Release x64 para mim? Eu ficaria realmente muito agradecido.
Segue em anexo as sources já com o arquivo modificado e scann.

otclient sources.rar

https://www.virustotal.com/gui/file/eec0342e619bdbb652d063469d05fa5e3b291a74269aaf90ebe31b22e6307fa2/detection

Editado por Havokz

Compartilhar este post


Link para o post
Compartilhar em outros sites

2 respostass a esta questão

Recommended Posts

  • 0
Havokz    0
Havokz

edit --

Resolvido

entrei no arquivo do diretório \src\framework\sound\declarations.h

e mudei algumas linhas

de

#include <al.h>
#include <alc.h>

para

#include <AL/al.h>
#include <AL/alc.h>

 

Editado por Havokz

Compartilhar este post


Link para o post
Compartilhar em outros sites
  • 0
Gengo    19
Gengo

E o compila até o final? Ou ele para a execução?
No meu dava esses warnings mas sempre ignorei e até hoje não deu BO nenhum pra mim.

Compartilhar este post


Link para o post
Compartilhar em outros sites
Visitante
Este tópico está impedido de receber novos posts.

  • Quem Está Navegando   0 membros estão online

    Nenhum usuário registrado visualizando esta página.

×