Official Community Forums
 
HomeHome  FAQFAQ  SearchSearch  MemberlistMemberlist  UsergroupsUsergroups  RegisterRegister  Log in  The Wiki  Website  github Project  

Share | 
 

 Server STARTUP FAILED >>> SOLVED

View previous topic View next topic Go down 
Go to page : Previous  1, 2
AuthorMessage
CobaltBlues
Moderator
Moderator
avatar

Posts : 202
Join date : 2011-11-21
Location : Chicago Land

PostSubject: Re: Server STARTUP FAILED >>> SOLVED   Mon 30 Jul - 14:08

Basically this particular problem seems to occur on all operating systems. It is just easier to overcome in Cygwin/Linux by passing the world-name to the Shell Script. So overall it needs to be fixed.

Shane
Back to top Go down
http://www.multiversemmo.com
CobaltBlues
Moderator
Moderator
avatar

Posts : 202
Join date : 2011-11-21
Location : Chicago Land

PostSubject: Re: Server STARTUP FAILED >>> SOLVED   Tue 31 Jul - 9:22

I have a solution and it is a simple .bat file change to start-multiverse.bat
The multiverse.worldname variable wasn't getting passed to the .jar files so they were initializing with a null worldname.

Add the following code just before the .jar files are executed but after the %MV_WORLDNAME% batch variable gets set.

Code:
SET JAVA_FLAGS=%JAVA_FLAGS% -Dmultiverse.worldname=%MV_WORLDNAME%

And just for kicks I added the following code in case the worldname is not set in the .properties file.

Code:
if not defined MV_WORLDNAME (
  set MV_WORLDNAME=sampleworld
)

I tested this on XP. Someone else try this and let me know if it works. If so I will publish an updated download.

Shane
Back to top Go down
http://www.multiversemmo.com
Guest
Guest



PostSubject: MV_WORLDNAME   Tue 31 Jul - 13:44

I still can't get that worldname in there. The plugin_status table looks the same with that null.
Did I put the fix in the wrong place?

I did try with other combinations of hardcoded paths in startup_instance.py but
all with the same result.


At least it runs under Cygwin.


multiverse.properties

Code:
###
### If multiverse.mvwfile property is not specified, it defaults to MV_HOME/config/worldname/worldname.mvw
### Example below is Windows path; On Linux/Unix, use forward slashes instead of double backslashes.
multiverse.worldname=sampleworld
###AURO: line below was ORIGINAL and commented out
multiverse.mvwfile=c:\\multiverse\\config\\sampleworld\\sampleworld.mvw
## WORKING CYGWIN    multiverse.mvwfile=c:/multiverse/config/sampleworld/sampleworld.mvw


start-multiverse.bat

Code:
:: Set value of MV_WORLDNAME from multiverse.worldname in property file
java -cp %MV_JAR% -Dmultiverse.propertyfile=%PROPFILE% -Dwin_env_var=MV_WORLDNAME multiverse.scripts.PropertyGetter multiverse.worldname > tmp.bat
call tmp.bat
del tmp.bat

::Shane's Fix

echo Before Fix  MV_WORLDNAME is %MV_WORLDNAME%


if not defined MV_WORLDNAME (
  set MV_WORLDNAME=sampleworld
 )

SET JAVA_FLAGS=%JAVA_FLAGS% -Dmultiverse.worldname=%MV_WORLDNAME%

echo After Fix  MV_WORLDNAME is %MV_WORLDNAME%

echo
::end Shane's Fix


set JYTHON=%MV_HOME%\other\jython.jar
set RHINO=%MV_HOME%\other\rhino1_5R5\js.jar
set GETOPT=%MV_HOME%\other\java-getopt-1.0.11.jar
set LOG4J=%MV_HOME%\other\log4j-1.2.14.jar
set BCEL=%MV_HOME%\other\bcel-5.2.jar
set EXT_JAR=%MV_HOME%\dist\lib\%MV_WORLDNAME%.jar

startup_instance.py

Code:
template = Template("sampleworld template")#ORIGINAL
template.put(Namespace.INSTANCE, InstanceClient.TEMPL_WORLD_FILE_NAME, "$WORLD_DIR/$WORLD_NAME.mvw")#ORIGINAL
template.put(Namespace.INSTANCE, InstanceClient.TEMPL_INIT_SCRIPT_FILE_NAME, "$WORLD_DIR/instance_load.py")#ORIGINAL

#TESTING
#template.put(Namespace.INSTANCE, InstanceClient.TEMPL_WORLD_FILE_NAME, "c:\multiverse\config\sampleworld\sampleworld.mvw")#.batch test
#template.put(Namespace.INSTANCE, InstanceClient.TEMPL_INIT_SCRIPT_FILE_NAME, "c:\multiverse\config\sampleworld\instance_load.py")#.batch test
#template.put(Namespace.INSTANCE, InstanceClient.TEMPL_WORLD_FILE_NAME, "$WORLD_DIR/sampleworld.mvw")
#template.put(Namespace.INSTANCE, InstanceClient.TEMPL_INIT_SCRIPT_FILE_NAME, "$WORLD_DIR/instance_load.py")

#WORKING for Cygwin
#try hardcoding the path to the world file.  NEW: WORKS!  try again here now that servers are running under Cygwin
#WORKING for Cygwin template.put(Namespace.INSTANCE, InstanceClient.TEMPL_WORLD_FILE_NAME, "c:/multiverse/config/sampleworld/sampleworld.mvw")#WORKS
#WORKING for Cygwin template.put(Namespace.INSTANCE, InstanceClient.TEMPL_INIT_SCRIPT_FILE_NAME, "c:/multiverse/config/sampleworld/instance_load.py")#WORKS


I'll try a couple of other things tomorrow and post if I get something different.
Hope someone else tries this fix and gets it to work so I'll know it's my setup.

Cheers
Back to top Go down
CobaltBlues
Moderator
Moderator
avatar

Posts : 202
Join date : 2011-11-21
Location : Chicago Land

PostSubject: Re: Server STARTUP FAILED >>> SOLVED   Wed 1 Aug - 1:33

Can you post all 3 of these in their entirety?
Back to top Go down
http://www.multiversemmo.com
Guest
Guest



PostSubject: Files   Wed 1 Aug - 3:27

These are the same files with startup_instance.py and multiverse.properties
back in working order for Cygwin. See the comments. Sorry about the mess Very Happy

Tried every path combo I could think of for the native test yesterday though.
I'm sure I've got something messed up.

multiverse.properties
Code:
### Server host names and ports
multiverse.msgsvr_hostname=localhost
multiverse.msgsvr_port=20374
multiverse.worldmgrport=5040
### Proxy server settings.  To enable remote clients to connect, specify IP address or DNS hostname
multiverse.proxyserver=:same
##multiverse.proxyserver=localhost
multiverse.proxyport=5050

### Voice server host and port number
multiverse.voiceserver=:same
multiverse.voiceport=5051

### Options for VoiceServer testing

### Should the voice plugin automatically create a positional and/or
### non-positional voice group(s) with the specified numbers?
multiverse.precreated_positional_voice_group=1
#multiverse.precreated_nonpositional_voice_group=5

### Should it auto-create a nonpositional voice group because a client
### connects with the number of a group and the group doesn't exist?
#multiverse.autocreate_referenced_voice_groups=true

###
### Should the voice server record voices?
###
#multiverse.record_voices=true

### Database settings
### Use multiverse.db_url property to use a specific JDBC URL.  If not specified, then
### the server constructs it in standard format from the other property values,
### as follows jdbc://db_type/db_hostname/db_name
multiverse.db_type=mysql
multiverse.db_driver=com.mysql.jdbc.Driver
multiverse.db_name=multiverse
multiverse.db_user=root
multiverse.db_password=test
multiverse.db_hostname=localhost
### multiverse.db_url=jdbc:dbtype://hostName/databaseName

# specifies how long to wait for all plugin dependencies to be
# resolved.  after waiting this period of time (in seconds),
# if all dependencies have not been met, then we report an error message.
multiverse.startup_timeout=120
#multiverse.startup_timeout=60
# multiverse.startup_timeout=180

#Path to JDBC driver JAR file
# multiverse.jdbcJarPath=../other/mysql-jdbc/mysql-connector-java-3.0.14-production-bin.jar
multiverse.jdbcJarPath=c:\\mysql-connector-java-3.1.14\\mysql-connector-java-3.1.14-bin.jar


###
### If multiverse.mvwfile property is not specified, it defaults to MV_HOME/config/worldname/worldname.mvw
### Example below is Windows path; On Linux/Unix, use forward slashes instead of double backslashes.
multiverse.worldname=sampleworld
###AURO: line below was ORIGINAL and commented out
###multiverse.mvwfile=c:\\multiverse\\config\\sampleworld\\sampleworld.mvw
## WORKING CYGWIN   
multiverse.mvwfile=c:/multiverse/config/sampleworld/sampleworld.mvw


###
### The default log level of the server.
###
### MV-Level    log4j Level
###  0          TRACE
###  1          DEBUG
###  2          INFO
###  3          WARN
###  4          ERROR
###
multiverse.log_level=1
###auro
###multiverse.log_level=0

###
### Rotate log files when server starts
###
multiverse.rotate_logs_on_startup=true

###
### Archive log files when server starts.  Logs are moved to directory
### "<world-name>.old".  Should set rotate_logs_on_startup to false when
### this option is true.
###
#multiverse.archive_logs_on_startup=true

###
### Should old logs be deleted on startup?
###
multiverse.delete_logs_on_startup=true

###
### log4j configuration.  The multiverse.log_level over-rides the
### log4j log level.
###
log4j.appender.FILE = org.apache.log4j.RollingFileAppender
log4j.appender.FILE.File = ${multiverse.logs}/${multiverse.loggername}.out

#OLD ERROR  auro temp test due to  log4j:ERROR setFile(null,true) call failed.  .out
#auro ${multiverse.loggername} is the log file name of EACH .out file
#log4j.appender.FILE.File = c:/multiverse/logs/mytemplogs/testlogs.out
#log4j.appender.FILE.File = ${multiverse.logs}/a_different_testlogs.out
#end auro temp test

log4j.appender.FILE.MaxFileSize = 50MB
log4j.appender.FILE.MaxBackupIndex=3
log4j.appender.FILE.layout=org.apache.log4j.PatternLayout
log4j.appender.FILE.layout.ConversionPattern=%-5p [%d{ISO8601}] %-20t %m%n

#log4j.appender.ErrorLog = org.apache.log4j.RollingFileAppender
#log4j.appender.ErrorLog.Threshold = ERROR
#log4j.appender.ErrorLog.File = ${multiverse.logs}/errors.out
#log4j.appender.ErrorLog.MaxFileSize = 50MB
#log4j.appender.ErrorLog.MaxBackupIndex=3
#log4j.appender.ErrorLog.layout=org.apache.log4j.PatternLayout
#log4j.appender.ErrorLog.layout.ConversionPattern=%-5p [%d{ISO8601}] %-20t %m%n

log4j.rootLogger=DEBUG, FILE


###
### Should we use class files from the /build hierarchy
### instead of the jar files from the /dist hierarchy?
###
#multiverse.use_class_files=true

###
### Should we log histograms of time-in-queue and processing time
### for proxy messages?  If so, what should the reporting interval
### be?  (Defaults to 5000ms).
###
multiverse.log_proxy_histograms=true
#multiverse.log_proxy_histograms_interval=5000

###
### Should we log various RDP counters
###
multiverse.log_rdp_counters=false

###
### Should we log various VoicePlugin counters
###
multiverse.log_voice_counters=true

###
### The default when enabled is to log CPU times an interval of
### 5000 ms, at log_level 2, which is INFO
###
#multiverse.cputime_logging_interval=5000,2

###
### Log message agent statistics
###
#multiverse.message_agent_stats=true

###
### This number is the number of maximum milliseconds that the
### packet aggregator will delay sending a packet in hopes that
### more packets can be added to it.  By default, it is 25ms.
### You can change the delay time, or disable packet aggregation
### by setting the aggregation interval is zero
###
#multiverse.packet_aggregation_interval=0

###
### Maximum objects per quad tree node before dividing.
###
#multiverse.quad_tree_node_max_objects=30

###
### Maximum depth of the quad tree.  Should be less than 32.
###
#multiverse.quad_tree_max_depth=20

###
### Message printed on console when the world is available.
### The world is available when the "Domain" plugin dependency is
### satisfied.
###
multiverse.world_available_message = DONE INITIALIZING, you can log in now

### Plugin type startup dependencies
### Dependencies are expressed in terms of plugin types, not plugin names.
### The dependency is satisfied when the expected number of plugins have
### started.  The number of expected plugins is controlled by flags to
### the DomainServer (see PLUGIN_TYPES in multiverse.sh)
###
### Every plugin type should have a "plugin_dep" property, even if it
### has no dependencies.
multiverse.plugin_dep.Login=ObjectManager,Instance
multiverse.plugin_dep.Instance=ObjectManager,Quest,MobManager,Inventory,WorldManager
multiverse.plugin_dep.Proxy=Instance,Voice
multiverse.plugin_dep.Voice=Instance
multiverse.plugin_dep.MobManager=ObjectManager,WorldManager,Inventory,Quest
multiverse.plugin_dep.sampleworld.MobManager=ObjectManager,WorldManager,Inventory,Quest,Combat
multiverse.plugin_dep.ObjectManager=
multiverse.plugin_dep.WorldManager=
multiverse.plugin_dep.Inventory=
multiverse.plugin_dep.Quest=
multiverse.plugin_dep.Trainer=
multiverse.plugin_dep.ClassAbility=
multiverse.plugin_dep.Combat=
multiverse.plugin_dep.Domain=Instance,Proxy,Voice


start-multiverse.bat
Code:
@ echo off
:: This batch file runs the Multiverse sever processes on Windows
:: You must have installed Java, a database, JDBC driver, and the Multiverse servers
:: Copyright 2007 The Multiverse Network, Inc.

