diff start_server.py @ 135:dcf4fbe09b70 beta

Traipse Beta 'OpenRPG' {091010-00} 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 (Beta) Added Bookmarks Fix to Remote Admin Commands Minor fix to text based Server Fix to Pretty Print, from Core Fix to Splitter Nodes not being created Fix to massive amounts of images loading, from Core Added 'boot' command to remote admin Added confirmation window for sent nodes Minor changes to allow for portability to an OpenSUSE linux OS Miniatures Layer pop up box allows users to turn off Mini labels, from FlexiRPG Zoom Mouse plugin added Images added to Plugin UI Switching to Element Tree Map efficiency, from FlexiRPG Added Status Bar to Update Manager default_manifest.xml renamed to default_upmana.xml Cleaner clode for saved repositories New TrueDebug Class in orpg_log (See documentation for usage) Mercurial's hgweb folder is ported to upmana **Pretty important update that can help remove thousands of dead children from your gametree. **Children, <forms />, <group_atts />, <horizontal />, <cols />, <rows />, <height />, etc... are all tags now. Check your gametree and look for dead children!! **New Gamtree Recusion method, mapping, and context sensitivity. !!Alpha - Watch out for infinite loops!!
author sirebral
date Tue, 10 Nov 2009 14:11:28 -0600
parents f24c6e431a15
children
line wrap: on
line diff
--- a/start_server.py	Fri Sep 25 20:47:16 2009 -0500
+++ b/start_server.py	Tue Nov 10 14:11:28 2009 -0600
@@ -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,26 +22,20 @@
     "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
 
-if __name__ == '__main__':
+print __name__
+if __name__ == '__main__' or __name__ == 'start_server':
     gc.set_debug(gc.DEBUG_UNCOLLECTABLE)
     gc.enable()
 
     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 +70,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