diff orpg/networking/meta_server_lib.py @ 230:2e2281ed40a9 alpha

Traipse Alpha 'OpenRPG' {100613-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 (Preparing to close updates) New Features: New to Map, can re-order Grid, Miniatures, and Whiteboard layer draw order 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
author sirebral
date Sun, 13 Jun 2010 19:06:02 -0500
parents 24769389a7ba
children cc7629ab526d
line wrap: on
line diff
--- a/orpg/networking/meta_server_lib.py	Sat Jun 12 04:46:16 2010 -0500
+++ b/orpg/networking/meta_server_lib.py	Sun Jun 13 19:06:02 2010 -0500
@@ -273,6 +273,7 @@
         self.destroy = 0                        #  Used to flag that this thread should die
         self.port = str(port)
         self.register_callback = register_callback  # set a method to call to report result of register
+        self.IdAttempts = 0
         """
           This thread will communicate with one and only one
           Meta.  If the Meta in ini.xml is changed after
@@ -447,7 +448,7 @@
             #  If there is a DOM returned ....
             if etreeEl != None:
                 #  If there's an error, echo it to the console
-                print tostring(etreeEl)
+                print tostring(etreeEl), path.get('url')
                 if etreeEl.get("errmsg") != None:
                     print "Error durring registration:  " + etreeEl.get("errmsg")
                     if META_DEBUG: print data