Mercurial > traipse_dev
comparison 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 |
comparison
equal
deleted
inserted
replaced
229:1645a78a33a4 | 230:2e2281ed40a9 |
---|---|
271 self.interval = 0 # interval returned from Meta. Is how often to | 271 self.interval = 0 # interval returned from Meta. Is how often to |
272 # re-register, in minutes. | 272 # re-register, in minutes. |
273 self.destroy = 0 # Used to flag that this thread should die | 273 self.destroy = 0 # Used to flag that this thread should die |
274 self.port = str(port) | 274 self.port = str(port) |
275 self.register_callback = register_callback # set a method to call to report result of register | 275 self.register_callback = register_callback # set a method to call to report result of register |
276 self.IdAttempts = 0 | |
276 """ | 277 """ |
277 This thread will communicate with one and only one | 278 This thread will communicate with one and only one |
278 Meta. If the Meta in ini.xml is changed after | 279 Meta. If the Meta in ini.xml is changed after |
279 instantiation, then this instance must be | 280 instantiation, then this instance must be |
280 unregistered and a new instance instantiated. | 281 unregistered and a new instance instantiated. |
445 return 0 # indicates that it was okay to call, not that no errors occurred | 446 return 0 # indicates that it was okay to call, not that no errors occurred |
446 | 447 |
447 # If there is a DOM returned .... | 448 # If there is a DOM returned .... |
448 if etreeEl != None: | 449 if etreeEl != None: |
449 # If there's an error, echo it to the console | 450 # If there's an error, echo it to the console |
450 print tostring(etreeEl) | 451 print tostring(etreeEl), path.get('url') |
451 if etreeEl.get("errmsg") != None: | 452 if etreeEl.get("errmsg") != None: |
452 print "Error durring registration: " + etreeEl.get("errmsg") | 453 print "Error durring registration: " + etreeEl.get("errmsg") |
453 if META_DEBUG: print data | 454 if META_DEBUG: print data |
454 if META_DEBUG: print | 455 if META_DEBUG: print |
455 """ | 456 """ |