diff orpg/chat/chatwnd.py @ 130:d54e1328dbb1 alpha

Traipse Alpha 'OpenRPG' {091003-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 (Cleaning up for Beta) Added Bookmarks Fix to Remote Admin Commands Minor fix to text based Server Fix to Pretty Print, from Core Fix to Splitter Nodes not being created Fix to massive amounts of images loading, from Core Added 'boot' command to remote admin Added confirmation window for sent nodes Minor changes to allow for portability to an OpenSUSE linux OS Miniatures Layer pop up box allows users to turn off Mini labels, from FlexiRPG Zoom Mouse plugin added Images added to Plugin UI Switching to Element Tree Map efficiency, from FlexiRPG Added Status Bar to Update Manager default_manifest.xml renamed to default_upmana.xml Cleaner clode for saved repositories New TrueDebug Class in orpg_log (See documentation for usage) Mercurial's hgweb folder is ported to upmana **Pretty important update that can help remove thousands of dead children from your gametree. **Children, <forms />, <group_atts />, <horizontal />, <cols />, <rows />, <height />, etc... are all tags now. Check your gametree and look for dead children!! Dead Node Children, not that's a O O -v-v- Happy Halloween!
author sirebral
date Tue, 03 Nov 2009 21:06:03 -0600
parents 43ad912b7c17
children fe4dc5817d5e
line wrap: on
line diff
--- a/orpg/chat/chatwnd.py	Tue Nov 03 08:18:46 2009 -0600
+++ b/orpg/chat/chatwnd.py	Tue Nov 03 21:06:03 2009 -0600
@@ -1950,7 +1950,7 @@
                     self.resolve_loop(node, path, step, depth)
 
     def resolution(self, node):
-        debug(node)
+        debug((node))
         if self.passed == False:
             self.passed = True
             if node.get('class') == 'textctrl_handler': self.data = str(node.find('text').text)
@@ -1965,8 +1965,8 @@
         value = ""
         path = s.split('::')
         depth = len(path)
-        gametree = component.get('tree')
-        dom = gametree.xml_root.getchildren()
+        self.gametree = component.get('tree')
+        dom = self.gametree.xml_root.getchildren()
         for node in dom:
             debug((node.get('name'), path[0]))
             if node.get('name') == path[0]: