Mercurial > traipse_dev
comparison orpg/networking/mplay_server.py @ 201:1cf8ab465672 alpha
Traipse Alpha 'OpenRPG' {100427-02}
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 (Patch-2)
New Features:
New Namespace method with two new syntaxes
New Namespace Internal is context sensitive, always!
New Namespace External is 'as narrow as you make it'
New Namespace FutureCheck helps ensure you don't receive an incorrect node
New PluginDB access for URL2Link plugin
New to Forms, they now show their content in Design Mode
Fixes:
Fix to Server GUI startup errors
Fix to Server GUI Rooms tab updating
Fix to Chat and Settings if non existant die roller is picked
Fix to Dieroller and .open() used with .vs(). Successes are correctly calculated
Fix to Alias Lib's Export to Tree, Open, Save features
Fix to alias node, now works properly
Fix to Splitter node, minor GUI cleanup
Fix to Backgrounds not loading through remote loader
Fix to Node name errors
Fix to rolling dice in chat Whispers
Fix to Splitters Sizing issues
Fix to URL2Link plugin, modified regex compilation should remove memory leak
Fix to mapy.py, a roll back due to zoomed grid issues
Fix to whiteboard_handler, Circles work by you clicking the center of the circle
Fix to Servers parse_incoming_dom which was outdated and did not respect XML
Daily: I was having problems with Chat tabs. All fixed now.
author | sirebral |
---|---|
date | Tue, 27 Apr 2010 06:42:21 -0500 |
parents | b633f4c64aae |
children | f1a67667d78b |
comparison
equal
deleted
inserted
replaced
200:43a91298ac33 | 201:1cf8ab465672 |
---|---|
1394 self.log_msg(str(e)) | 1394 self.log_msg(str(e)) |
1395 self.log_msg("message handler thread exiting...") | 1395 self.log_msg("message handler thread exiting...") |
1396 self.incoming_event.set() | 1396 self.incoming_event.set() |
1397 | 1397 |
1398 def parse_incoming_dom(self, data): | 1398 def parse_incoming_dom(self, data): |
1399 end = data.find(">") #locate end of first element of message | 1399 end = data.find(">") |
1400 head = data[:end+1] | 1400 head = data[:end+1] |
1401 xml_dom = None | 1401 msg = data[end+1:] |
1402 try: | 1402 ### This if statement should help close invalid messages. ### |
1403 xml_dom = XML(head) | 1403 if head[end:] != '/': |
1404 if head[end:] != '>': head = head[:end] + '/>' | |
1405 try: | |
1406 try: xml_dom = fromstring(head) | |
1407 except: xml_dom = fromstring(head[:end] +'/>') | |
1404 self.message_action(xml_dom, data) | 1408 self.message_action(xml_dom, data) |
1405 | |
1406 except Exception, e: | 1409 except Exception, e: |
1407 print "Error in parse of inbound message. Ignoring message." | 1410 print "Error in parse of inbound message. Ignoring message." |
1408 print " Offending data(" + str(len(data)) + "bytes)=" + data | 1411 print " Offending data(" + str(len(data)) + "bytes)=" + data |
1409 print "Exception=" + str(e) | 1412 print "Exception=" + str(e) |
1410 | 1413 |