The Server cannot run[SOLVED]

Started by kennetha123, August 08, 2014, 03:44:00 am

Previous topic - Next topic

kennetha123

August 08, 2014, 03:44:00 am Last Edit: August 08, 2014, 10:55:44 am by kennetha123
Hello , i am new in this RMX-OS and using RPG maker VX ace for 2 years. when i found the XP could make
an mmorpg/online system , i'm very grateful. but after 4 days trying and do some learn about mysql and the server, it come to a point i can't figure out what happened.
my server always do restart but i can't understand what the main problem.
here the server:

>Starting TCP Server at '192.168.1.6:54269'...
>Connecting to MySQL database 'rmxosdb'...
Unexpected error occured!
undefined method 'synchronize' for nil:NilClass
src/SQL.rb:41:in 'optimize_databse'
src/SQL.rb:25:in 'initialize'
src/Server.rb:81:in 'new'
src/Server.rb:81:in 'connect_to_database'
src/Server.rb:55:in 'start'
./RMX-OS.rb:108:in 'main'
C:/Program Files/Enterbrain/RMX-OS/Server/RMX-OS.rb:268:in '<main>'

RMX-OS Server is being terminated...
Restart in: 5 4 3 2 1

and this my copy of cfg.ini file:

NAME = 'RMX-OS Server'
HOST = '192.168.1.6'
PORT = 54269
GAME_VERSION = 1.0

DEBUG_MODE = false
LOG_MESSAGES = false
LOG_ERRORS = true
LOG_ACTIONS = true

MAXIMUM_CONNECTIONS = 50
LOGIN_TIMEOUT = 30
AUTO_RESTART = true
RESTART_TIME = 5
USE_IP_BANNING = true
RUBY_PROMPT = true
EXTENDED_THREADING = true
OPTIMIZE_DATABASE_ON_STARTUP = true

SQL_HOSTNAME = '127.0.0.1'
SQL_USERNAME = 'root'
SQL_PASSWORD = 'mysql'
SQL_DATABASE = 'rmxosdb'

INBOX_SIZE = 20

EXTENSIONS = [
]

please help me to figure out what happened . sorry if this was a noob question.
ty sir ^^

I use RPG maker XP and using Windows 7 Professional 32bit

PhoenixFire

You checked to make sure you have MySQL installed correctly? If you use mySQL Workbench, are you able to connect to the local database using that tool? You've double-checked your settings (port number, password, etc)? Have you tried removing the database password, or connecting as a different user with no password?


Try the following:
NAME = 'RMX-OS Server'
HOST = '127.0.0.1'
PORT = 54269
GAME_VERSION = 1.0

DEBUG_MODE = false
LOG_MESSAGES = false
LOG_ERRORS = true
LOG_ACTIONS = true

MAXIMUM_CONNECTIONS = 50
LOGIN_TIMEOUT = 30
AUTO_RESTART = true
RESTART_TIME = 5
USE_IP_BANNING = true
RUBY_PROMPT = true
EXTENDED_THREADING = true
OPTIMIZE_DATABASE_ON_STARTUP = true

SQL_HOSTNAME = '127.0.0.1'
SQL_USERNAME = 'root'
SQL_PASSWORD = 'mysql'
SQL_DATABASE = 'rmxosdb'

INBOX_SIZE = 20

EXTENSIONS = [
]
Quote from: Subsonic_Noise on July 01, 2011, 02:42:19 amNext off, how to create a first person shooter using microsoft excel.

Quote from: Zeriab on September 09, 2011, 02:58:58 pm<Remember when computers had turbo buttons?

kennetha123

Well i have check all those for all day long about 2 days.
But i hav solved it , by reinstalling the RMX-OS , the server work fine.

i think the problem is the ip. i use the localhost and it work smoothly.

chaucer

August 08, 2014, 11:26:36 am #3 Last Edit: August 08, 2014, 11:27:55 am by chaucer
Quote from: kennetha123 on August 08, 2014, 03:44:00 am

and this my copy of cfg.ini file:

NAME = 'RMX-OS Server'
HOST = '192.168.1.6'
PORT = 54269
GAME_VERSION = 1.0

DEBUG_MODE = false
LOG_MESSAGES = false
LOG_ERRORS = true
LOG_ACTIONS = true

MAXIMUM_CONNECTIONS = 50
LOGIN_TIMEOUT = 30
AUTO_RESTART = true
RESTART_TIME = 5
USE_IP_BANNING = true
RUBY_PROMPT = true
EXTENDED_THREADING = true
OPTIMIZE_DATABASE_ON_STARTUP = true

SQL_HOSTNAME = '127.0.0.1'
SQL_USERNAME = 'root'
SQL_PASSWORD = 'mysql'
SQL_DATABASE = 'rmxosdb'

INBOX_SIZE = 20

EXTENSIONS = [
]

forgot to change that.
edit: bit too late I guess : P