:: Set DEFAULT_MV_PROPERTYFILE if you want to use a different defult property file
if defined DEFAULT_MV_PROPERTYFILE (
  echo DEFAULT_MV_PROPERTYFILE is %DEFAULT_MV_PROPERTYFILE%
) else (
  echo DEFAULT_MV_PROPERTYFILE is not defined using multiverse.properties
  set DEFAULT_MV_PROPERTYFILE=multiverse.properties
)

:: Set to true to enable JMX management and monitoring
if not defined ENABLE_MGMT set ENABLE_MGMT=false

:: Check that script is being run from mv_home\bin
if not defined MV_HOME (
  echo MV_HOME is not defined, using relative paths
  if exist .\start-multiverse.bat (
    set MV_HOME=..
  ) else (
    echo Batch script must be run from MV_HOME\bin directory!
  )
)

echo MV_HOME is %MV_HOME%
echo ENABLE_MGMT is %ENABLE_MGMT%

:: Change to "server" to use the server Java VM
set JVM_TYPE=client
set JVM_HEAP_FLAGS=-Xms32m -Xmx256m

set PROPFILE=%1
if %1x==x (
  set PROPFILE=%DEFAULT_MV_PROPERTYFILE%
)
echo Using properties file %PROPFILE%

if not defined MV_JAR (
  set MV_JAR=%MV_HOME%\dist\lib\multiverse.jar
)
if not defined MARS_JAR (
  set MARS_JAR=%MV_HOME%\dist\lib\mars.jar
)
if not defined INJECTED_JAR (
  set INJECTED_JAR=%MV_HOME%\dist\lib\injected.jar
)

:: Set value of MV_WORLDNAME from multiverse.worldname in property file
java -cp %MV_JAR% -Dmultiverse.propertyfile=%PROPFILE% -Dwin_env_var=MV_WORLDNAME multiverse.scripts.PropertyGetter multiverse.worldname > tmp.bat
call tmp.bat
del tmp.bat

::Shane's Fix

echo Before Fix  MV_WORLDNAME is %MV_WORLDNAME%
echo

if not defined MV_WORLDNAME (
  set MV_WORLDNAME=sampleworld
 )

SET JAVA_FLAGS=%JAVA_FLAGS% -Dmultiverse.worldname=%MV_WORLDNAME%

echo After Fix  MV_WORLDNAME is %MV_WORLDNAME%

echo
::end Shane's Fix


set JYTHON=%MV_HOME%\other\jython.jar
set RHINO=%MV_HOME%\other\rhino1_5R5\js.jar
set GETOPT=%MV_HOME%\other\java-getopt-1.0.11.jar
set LOG4J=%MV_HOME%\other\log4j-1.2.14.jar
set BCEL=%MV_HOME%\other\bcel-5.2.jar
set EXT_JAR=%MV_HOME%\dist\lib\%MV_WORLDNAME%.jar

:: Get path to JDBC JAR file from property file, unless set in env. var.
if not defined JDBC (
  java -cp %MV_JAR% -Dmultiverse.propertyfile=%PROPFILE% -Dwin_env_var=JDBC multiverse.scripts.PropertyGetter multiverse.jdbcJarPath > tmp.bat
  call tmp.bat
  del tmp.bat
)
echo JDBC is %JDBC%

set MV_CLASSPATH=%INJECTED_JAR%;%MV_JAR%;%MARS_JAR%;%EXT_JAR%;%RHINO%;%GETOPT%;%JYTHON%;%JDBC%;%LOG4J%;%BCEL%

set CMDLINE_PROPS=
if defined MV_HOSTNAME (
  set CMDLINE_PROPS=-Pmultiverse.hostname=%MV_HOSTNAME%
)

set JAVA_FLAGS=-%JVM_TYPE% %JVM_HEAP_FLAGS% -cp "%MV_CLASSPATH%" -Dmultiverse.propertyfile=%PROPFILE%

:: Set value of MVW_FILENAME from multiverse.mvwfile in property file if it is there, if not set based on MV_WORLDNAME
java -cp %MV_JAR% -Dmultiverse.propertyfile=%PROPFILE% -Dwin_env_var=MVW_FILENAME multiverse.scripts.PropertyGetter multiverse.mvwfile > tmp.bat
call tmp.bat
del tmp.bat

if %MVW_FILENAME%==null (
    set MVW_FILENAME="%MV_HOME%\config\%MV_WORLDNAME%\%MV_WORLDNAME%.mvw"
)
echo Using world file %MVW_FILENAME%

set MV_LOGS=%MV_HOME%\logs\%MV_WORLDNAME%
set JAVA_FLAGS=%JAVA_FLAGS% -Dmultiverse.logs=%MV_LOGS%

if not exist %MV_LOGS% (
  mkdir %MV_LOGS%
)

if not defined DELETE_LOGS_ON_STARTUP (
  java -cp %MV_JAR% -Dmultiverse.propertyfile=%PROPFILE% -Dwin_env_var=DELETE_LOGS_ON_STARTUP multiverse.scripts.PropertyGetter multiverse.delete_logs_on_startup > tmp.bat
  call tmp.bat
  del tmp.bat
)

if %DELETE_LOGS_ON_STARTUP%==true (
  echo Deleting existing log files
  del %MV_LOGS%\*.out*
)

if not exist run (
  echo Creating run directory
  mkdir run
)

if not exist run\%MV_WORLDNAME% (
  echo Creating run\%MV_WORLDNAME% directory
  mkdir run\%MV_WORLDNAME%
)
del run\%MV_WORLDNAME%\*.bat

set JAVA_FLAGS=-Dmultiverse.rundir=run\%MV_WORLDNAME% %JAVA_FLAGS%

if %ENABLE_MGMT%==true (
  echo Enabling JMX mgmt and monitoring
  set JAVA_FLAGS=-Dcom.sun.management.jmxremote %JAVA_FLAGS%
)

set MV_COMMON=%MV_HOME%\config\common
set MV_WORLD=%MV_HOME%\config\%MV_WORLDNAME%
set AGENT_NAMES=-a combat -a wmgr_1 -a mobserver -a objmgr -a login_manager -a proxy_1 -a instance -a voiceserver
set PLUGIN_TYPES=-p Login,1 -p Proxy,1 -p ObjectManager,1 -p WorldManager,1 -p Inventory,1 -p MobManager,1 -p Quest,1 -p Instance,1 -p Voice,1 -p Trainer,1 -p Group,1 -p Combat,1 -p ClassAbility,1 -p Domain,1

echo Using world script directory %MV_WORLD%
echo Using log directory %MV_LOGS%
echo Using common directory %MV_COMMON%
echo Java Flags are: %JAVA_FLAGS%

echo Starting message domain server
@ echo on
START /B java  %JAVA_FLAGS% ^
    -Dmultiverse.loggername=domain ^
    multiverse.msgsys.DomainServer ^
    %CMDLINE_PROPS% ^
    -t %MV_COMMON%\typenumbers.txt ^
    %AGENT_NAMES% ^
    %PLUGIN_TYPES%

@ echo off
echo Starting world manager
START /B java ^
    %JAVA_FLAGS% ^
    -Dmultiverse.agenttype=wmgr ^
    -Dmultiverse.loggername=wmgr_1 ^
    multiverse.server.engine.Engine ^
    %CMDLINE_PROPS% ^
    -i wmgr_local1.py ^
    -i %MV_COMMON%\mvmessages.py ^
    -i %MV_WORLD%\worldmessages.py ^
    -t %MV_COMMON%\typenumbers.txt ^
    %MV_COMMON%\global_props.py ^
    %MV_WORLD%\global_props.py ^
    %MV_COMMON%\world_mgr1.py ^
    %MV_WORLD%\extensions_wmgr.py
       
echo Starting combat server
START /B java ^
    %JAVA_FLAGS% ^
    -Dmultiverse.loggername=combat ^
    multiverse.server.engine.Engine ^
    %CMDLINE_PROPS% ^
    -i wmgr_local1.py ^
    -i %MV_COMMON%\mvmessages.py ^
    -i %MV_WORLD%\worldmessages.py ^
    -t %MV_COMMON%\typenumbers.txt ^
    %MV_COMMON%\global_props.py ^
    %MV_WORLD%\global_props.py ^
    %MV_COMMON%\skill_db.py ^
    %MV_WORLD%\skill_db.py ^
    %MV_COMMON%\ability_db.py ^
    %MV_WORLD%\ability_db.py ^
    %MV_WORLD%\classabilityplugin.py ^
    %MV_WORLD%\combat.py ^
    %MV_WORLD%\extensions_combat.py ^
    %MV_COMMON%\profession_db.py ^
    %MV_WORLD%\profession_db.py ^
    %MV_COMMON%\groupplugin.py ^
    %MV_WORLD%\group.py

echo Starting instance server
START /B java ^
    %JAVA_FLAGS% ^
    -Dmultiverse.loggername=instance ^
    multiverse.server.engine.Engine ^
    %CMDLINE_PROPS% ^
    -i %MV_COMMON%\mvmessages.py ^
    -i %MV_WORLD%\worldmessages.py ^
    -t %MV_COMMON%\typenumbers.txt ^
    %MV_COMMON%\global_props.py ^
    %MV_WORLD%\global_props.py ^
    %MV_COMMON%\instance.py ^
    %MV_WORLD%\startup_instance.py

echo Starting object manager
START /B java ^
    %JAVA_FLAGS% ^
    -Dmultiverse.loggername=objmgr ^
    multiverse.server.engine.Engine ^
    %CMDLINE_PROPS% ^
    -i wmgr_local1.py ^
    -i %MV_COMMON%\mvmessages.py ^
    -i %MV_WORLD%\worldmessages.py ^
    -t %MV_COMMON%\typenumbers.txt ^
    %MV_COMMON%\global_props.py ^
    %MV_WORLD%\global_props.py ^
    %MV_WORLD%\templates.py ^
    %MV_COMMON%\obj_manager.py ^
    %MV_WORLD%\mobs_db.py ^
    %MV_WORLD%\items_db.py ^
    %MV_WORLD%\extensions_objmgr.py

echo Starting login manager
START /B java ^
    %JAVA_FLAGS% ^
    -Dmultiverse.loggername=login_manager ^
    multiverse.server.engine.Engine ^
    %CMDLINE_PROPS% ^
    -i %MV_COMMON%\mvmessages.py ^
    -i %MV_WORLD%\worldmessages.py ^
    -t %MV_COMMON%\typenumbers.txt ^
    login_manager.py ^
    %MV_COMMON%\login_manager.py ^
    %MV_COMMON%\character_factory.py ^
    %MV_WORLD%\character_factory.py ^
    %MV_WORLD%\extensions_login.py

echo Starting proxy server
START /B java  ^
    %JAVA_FLAGS% ^
    -Dmultiverse.loggername=proxy_1 ^
    -Dmultiverse.agenttype=proxy ^
    multiverse.server.engine.Engine ^
    %CMDLINE_PROPS% ^
    -i proxy.py ^
    -i %MV_COMMON%\events.py ^
    -i %MV_COMMON%\mvmessages.py ^
    -i %MV_WORLD%\worldmessages.py ^
    -t %MV_COMMON%\typenumbers.txt ^
    %MV_COMMON%\proxy.py ^
    %MV_COMMON%\global_props.py ^
    %MV_WORLD%\global_props.py ^
    %MV_WORLD%\extensions_proxy.py

echo Starting mob server
START /B java ^
    %JAVA_FLAGS% ^
    -Dmultiverse.loggername=mobserver ^
    multiverse.server.engine.Engine ^
    %CMDLINE_PROPS% ^
    -i mobserver_local.py ^
    -i %MV_COMMON%\mvmessages.py ^
    -i %MV_WORLD%\worldmessages.py ^
    -t %MV_COMMON%\typenumbers.txt ^
    %MV_COMMON%\global_props.py ^
    %MV_WORLD%\global_props.py ^
    %MV_COMMON%\mobserver_init.py ^
    %MV_WORLD%\mobserver_init.py ^
    %MV_COMMON%\questplugin.py ^
    %MV_COMMON%\trainerplugin.py ^
    %MV_COMMON%\mobserver.py ^
    %MV_WORLD%\mobserver.py ^
    %MV_WORLD%\extensions_mobserver.py

echo Starting voice server
START /B java ^
    %JAVA_FLAGS% ^
    -Dmultiverse.loggername=voiceserver ^
    multiverse.server.engine.Engine ^
    %CMDLINE_PROPS% ^
    -i %MV_COMMON%\mvmessages.py ^
    -i %MV_WORLD%\worldmessages.py ^
    -t %MV_COMMON%\typenumbers.txt ^
    %MV_COMMON%\voice.py ^
    %MV_WORLD%\voice.py
   
echo Wait for finished initializing msg...


startup_instance.py
Code:
from multiverse.server.plugins import *
from multiverse.server.objects import *
from multiverse.server.engine import *

#TODO:
#This is where the world file is passed to InstanceClient.java and the instance is created
#Also world file ends up at FileUtil.java:10
#ERROR in Instance.out is java.lang.NullPointerException right after template override=[Template: name=null
#Is overrideTemplate = Template() correct??    Putting something in there = NO change
#  Where is $WORLD_DIR being set?  See  "set MV_WORLD=%MV_HOME%\config\%MV_WORLDNAME%" in start-multiverse.bat
#Question: is it supposed to be $WORLD_DIR or $MV_WORLD ???  see multiverse.sh, startmv.bat or start-multiverse.bat 
#AURO:  $WORLD_DIR -- the world config directory: $MV_HOME/config/$WORLD_NAME, generally set by the server start script.
#AURO:  from  http://www.multiversemmo.com/wiki/World_Instancing
#AURO
Log.info("Auro: TEST MESSAGE FROM startup_instance.py line 12  ")


template = Template("sampleworld template")#ORIGINAL
#ORIGINAL  template.put(Namespace.INSTANCE, InstanceClient.TEMPL_WORLD_FILE_NAME, "$WORLD_DIR/$WORLD_NAME.mvw")#ORIGINAL
#ORIGINAL  template.put(Namespace.INSTANCE, InstanceClient.TEMPL_INIT_SCRIPT_FILE_NAME, "$WORLD_DIR/instance_load.py")#ORIGINAL

#TESTING
#template.put(Namespace.INSTANCE, InstanceClient.TEMPL_WORLD_FILE_NAME, "c:\multiverse\config\sampleworld\sampleworld.mvw")#.batch test
#template.put(Namespace.INSTANCE, InstanceClient.TEMPL_INIT_SCRIPT_FILE_NAME, "c:\multiverse\config\sampleworld\instance_load.py")#.batch test
#template.put(Namespace.INSTANCE, InstanceClient.TEMPL_WORLD_FILE_NAME, "$WORLD_DIR/sampleworld.mvw")
#template.put(Namespace.INSTANCE, InstanceClient.TEMPL_INIT_SCRIPT_FILE_NAME, "$WORLD_DIR/instance_load.py")

#WORKING for Cygwin
#try hardcoding the path to the world file.  NEW: WORKS!  try again here now that servers are running under Cygwin
template.put(Namespace.INSTANCE, InstanceClient.TEMPL_WORLD_FILE_NAME, "c:/multiverse/config/sampleworld/sampleworld.mvw")#WORKS
template.put(Namespace.INSTANCE, InstanceClient.TEMPL_INIT_SCRIPT_FILE_NAME, "c:/multiverse/config/sampleworld/instance_load.py")#WORKS


rc = InstanceClient.registerInstanceTemplate(template)
Log.info("AURO:  startup_instance.py: AFTER rc = InstanceClient.registerInstanceTemplate(template)  Returns a "+str(rc))

overrideTemplate = Template()
overrideTemplate.put(Namespace.INSTANCE, InstanceClient.TEMPL_INSTANCE_NAME, "default")
Log.info("AURO:  startup_instance.py: BEFORE rc = InstanceClient.createInstance(""sampleworld template"", overrideTemplate)  message 3")
rc = InstanceClient.createInstance("sampleworld template", overrideTemplate)#ORIGINAL
Log.debug("startup_instance.py: createInstance result=" + str(rc))

Log.info("AURO: startup_instance.py: AFTER rc = InstancClient.createInstance  Returns a " + str(rc))

#auro: Hardcoded linux/Cygwin paths for worlds below  Need to fix $WORLD_DIR path issue
template = Template("bigbrother template")
#ORIGINAL template.put(Namespace.INSTANCE, InstanceClient.TEMPL_WORLD_FILE_NAME, "$WORLD_DIR/bigbrother.mvw")
template.put(Namespace.INSTANCE, InstanceClient.TEMPL_WORLD_FILE_NAME, "c:/multiverse/config/sampleworld/bigbrother.mvw")

rc = InstanceClient.registerInstanceTemplate(template)

overrideTemplate = Template("bigbrother")
overrideTemplate.put(Namespace.INSTANCE, InstanceClient.TEMPL_INSTANCE_NAME, "bigbrother")

rc = InstanceClient.createInstance("bigbrother template", overrideTemplate)
Log.debug("startup_instance.py: createInstance result=" + str(rc))



template = Template("frontier template")
#ORIGINAL template.put(Namespace.INSTANCE, InstanceClient.TEMPL_WORLD_FILE_NAME, "$WORLD_DIR/frontier.mvw")
template.put(Namespace.INSTANCE, InstanceClient.TEMPL_WORLD_FILE_NAME, "c:/multiverse/config/sampleworld/frontier.mvw")

rc = InstanceClient.registerInstanceTemplate(template)

overrideTemplate = Template("frontier")
overrideTemplate.put(Namespace.INSTANCE, InstanceClient.TEMPL_INSTANCE_NAME, "frontier")

rc = InstanceClient.createInstance("frontier template", overrideTemplate)
Log.debug("startup_instance.py: createInstance result=" + str(rc))


template = Template("video template")
#ORIGINAL  template.put(Namespace.INSTANCE, InstanceClient.TEMPL_WORLD_FILE_NAME, "$WORLD_DIR/video.mvw")
template.put(Namespace.INSTANCE, InstanceClient.TEMPL_WORLD_FILE_NAME, "c:/multiverse/config/sampleworld/video.mvw")

rc = InstanceClient.registerInstanceTemplate(template)

overrideTemplate = Template("video")
overrideTemplate.put(Namespace.INSTANCE, InstanceClient.TEMPL_INSTANCE_NAME, "video")

rc = InstanceClient.createInstance("video template", overrideTemplate)
Log.debug("startup_instance.py: createInstance result=" + str(rc))

Engine.getPlugin("Instance").setPluginAvailable(True)



Cheers
Back to top Go down
CobaltBlues
Moderator
Moderator
avatar

Posts : 202
Join date : 2011-11-21
Location : Chicago Land

PostSubject: Re: Server STARTUP FAILED >>> SOLVED   Wed 1 Aug - 4:54

Ok, I see the problem. The JAVA_FLAGS variable is getting reset later down the batch file. Change this line

Code:
set JAVA_FLAGS=-%JVM_TYPE% %JVM_HEAP_FLAGS% -cp "%MV_CLASSPATH%" -Dmultiverse.propertyfile=%PROPFILE%

to

Code:
set JAVA_FLAGS=%JAVA_FLAGS% -%JVM_TYPE% %JVM_HEAP_FLAGS% -cp "%MV_CLASSPATH%" -Dmultiverse.propertyfile=%PROPFILE%
Back to top Go down
http://www.multiversemmo.com
GabriƫL*KnighT
Experienced Newbie
Experienced Newbie
avatar

Posts : 22
Join date : 2012-07-31
Location : South Africa

PostSubject: Re: Server STARTUP FAILED >>> SOLVED   Wed 1 Aug - 8:08

Hey guys,

I had the same problem Koron had. I did what he mentioned in this tread by hardcoding a few directories. The server still had the same problem.
When I started using Cygwin I could see from the debug info that some file (.jar) in my java directory wasn't right. I followed the link and saw that the file the server was looking for wasn't where the server thought it was. I copied a folder named "server" with the needed .jar to where the server was looking for it and suddenly my server seemed to start correctly when using Cygwin.

I tried the Windows batchfile to check if it worked, but it still had the same problem.

@Shane, your first mentioned fix didn't work for me. I'll try the one you just posted when I'm on my PC again. Currently sending from my PDA - that's why I'm not precise on the problematic .jar file that was in the wrong directory.

Back to top Go down
CobaltBlues
Moderator
Moderator
avatar

Posts : 202
Join date : 2011-11-21
Location : Chicago Land

PostSubject: Re: Server STARTUP FAILED >>> SOLVED   Wed 1 Aug - 9:06

Also, I'm not sure why the group is having to hard code directories and filenames in the .py files. I was able to run the server on XP with no modifications other than the MV_WORLDNAME fix mentioned above.
Back to top Go down
http://www.multiversemmo.com
Guest
Guest



PostSubject: Startup scripts   Wed 1 Aug - 10:50

I'll give it another shot tomorrow.

Also any idea about the multiverse.sh $AGENT_NAME issue earlier in this thread?


Thanks Shane
Back to top Go down
Guest
Guest



PostSubject: Server VM   Wed 1 Aug - 10:58

@ Gabriel

I think the issue with the server vm is here but you discovered and fixed it on your own cheers

http://www.multiversemmo.com/wiki/Upgrading_to_Version_1.5

"In this case, you need to make some configuration changes. Follow these steps:

The error message tells you where Java is looking for the VM, in this example in C:\Program Files\Java\jre1.5.0_09\bin. You'll notice that this directory has a \client sub-directory, but not a \server sub-directory.

Find the directory where your JDK is installed, usually somewhere like C:\Program Files\Java\jdk1.5.0_04. Under that directory, you will see a sub-directory \jre\bin\server that contains the server JVM.

Copy the server JVM directory from the JDK directory to the JRE directory. So, for example, copy C:\Program Files\Java\jdk1.5.0_04\jre\bin\server to C:\Program Files\Java\jre\bin. Now the JRE bin directoy will have a server sub-directory as well as a client sub-directory. "
Back to top Go down
Guest
Guest



PostSubject: Different Error   Thu 2 Aug - 7:18

EDIT: Ok. Server Starts Didn't try connecting yet

Also had to uncomment the path in multiverse.properties

multiverse.mvwfile=c:\\multiverse\\config\\sampleworld\\sampleworld.mvw

plugin_status table
http://www.aurogame.com/WORKING__plugin_status_table_nativeXP.htm

Restored the original startup files from server_20120322.zip
Made the changes to start-multiverse.bat

No null in the plugin_status table at least.

Now it's the Domain server, haven't searched yet on this one.



multiverse.properties
Code:
### Server host names and ports
multiverse.msgsvr_hostname=localhost
multiverse.msgsvr_port=20374
multiverse.worldmgrport=5040
### Proxy server settings.  To enable remote clients to connect, specify IP address or DNS hostname
multiverse.proxyserver=:same
multiverse.proxyport=5050

### Voice server host and port number
multiverse.voiceserver=:same
multiverse.voiceport=5051

### Options for VoiceServer testing

### Should the voice plugin automatically create a positional and/or
### non-positional voice group(s) with the specified numbers?
multiverse.precreated_positional_voice_group=1
#multiverse.precreated_nonpositional_voice_group=5

### Should it auto-create a nonpositional voice group because a client
### connects with the number of a group and the group doesn't exist?
#multiverse.autocreate_referenced_voice_groups=true

###
### Should the voice server record voices?
###
#multiverse.record_voices=true

### Database settings
### Use multiverse.db_url property to use a specific JDBC URL.  If not specified, then
### the server constructs it in standard format from the other property values,
### as follows jdbc://db_type/db_hostname/db_name
multiverse.db_type=mysql
multiverse.db_driver=com.mysql.jdbc.Driver
multiverse.db_name=multiverse
multiverse.db_user=root
multiverse.db_password=test
multiverse.db_hostname=localhost
### multiverse.db_url=jdbc:dbtype://hostName/databaseName

# specifies how long to wait for all plugin dependencies to be
# resolved.  after waiting this period of time (in seconds),
# if all dependencies have not been met, then we report an error message.
multiverse.startup_timeout=120

#Path to JDBC driver JAR file
# multiverse.jdbcJarPath=../other/mysql-jdbc/mysql-connector-java-3.0.14-production-bin.jar
multiverse.jdbcJarPath=c:\\mysql-connector-java-3.1.14\\mysql-connector-java-3.1.14-bin.jar


###
### If multiverse.mvwfile property is not specified, it defaults to MV_HOME/config/worldname/worldname.mvw
### Example below is Windows path; On Linux/Unix, use forward slashes instead of double backslashes.
multiverse.worldname=sampleworld
###multiverse.mvwfile=c:\\multiverse\\config\\sampleworld\\sampleworld.mvw

###
### The default log level of the server.
###
### MV-Level    log4j Level
###  0          TRACE
###  1          DEBUG
###  2          INFO
###  3          WARN
###  4          ERROR
###
multiverse.log_level=1

###
### Rotate log files when server starts
###
multiverse.rotate_logs_on_startup=true

###
### Archive log files when server starts.  Logs are moved to directory
### "<world-name>.old".  Should set rotate_logs_on_startup to false when
### this option is true.
###
#multiverse.archive_logs_on_startup=true

###
### Should old logs be deleted on startup?
###
#multiverse.delete_logs_on_startup=true

###
### log4j configuration.  The multiverse.log_level over-rides the
### log4j log level.
###
log4j.appender.FILE = org.apache.log4j.RollingFileAppender
log4j.appender.FILE.File = ${multiverse.logs}/${multiverse.loggername}.out
log4j.appender.FILE.MaxFileSize = 50MB
log4j.appender.FILE.MaxBackupIndex=3
log4j.appender.FILE.layout=org.apache.log4j.PatternLayout
log4j.appender.FILE.layout.ConversionPattern=%-5p [%d{ISO8601}] %-20t %m%n

#log4j.appender.ErrorLog = org.apache.log4j.RollingFileAppender
#log4j.appender.ErrorLog.Threshold = ERROR
#log4j.appender.ErrorLog.File = ${multiverse.logs}/errors.out
#log4j.appender.ErrorLog.MaxFileSize = 50MB
#log4j.appender.ErrorLog.MaxBackupIndex=3
#log4j.appender.ErrorLog.layout=org.apache.log4j.PatternLayout
#log4j.appender.ErrorLog.layout.ConversionPattern=%-5p [%d{ISO8601}] %-20t %m%n

log4j.rootLogger=DEBUG, FILE


###
### Should we use class files from the /build hierarchy
### instead of the jar files from the /dist hierarchy?
###
#multiverse.use_class_files=true

###
### Should we log histograms of time-in-queue and processing time
### for proxy messages?  If so, what should the reporting interval
### be?  (Defaults to 5000ms).
###
multiverse.log_proxy_histograms=true
#multiverse.log_proxy_histograms_interval=5000

###
### Should we log various RDP counters
###
multiverse.log_rdp_counters=false

###
### Should we log various VoicePlugin counters
###
multiverse.log_voice_counters=true

###
### The default when enabled is to log CPU times an interval of
### 5000 ms, at log_level 2, which is INFO
###
#multiverse.cputime_logging_interval=5000,2

###
### Log message agent statistics
###
#multiverse.message_agent_stats=true

###
### This number is the number of maximum milliseconds that the
### packet aggregator will delay sending a packet in hopes that
### more packets can be added to it.  By default, it is 25ms.
### You can change the delay time, or disable packet aggregation
### by setting the aggregation interval is zero
###
#multiverse.packet_aggregation_interval=0

###
### Maximum objects per quad tree node before dividing.
###
#multiverse.quad_tree_node_max_objects=30

###
### Maximum depth of the quad tree.  Should be less than 32.
###
#multiverse.quad_tree_max_depth=20

###
### Message printed on console when the world is available.
### The world is available when the "Domain" plugin dependency is
### satisfied.
###
multiverse.world_available_message = DONE INITIALIZING, you can log in now

### Plugin type startup dependencies
### Dependencies are expressed in terms of plugin types, not plugin names.
### The dependency is satisfied when the expected number of plugins have
### started.  The number of expected plugins is controlled by flags to
### the DomainServer (see PLUGIN_TYPES in multiverse.sh)
###
### Every plugin type should have a "plugin_dep" property, even if it
### has no dependencies.
multiverse.plugin_dep.Login=ObjectManager,Instance
multiverse.plugin_dep.Instance=ObjectManager,Quest,MobManager,Inventory,WorldManager
multiverse.plugin_dep.Proxy=Instance,Voice
multiverse.plugin_dep.Voice=Instance
multiverse.plugin_dep.MobManager=ObjectManager,WorldManager,Inventory,Quest
multiverse.plugin_dep.sampleworld.MobManager=ObjectManager,WorldManager,Inventory,Quest,Combat
multiverse.plugin_dep.ObjectManager=
multiverse.plugin_dep.WorldManager=
multiverse.plugin_dep.Inventory=
multiverse.plugin_dep.Quest=
multiverse.plugin_dep.Trainer=
multiverse.plugin_dep.ClassAbility=
multiverse.plugin_dep.Combat=
multiverse.plugin_dep.Domain=Instance,Proxy,Voice


startup_instance.py

Code:
from multiverse.server.plugins import *
from multiverse.server.objects import *
from multiverse.server.engine import *


template = Template("sampleworld template")
template.put(Namespace.INSTANCE, InstanceClient.TEMPL_WORLD_FILE_NAME, "$WORLD_DIR/$WORLD_NAME.mvw")
template.put(Namespace.INSTANCE, InstanceClient.TEMPL_INIT_SCRIPT_FILE_NAME, "$WORLD_DIR/instance_load.py")

rc = InstanceClient.registerInstanceTemplate(template)

overrideTemplate = Template()
overrideTemplate.put(Namespace.INSTANCE, InstanceClient.TEMPL_INSTANCE_NAME, "default")

rc = InstanceClient.createInstance("sampleworld template", overrideTemplate)
Log.debug("startup_instance.py: createInstance result=" + str(rc))



template = Template("bigbrother template")
template.put(Namespace.INSTANCE, InstanceClient.TEMPL_WORLD_FILE_NAME, "$WORLD_DIR/bigbrother.mvw")

rc = InstanceClient.registerInstanceTemplate(template)

overrideTemplate = Template("bigbrother")
overrideTemplate.put(Namespace.INSTANCE, InstanceClient.TEMPL_INSTANCE_NAME, "bigbrother")

rc = InstanceClient.createInstance("bigbrother template", overrideTemplate)
Log.debug("startup_instance.py: createInstance result=" + str(rc))



template = Template("frontier template")
template.put(Namespace.INSTANCE, InstanceClient.TEMPL_WORLD_FILE_NAME, "$WORLD_DIR/frontier.mvw")

rc = InstanceClient.registerInstanceTemplate(template)

overrideTemplate = Template("frontier")
overrideTemplate.put(Namespace.INSTANCE, InstanceClient.TEMPL_INSTANCE_NAME, "frontier")

rc = InstanceClient.createInstance("frontier template", overrideTemplate)
Log.debug("startup_instance.py: createInstance result=" + str(rc))


template = Template("video template")
template.put(Namespace.INSTANCE, InstanceClient.TEMPL_WORLD_FILE_NAME, "$WORLD_DIR/video.mvw")

rc = InstanceClient.registerInstanceTemplate(template)

overrideTemplate = Template("video")
overrideTemplate.put(Namespace.INSTANCE, InstanceClient.TEMPL_INSTANCE_NAME, "video")

rc = InstanceClient.createInstance("video template", overrideTemplate)
Log.debug("startup_instance.py: createInstance result=" + str(rc))

Engine.getPlugin("Instance").setPluginAvailable(True)


start-multiverse.bat
Code:
@ echo off
:: This batch file runs the Multiverse sever processes on Windows
:: You must have installed Java, a database, JDBC driver, and the Multiverse servers
:: Copyright 2007 The Multiverse Network, Inc.

:: Set DEFAULT_MV_PROPERTYFILE if you want to use a different defult property file
if defined DEFAULT_MV_PROPERTYFILE (
  echo DEFAULT_MV_PROPERTYFILE is %DEFAULT_MV_PROPERTYFILE%
) else (
  echo DEFAULT_MV_PROPERTYFILE is not defined using multiverse.properties
  set DEFAULT_MV_PROPERTYFILE=multiverse.properties
)

:: Set to true to enable JMX management and monitoring
if not defined ENABLE_MGMT set ENABLE_MGMT=false

:: Check that script is being run from mv_home\bin
if not defined MV_HOME (
  echo MV_HOME is not defined, using relative paths
  if exist .\start-multiverse.bat (
    set MV_HOME=..
  ) else (
    echo Batch script must be run from MV_HOME\bin directory!
  )
)

echo MV_HOME is %MV_HOME%
echo ENABLE_MGMT is %ENABLE_MGMT%

:: Change to "server" to use the server Java VM
set JVM_TYPE=client
set JVM_HEAP_FLAGS=-Xms32m -Xmx256m

set PROPFILE=%1
if %1x==x (
  set PROPFILE=%DEFAULT_MV_PROPERTYFILE%
)
echo Using properties file %PROPFILE%

if not defined MV_JAR (
  set MV_JAR=%MV_HOME%\dist\lib\multiverse.jar
)
if not defined MARS_JAR (
  set MARS_JAR=%MV_HOME%\dist\lib\mars.jar
)
if not defined INJECTED_JAR (
  set INJECTED_JAR=%MV_HOME%\dist\lib\injected.jar
)

:: Set value of MV_WORLDNAME from multiverse.worldname in property file
java -cp %MV_JAR% -Dmultiverse.propertyfile=%PROPFILE% -Dwin_env_var=MV_WORLDNAME multiverse.scripts.PropertyGetter multiverse.worldname > tmp.bat
call tmp.bat
del tmp.bat

::Shane's Fix

echo Before Fix  MV_WORLDNAME is %MV_WORLDNAME%
echo

if not defined MV_WORLDNAME (
  set MV_WORLDNAME=sampleworld
 )

SET JAVA_FLAGS=%JAVA_FLAGS% -Dmultiverse.worldname=%MV_WORLDNAME%

echo After Fix  MV_WORLDNAME is %MV_WORLDNAME%

echo
::end Shane's Fix







set JYTHON=%MV_HOME%\other\jython.jar
set RHINO=%MV_HOME%\other\rhino1_5R5\js.jar
set GETOPT=%MV_HOME%\other\java-getopt-1.0.11.jar
set LOG4J=%MV_HOME%\other\log4j-1.2.14.jar
set BCEL=%MV_HOME%\other\bcel-5.2.jar
set EXT_JAR=%MV_HOME%\dist\lib\%MV_WORLDNAME%.jar

:: Get path to JDBC JAR file from property file, unless set in env. var.
if not defined JDBC (
  java -cp %MV_JAR% -Dmultiverse.propertyfile=%PROPFILE% -Dwin_env_var=JDBC multiverse.scripts.PropertyGetter multiverse.jdbcJarPath > tmp.bat
  call tmp.bat
  del tmp.bat
)
echo JDBC is %JDBC%

set MV_CLASSPATH=%INJECTED_JAR%;%MV_JAR%;%MARS_JAR%;%EXT_JAR%;%RHINO%;%GETOPT%;%JYTHON%;%JDBC%;%LOG4J%;%BCEL%

set CMDLINE_PROPS=
if defined MV_HOSTNAME (
  set CMDLINE_PROPS=-Pmultiverse.hostname=%MV_HOSTNAME%
)

::ORIGINAL set JAVA_FLAGS=-%JVM_TYPE% %JVM_HEAP_FLAGS% -cp "%MV_CLASSPATH%" -Dmultiverse.propertyfile=%PROPFILE%
::Shane's 2nd fix
set JAVA_FLAGS=%JAVA_FLAGS% -%JVM_TYPE% %JVM_HEAP_FLAGS% -cp "%MV_CLASSPATH%" -Dmultiverse.propertyfile=%PROPFILE%


:: Set value of MVW_FILENAME from multiverse.mvwfile in property file if it is there, if not set based on MV_WORLDNAME
java -cp %MV_JAR% -Dmultiverse.propertyfile=%PROPFILE% -Dwin_env_var=MVW_FILENAME multiverse.scripts.PropertyGetter multiverse.mvwfile > tmp.bat
call tmp.bat
del tmp.bat

if %MVW_FILENAME%==null (
    set MVW_FILENAME="%MV_HOME%\config\%MV_WORLDNAME%\%MV_WORLDNAME%.mvw"
)
echo Using world file %MVW_FILENAME%

set MV_LOGS=%MV_HOME%\logs\%MV_WORLDNAME%
set JAVA_FLAGS=%JAVA_FLAGS% -Dmultiverse.logs=%MV_LOGS%

if not exist %MV_LOGS% (
  mkdir %MV_LOGS%
)

if not defined DELETE_LOGS_ON_STARTUP (
  java -cp %MV_JAR% -Dmultiverse.propertyfile=%PROPFILE% -Dwin_env_var=DELETE_LOGS_ON_STARTUP multiverse.scripts.PropertyGetter multiverse.delete_logs_on_startup > tmp.bat
  call tmp.bat
  del tmp.bat
)

if %DELETE_LOGS_ON_STARTUP%==true (
  echo Deleting existing log files
  del %MV_LOGS%\*.out*
)

if not exist run (
  echo Creating run directory
  mkdir run
)

if not exist run\%MV_WORLDNAME% (
  echo Creating run\%MV_WORLDNAME% directory
  mkdir run\%MV_WORLDNAME%
)
del run\%MV_WORLDNAME%\*.bat

set JAVA_FLAGS=-Dmultiverse.rundir=run\%MV_WORLDNAME% %JAVA_FLAGS%

if %ENABLE_MGMT%==true (
  echo Enabling JMX mgmt and monitoring
  set JAVA_FLAGS=-Dcom.sun.management.jmxremote %JAVA_FLAGS%
)

set MV_COMMON=%MV_HOME%\config\common
set MV_WORLD=%MV_HOME%\config\%MV_WORLDNAME%
set AGENT_NAMES=-a combat -a wmgr_1 -a mobserver -a objmgr -a login_manager -a proxy_1 -a instance -a voiceserver
set PLUGIN_TYPES=-p Login,1 -p Proxy,1 -p ObjectManager,1 -p WorldManager,1 -p Inventory,1 -p MobManager,1 -p Quest,1 -p Instance,1 -p Voice,1 -p Trainer,1 -p Group,1 -p Combat,1 -p ClassAbility,1 -p Domain,1

echo Using world script directory %MV_WORLD%
echo Using log directory %MV_LOGS%
echo Using common directory %MV_COMMON%
echo Java Flags are: %JAVA_FLAGS%

echo Starting message domain server
@ echo on
START /B java  %JAVA_FLAGS% ^
    -Dmultiverse.loggername=domain ^
    multiverse.msgsys.DomainServer ^
    %CMDLINE_PROPS% ^
    -t %MV_COMMON%\typenumbers.txt ^
    %AGENT_NAMES% ^
    %PLUGIN_TYPES%

@ echo off
echo Starting world manager
START /B java ^
    %JAVA_FLAGS% ^
    -Dmultiverse.agenttype=wmgr ^
    -Dmultiverse.loggername=wmgr_1 ^
    multiverse.server.engine.Engine ^
    %CMDLINE_PROPS% ^
    -i wmgr_local1.py ^
    -i %MV_COMMON%\mvmessages.py ^
    -i %MV_WORLD%\worldmessages.py ^
    -t %MV_COMMON%\typenumbers.txt ^
    %MV_COMMON%\global_props.py ^
    %MV_WORLD%\global_props.py ^
    %MV_COMMON%\world_mgr1.py ^
    %MV_WORLD%\extensions_wmgr.py
       
echo Starting combat server
START /B java ^
    %JAVA_FLAGS% ^
    -Dmultiverse.loggername=combat ^
    multiverse.server.engine.Engine ^
    %CMDLINE_PROPS% ^
    -i wmgr_local1.py ^
    -i %MV_COMMON%\mvmessages.py ^
    -i %MV_WORLD%\worldmessages.py ^
    -t %MV_COMMON%\typenumbers.txt ^
    %MV_COMMON%\global_props.py ^
    %MV_WORLD%\global_props.py ^
    %MV_COMMON%\skill_db.py ^
    %MV_WORLD%\skill_db.py ^
    %MV_COMMON%\ability_db.py ^
    %MV_WORLD%\ability_db.py ^
    %MV_WORLD%\classabilityplugin.py ^
    %MV_WORLD%\combat.py ^
    %MV_WORLD%\extensions_combat.py ^
    %MV_COMMON%\profession_db.py ^
    %MV_WORLD%\profession_db.py ^
    %MV_COMMON%\groupplugin.py ^
    %MV_WORLD%\group.py

echo Starting instance server
START /B java ^
    %JAVA_FLAGS% ^
    -Dmultiverse.loggername=instance ^
    multiverse.server.engine.Engine ^
    %CMDLINE_PROPS% ^
    -i %MV_COMMON%\mvmessages.py ^
    -i %MV_WORLD%\worldmessages.py ^
    -t %MV_COMMON%\typenumbers.txt ^
    %MV_COMMON%\global_props.py ^
    %MV_WORLD%\global_props.py ^
    %MV_COMMON%\instance.py ^
    %MV_WORLD%\startup_instance.py

echo Starting object manager
START /B java ^
    %JAVA_FLAGS% ^
    -Dmultiverse.loggername=objmgr ^
    multiverse.server.engine.Engine ^
    %CMDLINE_PROPS% ^
    -i wmgr_local1.py ^
    -i %MV_COMMON%\mvmessages.py ^
    -i %MV_WORLD%\worldmessages.py ^
    -t %MV_COMMON%\typenumbers.txt ^
    %MV_COMMON%\global_props.py ^
    %MV_WORLD%\global_props.py ^
    %MV_WORLD%\templates.py ^
    %MV_COMMON%\obj_manager.py ^
    %MV_WORLD%\mobs_db.py ^
    %MV_WORLD%\items_db.py ^
    %MV_WORLD%\extensions_objmgr.py

echo Starting login manager
START /B java ^
    %JAVA_FLAGS% ^
    -Dmultiverse.loggername=login_manager ^
    multiverse.server.engine.Engine ^
    %CMDLINE_PROPS% ^
    -i %MV_COMMON%\mvmessages.py ^
    -i %MV_WORLD%\worldmessages.py ^
    -t %MV_COMMON%\typenumbers.txt ^
    login_manager.py ^
    %MV_COMMON%\login_manager.py ^
    %MV_COMMON%\character_factory.py ^
    %MV_WORLD%\character_factory.py ^
    %MV_WORLD%\extensions_login.py

echo Starting proxy server
START /B java  ^
    %JAVA_FLAGS% ^
    -Dmultiverse.loggername=proxy_1 ^
    -Dmultiverse.agenttype=proxy ^
    multiverse.server.engine.Engine ^
    %CMDLINE_PROPS% ^
    -i proxy.py ^
    -i %MV_COMMON%\events.py ^
    -i %MV_COMMON%\mvmessages.py ^
    -i %MV_WORLD%\worldmessages.py ^
    -t %MV_COMMON%\typenumbers.txt ^
    %MV_COMMON%\proxy.py ^
    %MV_COMMON%\global_props.py ^
    %MV_WORLD%\global_props.py ^
    %MV_WORLD%\extensions_proxy.py

echo Starting mob server
START /B java ^
    %JAVA_FLAGS% ^
    -Dmultiverse.loggername=mobserver ^
    multiverse.server.engine.Engine ^
    %CMDLINE_PROPS% ^
    -i mobserver_local.py ^
    -i %MV_COMMON%\mvmessages.py ^
    -i %MV_WORLD%\worldmessages.py ^
    -t %MV_COMMON%\typenumbers.txt ^
    %MV_COMMON%\global_props.py ^
    %MV_WORLD%\global_props.py ^
    %MV_COMMON%\mobserver_init.py ^
    %MV_WORLD%\mobserver_init.py ^
    %MV_COMMON%\questplugin.py ^
    %MV_COMMON%\trainerplugin.py ^
    %MV_COMMON%\mobserver.py ^
    %MV_WORLD%\mobserver.py ^
    %MV_WORLD%\extensions_mobserver.py

echo Starting voice server
START /B java ^
    %JAVA_FLAGS% ^
    -Dmultiverse.loggername=voiceserver ^
    multiverse.server.engine.Engine ^
    %CMDLINE_PROPS% ^
    -i %MV_COMMON%\mvmessages.py ^
    -i %MV_WORLD%\worldmessages.py ^
    -t %MV_COMMON%\typenumbers.txt ^
    %MV_COMMON%\voice.py ^
    %MV_WORLD%\voice.py
   
echo Wait for finished initializing msg...


Instance.out

Code:

INFO  [2012-08-01 16:02:52,093] main                pid 5096@OFFICEDEV
DEBUG [2012-08-01 16:02:52,093] main                Using property file multiverse.properties
DEBUG [2012-08-01 16:02:52,093] main                Properties are:
DEBUG [2012-08-01 16:02:52,093] main                    java.vendor = Sun Microsystems Inc.
DEBUG [2012-08-01 16:02:52,093] main                    multiverse.voiceport = 5051
DEBUG [2012-08-01 16:02:52,093] main                    log4j.appender.FILE = org.apache.log4j.RollingFileAppender
DEBUG [2012-08-01 16:02:52,093] main                    sun.java.launcher = SUN_STANDARD
DEBUG [2012-08-01 16:02:52,093] main                    sun.management.compiler = HotSpot Client Compiler
DEBUG [2012-08-01 16:02:52,093] main                    multiverse.proxyport = 5050
DEBUG [2012-08-01 16:02:52,093] main                    os.name = Windows XP
DEBUG [2012-08-01 16:02:52,093] main                    multiverse.db_password = test
DEBUG [2012-08-01 16:02:52,093] main                    sun.boot.class.path = C:\Program Files\Java\jre6\lib\resources.jar;C:\Program Files\Java\jre6\lib\rt.jar;C:\Program Files\Java\jre6\lib\sunrsasign.jar;C:\Program Files\Java\jre6\lib\jsse.jar;C:\Program Files\Java\jre6\lib\jce.jar;C:\Program Files\Java\jre6\lib\charsets.jar;C:\Program Files\Java\jre6\lib\modules\jdk.boot.jar;C:\Program Files\Java\jre6\classes
DEBUG [2012-08-01 16:02:52,093] main                    multiverse.plugin_dep.sampleworld.MobManager = ObjectManager,WorldManager,Inventory,Quest,Combat
DEBUG [2012-08-01 16:02:52,093] main                    sun.desktop = windows
DEBUG [2012-08-01 16:02:52,093] main                    java.vm.specification.vendor = Sun Microsystems Inc.
DEBUG [2012-08-01 16:02:52,093] main                    java.runtime.version = 1.6.0_33-b05
DEBUG [2012-08-01 16:02:52,093] main                    user.name = Greg
DEBUG [2012-08-01 16:02:52,093] main                    multiverse.log_voice_counters = true
DEBUG [2012-08-01 16:02:52,093] main                    user.language = en
DEBUG [2012-08-01 16:02:52,093] main                    sun.boot.library.path = C:\Program Files\Java\jre6\bin
DEBUG [2012-08-01 16:02:52,093] main                    multiverse.world_available_message = DONE INITIALIZING, you can log in now
DEBUG [2012-08-01 16:02:52,093] main                    multiverse.plugin_dep.MobManager = ObjectManager,WorldManager,Inventory,Quest
DEBUG [2012-08-01 16:02:52,093] main                    java.version = 1.6.0_33
DEBUG [2012-08-01 16:02:52,093] main                    log4j.rootLogger = DEBUG, FILE
DEBUG [2012-08-01 16:02:52,093] main                    user.timezone = America/New_York
DEBUG [2012-08-01 16:02:52,093] main                    multiverse.plugin_dep.Proxy = Instance,Voice
DEBUG [2012-08-01 16:02:52,093] main                    sun.arch.data.model = 32
DEBUG [2012-08-01 16:02:52,093] main                    java.endorsed.dirs = C:\Program Files\Java\jre6\lib\endorsed
DEBUG [2012-08-01 16:02:52,093] main                    multiverse.voiceserver = :same
DEBUG [2012-08-01 16:02:52,093] main                    sun.cpu.isalist =
DEBUG [2012-08-01 16:02:52,093] main                    sun.jnu.encoding = Cp1252
DEBUG [2012-08-01 16:02:52,093] main                    file.encoding.pkg = sun.io
DEBUG [2012-08-01 16:02:52,093] main                    multiverse.startup_timeout = 120
DEBUG [2012-08-01 16:02:52,093] main                    multiverse.plugin_dep.Quest =
DEBUG [2012-08-01 16:02:52,093] main                    file.separator = \
DEBUG [2012-08-01 16:02:52,093] main                    java.specification.name = Java Platform API Specification
DEBUG [2012-08-01 16:02:52,093] main                    java.class.version = 50.0
DEBUG [2012-08-01 16:02:52,093] main                    log4j.appender.FILE.layout = org.apache.log4j.PatternLayout
DEBUG [2012-08-01 16:02:52,093] main                    user.country = US
DEBUG [2012-08-01 16:02:52,093] main                    multiverse.plugin_dep.Inventory =
DEBUG [2012-08-01 16:02:52,093] main                    java.home = C:\Program Files\Java\jre6
DEBUG [2012-08-01 16:02:52,093] main                    multiverse.msgsvr_port = 20374
DEBUG [2012-08-01 16:02:52,093] main                    java.vm.info = mixed mode, sharing
DEBUG [2012-08-01 16:02:52,093] main                    multiverse.jdbcJarPath = c:\mysql-connector-java-3.1.14\mysql-connector-java-3.1.14-bin.jar
DEBUG [2012-08-01 16:02:52,093] main                    multiverse.plugin_dep.Instance = ObjectManager,Quest,MobManager,Inventory,WorldManager
DEBUG [2012-08-01 16:02:52,093] main                    os.version = 5.1
DEBUG [2012-08-01 16:02:52,093] main                    multiverse.logs = ..\logs\sampleworld
DEBUG [2012-08-01 16:02:52,093] main                    multiverse.plugin_dep.ObjectManager =
DEBUG [2012-08-01 16:02:52,093] main                    multiverse.log_level = 1
DEBUG [2012-08-01 16:02:52,093] main                    path.separator = ;
DEBUG [2012-08-01 16:02:52,093] main                    multiverse.plugin_dep.Trainer =
DEBUG [2012-08-01 16:02:52,093] main                    java.vm.version = 20.8-b03
DEBUG [2012-08-01 16:02:52,093] main                    multiverse.rotate_logs_on_startup = true
DEBUG [2012-08-01 16:02:52,093] main                    user.variant =
DEBUG [2012-08-01 16:02:52,093] main                    java.awt.printerjob = sun.awt.windows.WPrinterJob
DEBUG [2012-08-01 16:02:52,093] main                    multiverse.log_rdp_counters = false
DEBUG [2012-08-01 16:02:52,093] main                    sun.io.unicode.encoding = UnicodeLittle
DEBUG [2012-08-01 16:02:52,093] main                    log4j.appender.FILE.File = ${multiverse.logs}/${multiverse.loggername}.out
DEBUG [2012-08-01 16:02:52,093] main                    multiverse.precreated_positional_voice_group = 1
DEBUG [2012-08-01 16:02:52,093] main                    awt.toolkit = sun.awt.windows.WToolkit
DEBUG [2012-08-01 16:02:52,093] main                    user.home = C:\Documents and Settings\Greg
DEBUG [2012-08-01 16:02:52,093] main                    java.specification.vendor = Sun Microsystems Inc.
DEBUG [2012-08-01 16:02:52,093] main                    multiverse.proxyserver = :same
DEBUG [2012-08-01 16:02:52,093] main                    multiverse.plugin_dep.WorldManager =
DEBUG [2012-08-01 16:02:52,093] main                    multiverse.worldmgrport = 5040
DEBUG [2012-08-01 16:02:52,093] main                    java.library.path = C:\WINDOWS\system32;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Perl\site\bin;C:\Perl\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\WBEM;c:\devkitPro\msys\bin;C:\Program Files\ImageMagick-6.6.1-Q16;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Intel\DMIX;C:\Program Files\Common Files\Roxio Shared\DLLShared\;c:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\doxygen\bin;C:\Program Files\Java\apache-ant-1.7.1\bin;C:\Program Files\AdVantage SDK\Bin;C:\MinGW;C:\Program Files\ZipGenius 6\;C:\Qt\4.6.2\lib;C:\Qt\4.6.2\bin;;C:\Program Files\jZip;C:\Program Files\Java\jre6\bin;C:\Erlang\erl5.8\bin;C:\Downloads\CORELDRW\DRAW;C:\Python27;C:\Program Files\Common Files\Acronis\SnapAPI\;E:\Program Files\TortoiseHg\;E:\Program Files\OgreXMLConverter;C:\Program Files\ImageMagick-6.6.1-Q16;e:\Program Files\CMake 2.8\bin;C:\Program Files\Adobe\Adobe Flash CS5.5\AIR2.6\bin;;C:\Program Files\Motion-Twin\haxe\;C:\Program Files\Motion-Twin\neko;E:\Program Files\EaseUS\Todo Backup\bin\;.
DEBUG [2012-08-01 16:02:52,093] main                    java.vendor.url = http://java.sun.com/
DEBUG [2012-08-01 16:02:52,093] main                    multiverse.loggername = instance
DEBUG [2012-08-01 16:02:52,093] main                    multiverse.log_proxy_histograms = true
DEBUG [2012-08-01 16:02:52,093] main                    java.vm.vendor = Sun Microsystems Inc.
DEBUG [2012-08-01 16:02:52,093] main                    multiverse.db_user = root
DEBUG [2012-08-01 16:02:52,109] main                    multiverse.rundir = run\sampleworld
DEBUG [2012-08-01 16:02:52,109] main                    java.runtime.name = Java(TM) SE Runtime Environment
DEBUG [2012-08-01 16:02:52,109] main                    sun.java.command = multiverse.server.engine.Engine -i ..\config\common\mvmessages.py -i ..\config\sampleworld\worldmessages.py -t ..\config\common\typenumbers.txt ..\config\common\global_props.py ..\config\sampleworld\global_props.py ..\config\common\instance.py ..\config\sampleworld\startup_instance.py
DEBUG [2012-08-01 16:02:52,109] main                    java.class.path = ..\dist\lib\injected.jar;..\dist\lib\multiverse.jar;..\dist\lib\mars.jar;..\dist\lib\sampleworld.jar;..\other\rhino1_5R5\js.jar;..\other\java-getopt-1.0.11.jar;..\other\jython.jar;c:\mysql-connector-java-3.1.14\mysql-connector-java-3.1.14-bin.jar;..\other\log4j-1.2.14.jar;..\other\bcel-5.2.jar
DEBUG [2012-08-01 16:02:52,109] main                    multiverse.propertyfile = multiverse.properties
DEBUG [2012-08-01 16:02:52,109] main                    log4j.appender.FILE.MaxBackupIndex = 3
DEBUG [2012-08-01 16:02:52,109] main                    multiverse.db_hostname = localhost
DEBUG [2012-08-01 16:02:52,109] main                    multiverse.db_type = mysql
DEBUG [2012-08-01 16:02:52,109] main                    java.vm.specification.name = Java Virtual Machine Specification
DEBUG [2012-08-01 16:02:52,109] main                    java.vm.specification.version = 1.0
DEBUG [2012-08-01 16:02:52,109] main                    multiverse.plugin_dep.Login = ObjectManager,Instance
DEBUG [2012-08-01 16:02:52,109] main                    sun.cpu.endian = little
DEBUG [2012-08-01 16:02:52,109] main                    sun.os.patch.level = Service Pack 3
DEBUG [2012-08-01 16:02:52,109] main                    multiverse.msgsvr_hostname = localhost
DEBUG [2012-08-01 16:02:52,109] main                    multiverse.worldname = sampleworld
DEBUG [2012-08-01 16:02:52,109] main                    java.io.tmpdir = C:\DOCUME~1\Greg\LOCALS~1\Temp\
DEBUG [2012-08-01 16:02:52,109] main                    java.vendor.url.bug = http://java.sun.com/cgi-bin/bugreport.cgi
DEBUG [2012-08-01 16:02:52,109] main                    log4j.appender.FILE.MaxFileSize = 50MB
DEBUG [2012-08-01 16:02:52,109] main                    multiverse.db_driver = com.mysql.jdbc.Driver
DEBUG [2012-08-01 16:02:52,109] main                    multiverse.db_name = multiverse
DEBUG [2012-08-01 16:02:52,109] main                    os.arch = x86
DEBUG [2012-08-01 16:02:52,109] main                    java.awt.graphicsenv = sun.awt.Win32GraphicsEnvironment
DEBUG [2012-08-01 16:02:52,109] main                    multiverse.plugin_dep.Voice = Instance
DEBUG [2012-08-01 16:02:52,109] main                    log4j.appender.FILE.layout.ConversionPattern = %-5p [%d{ISO8601}] %-20t %m%n
DEBUG [2012-08-01 16:02:52,109] main                    java.ext.dirs = C:\Program Files\Java\jre6\lib\ext;C:\WINDOWS\Sun\Java\lib\ext
DEBUG [2012-08-01 16:02:52,109] main                    multiverse.plugin_dep.ClassAbility =
DEBUG [2012-08-01 16:02:52,109] main                    user.dir = C:\multiverse\bin
DEBUG [2012-08-01 16:02:52,109] main                    line.separator =

DEBUG [2012-08-01 16:02:52,109] main                    java.vm.name = Java HotSpot(TM) Client VM
DEBUG [2012-08-01 16:02:52,109] main                    multiverse.plugin_dep.Domain = Instance,Proxy,Voice
DEBUG [2012-08-01 16:02:52,109] main                    file.encoding = Cp1252
DEBUG [2012-08-01 16:02:52,109] main                    multiverse.plugin_dep.Combat =
DEBUG [2012-08-01 16:02:52,109] main                    java.specification.version = 1.6
INFO  [2012-08-01 16:02:52,109] main                The log level is 1
INFO  [2012-08-01 16:02:52,109] main                Multiverse server version 1.5 0 (- -)
INFO  [2012-08-01 16:02:52,109] main                Entered MarshallingRuntime.initializeBatch: reading type nums from '..\config\common\typenumbers.txt'
INFO  [2012-08-01 16:02:52,437] main                Entered MarshallingRuntime.initializeBatch: Registered 240 classes
INFO  [2012-08-01 16:02:53,000] main                Engine: My local host name is 'OFFICEDEV'
DEBUG [2012-08-01 16:02:53,000] main                Engine, multiverse.cputime_logging_interval disabled
INFO  [2012-08-01 16:02:56,296] main                Engine: PROCESS ID IS 5096@OFFICEDEV
INFO  [2012-08-01 16:02:56,296] main                Engine: server name is instance
DEBUG [2012-08-01 16:02:56,312] main                Engine, populateScriptList: option i: ..\config\common\mvmessages.py
DEBUG [2012-08-01 16:02:56,312] main                Engine, populateScriptList: option i: ..\config\sampleworld\worldmessages.py
DEBUG [2012-08-01 16:02:56,312] main                Engine, populateScriptList: nonoption args element: ..\config\common\global_props.py
DEBUG [2012-08-01 16:02:56,312] main                Engine, populateScriptList: nonoption args element: ..\config\sampleworld\global_props.py
DEBUG [2012-08-01 16:02:56,312] main                Engine, populateScriptList: nonoption args element: ..\config\common\instance.py
DEBUG [2012-08-01 16:02:56,312] main                Engine, populateScriptList: nonoption args element: ..\config\sampleworld\startup_instance.py
DEBUG [2012-08-01 16:02:57,312] main                Engine, Engine: reading in script: ..\config\common\mvmessages.py
DEBUG [2012-08-01 16:02:57,312] main                Engine, Executing init script file: ..\config\common\mvmessages.py
DEBUG [2012-08-01 16:02:57,312] main                runPYFile: file=..\config\common\mvmessages.py
DEBUG [2012-08-01 16:02:57,656] main                Adding msg type 'mv.PROPERTY', msgNumber 1/0x1
DEBUG [2012-08-01 16:02:57,656] main                Adding msg type 'mv.LOGIN', msgNumber 2/0x2
DEBUG [2012-08-01 16:02:57,656] main                Adding msg type 'mv.LOGOUT', msgNumber 3/0x3
DEBUG [2012-08-01 16:02:57,656] main                Adding msg type 'mv.ANIMATION', msgNumber 4/0x4
DEBUG [2012-08-01 16:02:57,656] main                Adding msg type 'mv.COM', msgNumber 5/0x5
DEBUG [2012-08-01 16:02:57,656] main                Adding msg type 'mv.COM_REQ', msgNumber 6/0x6
DEBUG [2012-08-01 16:02:57,656] main                Adding msg type 'mv.DC_REQ', msgNumber 7/0x7
DEBUG [2012-08-01 16:02:57,656] main                Adding msg type 'mv.DESPAWNED', msgNumber 8/0x8
DEBUG [2012-08-01 16:02:57,656] main                Adding msg type 'mv.DESPAWN_REQ', msgNumber 9/0x9
DEBUG [2012-08-01 16:02:57,656] main                Adding msg type 'mv.DETACH', msgNumber 10/0xa
DEBUG [2012-08-01 16:02:57,656] main                Adding msg type 'mv.DIR_LOC_ORIENT', msgNumber 11/0xb
DEBUG [2012-08-01 16:02:57,656] main                Adding msg type 'mv.DISPLAY_CONTEXT', msgNumber 12/0xc
DEBUG [2012-08-01 16:02:57,656] main                Adding msg type 'mv.EXTENSION', msgNumber 13/0xd
DEBUG [2012-08-01 16:02:57,656] main                Adding msg type 'mv.FOG', msgNumber 14/0xe
DEBUG [2012-08-01 16:02:57,656] main                Adding msg type 'mv.FREE_REMOTE_OBJ', msgNumber 15/0xf
DEBUG [2012-08-01 16:02:57,656] main                Adding msg type 'mv.GETWNODE_REQ', msgNumber 16/0x10
DEBUG [2012-08-01 16:02:57,656] main                Adding msg type 'mv.MOB_PATH', msgNumber 17/0x11
DEBUG [2012-08-01 16:02:57,656] main                Adding msg type 'mv.MOB_PATH_CORRECTION', msgNumber 18/0x12
DEBUG [2012-08-01 16:02:57,656] main                Adding msg type 'mv.MOB_PATH_REQ', msgNumber 19/0x13
DEBUG [2012-08-01 16:02:57,656] main                Adding msg type 'mv.MODIFY_DC', msgNumber 20/0x14
DEBUG [2012-08-01 16:02:57,656] main                Adding msg type 'mv.NEW_DIRLIGHT', msgNumber 21/0x15
DEBUG [2012-08-01 16:02:57,656] main                Adding msg type 'mv.FREE_OBJECT', msgNumber 22/0x16
DEBUG [2012-08-01 16:02:57,671] main                Adding msg type 'mv.NEW_REGION', msgNumber 23/0x17
DEBUG [2012-08-01 16:02:57,671] main                Adding msg type 'mv.NEW_REMOTE_OBJ', msgNumber 24/0x18
DEBUG [2012-08-01 16:02:57,671] main                Adding msg type 'mv.OBJINFO_REQ', msgNumber 25/0x19
DEBUG [2012-08-01 16:02:57,671] main                Adding msg type 'mv.ORIENT', msgNumber 26/0x1a
DEBUG [2012-08-01 16:02:57,671] main                Adding msg type 'mv.ORIENT_REQ', msgNumber 27/0x1b
DEBUG [2012-08-01 16:02:57,671] main                Adding msg type 'mv.PERCEIVER_REGIONS', msgNumber 28/0x1c
DEBUG [2012-08-01 16:02:57,671] main                Adding msg type 'mv.REFRESH_WNODE', msgNumber 29/0x1d
DEBUG [2012-08-01 16:02:57,671] main                Adding msg type 'mv.REPARENT_WNODE_REQ', msgNumber 30/0x1e
DEBUG [2012-08-01 16:02:57,671] main                Adding msg type 'mv.ROAD', msgNumber 31/0x1f
DEBUG [2012-08-01 16:02:57,671] main                Adding msg type 'mv.FREE_ROAD', msgNumber 32/0x20
DEBUG [2012-08-01 16:02:57,671] main                Adding msg type 'mv.SETWNODE_REQ', msgNumber 33/0x21
DEBUG [2012-08-01 16:02:57,671] main                Adding msg type 'mv.SET_AMBIENT', msgNumber 34/0x22
DEBUG [2012-08-01 16:02:57,671] main                Adding msg type 'mv.SOUND', msgNumber 35/0x23
DEBUG [2012-08-01 16:02:57,671] main                Adding msg type 'mv.SPAWNED', msgNumber 36/0x24
DEBUG [2012-08-01 16:02:57,671] main                Adding msg type 'mv.SPAWN_REQ', msgNumber 37/0x25
DEBUG [2012-08-01 16:02:57,671] main                Adding msg type 'mv.SYS_CHAT', msgNumber 38/0x26
DEBUG [2012-08-01 16:02:57,671] main                Adding msg type 'mv.TARGETED_PROPERTY', msgNumber 39/0x27
DEBUG [2012-08-01 16:02:57,671] main                Adding msg type 'mv.UPDATEWNODE', msgNumber 40/0x28
DEBUG [2012-08-01 16:02:57,671] main                Adding msg type 'mv.UPDATEWNODE_REQ', msgNumber 41/0x29
DEBUG [2012-08-01 16:02:57,671] main                Adding msg type 'mv.UPDATE_OBJECT', msgNumber 42/0x2a
DEBUG [2012-08-01 16:02:57,671] main                Adding msg type 'mv.WNODECORRECT', msgNumber 43/0x2b
DEBUG [2012-08-01 16:02:57,671] main                Adding msg type 'mv.P2P_EXTENSION', msgNumber 44/0x2c
DEBUG [2012-08-01 16:02:57,671] main                Adding msg type 'mv.PERCEPTION_INFO', msgNumber 45/0x2d
DEBUG [2012-08-01 16:02:57,671] main                Adding msg type 'mv.PERCEPTION', msgNumber 46/0x2e
DEBUG [2012-08-01 16:02:57,671] main                Adding msg type 'mv.HOST_INSTANCE', msgNumber 47/0x2f
DEBUG [2012-08-01 16:02:57,671] main                Adding msg type 'mv.PLAYER_PATH_WM_REQ', msgNumber 48/0x30
DEBUG [2012-08-01 16:02:57,671] main                Adding msg type 'mv.SET_PERSISTENCE', msgNumber 49/0x31
DEBUG [2012-08-01 16:02:57,671] main                Adding msg type 'mv.SET_SUBPERSISTENCE', msgNumber 50/0x32
DEBUG [2012-08-01 16:02:57,671] main                Adding msg type 'mv.LOAD_OBJECT', msgNumber 51/0x33
DEBUG [2012-08-01 16:02:57,671] main                Adding msg type 'mv.LOAD_SUBOBJECT', msgNumber 52/0x34
DEBUG [2012-08-01 16:02:57,671] main                Adding msg type 'mv.LOAD_OBJECT_DATA', msgNumber 53/0x35
DEBUG [2012-08-01 16:02:57,671] main                Adding msg type 'mv.SAVE_OBJECT_DATA', msgNumber 54/0x36
DEBUG [2012-08-01 16:02:57,671] main                Adding msg type 'mv.SAVE_OBJECT', msgNumber 55/0x37
DEBUG [2012-08-01 16:02:57,671] main                Adding msg type 'mv.SAVE_SUBOBJECT', msgNumber 56/0x38
DEBUG [2012-08-01 16:02:57,671] main                Adding msg type 'mv.GENERATE_OBJECT', msgNumber 57/0x39
DEBUG [2012-08-01 16:02:57,671] main                Adding msg type 'mv.GENERATE_SUB_OBJECT', msgNumber 58/0x3a
DEBUG [2012-08-01 16:02:57,671] main                Adding msg type 'mv.SUB_OBJECT_DEPS_READY', msgNumber 59/0x3b
DEBUG [2012-08-01 16:02:57,671] main                Adding msg type 'mv.REGISTER_TEMPLATE', msgNumber 60/0x3c
DEBUG [2012-08-01 16:02:57,671] main                Adding msg type 'mv.GET_TEMPLATE', msgNumber 61/0x3d
DEBUG [2012-08-01 16:02:57,671] main                Adding msg type 'mv.GET_TEMPLATE_NAMES', msgNumber 62/0x3e
DEBUG [2012-08-01 16:02:57,671] main                Adding msg type 'mv.UNLOAD_OBJECT', msgNumber 63/0x3f
DEBUG [2012-08-01 16:02:57,671] main                Adding msg type 'mv.UNLOAD_SUBOBJECT', msgNumber 64/0x40
DEBUG [2012-08-01 16:02:57,671] main                Adding msg type 'mv.DELETE_OBJECT', msgNumber 65/0x41
DEBUG [2012-08-01 16:02:57,671] main                Adding msg type 'mv.DELETE_SUBOBJECT', msgNumber 66/0x42
DEBUG [2012-08-01 16:02:57,671] main                Adding msg type 'mv.FIX_WNODE_REQ', msgNumber 67/0x43
DEBUG [2012-08-01 16:02:57,671] main                Adding msg type 'mv.GET_NAMED_OBJECT', msgNumber 68/0x44
DEBUG [2012-08-01 16:02:57,671] main                Adding msg type 'mv.GET_OBJECT_STATUS', msgNumber 69/0x45
DEBUG [2012-08-01 16:02:57,671] main                Adding msg type 'mv.ADD_ITEM', msgNumber 70/0x46
DEBUG [2012-08-01 16:02:57,671] main                Adding msg type 'mv.CREATE_INV', msgNumber 71/0x47
DEBUG [2012-08-01 16:02:57,671] main                Adding msg type 'mv.INV_UPDATE', msgNumber 72/0x48
DEBUG [2012-08-01 16:02:57,671] main                Adding msg type 'mv.ACTIVATE', msgNumber 73/0x49
DEBUG [2012-08-01 16:02:57,671] main                Adding msg type 'mv.LOOTALL', msgNumber 74/0x4a
DEBUG [2012-08-01 16:02:57,671] main                Adding msg type 'mv.INV_FIND', msgNumber 75/0x4b
DEBUG [2012-08-01 16:02:57,671] main                Adding msg type 'mv.INV_REMOVE', msgNumber 76/0x4c
DEBUG [2012-08-01 16:02:57,671] main                Adding msg type 'mv.DESTROY_ITEM', msgNumber 77/0x4d
DEBUG [2012-08-01 16:02:57,703] main                Adding msg type 'mv.NOTIFY_REACTION_RADIUS', msgNumber 78/0x4e
DEBUG [2012-08-01 16:02:57,718] main                Adding msg type 'mv.DUMP_ALL_THREAD_STACKS', msgNumber 79/0x4f
DEBUG [2012-08-01 16:02:57,718] main                Adding msg type 'mv.GET_PROPERTY', msgNumber 80/0x50
DEBUG [2012-08-01 16:02:57,718] main                Adding msg type 'mv.PLUGIN_STATE', msgNumber 81/0x51
DEBUG [2012-08-01 16:02:57,718] main                Adding msg type 'mv.SET_PROPERTY', msgNumber 82/0x52
DEBUG [2012-08-01 16:02:57,718] main                Adding msg type 'mv.SET_PROPERTY_NONBLOCK', msgNumber 83/0x53
DEBUG [2012-08-01 16:02:57,718] main                Adding msg type 'mv.TRANSFER_OBJECT', msgNumber 84/0x54
DEBUG [2012-08-01 16:02:57,718] main                Adding msg type 'mv.COMMAND', msgNumber 85/0x55
DEBUG [2012-08-01 16:02:57,718] main                Adding msg type 'mv.EVENT', msgNumber 86/0x56
DEBUG [2012-08-01 16:02:57,718] main                Adding msg type 'mv.REQ_QUEST_INFO', msgNumber 87/0x57
DEBUG [2012-08-01 16:02:57,718] main                Adding msg type 'mv.REQ_CONCLUDE_QUEST', msgNumber 88/0x58
DEBUG [2012-08-01 16:02:57,718] main                Adding msg type 'mv.QUEST_INFO', msgNumber 89/0x59
DEBUG [2012-08-01 16:02:57,718] main                Adding msg type 'mv.GET_QUEST_STATUS', msgNumber 90/0x5a
DEBUG [2012-08-01 16:02:57,718] main                Adding msg type 'mv.QUEST_RESP', msgNumber 91/0x5b
DEBUG [2012-08-01 16:02:57,718] main                Adding msg type 'mv.NEW_QUESTSTATE', msgNumber 92/0x5c
DEBUG [2012-08-01 16:02:57,718] main                Adding msg type 'mv.CONCLUDE_QUEST', msgNumber 93/0x5d
DEBUG [2012-08-01 16:02:57,718] main                Adding msg type 'mv.QUEST_STATE_STATUS_CHANGE', msgNumber 94/0x5e
DEBUG [2012-08-01 16:02:57,718] main                Adding msg type 'mv.QUEST_LOG_INFO', msgNumber 95/0x5f
DEBUG [2012-08-01 16:02:57,718] main                Adding msg type 'mv.QUEST_STATE_INFO', msgNumber 96/0x60
DEBUG [2012-08-01 16:02:57,718] main                Adding msg type 'mv.REMOVE_QUEST_RESP', msgNumber 97/0x61
DEBUG [2012-08-01 16:02:57,718] main                Adding msg type 'mv.REQ_RESET_QUESTS', msgNumber 98/0x62
DEBUG [2012-08-01 16:02:57,734] main                Adding msg type 'mv.MARS_INV_FIND', msgNumber 99/0x63
DEBUG [2012-08-01 16:02:57,734] main                Adding msg type 'mv.TRADE_START_REQ', msgNumber 100/0x64
DEBUG [2012-08-01 16:02:57,734] main                Adding msg type 'mv.TRADE_START', msgNumber 101/0x65
DEBUG [2012-08-01 16:02:57,734] main                Adding msg type 'mv.TRADE_COMPLETE', msgNumber 102/0x66
DEBUG [2012-08-01 16:02:57,734] main                Adding msg type 'mv.TRADE_OFFER_REQ', msgNumber 103/0x67
DEBUG [2012-08-01 16:02:57,734] main                Adding msg type 'mv.TRADE_OFFER_UPDATE', msgNumber 104/0x68
DEBUG [2012-08-01 16:02:57,734] main                Adding msg type 'mv.SWAP_ITEM', msgNumber 105/0x69
DEBUG [2012-08-01 16:02:57,734] main                Adding msg type 'mv.AUTO_ATTACK', msgNumber 106/0x6a
DEBUG [2012-08-01 16:02:57,734] main                Adding msg type 'mv.START_ABILITY', msgNumber 107/0x6b
DEBUG [2012-08-01 16:02:57,734] main                Adding msg type 'mv.COOLDOWN', msgNumber 108/0x6c
DEBUG [2012-08-01 16:02:57,734] main                Adding msg type 'mv.ABILITY_PROGRESS', msgNumber 109/0x6d
DEBUG [2012-08-01 16:02:57,734] main                Adding msg type 'mv.DAMAGE', msgNumber 110/0x6e
DEBUG [2012-08-01 16:02:57,734] main                Adding msg type 'mv.RELEASE_OBJECT', msgNumber 111/0x6f
DEBUG [2012-08-01 16:02:57,734] main                Adding msg type 'mv.ABILITY_UPDATE', msgNumber 112/0x70
DEBUG [2012-08-01 16:02:57,734] main                Adding msg type 'mv.ADD_SKILL', msgNumber 113/0x71
DEBUG [2012-08-01 16:02:57,734] main                Adding msg type 'mv.TRAINING_FAILED', msgNumber 114/0x72
DEBUG [2012-08-01 16:02:57,734] main                Adding msg type 'mv.COMBAT_ABILITY_MISSED', msgNumber 115/0x73
DEBUG [2012-08-01 16:02:57,734] main                Adding msg type 'mv.SKILL_UPDATE', msgNumber 116/0x74
DEBUG [2012-08-01 16:02:57,734] main                Adding msg type 'mv.INVOKE_EFFECT', msgNumber 117/0x75
DEBUG [2012-08-01 16:02:57,734] main                Adding msg type 'mv.REGISTER_INSTANCE_TEMPLATE', msgNumber 118/0x76
DEBUG [2012-08-01 16:02:57,734] main                Adding msg type 'mv.CREATE_INSTANCE', msgNumber 119/0x77
DEBUG [2012-08-01 16:02:57,734] main                Adding msg type 'mv.GET_INSTANCE_INFO', msgNumber 120/0x78
DEBUG [2012-08-01 16:02:57,734] main                Adding msg type 'mv.INSTANCE_ENTRY_REQ', msgNumber 121/0x79
DEBUG [2012-08-01 16:02:57,734] main                Adding msg type 'mv.GET_MARKER', msgNumber 122/0x7a
DEBUG [2012-08-01 16:02:57,734] main                Adding msg type 'mv.GET_REGION', msgNumber 123/0x7b
DEBUG [2012-08-01 16:02:57,734] main                Adding msg type 'mv.LOAD_INSTANCE', msgNumber 124/0x7c
DEBUG [2012-08-01 16:02:57,734] main                Adding msg type 'mv.UNLOAD_INSTANCE', msgNumber 125/0x7d
DEBUG [2012-08-01 16:02:57,734] main                Adding msg type 'mv.DELETE_INSTANCE', msgNumber 126/0x7e
DEBUG [2012-08-01 16:02:57,734] main                Adding msg type 'mv.LOAD_INSTANCE_CONTENT', msgNumber 127/0x7f
DEBUG [2012-08-01 16:02:57,734] main                Adding msg type 'mv.INSTANCE_UNLOADED', msgNumber 128/0x80
DEBUG [2012-08-01 16:02:57,734] main                Adding msg type 'mv.INSTANCE_DELETED', msgNumber 129/0x81
DEBUG [2012-08-01 16:02:57,734] main                Adding msg type 'mv.CREATE_SPAWN_GEN', msgNumber 130/0x82
DEBUG [2012-08-01 16:02:57,765] main                Adding msg type 'mv.VOICE_PARMS', msgNumber 131/0x83
DEBUG [2012-08-01 16:02:57,765] main                Adding msg type 'mv.PLAYER_PATH_REQ', msgNumber 132/0x84
DEBUG [2012-08-01 16:02:57,765] main                Adding msg type 'mv.UPDATE_PLAYER_IGNORE_LIST', msgNumber 133/0x85
DEBUG [2012-08-01 16:02:57,765] main                Adding msg type 'mv.RELAY_UPDATE_PLAYER_IGNORE_LIST', msgNumber 134/0x86
DEBUG [2012-08-01 16:02:57,765] main                Adding msg type 'mv.GET_MATCHING_PLAYERS', msgNumber 135/0x87
DEBUG [2012-08-01 16:02:57,765] main                Adding msg type 'mv.PLAYER_IGNORE_LIST', msgNumber 136/0x88
DEBUG [2012-08-01 16:02:57,765] main                Adding msg type 'mv.PLAYER_IGNORE_LIST_REQ', msgNumber 137/0x89
DEBUG [2012-08-01 16:02:57,765] main                Adding msg type 'mv.GET_PLAYER_LOGIN_STATUS', msgNumber 138/0x8a
DEBUG [2012-08-01 16:02:57,765] main                Adding msg type 'mv.SEARCH', msgNumber 139/0x8b
DEBUG [2012-08-01 16:02:57,765] main                Adding msg type 'mv.REQ_TRAINER_INFO', msgNumber 140/0x8c
DEBUG [2012-08-01 16:02:57,765] main                Adding msg type 'mv.REQ_SKILL_TRAINING', msgNumber 141/0x8d
DEBUG [2012-08-01 16:02:57,765] main                Adding msg type 'mv.TRAINING_INFO', msgNumber 142/0x8e
DEBUG [2012-08-01 16:02:57,781] main                Adding msg type 'mv.STAT_XP_UPDATE', msgNumber 143/0x8f
DEBUG [2012-08-01 16:02:57,781] main                Adding msg type 'mv.HANDLE_EXP', msgNumber 144/0x90
DEBUG [2012-08-01 16:02:57,781] main                Adding msg type 'mv.GROUP_INVITE', msgNumber 145/0x91
DEBUG [2012-08-01 16:02:57,781] main                Adding msg type 'mv.GROUP_INVITE_RESPONSE', msgNumber 146/0x92
DEBUG [2012-08-01 16:02:57,781] main                Adding msg type 'mv.GROUP_REMOVE_MEMBER', msgNumber 147/0x93
DEBUG [2012-08-01 16:02:57,781] main                Adding msg type 'mv.GROUP_CHAT', msgNumber 148/0x94
DEBUG [2012-08-01 16:02:57,781] main                Adding msg type 'mv.REQUEST_GROUP_INFO', msgNumber 149/0x95
DEBUG [2012-08-01 16:02:57,781] main                Adding msg type 'mv.GROUP_INFO_RESPONSE', msgNumber 150/0x96
DEBUG [2012-08-01 16:02:57,781] main                Adding msg type 'mv.GROUP_SET_ALLOWED_SPEAKER', msgNumber 151/0x97
DEBUG [2012-08-01 16:02:57,781] main                Adding msg type 'mv.GROUP_MUTE_VOICE_CHAT', msgNumber 152/0x98
DEBUG [2012-08-01 16:02:57,781] main                Adding msg type 'mv.GROUP_VOICE_CHAT_STATUS', msgNumber 153/0x99
DEBUG [2012-08-01 16:02:57,781] main                Adding msg type 'mv.VOICECLIENT', msgNumber 154/0x9a
DEBUG [2012-08-01 16:02:57,781] main                Adding msg type 'mv.VOICE_MEMBER_ADDED', msgNumber 155/0x9b
DEBUG [2012-08-01 16:02:57,781] main                Adding msg type 'mv.VOICE_MEMBER_REMOVED', msgNumber 156/0x9c
DEBUG [2012-08-01 16:02:57,781] main                Adding msg type 'mv.GET_PLUGIN_STATUS', msgNumber 157/0x9d
DEBUG [2012-08-01 16:02:57,781] main                Engine, script completed
DEBUG [2012-08-01 16:02:57,781] main                Engine, Engine: reading in script: ..\config\sampleworld\worldmessages.py
DEBUG [2012-08-01 16:02:57,781] main                Engine, Executing init script file: ..\config\sampleworld\worldmessages.py
DEBUG [2012-08-01 16:02:57,781] main                runPYFile: file=..\config\sampleworld\worldmessages.py
DEBUG [2012-08-01 16:02:57,796] main                Engine, script completed
DEBUG [2012-08-01 16:02:57,796] main                Initializing Database with driver com.mysql.jdbc.Driver
DEBUG [2012-08-01 16:02:57,796] main                classpath = ..\dist\lib\injected.jar;..\dist\lib\multiverse.jar;..\dist\lib\mars.jar;..\dist\lib\sampleworld.jar;..\other\rhino1_5R5\js.jar;..\other\java-getopt-1.0.11.jar;..\other\jython.jar;c:\mysql-connector-java-3.1.14\mysql-connector-java-3.1.14-bin.jar;..\other\log4j-1.2.14.jar;..\other\bcel-5.2.jar
DEBUG [2012-08-01 16:02:57,812] main                com.mysql.jdbc.Driver driver loaded
DEBUG [2012-08-01 16:02:57,812] main                Database: starting keepalive
DEBUG [2012-08-01 16:02:57,812] main                Engine, connecting to localhostuser = root passwd=test
DEBUG [2012-08-01 16:02:57,812] main                *** url = jdbc:mysql://localhost/multiverse username = root password = test
INFO  [2012-08-01 16:03:00,359] main                connected to database
DEBUG [2012-08-01 16:03:00,359] main                Reading namespaces from the database
DEBUG [2012-08-01 16:03:00,359] main                Read 14 namespaces from the database
INFO  [2012-08-01 16:03:00,359] main                encached the mapping of namespace strings to ints
DEBUG [2012-08-01 16:03:00,375] main                Adding msg type 'msgsys.AGENT_HELLO', msgNumber 5000/0x1388
DEBUG [2012-08-01 16:03:00,375] main                Adding msg type 'msgsys.HELLO_RESPONSE', msgNumber 5001/0x1389
DEBUG [2012-08-01 16:03:00,375] main                Adding msg type 'msgsys.ALLOC_NAME', msgNumber 5002/0x138a
DEBUG [2012-08-01 16:03:00,375] main                Adding msg type 'msgsys.NEW_AGENT', msgNumber 5003/0x138b
DEBUG [2012-08-01 16:03:00,375] main                Adding msg type 'msgsys.AGENT_STATE', msgNumber 5004/0x138c
DEBUG [2012-08-01 16:03:00,375] main                Adding msg type 'msgsys.ADVERTISE', msgNumber 5005/0x138d
DEBUG [2012-08-01 16:03:00,375] main                Adding msg type 'msgsys.SUBSCRIBE', msgNumber 5006/0x138e
DEBUG [2012-08-01 16:03:00,375] main                Adding msg type 'msgsys.UNSUBSCRIBE', msgNumber 5007/0x138f
DEBUG [2012-08-01 16:03:00,375] main                Adding msg type 'msgsys.FILTER_UPDATE', msgNumber 5008/0x1390
DEBUG [2012-08-01 16:03:00,375] main                Adding msg type 'msgsys.AWAIT_PLUGIN_DEPENDENTS', msgNumber 5009/0x1391
DEBUG [2012-08-01 16:03:00,375] main                Adding msg type 'msgsys.PLUGIN_AVAILABLE', msgNumber 5010/0x1392
DEBUG [2012-08-01 16:03:00,375] main                Adding msg type 'msgsys.RESPONSE', msgNumber 5011/0x1393
DEBUG [2012-08-01 16:03:00,375] main                Adding msg type 'msgsys.BOOLEAN_RESPONSE', msgNumber 5012/0x1394
DEBUG [2012-08-01 16:03:00,375] main                Adding msg type 'msgsys.LONG_RESPONSE', msgNumber 5013/0x1395
DEBUG [2012-08-01 16:03:00,375] main                Adding msg type 'msgsys.INT_RESPONSE', msgNumber 5014/0x1396
DEBUG [2012-08-01 16:03:00,375] main                Adding msg type 'msgsys.STRING_RESPONSE', msgNumber 5015/0x1397
DEBUG [2012-08-01 16:03:00,375] main                Adding msg type 'msgsys.ALLOC_NAME_RESPONSE', msgNumber 5016/0x1398
DEBUG [2012-08-01 16:03:00,484] main                Sending msgsys.ADVERTISE id=1 to instance
DEBUG [2012-08-01 16:03:00,593] SelfMessage          SelfMessageHandler.handle pos=74
DEBUG [2012-08-01 16:03:00,593] SelfMessage          handleSelfMessage id=1 type=msgsys.ADVERTISE class=multiverse.msgsys.AdvertiseMessage
DEBUG [2012-08-01 16:03:00,593] SelfMessage          [instance,1] handleAdvertise: Adding 12 and removing 0
DEBUG [2012-08-01 16:03:00,593] SelfMessage          sendResponse to instance,1 type=msgsys.RESPONSE id=2 class=multiverse.msgsys.ResponseMessage
DEBUG [2012-08-01 16:03:00,593] SelfMessage          SelfMessageHandler.handle pos=28
DEBUG [2012-08-01 16:03:00,593] SelfMessage          handleSelfMessage id=2 responseTo=1 type=msgsys.RESPONSE class=multiverse.msgsys.ResponseMessage
DEBUG [2012-08-01 16:03:01,031] main                TcpServer, bound to port: 3394
DEBUG [2012-08-01 16:03:01,031] main                MessageAgent: connected to domain server java.nio.channels.SocketChannel[connected local=/127.0.0.1:3395 remote=localhost/127.0.0.1:20374]
INFO  [2012-08-01 16:03:01,390] main                My agent-id: 3
ERROR [2012-08-01 16:03:01,390] main                Engine.main: domain server localhost:20374 failed java.lang.NullPointerException
      at multiverse.server.util.Base64.decode(Base64.java:979)
      at multiverse.server.util.Base64.decode(Base64.java:961)
      at multiverse.msgsys.MessageAgent.connectToDomain(MessageAgent.java:415)
      at multiverse.server.engine.Engine.main(Engine.java:359)
Back to top Go down
Guest
Guest



PostSubject: Connects   Thu 2 Aug - 7:35

Connects.

Good Job Shane! cheers


Very Happy
Back to top Go down
CobaltBlues
Moderator
Moderator
avatar

Posts : 202
Join date : 2011-11-21
Location : Chicago Land

PostSubject: Re: Server STARTUP FAILED >>> SOLVED   Thu 2 Aug - 7:36

Are you still having a problem with the domain server ?
Back to top Go down
http://www.multiversemmo.com
CobaltBlues
Moderator
Moderator
avatar

Posts : 202
Join date : 2011-11-21
Location : Chicago Land

PostSubject: Re: Server STARTUP FAILED >>> SOLVED   Thu 2 Aug - 7:39

btw.. just to clean things up you may want to DELETE the NULL records from the plugin_status table.
Back to top Go down
http://www.multiversemmo.com
CobaltBlues
Moderator
Moderator
avatar

Posts : 202
Join date : 2011-11-21
Location : Chicago Land

PostSubject: Re: Server STARTUP FAILED >>> SOLVED   Thu 2 Aug - 7:43

I will be publishing a corrected server download file to source forge soon to address the .bat file problem.
Back to top Go down
http://www.multiversemmo.com
Guest
Guest



PostSubject: Everything seems normal   Thu 2 Aug - 7:45

