If you not compiled Canary, start following this tutorial at step 1.
If you already compiled Canary, start following this tutorial at step 2.
1 - Download Canary:
Extract Canary server in a folder of your preference.
Compiled Canary:
2 - Download Uniform Server:
3 - Installation and Configuration:
Uniform Server
Install Uniform Server (15_0_1_ZeroXV) on the C:\ drive.
Example:
On unit C:\ after installation, the folder name is UniServerZ.
When you open Uniform Server, a window will open asking for the MySQL root password:
The default password in this case is root.
Go to C:\UniServerZ and open the UniController.exe.
Change thread stack:
Navigate to MySQL -> Edit Config file my.ini and change:
thread_stack = 256K
Save the file.
Edit Configuration file (php.ini):
Navigate to PHP -> Edited selected configuration file and change:
upload_max_filesize=100M
post_max_size=100M
Save the file.
Enable PHP Extensions:
Navigate to PHP -> Edit Basic and Modules -> PHP Modules Enable/Disable and enable:
bz2, curl, mbstring, zip;
MySQL root password:
If you changed MySQL root password, you should change the authentication plugin using the MySQL Console with the command:
To start Uniform Server:
Click in the Start Apache button;
Click in the Start MySQL button.
4 - Database:
In Uniform Server, click the phpMyAdmin button and will open in the browser the web application to manage database.
On the left side click +New and create a database (e.g. canary)
Import the schema file.sql which is in the Canary folder.
5 - Config.lua:
For data-canary
For data-otservbr-global
6 - MyAAC:
6.1 - Download:
Download the myaac-1.x.zip file.
6.2 - Installation:
MyAAC
Go to C:\UniServerZ\www and delete all files inside.
Unzip downloaded MyAAC files and paste the content into C:\UniServerZ\www.
At the end it looks like this:
Visit http://127.0.0.1 to load MyAAC.
Follow the installation steps to install MyAAC.
7 - Starting and Connecting to the Server:
7.1 - Starting the Server:
Double click canary.exe, it will start the server.
7.2 - Connecting to the Server:
To connect to the server according to the indicated version, you can use:
8 - Credits:
Tutorial:
Majesty
OpenTibiaBR ()
Slawkens ()
[Windows][Basic] Canary + Uniform Server + MyAAC
-- Core settings
-- Note: If you want to use datapack folder canary (custom), put only "data-canary"
-- If you want to use the global datapack folder, put "data-otservbr-global"
-- If "useAnyDatapackFolder" is set to true then you can choose any datapack folder for your server
useAnyDatapackFolder = false
dataPackDirectory = "data-canary"
-- Don't change this unless you know what you're doing
coreDirectory = "data"
-- Map
-- NOTE: set mapName WITHOUT .otbm at the end
-- NOTE: If toggleDownloadMap if false, then the mapDownloadUrl will not be used
-- NOTE: If a map with the name already exists in the world folder, the map will not be downloaded even if the toggleDownloadMap is true
toggleDownloadMap = false
mapName = "canary"
-- Custom Map
-- NOTE: toggleMapCustom set to true will load all maps in custom map folder
toggleMapCustom = false
-- Connection Config
ip = "127.0.0.1"
serverName = "Canary"
-- MySQL
mysqlHost = "127.0.0.1"
mysqlUser = "root"
mysqlPass = "root"
mysqlDatabase = "canary"
mysqlPort = 3306
mysqlSock = ""
passwordType = "sha1"
-- Core settings
-- Note: If you want to use datapack folder canary (custom), put only "data-canary"
-- If you want to use the global datapack folder, put "data-otservbr-global"
-- If "useAnyDatapackFolder" is set to true then you can choose any datapack folder for your server
useAnyDatapackFolder = false
dataPackDirectory = "data-otservbr-global"
-- Don't change this unless you know what you're doing
coreDirectory = "data"
-- Map
-- NOTE: set mapName WITHOUT .otbm at the end
-- NOTE: If toggleDownloadMap if false, then the mapDownloadUrl will not be used
-- NOTE: If a map with the name already exists in the world folder, the map will not be downloaded even if the toggleDownloadMap is true
toggleDownloadMap = true
mapName = "otservbr"
-- Custom Map
-- NOTE: toggleMapCustom set to true will load all maps in custom map folder
toggleMapCustom = true
-- Connection Config
ip = "127.0.0.1"
serverName = "OTServBR-Global"
-- MySQL
mysqlHost = "127.0.0.1"
mysqlUser = "root"
mysqlPass = "root"
mysqlDatabase = "otservbr-global"
mysqlPort = 3306
mysqlSock = ""
passwordType = "sha1"