diff start_server.py @ 111:0c936d98f9eb alpha

Traipse Alpha 'OpenRPG' {091008-01} Traipse is a distribution of OpenRPG that is designed to be easy to setup and go. Traipse also makes it easy for developers to work on code without fear of sacrifice. 'Ornery-Orc' continues the trend of 'Grumpy' and adds fixes to the code. 'Ornery-Orc's main goal is to offer more advanced features and enhance the productivity of the user. Update Summary: {091006} 00: Adds Bookmarks (Alpha) with cool Smiley Star and Plus Symbol images! 03: Changes made to the map for increased portability. SnowDog has changes planned in Core, though. Added an initial push to the BCG. Not much to see, just shows off how it is re-writing Main code. {091007} 00: New images added to Plugin Control Panel for Auto Start. 01: Attempting to fix Deprecation warning from Main. 02: Second attempt, problem in gsclient with "s. 03: Fail. {091008} 00: Fix to remote admin commands 01: Minor fix to texted based server, works in /System/ folder Some Core changes to gametree to correctly disply Pretty Print, thanks David!
author sirebral
date Thu, 08 Oct 2009 09:10:55 -0500
parents f24c6e431a15
children 37d26a98883f
line wrap: on
line diff
--- a/start_server.py	Thu Oct 08 04:14:41 2009 -0500
+++ b/start_server.py	Thu Oct 08 09:10:55 2009 -0500
@@ -7,6 +7,7 @@
 import getopt
 import traceback
 
+
 # Simple usuage text for request via help or command line errors
 def usage( retValue ):
     print "\nUsage: \n[-d --directory directory] - Directory of where to load config files\n" + \
@@ -21,13 +22,6 @@
     "will be prompted for information.\n\n"
     sys.exit( retValue )
 
-HG = os.environ["HG"]
-
-import pyver
-pyver.checkPyVersion()
-
-os.system(HG + ' pull "http://hg.assembla.com/traipse"')
-os.system(HG + ' update')
 
 import orpg.networking.mplay_server
 import orpg.networking.meta_server_lib
@@ -39,8 +33,8 @@
     orpg_server = orpg.networking.mplay_server.mplay_server()
     lobby_boot_pwd = orpg_server.boot_pwd
     server_directory = orpg_server.userPath
-    server_reg = orpg_server.reg
-    server_name = orpg_server.name
+    server_reg = orpg_server.be_registered
+    server_name = orpg_server.serverName
     manualStart = False
 
     # See if we have command line arguments in need of processing
@@ -75,8 +69,8 @@
 
 
     # start server!
-    orpg_server.name = server_name
-    orpg_server.reg = server_reg
+    orpg_server.serverName = server_name
+    orpg_server.be_registered = server_reg
     orpg_server.boot_pwd = lobby_boot_pwd
     orpg_server.userPath = server_directory
     orpg_server.remoteadmin = 1