Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    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:
    Some of them:
    Create a mana bar beneath players health bar #75
    Reason: Closed by diath commit: Add player mana bar #909
    Support client version 10.97 #758
    EgzoT
    @EgzoT
    Reason: At this time otclient working with client version 10.99
    Shooting runes in battlelist @ creatures. #697
    Reason: Closed by EgzoT commit: Fixed problem with function "useWith" on creatures #874
    10.50 support. #544
    Reason: At this time otclient working with client version 10.99
    EgzoT
    @EgzoT
    Messed up mapmark icons #895
    Reason: Closed by andersonfaaria commit: Fix minimap icons
    Problem with battle server 7.4 #856
    Reason: Closed by EgzoT commit: Fixed problem with function "useWith" on creatures #874
    Personagem congelado #849
    Reason: Other than english language
    EgzoT
    @EgzoT
    missing summon_own and summon_other icon in-game #911
    Reason: Closed by diath commit: Add creature type icons for summons #915
    Missing delay for some actions #903
    Reason: Closed by diath commit: Add turn and hotkey delay #910
    Limiting packets sent by OTClient #564
    Reason: Closed by soul4soul and diath commit: Missing delay for some actions #903 and Add turn and hotkey delay #910
    EgzoT
    @EgzoT
    pre-build on homebrew cask #863
    Reason: Empty issue
    Babidy
    @Babidy
    Hi, this room is for support??
    plncoin
    @plncoin
    Hello i have small problem ;)