• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

OTClient 1.0 (Release)

I am wondering how to access OTC using latest sources with 12.85 assets support. Is still needed login.php? I am using MyACC's one and cannot access.
Post automatically merged:

I am wondering how to access OTC using latest sources with 12.85 assets support. Is still needed login.php? I am using MyACC's one and cannot access.

For anyone iterested: I was able to connect just by switching to Znote's AAC
 
Last edited:
Hey guys! I tried to compile while using Docker (since it has been a headache with any other compilation method) but got these errors.. can you help me?

Method: (got into otclient directory and ran the following)
Code:
docker build -t edubart/otclient .

The output was the following:
Code:
[+] Building 2.9s (16/23)                                                       
 => [internal] load build definition from Dockerfile                       0.0s
 => => transferring dockerfile: 120B                                       0.0s
 => [internal] load .dockerignore                                          0.0s
 => => transferring context: 117B                                          0.0s
 => [internal] load metadata for docker.io/library/ubuntu@sha256:b88f8848  1.2s
 => [builder  1/13] FROM docker.io/library/ubuntu@sha256:b88f8848e9a1a4e4  0.0s
 => [internal] load build context                                          0.1s
 => => transferring context: 137.34kB                                      0.1s
 => CACHED [stage-1 2/8] RUN apt-get update;   apt-get install -y     lib  0.0s
 => CACHED [builder  2/13] RUN apt-get update;   apt-get install -y     b  0.0s
 => CACHED [builder  3/13] RUN git clone --branch release-3.0.2 --depth 1  0.0s
 => CACHED [builder  4/13] WORKDIR /physfs/build/                          0.0s
 => CACHED [builder  5/13] RUN cmake ..                                    0.0s
 => CACHED [builder  6/13] RUN make -j$(nproc)                             0.0s
 => CACHED [builder  7/13] RUN make install                                0.0s
 => CACHED [builder  8/13] COPY ./src/ /otclient/src/.                     0.0s
 => CACHED [builder  9/13] COPY CMakeLists.txt /otclient/.                 0.0s
 => CACHED [builder 10/13] WORKDIR /otclient/build/                        0.0s
 => ERROR [builder 11/13] RUN cmake -DCMAKE_CXX_LINK_FLAGS=-no-pie -DCMAK  1.5s
------                                                                         
 > [builder 11/13] RUN cmake -DCMAKE_CXX_LINK_FLAGS=-no-pie -DCMAKE_BUILD_TYPE=Release ..:                                                                     
#16 0.234 -- The C compiler identification is GNU 7.5.0
#16 0.284 -- The CXX compiler identification is GNU 7.5.0
#16 0.287 -- Check for working C compiler: /usr/bin/cc
#16 0.353 -- Check for working C compiler: /usr/bin/cc -- works
#16 0.353 -- Detecting C compiler ABI info
#16 0.423 -- Detecting C compiler ABI info - done
#16 0.430 -- Detecting C compile features
#16 0.631 -- Detecting C compile features - done
#16 0.633 -- Check for working CXX compiler: /usr/bin/c++
#16 0.709 -- Check for working CXX compiler: /usr/bin/c++ -- works
#16 0.709 -- Detecting CXX compiler ABI info
#16 0.786 -- Detecting CXX compiler ABI info - done
#16 0.793 -- Detecting CXX compile features
#16 1.133 -- Detecting CXX compile features - done
#16 1.134 -- Link to static libraries: ON
#16 1.134 -- Build type: Release
#16 1.134 -- Build commit: devel
#16 1.134 -- Build revision: 0
#16 1.155 -- Looking for pthread.h
#16 1.224 -- Looking for pthread.h - found
#16 1.224 -- Looking for pthread_create
#16 1.296 -- Looking for pthread_create - not found
#16 1.296 -- Looking for pthread_create in pthreads
#16 1.353 -- Looking for pthread_create in pthreads - not found
#16 1.353 -- Looking for pthread_create in pthread
#16 1.424 -- Looking for pthread_create in pthread - found
#16 1.425 -- Found Threads: TRUE 
#16 1.435 -- Boost version: 1.65.1
#16 1.435 -- Found the following Boost libraries:
#16 1.435 --   system
#16 1.435 --   thread
#16 1.435 --   filesystem
#16 1.435 --   chrono
#16 1.435 --   date_time
#16 1.435 --   atomic
#16 1.438 -- Found Lua: /usr/lib/x86_64-linux-gnu/liblua5.1.a 
#16 1.438 -- LuaJIT: OFF
#16 1.439 -- Found PhysFS: /usr/local/lib/libphysfs.a 
#16 1.440 -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.a 
#16 1.447 CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
#16 1.447   Could NOT find Protobuf (missing: Protobuf_INCLUDE_DIR)
#16 1.447 Call Stack (most recent call first):
#16 1.447   /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
#16 1.447   /usr/share/cmake-3.10/Modules/FindProtobuf.cmake:543 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
#16 1.447   src/framework/CMakeLists.txt:226 (find_package)
#16 1.447   CMakeLists.txt:12 (include)
#16 1.447
#16 1.447
#16 1.447 -- Configuring incomplete, errors occurred!
#16 1.447 See also "/otclient/build/CMakeFiles/CMakeOutput.log".
#16 1.447 See also "/otclient/build/CMakeFiles/CMakeError.log".
------
executor failed running [/bin/sh -c cmake -DCMAKE_CXX_LINK_FLAGS=-no-pie -DCMAKE_BUILD_TYPE=Release ..]: exit code: 1

Can someone give me some guidance please! 😊
 
But edubart/otclient != Mehah/otclient, or the docker was created like that?

About the error, not sure what is wrong
 
Hey guys! I tried to compile while using Docker (since it has been a headache with any other compilation method) but got these errors.. can you help me?

Method: (got into otclient directory and ran the following)
Code:
docker build -t edubart/otclient .

The output was the following:
Code:
[+] Building 2.9s (16/23)                                                      
 => [internal] load build definition from Dockerfile                       0.0s
 => => transferring dockerfile: 120B                                       0.0s
 => [internal] load .dockerignore                                          0.0s
 => => transferring context: 117B                                          0.0s
 => [internal] load metadata for docker.io/library/ubuntu@sha256:b88f8848  1.2s
 => [builder  1/13] FROM docker.io/library/ubuntu@sha256:b88f8848e9a1a4e4  0.0s
 => [internal] load build context                                          0.1s
 => => transferring context: 137.34kB                                      0.1s
 => CACHED [stage-1 2/8] RUN apt-get update;   apt-get install -y     lib  0.0s
 => CACHED [builder  2/13] RUN apt-get update;   apt-get install -y     b  0.0s
 => CACHED [builder  3/13] RUN git clone --branch release-3.0.2 --depth 1  0.0s
 => CACHED [builder  4/13] WORKDIR /physfs/build/                          0.0s
 => CACHED [builder  5/13] RUN cmake ..                                    0.0s
 => CACHED [builder  6/13] RUN make -j$(nproc)                             0.0s
 => CACHED [builder  7/13] RUN make install                                0.0s
 => CACHED [builder  8/13] COPY ./src/ /otclient/src/.                     0.0s
 => CACHED [builder  9/13] COPY CMakeLists.txt /otclient/.                 0.0s
 => CACHED [builder 10/13] WORKDIR /otclient/build/                        0.0s
 => ERROR [builder 11/13] RUN cmake -DCMAKE_CXX_LINK_FLAGS=-no-pie -DCMAK  1.5s
------                                                                        
 > [builder 11/13] RUN cmake -DCMAKE_CXX_LINK_FLAGS=-no-pie -DCMAKE_BUILD_TYPE=Release ..:                                                                    
