An alternative tibia client for otserv written in C++2011, made with a modular system that uses lua scripts for ingame interface and functionality, making otclient flexible and easy to customize
.rodata' can not be used when making a shared object; recompile with -fPIC" and "undefined reference to
PHYSFS_fileLength'"[C++]: StreamSoundSource::update
ERROR: invalid decrypted network message
at:
[C++]: Protocol::xteaDecrypt
ERROR: failed to decrypt message
at:
[C++]: Protocol::internalRecvData"
I have been trying to Compile OTC on Debian 9 (OpenSSL 1.1.0) but im facing the following error; crypt.cpp:358:52: error: invalid use of incomplete type ‘RSA {aka struct rsa_st}’
BN_mod_inverse(m_rsa->iqmp, m_rsa->q, m_rsa->p, ctx);
I tried downgrading OpenSSL to 1.0.1 but that didn't do anything about the issue.
After Doing some more research i found that, according to the OpenSSL WIKI, there are 2 things i need to do:
Access to deprecated functions/macros has been removed by default. To enable access you must do two things. 1) Build OpenSSL with deprecation support (pass "enable-deprecated" as an argument to config) 2) Applications must define "OPENSSL_USE_DEPRECATED" before including OpenSSL header files
but i am not sure how to accomplish this.
@zygzagZ I did the following, But no luck..
`
-- to uninstall 1.1
...
...
...
-- Downloaded & Installed OpenSSL 1.0.1 as .deb
... installation completes successfully
—————————————
... same error ...
`
or this ::
//Path to a library.
OPENSSL_CRYPTO_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libcrypto.a
//Path to a file.
OPENSSL_INCLUDE_DIR:PATH=/usr/include
//Path to a library.
OPENSSL_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libssl.a
./otclient
from terminal, nothing happens. It is as if it gets stuck in some sort of loop. No messages.