RPG Maker XP Server

From Global Shellz Wiki
Jump to: navigation, search

This Feature Is Prohibited

Do not attempt to use this on GShellz

Contents

How to Run Your Own MMORPG Server

Download

First, you need rpgmaker xp. You can download a 30 day trial here. The script we are going to be using is called, rmx-os, which can be found here. rmx-os requires ruby 1.9.1 or higher to be installed on the shell and it needs 1 mysql database. Also, you need the mysql.so file for Linux. You can find it here. Also, there is a guide on how to use it.

Do not use this in gshellz or in any shell that you do not have permission to run it on first.

Installation

After you download the .zip, extract it, and run SetupMenu.exe. You should install both RGSS-RTP Standard and RPG Maker XP.

Step 1: Query the SQL

In the database folder, open RMX-OS SQL Database.sql. Open it using notepad or a similar text editor.

On lines 7, 8, and 9 it says: -- These two are used to create the database and can be omitted in case the database already exists. CREATE DATABASE IF NOT EXISTS `rmxosdb` DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci; USE `rmxosdb`;

Change rmxosdb to the name of your database. Copy all of the text. Now, you need to log onto the phpadmin of your shell. You need to click on your database. Under the SQL tab you need to paste the text into the text box. Click "go" and it should fill your database with the tables it needs to have so it can correctly store information on each user.

Step 2: Editing the Config

This is pretty simple and straight forward:

NAME = 'the name of your server'

HOST = 'the ip of your server'

PORT = the open port of your server

RMXOS_VERSION = 1.20


LOG_MESSAGES = true LOG_ERRORS = true LOG_ACTIONS = true

MAXIMUM_CONNECTIONS = 20

LOGIN_TIMEOUT = 30

AUTO_RESTART = true

RESTART_TIME = 5

PREVENT_ZOMBIE_CLIENTS = true

RUBY_PROMPT = false

OPTIMIZE_DATABASE_ON_STARTUP = true

DATABASE_CONNECTION_TIMEOUT = 60

SQL_HOSTNAME = 'host name of the SQL database'

SQL_USERNAME = 'user name of the database'

SQL_PASSWORD = 'password of the database'

SQL_DATABASE = 'the SQL database name'


INBOX_SIZE = 10


EXTENSIONS = []

Step 3: Turning on your Server

In your shell, type cd [the directory of you server files here] Then type: ruby RMX-OS.rb or you can type: screen ruby RMX-OS.rb and it will run in a screen terminal.

Step 4: Config Your Game Client to Connect to Your Server

Open Game.rxproj with rpgmakerxp. Hit F11, which should open rpgmakerxp script editor. On the left is a box with a bunch of script names. Look for (RMX-OS) Options. On line 77 of that script you will find SERVERS.push(['Localhost', '127.0.0.1', 54269])

Edit it like this: SERVERS.push(['your server name', 'ip of your shell or vps', the port]) Now, click "apply" and then "ok". Next, push F12 and you will be in your game. Look for the "register" button select that with the arrow keys and hit "enter". Enter in your user name and desired password, then hit "ok". It should tell the server to query your database and make your account. The first user to log in will be admin. The rest after that will be normal users.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox