Skip to content

About

This repository provides a comprehensive, step-by-step guide for setting up a Talisman Online Private Server on Ubuntu 20.04. It includes detailed instructions for installing essential dependencies, configuring MySQL 5.7 (with guided prompts), and deploying server packages.

Resources

Stars

18 stars

Watchers

1 watching

Forks

Latest commit

 

History

18 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Talisman Online Private Server Setup Guide

image

This guide will walk you through setting up the Talisman Online Private Server on Ubuntu 20.04.

Prerequisites:

You will need a VPS or local virtual machine that runs Ubuntu 20.04


1. Update the System and Install Git

What this does:
Updates your package lists and installs Git to clone the server files repository.

sudo apt-get update

sudo apt-get install git -y


2. Clone the Repository

What this does:
Clones the repository containing the server files and moves its contents to your home directory.

git clone https://github.com/goofy5752/TalismanOnlineServerFiles.git


3. Install Wget

What this does:
Installs wget, a tool for downloading files from the internet (needed for the MySQL configuration file).

sudo apt install wget -y


4. Configure and Install MySQL 5.7

What this does:
Downloads the MySQL APT configuration package, sets up the MySQL repository and installs MySQL Server 5.7 along with the required client packages.

Step 1: You can download and install the MySQL repository using the command below:

wget https://dev.mysql.com/get/mysql-apt-config_0.8.12-1_all.deb

sudo dpkg -i mysql-apt-config_0.8.12-1_all.deb

Once you are done with the installation you will see a prompt in which you have to choose "ubuntu bionic"

image

Step 2: The options below will show MySQL 8.0 as the default option. Click on the first option and press enter

image

Step 3: Upon clicking on the first option, you can then change the mysql server and cluster you want installed. Click on MySQL 5.7 and press enter:

image

Step 4: MySQL 5.7 should now be selected as your default … navigate to the “OK” button and click

Step 5: Update all your repositories

sudo apt-get update

Step 6: Run the command below :

sudo apt-cache policy mysql-server

Your result should contain MySQL 5.7 as seen below:

image

If your result does not contain MySQL 5.* it means that your update from step 6 failed and because of that, MySQL 5.7 was not added to the cache.

Try running the update command again :

sudo apt update

You would notice that the MySQL bionic InRelease package failed to update:

image

If this is the case, there is workaround for this:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B7B3B788A8D3785C

to import the missing gpg key so that your system can update securely.

after which you then try to update once again:

sudo apt update

Step 7: At this point, you have the mysql 5.7 repository in your system so you can now proceed to install it

sudo apt install -f mysql-client=5.7* mysql-community-server=5.7* mysql-server=5.7*

Press Y to begin the installation. Set the root password for your mysql when the prompt comes up.

To check your MySQL version, run:

mysql --version

To login to your SQL DB, run:

mysql -u root -p

Important Note: The public key might have changed by the time you are reading this article from B7B3B788A8D3785C to something else, in that case you have just to replace the key with the newly changed


5. Install 32-bit Libraries and Additional Dependencies

What this does:
Install necessary 32-bit libraries and dependencies to ensure compatibility with any 32-bit binaries in the server.

chmod -R 777 /root/TalismanOnlineServerFiles

sudo apt install lib32stdc++6

sudo apt install libstdc++6

sudo dpkg --add-architecture i386

sudo apt update

sudo apt install libc6:i386 zlib1g:i386

sudo apt --fix-broken install


6. Install Server Packages (.deb Files)

What this does:
Installs any Debian packages provided in the repository and resolves any dependency issues.

sudo dpkg -i *.deb

sudo apt-get -f install


7. Install and Configure Screen

What this does:
Installs Screen, a terminal multiplexer, which allows you to run server processes in the background.

sudo apt-get install screen -y


8. Disable the Firewall

What this does:
Disables Ubuntu’s UFW firewall. (Note: This step is needed and without it it will result in "Acquiring Server Ip Adress" error.)

sudo ufw disable


9. Start the game server

Run the following command

screen -d -m ./1

screen -d -m ./2

screen -d -m ./3


10. Configure the Database

What this does:
Opens the MySQL shell and inserts some initial accounts into your db_account database. Modify or add entries as needed.

  1. Open the MySQL shell:

sudo mysql -u root -p

then you enter your password

  1. In the MySQL prompt, run:

USE db_account;

INSERT INTO t_account (name, pwd, pw2, pv) VALUES
('testaccount', '3fc0a7acf087f549ac2b266baf94b8b1', 'qwerty123', 9),
('testaccount1', '3fc0a7acf087f549ac2b266baf94b8b1', 'qwerty123', 9),
('testaccount2', '3fc0a7acf087f549ac2b266baf94b8b1', 'qwerty123', 9),
('testaccount3', '3fc0a7acf087f549ac2b266baf94b8b1', 'qwerty123', 9);

⚠️ Important Security Note: Since this is an old game, the pwd column stores the password encrypted with MD5, which is a very weak and outdated hashing algorithm that should not be used in any modern system. The pw2 column contains the password in plain text. While it might seem like a good idea to store a more secure version of the password there, it’s actually useless because the game server only uses the pwd column > (MD5) for authentication. Even if pw2 doesn’t match pwd, the user can still log in using just the MD5 hash.

Therefore, don’t waste time trying to implement stronger hashing here - the game won’t support it. Instead, you should focus all your efforts on securing your VPS and MySQL database. Make sure your server is properly locked down, your database has strong access control, and remote connections are restricted. If someone manages to gain access to your database, they’ll have every user’s password in plain text via the pw2 column — so server/database security is critical.

Final Notes

  • Ubuntu Version: Ensure you’re running Ubuntu 20.04.
  • Configuration Files: Remember to update all .INI files in the folders and replace them with your IP address and DB passwords.
  • Custom Events: If you’re interested in custom events like Last Man Standing, Guild Battle Royale, and more, please contact me for further details.
  • Support: For additional help or to report issues, please open an issue on the repository or reach out directly.

Happy gaming and enjoy your Talisman Online Private Server!

About

This repository provides a comprehensive, step-by-step guide for setting up a Talisman Online Private Server on Ubuntu 20.04. It includes detailed instructions for installing essential dependencies, configuring MySQL 5.7 (with guided prompts), and deploying server packages.

Resources

Stars

18 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages