Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    EgzoT
    @EgzoT
    Can someone tell me what will change in OTClient without preprocessor value "FW_GRAPHICS". Now it's not work, and I curious what it's works.
    Whether it's work like terminal (client_terminal module), but in command prompt?
    Mirandatz
    @Mirandatz
    Greetings
    May I ask some silly questions?
    I noticed that the forgotten server and otclient cryptograph messages
    I know that the server has the private and public keys hardcoded in the source
    I'd like to know where does the client get it's keys
    I'm not really sure how things work... But as far as I understand, the server should generate a pair of keys, send the public one to the client and the client would use it to cryptography it's messages... The server would use the private key to decrypto the clients messages... Right?
    Mirandatz
    @Mirandatz
    Uh
    Can we disable the OTClient's criptograph alltogether?
    zygzagZ
    @zygzagZ
    you can find opentibia's public rsa key in modules/gamelib/const.lua, it is used in modules/gamelib/game.lua
    Mirandatz
    @Mirandatz
    Thank you
    Mirandatz
    @Mirandatz
    Guys
    If I understood things correctly... We haven't found the current tibia keys, right?
    Qwizer
    @Qwizer
    hello
    Mirandatz
    @Mirandatz
    Sup Qwizer
    zygzagZ
    @zygzagZ
    Yes, tibia keys are unknown. I guess in case they were made public they'd be changed quickly
    Mirandatz
    @Mirandatz
    So the OTClient is no longer compatible with Cip's actual servers, right?
    So why don't we drop compatibility alltogether and rewrite / simplify the protocol.
    SwipeDan
    @SwipeDan
    Hey guys, I finished compiling the Android version but I have a problem everytime I try to connect to a OT
    The OT uses a "fake" protocol 11, so I edited the restrictions on game.cpp from 1076 to 1200 just to be sure
    THen changed some stuff up in the modules
    And with the normal OTclient for linux and windows, i'm succesfully able to login and play by doing the same thing, but on android I get this error

    "[C++]: StreamSoundSource::update
    ERROR: invalid decrypted network message
    at:

    [C++]: Protocol::xteaDecrypt

    ERROR: failed to decrypt message
    at:

    [C++]: Protocol::internalRecvData"
    All help is greatly appreciated
    EgzoT
    @EgzoT
    Maybe someone know how to return value from lua expression in c++ code? Because I want edit OTUI "$" syntax to add possibility checking values from lua code.
    idontreallywolf
    @idontreallywolf

    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
    @zygzagZ
    @idontreallywolf You need to make sure you are compiling with openssl 1.0, the error you get is typical to compiling with 1.1
    idontreallywolf
    @idontreallywolf

    @zygzagZ I did the following, But no luck..
    `
    -- to uninstall 1.1

    apt-get remove openssl

    ...

    apt-get remove --purge openssl

    ...

    apt-get autoremove

    ...
    -- Downloaded & Installed OpenSSL 1.0.1 as .deb

    dpkg -i openssl*.deb

    ... installation completes successfully

    —————————————

    cmake .. && make

    ... same error ...
    `

    zygzagZ
    @zygzagZ
    See cmakecache.txt for path where it has found openssl
    idontreallywolf
    @idontreallywolf

    @zygzagZ is this what you're asking for ?

    //Details about finding OPENSSL
    FIND_PACKAGE_MESSAGE_DETAILS_OPENSSL:INTERNAL=[/usr/lib/x86_64-linux-gnu/libssl.a;/usr/lib/x86_64-linux-gnu/libcrypto.a][/usr/include][v()]

    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

    zygzagZ
    @zygzagZ
    I do not know what system are you on, but on my environment these paths are:
    OPENSSL_CRYPTO_LIBRARY:FILEPATH=/usr/lib/libcrypto.so.1.0.0
    OPENSSL_INCLUDE_DIR:PATH=/usr/include/openssl-1.0/
    OPENSSL_LIBRARY:FILEPATH=/usr/lib/libssl.so.1.0.0
    (I use dynamic libraries, not static ones)
    I do not know whether it will work, but try to find out version of your ssl using
    readelf -a -W /usr/lib/x86_64-linux-gnu/libssl.a
    idontreallywolf
    @idontreallywolf

    Cykotitan suggested that I should install debian 8 since old ver. of OpenSSL wasn't able to install on Debian 9. I'll see how it goes on Debian 8.

    Thank you for the help

    idontreallywolf
    @idontreallywolf
    Hi again! I compiled it on Debian 8 and it Worked fine except for Graphics (it was laggy). However... I decided to compile it on OSX (main OS on computer) and the compiling finished successfully. But there's a problem; when i execute the binary file ./otclient from terminal, nothing happens. It is as if it gets stuck in some sort of loop. No messages.
    zygzagZ
    @zygzagZ
    @idontreallywolf run it with gdb (or other compiler), stop it after 10 seconds and look at traceback to see where it did hang
    idontreallywolf
    @idontreallywolf
    @zygzagZ That problem has been solved. It was Xquatrz that took some time to startup. But another problem is that module_serverlist is not saving the servers i add in server_list. What do you think is the cause of this?
    zygzagZ
    @zygzagZ
    @idontreallywolf I am afraid you have to debug it yourself
    EmersonHenriique
    @EmersonHenriique
    1>c:\otclientsource\src\client\thing.h(126): warning C4100: 'newPos': unreferenced formal parameter (compiling source file ..\src\client\thing.cpp)
    help me
    1>c:\otclientsource\src\client\thing.h(126): warning C4100: 'oldPos': unreferenced formal parameter (compiling source file ..\src\client\thing.cpp)
    Cjλker
    @Eternal-Scripts

    Heyo guys, i have the new version of OTClient and i will fork the original OTC to update him the protocol, but to make this 'updates' perfectly, anyone can explain me why the latest sources don't compile more with cmake | codeblocks? i tried at a old commit and works perfectly, but with the latest no results :/

    And if don't exists i am thinking about create a discord server for this project, is a good client and i don't want let this project die. :)

    _flyckks-dev
    @Flyckks
    Hello :)
    Tekadon58
    @Tekadon58
    Good evening, could anyone help me with otclient for android?
    I'm trying to compile more
    follow the right tutorial, but several errors happen
    @Flyckks @Tulioh
    @Tulioh
    que complicado :/
    EgzoT
    @EgzoT
    Maybe someone may close fixed/outdated issues, now is a lot of these in open issues tab: