Mercurial > traipse
diff orpg/tools/InterParse.py @ 30:8e77f169f324 ornery-orc
Traipse 'OpenRPG' {100219-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 (Patch-1)
New Features:
New custom welcome message for servers.
Fixes:
Fix to InterParse which caused Unknowns to break
Fix to a URL reference in mplay_server
Fix to metaserver.cache Template and outdated Meta URLs
author | sirebral |
---|---|
date | Fri, 19 Feb 2010 19:10:25 -0600 |
parents | ff154cf3350c |
children | fc48380f0c9f |
line wrap: on
line diff
--- a/orpg/tools/InterParse.py Wed Feb 03 22:19:40 2010 -0600 +++ b/orpg/tools/InterParse.py Fri Feb 19 19:10:25 2010 -0600 @@ -77,7 +77,7 @@ lb = "Replace '?' with: " if len(matches[i][0]): lb = matches[i][1] + "?: " - dlg = TextEntryDialog(self, lb, "Missing Value?") + dlg = TextEntryDialog(component.get('chat'), lb, "Missing Value?") dlg.SetValue('') if matches[i][0] != '': dlg.SetTitle("Enter Value for " + matches[i][1]) @@ -208,6 +208,8 @@ grid = node.find('grid') rows = grid.findall('row') col = rows[int(self.Dice(cell[0]))-1].findall('cell') + try: s = self.NodeParent(col[int(self.Dice(cell[1]))-1].text, node.get('map')) or 'No Cell Data' + except: s = 'Invalid Grid Reference!' try: s = self.NodeMap(col[int(self.Dice(cell[1]))-1].text, node) or 'No Cell Data' except: s = 'Invalid Grid Reference!' return s