Ixtabay
Sorceror
Updated 2/20.2012 r1.3!
Added new skills and icons
Spellweaving 54
Mysticism 55
Imbuing 56
Throwing 57
This guide is for getting myrunuo working with apache/mysql/php on linux. It is specifically written for openSUSE, but will work for most linux distros, and has been modified to work with client v6.x.x.x/v7.x.x.x + files.
Uploaded with ImageShack.us
**If you are running on Windows, skip the database setup and use the windows tools to setup your database and system DSN.
Along with Apache and mySQL, you need to install the following along with dependencies:
Edit your php.ini. I have attached a working php.ini (edit with Notepad++ not regular notepad)
Uncomment the following and set values below (also attached is a working php.in from an openSUSE 12.1 server)
Create a mySQL database called MyRunUO and user myrunuo
(* if you are using mono to run your server, create this user with no password and restrict access to be only from localhost *)
Execute the sql in file: mysql-tables.sql to create tables and keys.
Now, create your system DSN. First, setup the driver
(* verify these files are on your server and use the correct path for your server, or it will not work *)
Press "i" (without the quotes) and paste the following:
Press "Esc" , ":wq" + Enter to save
Now, add the system DSN
Press "i" (without the quotes) and paste the following:
Press "Esc" , ":wq" + Enter to save
Extract the attached MyRunUO-1.2.zip to your web server
Copy the following files into the /uofiles folder
set perms on your MyRunUO folder
Check to see if you can now see this without error on your browser. You should see MyRunUO, but without any character data yet. If you see this, you are ready to enable MyRunUO on your server.
Now enter the MyRunUO database details
--------------------------------------- added 2/19/2012
Extract MyRunUO.rar to your server in /runuo/Script/Engines
---------------------------------------
Restart your runuo server and check again MyRunUO on your web browser. If you set things up properly, you will see character data.
Cheers,
Ixtabay
- edit 2/17/2012: added screenshot
- eidt 2/18/2012: fixed a type in odbcinst code
Added new skills and icons
Spellweaving 54
Mysticism 55
Imbuing 56
Throwing 57
This guide is for getting myrunuo working with apache/mysql/php on linux. It is specifically written for openSUSE, but will work for most linux distros, and has been modified to work with client v6.x.x.x/v7.x.x.x + files.
Uploaded with ImageShack.us
**If you are running on Windows, skip the database setup and use the windows tools to setup your database and system DSN.
Along with Apache and mySQL, you need to install the following along with dependencies:
Code:
php-gd
php-mysql
unixODBC
Edit your php.ini. I have attached a working php.ini (edit with Notepad++ not regular notepad)
Code:
vi /etc/php5/apache2/php.ini
Uncomment the following and set values below (also attached is a working php.in from an openSUSE 12.1 server)
Code:
date.timezone = 'CST' ; set this to your servers timezone
memory_limit = 512M ; this gives room to open those big files
max_execution_time = 60 ; you can set this lower, but keep it high at first for testing
extension=php_gd2.dll ; make sure you install php-gd
extension=php_mysql.dll ; be sure php-mysql is installed
Create a mySQL database called MyRunUO and user myrunuo
(* if you are using mono to run your server, create this user with no password and restrict access to be only from localhost *)
Execute the sql in file: mysql-tables.sql to create tables and keys.
Now, create your system DSN. First, setup the driver
(* verify these files are on your server and use the correct path for your server, or it will not work *)
Code:
vi /etc/unixODBC/odbcinst.ini
Press "i" (without the quotes) and paste the following:
Code:
[myodbcdriver]
Description = MySQL ODBC 5.1.8 Driver DNS
Driver = /usr/lib64/libmyodbc5.so
Driver64 = /usr/lib64/libmyodbc5.so
Setup = /usr/lib64/unixODBC/libodbcmyS.so
Setup64 = /usr/lib64/unixODBC/libodbcmyS.so
Press "Esc" , ":wq" + Enter to save
Now, add the system DSN
Code:
vi /etc/odbc.ini
Press "i" (without the quotes) and paste the following:
Code:
[myrunuo]
Description = myodbcdriver
Driver = myodbcdriver
Server = localhost
Database = MyRunUO
Port = 3306
Socket =
Option =
Stmt =
Press "Esc" , ":wq" + Enter to save
Extract the attached MyRunUO-1.2.zip to your web server
Copy the following files into the /uofiles folder
Code:
gumpart.mul
gumpidx.mul
hues.mul
tiledata.mul
set perms on your MyRunUO folder
Code:
chmod -R 755 MyRunUO/
Check to see if you can now see this without error on your browser. You should see MyRunUO, but without any character data yet. If you see this, you are ready to enable MyRunUO on your server.
Code:
vi <path_to_your_runuo_server>/Scripts/Engines/MyRunUO/Config.cs
Now enter the MyRunUO database details
Code:
// Is MyRunUO enabled?
public static bool Enabled = true;
// Details required for database connection string
public static string DatabaseDriver= "myodbcdriver";
public static string DatabaseServer= "localhost";
public static string DatabaseName= "MyRunUO";
public static string DatabaseUserID= "myrunuo";
public static string DatabasePassword= "";
--------------------------------------- added 2/19/2012
Extract MyRunUO.rar to your server in /runuo/Script/Engines
---------------------------------------
Restart your runuo server and check again MyRunUO on your web browser. If you set things up properly, you will see character data.
Cheers,
Ixtabay
- edit 2/17/2012: added screenshot
- eidt 2/18/2012: fixed a type in odbcinst code