[Windows][Basic] Canary + Uniform Server + MyAAC

1 - Download Canary:

Canary:

  • Download Canary server;

  • Extract Canary server in a folder of your preference.

Compiled Canary:

2 - Download Uniform Server:

3 - Installation 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.

  • Uniform Server is ready for use.

  • Enable PHP Extensions:

  • PHP -> Edit Basic and Modules -> PHP Modules Enable/Disable and enable:

  • bz2, curl, mbstring, zip;

  • To start Uniform Server:

  • Click the Start Apache button;

  • Click 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:

-- 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"
mapDownloadUrl = "https://github.com/opentibiabr/canary/releases/download/v3.0.0/otservbr.otbm"
mapAuthor = "OpenTibiaBR"

-- 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"

For data-otservbr-global:

-- 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"
mapDownloadUrl = "https://github.com/opentibiabr/canary/releases/download/v3.0.0/otservbr.otbm"
mapAuthor = "OpenTibiaBR"

-- 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"

6 - MyAAC:

6.1 - Download MyAAC:

6.2 - Installation MyAAC:

  • Open Uniform Server www folder and delete all files before saving the files and folders from MyAAC.

  • Unzip MyAAC files and folders in the Uniform Server www folder.

  • Leave all MyAAC files and folders as shown in the example below:

  • Access http://127.0.0.1 to load MyAAC.

  • Follow the installation steps to install MyAAC.

  • When choosing the version, select 13.16.

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 need the client below:

  • Note: to connect on localhost, use the client 127.0.0.1_client.exe or edit the client with the ip http://127.0.0.1/login.php.

How to edit the client:

8 - Credits:

Last updated