• 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!

Ongoing thread

Mavyn

New Member
Joined
Mar 17, 2022
Messages
15
Reaction score
0
Hey Guys!

I'm trying to get a server online to experiment some on, and eventually bring public for people to come and play.

However I havent hosted a OTserv since like 2006, and a lot has changed since x_X.

Im trying to get a TFS server up on my ubuntu server, using Myaac.
I've been able to get myaac up, but now I'm not sure on what to do.
I was following this guide last



What I've been able to do so far - Install TFS & Myaac.

But now I'm stuck, what to do? In that guide it says just run ./tfs but when I do that it says
XXXX@XXXXX:~/forgottenserver$ ./tfs
-bash: ./tfs: No such file or directory

Any suggestions what steps I have to take?
 
Try typing ls to make sure you're in the right directory and that the executable is in there.
If you're not in the right place, you can use cd to navigate to the correct directory.
 
Yeah it's strange because the file dosnt seem to exist,

Lua:
XXX@XXX:~/forgottenserver/data$ cd /home/XXXX/forgottenserver/
XXX@XXX:~/forgottenserver$ ls
AUTHORS  build  cmake  CMakeLists.txt  config.lua  data  Dockerfile  key.pem  LICENSE  README.md  schema.sql  src  vc17

And the bashscript to install was the following
Code:
#!/bin/bash
echo "This script will compile TFS and install a LAMP stack for Ubuntu 18.04 64bit LTS."
echo "This script needs to be executed as a user with sudo privileges."
cd
echo "Updating the system"
apt-get -y update
apt-get -y install sudo
echo "Installing LAMP Stack"
sudo apt-get -y install apache2
sudo apt-get -y install mysql-server
sudo mysql -e "CREATE USER 'XXXXX'@'localhost' IDENTIFIED BY 'XXXXX';"
sudo mysql -e "CREATE DATABASE otsdb;"
sudo mysql -e "GRANT ALL PRIVILEGES ON otsdb.* TO 'otsuser'@'localhost';"
sudo apt-get -y install php libapache2-mod-php php-mysql
sudo service apache2 start
echo "Installing required software"
sudo apt-get -y install luajit
sudo apt-get -y install git cmake build-essential liblua5.2-dev libgmp3-dev libmysqlclient-dev libboost-system-dev libboost-iostreams-dev libboost-filesystem-dev libpugixml-dev libcrypto++-dev
sudo apt-get -y update
echo "Downloading and compiling TFS..Please wait"
sudo git clone --recursive https://github.com/otland/forgottenserver.git
cd forgottenserver
sudo mkdir build && cd build
sudo cmake ..
sudo make
sudo mv tfs ..
cd ..
sudo mysql -u otsuser -p otsdb < schema.sql
cd
cd forgottenserver
echo "Done! Make sure to adjust configlua before starting the server."
echo "The following dummy user has been created at MySQL localhost"
echo "MySQL username: otsuser pw: password db: otsdb  Warning: TESTING PURPOSES ONLY"
echo "You can launch the server from /home/username/forgottenserver using ./tfs"
 
Yeah it's strange because the file dosnt seem to exist,

Lua:
XXX@XXX:~/forgottenserver/data$ cd /home/XXXX/forgottenserver/
XXX@XXX:~/forgottenserver$ ls
AUTHORS  build  cmake  CMakeLists.txt  config.lua  data  Dockerfile  key.pem  LICENSE  README.md  schema.sql  src  vc17

It should be in the build/ dir.
 
Code:
XXXX@XXXX:~/forgottenserver/build$ sudo cmake ..
CMake Error at CMakeLists.txt:33 (find_package):
  By not providing "Findfmt.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "fmt", but
  CMake did not find one.

  Could not find a package configuration file provided by "fmt" (requested
  version 6.1.2) with any of the following names:

    fmtConfig.cmake
    fmt-config.cmake

  Add the installation prefix of "fmt" to CMAKE_PREFIX_PATH or set "fmt_DIR"
  to a directory containing one of the above files.  If "fmt" provides a
  separate development package or SDK, be sure it has been installed.


-- Configuring incomplete, errors occurred!
See also "/home/XXXX/forgottenserver/build/CMakeFiles/CMakeOutput.log".
XXXX@XXXX:~/forgottenserver/build$ sudo make
make: *** No targets specified and no makefile found.  Stop.
 
Lua:
XXXX@XXXXX:~$ sudo apt-get update && sudo apt-get install libfmt-dev -y
[sudo] password for XXXX:
Hit:1 http://se.archive.ubuntu.com/ubuntu focal InRelease
Get:2 http://se.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Get:3 http://se.archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
Get:4 http://se.archive.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Ign:5 http://ppa.launchpad.net/certbot/certbot/ubuntu focal InRelease
Err:6 http://ppa.launchpad.net/certbot/certbot/ubuntu focal Release
  404  Not Found [IP: 91.189.95.85 80]
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/certbot/certbot/ubuntu focal Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

And
Code:
XXXX@XXXX:~$ cd ~/forgottenserver/build/ && cmake ..
CMake Error at CMakeLists.txt:33 (find_package):
  By not providing "Findfmt.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "fmt", but
  CMake did not find one.

  Could not find a package configuration file provided by "fmt" (requested
  version 6.1.2) with any of the following names:

    fmtConfig.cmake
    fmt-config.cmake

  Add the installation prefix of "fmt" to CMAKE_PREFIX_PATH or set "fmt_DIR"
  to a directory containing one of the above files.  If "fmt" provides a
  separate development package or SDK, be sure it has been installed.


-- Configuring incomplete, errors occurred!
 
Are you sure that the FMT library has been installed? From what I can see in the snippet the certbot repository isn't reachable.
Try to resolve your Let's Encrypt CertBot issue at first if you'd want a secure website (can't see why you wouldn't want to have a secure connection), then run the commands again.
 
Back
Top