Havokz 0 #1 Posted June 25, 2019 (edited) 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 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 Edited June 25, 2019 by Havokz Share this post Link to post Share on other sites
0 Havokz 0 #2 Posted June 25, 2019 (edited) 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> Edited June 25, 2019 by Havokz Share this post Link to post Share on other sites
0 Gengo 19 #3 Posted June 25, 2019 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. 1 Havokz reacted to this Share this post Link to post Share on other sites
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:
A lista de erro é enorme, colocarei aqui a parte que está no print:
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
Edited by HavokzShare this post
Link to post
Share on other sites