Official bot server for OTCv8
If you want to keep using bot with your friends, you got to create own host:
Temporary solution: use my server
This software has 3 years and requires 2 libraries with unspecified versions.
I found which versions are compatible with otcv8botserver:
How to download and compile server and required libraries
OS: Ubuntu 20.04
Install:
Download & compile:
It will create
If you want to run it inside docker:
Dockerfile
EDIT:
Uploaded server with all required libraries included. In case authors of these libraries decide to remove them from github, we got working version. Instruction of compilation for files from .zip:
bot.************:8000
is offline:otclientv8/modules/game_bot/functions/server.lua at 4c1fc24f26f6e3fdc9b46916672340dacfcd4b55 · OTCv8/otclientv8
Clean, ready to use version of OTClientV8 - Alternative, highly optimized Tibia client - OTCv8/otclientv8
github.com
GitHub - OTCv8/otcv8botserver: Websocket bot server for otclientv8
Websocket bot server for otclientv8 . Contribute to OTCv8/otcv8botserver development by creating an account on GitHub.
github.com
arm.skalski.pro:8000
This software has 3 years and requires 2 libraries with unspecified versions.
I found which versions are compatible with otcv8botserver:
- uWebSockets: 18.9.0
- uSockets: 0.5.0
How to download and compile server and required libraries
OS: Ubuntu 20.04
Install:
Code:
apt install zlib1g-dev wget unzip build-essential
Download & compile:
Code:
wget https://github.com/OTCv8/otcv8botserver/archive/refs/heads/master.zip
unzip master.zip
mv otcv8botserver-master otcv8botserver
cd otcv8botserver
wget https://raw.githubusercontent.com/nlohmann/json/develop/single_include/nlohmann/json.hpp
wget https://github.com/uNetworking/uWebSockets/archive/refs/tags/v18.9.0.zip
unzip v18.9.0.zip
mv uWebSockets-18.9.0 uWebSockets
cd uWebSockets
rm -rf uSockets
wget https://github.com/uNetworking/uSockets/archive/refs/tags/v0.5.0.zip
unzip v0.5.0.zip
mv uSockets-0.5.0 uSockets
make
cd ..
g++ main.cpp -std=c++17 -Ofast uWebSockets/uSockets/uSockets.a -IuWebSockets/src -IuWebSockets/uSockets/src -lz -lpthread -o botserver
botserver
file, which you must run on screen
.If you want to run it inside docker:
Dockerfile
Code:
FROM ubuntu:20.04
RUN apt-get update
ARG DEBIAN_FRONTEND=noninteractive
ENV TZ=Europe/London
RUN apt-get -y install tzdata
RUN apt-get -y install zlib1g-dev wget unzip build-essential
RUN cd /home/ && wget https://github.com/OTCv8/otcv8botserver/archive/refs/heads/master.zip
RUN cd /home/ && unzip master.zip
RUN cd /home/ && mv otcv8botserver-master otcv8botserver
RUN cd /home/otcv8botserver && wget https://raw.githubusercontent.com/nlohmann/json/develop/single_include/nlohmann/json.hpp
RUN cd /home/otcv8botserver && wget https://github.com/uNetworking/uWebSockets/archive/refs/tags/v18.9.0.zip
RUN cd /home/otcv8botserver && unzip v18.9.0.zip && rm v18.9.0.zip
RUN cd /home/otcv8botserver && mv uWebSockets-18.9.0 uWebSockets
RUN cd /home/otcv8botserver/uWebSockets && rm -rf uSockets
RUN cd /home/otcv8botserver/uWebSockets && wget https://github.com/uNetworking/uSockets/archive/refs/tags/v0.5.0.zip
RUN cd /home/otcv8botserver/uWebSockets && unzip v0.5.0.zip && rm v0.5.0.zip
RUN cd /home/otcv8botserver/uWebSockets && mv uSockets-0.5.0 uSockets
RUN cd /home/otcv8botserver/uWebSockets && make
RUN cd /home/otcv8botserver && g++ main.cpp -std=c++17 -Ofast uWebSockets/uSockets/uSockets.a -IuWebSockets/src -IuWebSockets/uSockets/src -lz -lpthread -o botserver
ENTRYPOINT ["/home/otcv8botserver/botserver"]
EDIT:
Uploaded server with all required libraries included. In case authors of these libraries decide to remove them from github, we got working version. Instruction of compilation for files from .zip:
Bash:
apt install zlib1g-dev build-essential
cd uWebSockets
make
cd ..
g++ main.cpp -std=c++17 -Ofast uWebSockets/uSockets/uSockets.a -IuWebSockets/src -IuWebSockets/uSockets/src -lz -lpthread -o botserver
Attachments
-
otcv8botserver-with-libraries.zip523.8 KB · Views: 18 · VirusTotal
Last edited: