comparison orpg/networking/mplay_server.py @ 248:1df5912db00c beta tip

Traipse Beta 'OpenRPG' {101205-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 (Closed) New Features: New to Map, can re-order Grid, Miniatures, and Whiteboard layer draw order New to Server GUI, can now clear log New Earthdawn Dieroller New IronClaw roller, sheet, and image New ShapeShifter PC Sheet Updates: Update to Warhammer PC Sheet. Rollers set as macros. Should work with little maintanence. Update to Browser Server window. Display rooms with ' " & cleaner Update to Server. Handles ' " & cleaner Update to Dieroller. Cleaner, more effecient expression system Update to Hidden Die plugin, allows for non standard dice rolls Update to location.py, allows for more portable references when starting Traipse Update to the Features node Fixes: Fix to InterParse that was causing an Infernal Loop with Namespace Internal Fix to XML data, removed old Minidom and switched to Element Tree Fix to Server that was causing eternal attempt to find a Server ID, in Register Rooms thread Fix to Server, removing wxPython dependencies where not needed Fix to metaservers.xml file not being created Fix to Single and Double quotes in Whiteboard text Fix to Background images not showing when using the Image Server Fix to Duplicate chat names appearing Fix to Server GUI's logging output Fix to FNB.COLORFUL_TABS bug Fix to Gametree for XSLT Sheets Fix to Gametree for locating gametree files Fix to Send to Chat from Gametree Fix to Gametree, renaming and remapping operates correctly Fix to aliaslib, prevents error caused when SafeHTML is sent None
author sirebral
date Sun, 05 Dec 2010 10:53:30 -0600
parents 9230a33defd9
children
comparison
equal deleted inserted replaced
247:64728b1dfa57 248:1df5912db00c
59 from meta_server_lib import * 59 from meta_server_lib import *
60 60
61 from xml.etree.ElementTree import ElementTree, Element, iselement 61 from xml.etree.ElementTree import ElementTree, Element, iselement
62 from xml.etree.ElementTree import fromstring, tostring, parse, XML 62 from xml.etree.ElementTree import fromstring, tostring, parse, XML
63 63
64 from orpg.tools.orpg_log import logger, crash, debug 64 from orpg.tools.orpg_log import logger#, crash, debug
65 from orpg.tools.decorators import debugging 65 from orpg.tools.decorators import debugging
66 66
67 # Snag the version number 67 # Snag the version number
68 from orpg.orpg_version import VERSION, DISTRO, DIS_VER, BUILD, PROTOCOL_VERSION, CLIENT_STRING, SERVER_MIN_CLIENT_VERSION 68 from orpg.orpg_version import VERSION, DISTRO, DIS_VER, BUILD, PROTOCOL_VERSION, CLIENT_STRING, SERVER_MIN_CLIENT_VERSION
69 69
361 if hasattr(self, 'bootPassword'): self.boot_pwd = self.bootPassword 361 if hasattr(self, 'bootPassword'): self.boot_pwd = self.bootPassword
362 else: 362 else:
363 if self.configDoc.get("admin"): self.boot_pwd = self.configDoc.get("admin") 363 if self.configDoc.get("admin"): self.boot_pwd = self.configDoc.get("admin")
364 elif self.configDoc.get("boot"): self.boot_pwd = self.configDoc.get("boot") 364 elif self.configDoc.get("boot"): self.boot_pwd = self.configDoc.get("boot")
365 if len(self.boot_pwd) < 1: self.boot_pwd = raw_input("Enter admin password: ") 365 if len(self.boot_pwd) < 1: self.boot_pwd = raw_input("Enter admin password: ")
366 if not hasattr(self, 'reg') and self.configDoc.get("register"): 366 if not hasattr(self, 'reg'):
367 self.reg = self.configDoc.get("register") 367 self.reg = self.configDoc.get("register")
368 if not len(self.reg) > 0 or self.reg[0].upper() not in ("Y", "N"): 368 if (not len(self.reg) > 0) or (self.reg[0].upper() not in ("Y", "N")) or (self.reg == None):
369 opt = raw_input("Do you want to post your server to the OpenRPG Meta Server list? (y,n) ") 369 opt = raw_input("Do you want to post your server to the OpenRPG Meta Server list? (y,n) ")
370 if len(opt) and (opt[0].upper() == 'Y'): self.reg = 'Y' 370 if len(opt) and (opt[0].upper() == 'Y'): self.reg = 'Y'
371 else: self.reg = 'N' 371 else: self.reg = 'N'
372 LobbyName = 'Lobby' 372 LobbyName = 'Lobby'
373 373