diff orpg/networking/meta_server_lib.py @ 231:cc7629ab526d alpha

Traipse Alpha 'OpenRPG' {100614-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 (Closing/Closed) New Features: New to Map, can re-order Grid, Miniatures, and Whiteboard layer draw order New to Server GUI, can now clear log 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 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.
author sirebral
date Mon, 14 Jun 2010 15:20:08 -0500
parents 2e2281ed40a9
children 53ae14747ba7
line wrap: on
line diff
--- a/orpg/networking/meta_server_lib.py	Sun Jun 13 19:06:02 2010 -0500
+++ b/orpg/networking/meta_server_lib.py	Mon Jun 14 15:20:08 2010 -0500
@@ -401,7 +401,7 @@
             if name: self.name = name
             if num_users != None: 
                 try: self.num_users = len(num_users)
-                except: self.num_users = num_users; print num_users
+                except: self.num_users = num_users
             else: self.num_users = 0
             if realHostName: self.realHostName = realHostName
             # build POST data
@@ -448,9 +448,8 @@
             #  If there is a DOM returned ....
             if etreeEl != None:
                 #  If there's an error, echo it to the console
-                print tostring(etreeEl), path.get('url')
                 if etreeEl.get("errmsg") != None:
-                    print "Error durring registration:  " + etreeEl.get("errmsg")
+                    print "Error durring registration at: " +path.get('url')+ " Error: " +etreeEl.get("errmsg")
                     if META_DEBUG: print data
                     if META_DEBUG: print
                 """