Multiverse Installation

From Flagon With The Dragon

Jump to: navigation, search

Multiverse Docs

I've been playing around with the Multiverse MMO development platform and what follows are some notes of mine about that experience. I'm primarily in the exploration stage right now but am interested in toying around with trying to develop some nich plug-ins for the community and also to practice a bit of Java and Python.

Contents

Server Install on Ubuntu

This details the steps I took for setting up the Multiverse Server (server_2007-03-29_15-51-14.tgz) on a Ubuntu 'Fiesty' LAMP server.

Establishing a User for Multiverse

The whole way Ubuntu approaches user management and security I thought it best to set up a multiverse user and to run the mv server from that users home directory instead of the /usr directory. This allows me to run the server as the multiverse user instead of having to mess with root permissions.

I also added a multiverse user to the MySQL db with access just to the multiverse database instead of a root user with all permissions.

Required Elements

I used the standard apt-get to install the required Java and Connector/J packages instead of the manual installs. Notes on that here.

  • Installed Java: 'sudo apt-get sun-java6-jdk' with dependencies.
    • APT installed java to /usr/lib/jvm/(version) on my server.
    • I did NOT need to set up CLASSPATH.
  • Installed Connector/J vi apt 'sudo apt-get install libmysql-java'
    • APT installed this to /usr/share/java/mysql-connector-java.jar on my server.
    • In the multiverse user /home/multiverse/.bashrc file I set up the JDBC env var to "export JDBC=/usr/share/java/mysql-connector-java.jar"

Installing MV Server

This went fairly smoothly with only a few changes listed below. Check Out the Rapid Linux Server Setup docs on the MV site. Many of the steps in this doc have already been taken care of if you've done the items I listed above. Primarily though I didn't change anything other than how I got to this point. Notes below on some specific items or changes.

  • I untared the multivers server to a subdirectory of my multiverse users home directory and run it from there. This instead of moving it to the /usr directory.
  • By convention I'm naming the MV folder multiverse_<version date> so I can handle updates better.
  • I created a symbolic link called 'multiverse' on the user directory linking to the multiverse_<version_date> folder, again this is to support future upgrading.
  • Set a MV_HOME env variable in my .bashrc file under my JDBC declaration "export MV_HOME=/home/multiverse/multiverse", I should only need to change the symbolic link if I upgrade to a newer server version in the future (in addition to moving over any local world data)
  • IMPORTANT the file MV_HOME/bin/multiverse.sh will NOT run on Unbuntu as is you need to modify the first line '#!/bin/sh' to read '#!/bin/bash'. Running it without that change I got the error './multiverse.sh: 23: Syntax error: "(" unexpected'

Client Set Up

My MV Client is set up on a separate machine from the MV Server an I'm actually running off of several different machines using both WinXP and Vista. These are some notes about that set up.

All Installs

  • Download and install the Multiverse Client.
  • Copy c:\Program Files\Multiverse Client\world_settings_sample.xml to world_settings.xml
    • Change new world_settings.xml "hostname" from localhost to my server DNS. [1]
    • World Settings Reference needs to be reviewed, account ID number needs to be unique if multiple clients are to connet.

Vista Install

I had problems running the client under vista but found some help on the forums related to doing so. Follow the steps in All Installs above and for Vista users also.

  • Right Click the MV Shortcut and select Properties.
  • Set to run as administrator.
    • Shortcut Tab -> Advanced
    • Check 'Run as Admin' -> Click 'OK' -> Click 'Apply'
  • Run in Windows XP (Service Pack 2) Compatability Mode.
    • Compatibility Tab -> Check 'Run this program in compatibility mode for:'
    • Check 'Disable visual themes'
  • Click 'Apply'

WinXP Install

Ran into problems installing the client to my Windows XP machine of all things. Clicking on the MultiverseSetup.msi file launched the installer but when it got to the download section kicked back an error the the temp download file "has either changed since it was initially published or may be corrupt". Very little found on the web about it but did find two articles [2] [3] with some info that may help.

No idea why but I downloaded the component the installer was failing on manually (got it's location from the install.log file) http://update.multiverse.net/mvsecret/MultiverseClient/MultiverseClient.msi and put it in my c:\temp directory. Then ran the installer again from the location I had previously c:\temp\multiverse\ and it worked. I have no idea why though.

Other Client Control Notes

The following is the contents of Bindings.txt

SPACE JUMP
1 ACTIONBUTTON1
ALT-Z TOGGLEUI
/ OPENCHATSLASH
ENTER OPENCHAT
CTRL-P OPENCHAT
T ATTACK
L TOGGLEQUESTLOG
B TOGGLEBACKPACK
N TOGGLESTATUS
P TOGGLEABILITIESFRAME
TAB TOGGLEACTIONBAR
C TOGGLECHARACTER
SHIFT-UP MOVEFORWARD
ESCAPE TOGGLEGAMEMENU
# movement keys
UP MOVEFORWARD
NUMPAD8 MOVEFORWARD
W MOVEFORWARD
LEFT TURNLEFT
NUMPAD4 TURNLEFT
A TURNLEFT
DOWN MOVEBACKWARD
NUMPAD2 MOVEBACKWARD
S MOVEBACKWARD
RIGHT TURNRIGHT
NUMPAD6 TURNRIGHT
D TURNRIGHT
NUMPAD7 STRAFELEFT
Q STRAFELEFT
NUMPAD9 STRAFERIGHT
E STRAFERIGHT
NUMLOCK TOGGLEAUTORUN
PAGEUP MOVEUP
PAGEDOWN MOVEDOWN
# insert/delete for PITCHUP/PITCHDOWN
PRINTSCREEN SCREENSHOT
CTRL-R TOGGLERENDERMODE
CTRL-T TOGGLETEXTURE
CTRL-B TOGGLEBOUNDINGBOX
CTRL-H TOGGLERENDERCOLLISIONVOLUME
ALT-CTRL-SHIFT-M TOGGLEMETERING
ALT-CTRL-SHIFT-N METERONEFRAME
F1 CHARSELECT
F2 DANCE
F3 WAVE
F4 LAUGH
F5 CLAP
F6 CHEER
F7 CRY
F8 FIGHT
F11 HELP
F12 QUIT
CTRL-C COMPASS
ALT-CTRL-P PROJECTILETEST
ALT-CTRL-G TESTLOGEFFECT
ALT-CTRL-C TESTCOMPOSITORS
ALT-CTRL-S TOGGLESHADOWS

Multiverse Tools

Nothing much to add here, worked fine as documented for me setting it up on my Vista Workstation. No special changes for Vista that I found.

Personal tools