#16 0.234 -- The C compiler identification is GNU 7.5.0
#16 0.284 -- The CXX compiler identification is GNU 7.5.0
#16 0.287 -- Check for working C compiler: /usr/bin/cc
#16 0.353 -- Check for working C compiler: /usr/bin/cc -- works
#16 0.353 -- Detecting C compiler ABI info
#16 0.423 -- Detecting C compiler ABI info - done
#16 0.430 -- Detecting C compile features
#16 0.631 -- Detecting C compile features - done
#16 0.633 -- Check for working CXX compiler: /usr/bin/c++
#16 0.709 -- Check for working CXX compiler: /usr/bin/c++ -- works
#16 0.709 -- Detecting CXX compiler ABI info
#16 0.786 -- Detecting CXX compiler ABI info - done
#16 0.793 -- Detecting CXX compile features
#16 1.133 -- Detecting CXX compile features - done
#16 1.134 -- Link to static libraries: ON
#16 1.134 -- Build type: Release
#16 1.134 -- Build commit: devel
#16 1.134 -- Build revision: 0
#16 1.155 -- Looking for pthread.h
#16 1.224 -- Looking for pthread.h - found
#16 1.224 -- Looking for pthread_create
#16 1.296 -- Looking for pthread_create - not found
#16 1.296 -- Looking for pthread_create in pthreads
#16 1.353 -- Looking for pthread_create in pthreads - not found
#16 1.353 -- Looking for pthread_create in pthread
#16 1.424 -- Looking for pthread_create in pthread - found
#16 1.425 -- Found Threads: TRUE
#16 1.435 -- Boost version: 1.65.1
#16 1.435 -- Found the following Boost libraries:
#16 1.435 --   system
#16 1.435 --   thread
#16 1.435 --   filesystem
#16 1.435 --   chrono
#16 1.435 --   date_time
#16 1.435 --   atomic
#16 1.438 -- Found Lua: /usr/lib/x86_64-linux-gnu/liblua5.1.a
#16 1.438 -- LuaJIT: OFF
#16 1.439 -- Found PhysFS: /usr/local/lib/libphysfs.a
#16 1.440 -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.a
#16 1.447 CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
#16 1.447   Could NOT find Protobuf (missing: Protobuf_INCLUDE_DIR)
#16 1.447 Call Stack (most recent call first):
#16 1.447   /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
#16 1.447   /usr/share/cmake-3.10/Modules/FindProtobuf.cmake:543 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
#16 1.447   src/framework/CMakeLists.txt:226 (find_package)
#16 1.447   CMakeLists.txt:12 (include)
#16 1.447
#16 1.447
#16 1.447 -- Configuring incomplete, errors occurred!
#16 1.447 See also "/otclient/build/CMakeFiles/CMakeOutput.log".
#16 1.447 See also "/otclient/build/CMakeFiles/CMakeError.log".
------
executor failed running [/bin/sh -c cmake -DCMAKE_CXX_LINK_FLAGS=-no-pie -DCMAKE_BUILD_TYPE=Release ..]: exit code: 1

Can someone give me some guidance please! 😊
Add libprotobuf-dev to Dockerfile list of installed packages
 
im currently using i think a 1.2 release version (mehah), some modules do not load ongamestart need to be reloaded manually from module manager,
but the current mehah client does loads those same modules.
couldnt find the commits related to that change.
does someone knows something about this?
 
Release: 2.0b
Rev: 3470

  • New Lighting System with Fading
  • Distance Effect U16
  • Support Tibia 12.85 with protobuf
  • Show only available client versions in entergame window
  • Updated to edu/otclient Rev.2758
  • New Pathfind
  • Extended json opcode support
  • Many fixes and improvements