No problems yet. That was before the path change in multiverse.properties.


Cheers
Back to top Go down
Guest
Guest



PostSubject: Addendum   Fri 3 Aug - 5:08

Today I was able to start and connect under native XP using the fix for start-multiverse.bat
without the path in multiverse.properties

###multiverse.mvwfile=c:\\multiverse\\config\\sampleworld\\sampleworld.mvw


So for me stock multiverse.properties and startup_instance.py
now work with Shane's fix for start-multiverse.bat



Back to top Go down
Eek
Newbie
Newbie
avatar

Posts : 5
Join date : 2012-12-03
Location : Illinois

PostSubject: Re: Server STARTUP FAILED >>> SOLVED   Wed 9 Jan - 21:45

Finally some free time to try this some more and I'm now to the same errors as this thread. Tried the fixes listed above and even some of the much earlier fixes just to be sure, but same error(using cygwin on win7 with the MultiverseComplete zip). Still getting this:

Code:

$ ./multiverse.sh -w sampleworld -v start
cygwin warning:
  MS-DOS style path detected: C:\multiverse/bin/multiverse.properties
  Preferred POSIX equivalent is: /cygdrive/c/multiverse/bin/multiverse.properties
  CYGWIN environment variable option "nodosfilewarning" turns off this warning.
  Consult the user's guide for more details about POSIX paths:
    http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
awk: C:\multiverse/bin/prop2sh.awk:3: warning: regexp component `[:space:]' should probably be `[[:space:]]'
awk: C:\multiverse/bin/prop2sh.awk:3: warning: regexp component `[:space:]' should probably be `[[:space:]]'
*** Starting world sampleworld ***
MV_HOME is C:\multiverse
Using .jar files from the /dist hierarchy
Using property file C:\multiverse/bin/multiverse.properties
Using world file
Using world script directory C:\multiverse/config/sampleworld
Using log directory C:\multiverse/logs/sampleworld
Using common directory C:\multiverse/config/common, bin directory C:\multiverse/bin
JAVA_FLAGS="-server  -cp C:\multiverse/other/rhino1_5R5/js.jar;c:\mysql-connector-java-3.1.14\mysql-connector-java-3.1.14-bin.jar;C:\multiverse/dist/lib/injected.jar;C:\multiverse/dist/lib/multiverse.jar;C:\multiverse/dist/lib/mars.jar;C:\multiverse/dist/lib/sampleworld.jar;C:\multiverse/other/java-getopt-1.0.11.jar;C:\multiverse/other/jython.jar;C:\multiverse/other/log4j-1.2.14.jar;C:\multiverse/other/bcel-5.2.jar;. -Dmultiverse.propertyfile=C:\multiverse/bin/multiverse.properties  -Dmultiverse.worldname=sampleworld -Dmultiverse.logs=C:\multiverse/logs/sampleworld"
Starting domain server:        SUCCESS
Multiverse server version 1.5 0 (- -)
 ...    wmgr_1 SUCCESS
Starting combat server:        SUCCESS
Starting instance server:      SUCCESS
Starting object manager:        log4j:ERROR setFile(null,true) call failed.
.out (The filename, directory name, or volume label syntax is incorrect)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(Unknown Source)
        at java.io.FileOutputStream.<init>(Unknown Source)
        at org.apache.log4j.FileAppender.setFile(FileAppender.java:289)
        at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:167)
        at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:163)
        at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:256)
        at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:132)
        at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:96)
        at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:654)
        at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:612)
        at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:509)
        at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:415)
        at org.apache.log4j.PropertyConfigurator.configure(PropertyConfigurator.java:349)
        at multiverse.server.util.Log.init(Log.java:18)
        at multiverse.server.util.InitLogAndPid.initLogAndPid(InitLogAndPid.java:55)
        at multiverse.server.engine.Engine.main(Engine.java:308)
Exception in thread "main" java.lang.NullPointerException
        at java.io.File.<init>(Unknown Source)
        at org.apache.log4j.RollingFileAppender.rollOver(RollingFileAppender.java:148)
        at multiverse.server.util.Log.rotateLogs(Log.java:212)
        at multiverse.server.util.Log.init(Log.java:27)
        at multiverse.server.util.InitLogAndPid.initLogAndPid(InitLogAndPid.java:55)
        at multiverse.server.engine.Engine.main(Engine.java:308)
SUCCESS
Starting login manager:        SUCCESS
 ...    proxy_1SUCCESS
Starting mob server:            SUCCESS
Starting voice server:          log4j:ERROR setFile(null,true) call failed.
.out (The filename, directory name, or volume label syntax is incorrect)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(Unknown Source)
        at java.io.FileOutputStream.<init>(Unknown Source)
        at org.apache.log4j.FileAppender.setFile(FileAppender.java:289)
        at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:167)
        at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:163)
        at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:256)
        at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:132)
        at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:96)
        at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:654)
        at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:612)
        at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:509)
        at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:415)
        at org.apache.log4j.PropertyConfigurator.configure(PropertyConfigurator.java:349)
        at multiverse.server.util.Log.init(Log.java:18)
        at multiverse.server.util.InitLogAndPid.initLogAndPid(InitLogAndPid.java:55)
        at multiverse.server.engine.Engine.main(Engine.java:308)
Exception in thread "main" java.lang.NullPointerException
        at java.io.File.<init>(Unknown Source)
        at org.apache.log4j.RollingFileAppender.rollOver(RollingFileAppender.java:148)
        at multiverse.server.util.Log.rotateLogs(Log.java:212)
        at multiverse.server.util.Log.init(Log.java:27)
        at multiverse.server.util.InitLogAndPid.initLogAndPid(InitLogAndPid.java:55)
        at multiverse.server.engine.Engine.main(Engine.java:308)
SUCCESS
Wait for finished initializing msg...

Or if you want the short version:

log4j:ERROR setFile(null,true) call failed.
.out (The filename, directory name, or volume label syntax is incorrect)

These errors are the same for both object manager and voice server, the rest of the servers say success. I promptly sent them a message back saying success is relative.
Back to top Go down
Delurin
Head of Platform Development


Posts : 424
Join date : 2011-08-03

PostSubject: Re: Server STARTUP FAILED >>> SOLVED   Thu 10 Jan - 5:09

the warning is pretty easy to fix open prop2sh.awk and change [:space:] to [[:space:]]
the setFile error you can fix by setting the names of wmgr and proxy loggers to a static name instead of a dynamic name...something wrong with dynamically setting it, not sure what exactly
Back to top Go down
AstralPlayer
Newbie
Newbie
avatar

Posts : 1
Join date : 2013-01-10
Location : jakarta indonesia

PostSubject: Re: Server STARTUP FAILED >>> SOLVED   Mon 14 Jan - 23:35

Thank you for this post because it really helped me with the problems I had. I am new here and new to the multiverse, and now I can log in Very Happy
Back to top Go down
tichfuie
Super Contributor
Super Contributor
avatar

Posts : 257
Join date : 2013-02-07
Location : NA

PostSubject: Re: Server STARTUP FAILED >>> SOLVED   Thu 7 Feb - 3:05

Opened my owned thread, srry.
Back to top Go down
Guest
Guest



PostSubject: Hopefully...   Sat 9 Feb - 15:49

Hopefully you got it working?

AFAIK Multiverse Complete works well.

Developing with Multiverse does involve a lot of Python and log file scripting/reading.

Wiki is awesome though.

Have fun with Multiverse Very Happy


Cheers
Back to top Go down
tichfuie
Super Contributor
Super Contributor
avatar

Posts : 257
Join date : 2013-02-07
Location : NA

PostSubject: Re: Server STARTUP FAILED >>> SOLVED   Sun 10 Feb - 2:32

No, no luck yet,

i coul not make it run on windows 7 .

but tried it on linux and got it to work, altho some issues but hoping to fix them.

dont know why it wont work on my win7 setup.

weird.
Back to top Go down
Sponsored content




PostSubject: Re: Server STARTUP FAILED >>> SOLVED   

Back to top Go down
 
Server STARTUP FAILED >>> SOLVED
View previous topic View next topic Back to top 
Page 2 of 2Go to page : Previous  1, 2
 Similar topics
-
» [Solved] Logging in to invalid game server! Please help!
» Fallout 3 Crash on startup ( Vanilla ) SOLVED
» .^f2F-.Swemmei Recruting in server 1
» Lag playing in Taiwan server from Shanghai
» Proxy Server Taiwan: How To.

Permissions in this forum:You cannot reply to topics in this forum
 :: Development :: Getting Started-
Jump to: