comparison orpg/networking/mplay_server_gui.py @ 186:477b646a39f4 beta

Traipse Beta 'OpenRPG' {100123-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) New Features: Added Bookmarks 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 New TrueDebug Class in orpg_log (See documentation for usage) Portable Mercurial Tip of the Day added, from Core and community New Reference Syntax added for custom PC sheets New Child Reference for gametree New Parent Reference for gametree New Gametree Recursion method, mapping, context sensitivity, and effeciency.. New Features node with bonus nodes and Node Referencing help added Dieroller structure from Core New DieRoller portability for odd Dice Added 7th Sea die roller; ie [7k3] = [7d10.takeHighest(3).open(10)] New 'Mythos' System die roller added Added new vs. die roller method for WoD; ie [3v3] = [3d10.vs(3)]. Included for Mythos roller also New Warhammer FRPG Die Roller (Special thanks to Puu-san for the support) New EZ_Tree Reference system. Push a button, Traipse the tree, get a reference (Beta!) Fixes: Fix to Text based Server Fix to Remote Admin Commands Fix to Pretty Print, from Core Fix to Splitter Nodes not being created Fix to massive amounts of images loading, from Core Fix to Map from gametree not showing to all clients Fix to gametree about menus Fix to Password Manager check on startup Fix to PC Sheets from tool nodes. They now use the tabber_panel Fix to Whiteboard ID to prevent random line or text deleting. Fixes to Server, Remote Server, and Server GUI Fix to Update Manager; cleaner clode for saved repositories Fixes made to Settings Panel and now reactive settings when Ok is pressed Fixes to Alternity roller's attack roll. Uses a simple Tuple instead of a Splice Fix to Use panel of Forms and Tabbers. Now longer enters design mode Fix made Image Fetching. New fetching image and new failed image Modified ID's to prevent non updated clients from ruining the fix. default_manifest.xml renamed to default_upmana.xml
author sirebral
date Sat, 23 Jan 2010 01:46:26 -0600
parents dcae32e219f1
children 13054be69834
comparison
equal deleted inserted replaced
185:dd9eeaa22d14 186:477b646a39f4
554 554
555 ### Misc. ################################################ 555 ### Misc. ################################################
556 def OnStart(self, event = None): 556 def OnStart(self, event = None):
557 """ Start server. """ 557 """ Start server. """
558 if self.STATUS == SERVER_STOPPED: 558 if self.STATUS == SERVER_STOPPED:
559 # see if we already have name specified 559 ## Set name and admin password as empty
560 self.serverName = ''
561 self.bootPwd = ''
562 # see if we already have serverName and bootPwd specified
560 try: 563 try:
561 validate.config_file( "server_ini.xml", "default_server_ini.xml" ) 564 validate.config_file( "server_ini.xml", "default_server_ini.xml" )
562 configDoc = parse(dir_struct["user"] + 'server_ini.xml').getroot() 565 configDoc = parse(dir_struct["user"] + 'server_ini.xml').getroot()
563 if configDoc.get("name"): self.serverName = configDoc.get("name") 566 self.serverName = configDoc.get("name")
567 if configDoc.get("admin"): self.bootPwd = configDoc.get("admin")
568 elif configDoc.get("boot"): self.bootPwd = configDoc.get("boot")
564 except: pass 569 except: pass
565 if self.serverName == '': 570 if self.serverName == '':
566 self.serverName = 'Server Name' 571 self.serverName = 'Server Name'
567 serverNameEntry = wx.TextEntryDialog(self, "Please Enter The Server Name You Wish To Use:", 572 serverNameEntry = wx.TextEntryDialog(self, "Please Enter The Server Name You Wish To Use:",
568 "Server's Name", self.serverName, wx.OK|wx.CANCEL|wx.CENTRE ) 573 "Server's Name", self.serverName, wx.OK|wx.CANCEL|wx.CENTRE )
569 if serverNameEntry.ShowModal() == wx.ID_OK: self.serverName = serverNameEntry.GetValue() 574 if serverNameEntry.ShowModal() == wx.ID_OK: self.serverName = serverNameEntry.GetValue()
570 # see if we already have password specified
571 try:
572 validate.config_file( "server_ini.xml", "default_server_ini.xml" )
573 configDoc = parse(dir_struct["user"] + 'server_ini.xml').getroot()
574 if configDoc.get("admin"): self.bootPwd = configDoc.get("admin")
575 elif configDoc.get("boot"): self.bootPwd = configDoc.get("boot")
576 except: pass
577 if self.bootPwd == '': 575 if self.bootPwd == '':
578 serverPasswordEntry = wx.TextEntryDialog(self, 576 serverPasswordEntry = wx.TextEntryDialog(self,
579 "Please Enter The Server Admin Password:", "Server's Password", 577 "Please Enter The Server Admin Password:", "Server's Password",
580 self.bootPwd, wx.OK|wx.CANCEL|wx.CENTRE) 578 self.bootPwd, wx.OK|wx.CANCEL|wx.CENTRE)
581 if serverPasswordEntry.ShowModal() == wx.ID_OK: self.bootPwd = serverPasswordEntry.GetValue() 579 if serverPasswordEntry.ShowModal() == wx.ID_OK: self.bootPwd = serverPasswordEntry.GetValue()