url: Release 2.0b · mehah/otclient (https://github.com/mehah/otclient/releases/tag/2.0b)

Note: unfortunately i will be taking a break from otclient development to focus on my personal project together with @iGlobal, a 2d hack and slash game, but don't worry, the project will still be maintained by other developers like: @Nekiro, @Znote, Poxis and Scopz.

Bonus:
image (2).png

And may you all have a good Carnival.
1645831438934.png
 
Where can I change the chat text offset?

(It seems to be too low or my tastes)
1647413709609.png
 
Does anyone know how I can resolve these compilation issues? The client compiles normally, but I've noticed that there are some ingame bugs in the target spells that in another old otclient of mine doesn't happen.
 

Attachments

Does anyone know how I can resolve these compilation issues? The client compiles normally, but I've noticed that there are some ingame bugs in the target spells that in another old otclient of mine doesn't happen.
Missing google libary. Install in vcpkg.
".\vcpkg search google"
and find with word protobuf.
 
Missing google libary. Install in vcpkg.
".\vcpkg search google"
and find with word protobuf.
No, he is not missing anything, these are warnings from protobuf library they change nothing
 
No, he is not missing anything, these are warnings from protobuf library they change nothing
Wouldn't it be possible to compile without so many warnings in the console? Are you sure it doesn't affect anything? because they are warnings

since posting is not affecting anything these problems are not in the compilation, maybe my problem is another one, a video of the problem and maybe I know how to solve it



my tfs is 1.3 protocol 8.6, if you notice in the video the effect is coming out very fast, I thought it was because of compilation problems, but since it is not the case, so I believe it is because of the old protocol, does anyone know how to fix it ?
 
Last edited:
I would say otclient 1.0 isnt fully compatible with old protocols and from what I recall, mehah said he wont be keeping these compatible, just 1098, so this issue you are facing might be new animations code trying to animate old animations (they differ)
 
I would say otclient 1.0 isnt fully compatible with old protocols and from what I recall, mehah said he wont be keeping these compatible, just 1098, so this issue you are facing might be new animations code trying to animate old animations (they differ)

Do we already have the necessary tools to make the alternative tibia server in 10.98? with new sprites etc? If so, I can update the version on my server to 10.98
 

Steps to reproduce (include any configuration/script required to reproduce)​

  1. Compiling release 2.0b with Visual Studio 2022 using VCPKG in release x64

Error​

Error C1189 #error: This file was generated by an older version of protoc which is (compiling source file ..\src\client\thingtypemanager.cpp) otclient C:\Users...s\otclient-2.0b\otclient-2.0b\src\framework\protobuf\appearances.pb.h 17

Error C1189 #error: This file was generated by an older version of protoc which is (compiling source file ..\src\client\spriteappearances.cpp) otclient C:\Users...\otclient-2.0b\otclient-2.0b\src\framework\protobuf\appearances.pb.h 17

my protobuf version is "protocolbuffers-protobuf-v3.19.4.tar"
 
Wouldn't it be possible to compile without so many warnings in the console? Are you sure it doesn't affect anything? because they are warnings

since posting is not affecting anything these problems are not in the compilation, maybe my problem is another one, a video of the problem and maybe I know how to solve it



my tfs is 1.3 protocol 8.6, if you notice in the video the effect is coming out very fast, I thought it was because of compilation problems, but since it is not the case, so I believe it is because of the old protocol, does anyone know how to fix it ?

It is probably enabled to force effects optimization, if you are using the original options module, you will find an option to not force it.

1648156593959.png

if your options is modified and you don't have this option, set false on this line.


I would say otclient 1.0 isnt fully compatible with old protocols and from what I recall, mehah said he wont be keeping these compatible, just 1098, so this issue you are facing might be new animations code trying to animate old animations (they differ)

the project currently supports 7.72 ~10.98 tested by the community.

Steps to reproduce (include any configuration/script required to reproduce)​

  1. Compiling release 2.0b with Visual Studio 2022 using VCPKG in release x64

Error​

Error C1189 #error: This file was generated by an older version of protoc which is (compiling source file ..\src\client\thingtypemanager.cpp) otclient C:\Users...s\otclient-2.0b\otclient-2.0b\src\framework\protobuf\appearances.pb.h 17

Error C1189 #error: This file was generated by an older version of protoc which is (compiling source file ..\src\client\spriteappearances.cpp) otclient C:\Users...\otclient-2.0b\otclient-2.0b\src\framework\protobuf\appearances.pb.h 17

my protobuf version is "protocolbuffers-protobuf-v3.19.4.tar"
I will put it to generate a new compiled protobuf automatically at build time
 

Steps to reproduce (include any configuration/script required to reproduce)​

  1. Compiling release 2.0b with Visual Studio 2022 using VCPKG in release x64

Error​

Error C1189 #error: This file was generated by an older version of protoc which is (compiling source file ..\src\client\thingtypemanager.cpp) otclient C:\Users...s\otclient-2.0b\otclient-2.0b\src\framework\protobuf\appearances.pb.h 17

Error C1189 #error: This file was generated by an older version of protoc which is (compiling source file ..\src\client\spriteappearances.cpp) otclient C:\Users...\otclient-2.0b\otclient-2.0b\src\framework\protobuf\appearances.pb.h 17

my protobuf version is "protocolbuffers-protobuf-v3.19.4.tar"

Until it’s fixed in a better way do the following:

You need to run the generate.bat thats located here:
..\src\framework\protobuf\proto

Best is to first move protoc.exe from vcpkg folder to ..\src\framework\protobuf\proto
Which would be located here:
[Path to VCPKG}\installed\x64-windows\tools\protobuf

Or x86-windows if you use 32-bit
 
Back
Top