Skip to content

Windows setup guide

Bui edited this page Nov 15, 2015 · 19 revisions

Windows Setup Guide

  1. Get source code
    Simply clone the Git repository to a local folder on your machine.
  2. Download and install Visual Studio 2015
    The Express for Windows Desktop or Community Edition products are free and Vana compiles perfectly fine with them.
  3. Download and install MariaDB 10.0.19 for Win32 (x86/32-bit)
    • Optionally download a query browser
      MariaDB comes with one, but you may prefer a more straightforward UI.
      Examples of query browsers are MySQL Workbench and SQLyog Community Edition.
      These make it significantly easier to do SQL maintenance and visually interact with tables.
    • Why MariaDB?
      Several reasons, including performance.
  4. Download and install LazurBeemz library pack
    If you already have the dependencies installed, perform a full uninstall before attempting an installation.
  5. Restart Visual Studio at this point if you already had it open
  6. Download and run the queries from MCDB 4.3 for .75
  7. Modify inter_password and inter_salt in /conf/connection_properties.lua
    This is required so that it's much more difficult for a rogue server to connect to your servers and see everything.
  8. Configure /conf/database.lua appropriately to connect to your MySQL database
    There is a database.lua.sample file provided to show the format it uses. The information must be filled out appropriately and the file must be saved as database.lua.
  9. DO NOT execute the queries in the /sql/ folder
    Vana will do this on its own.
  10. Build the Vana solution provided with Visual Studio 2015
  11. The order to run the applications is LoginServer -> WorldServer(s) -> ChannelServer(s)
You should now be finished with the initial setup!

In order to connect, you will also have to give yourself an account in the database.

In order to allow others to connect, you will have to configure /conf/connection_properties.lua. The external_ip variable will need the appropriate information to expose your server to the world.

It is strongly recommended to learn more about customizing /conf/salting.lua before you start getting users into the system.

You may also wish to learn more about configuration in general.

Clone this wiki locally