comparison 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
comparison
equal deleted inserted replaced
129:43ad912b7c17 130:d54e1328dbb1
1948 node = child 1948 node = child
1949 step += 1 1949 step += 1
1950 self.resolve_loop(node, path, step, depth) 1950 self.resolve_loop(node, path, step, depth)
1951 1951
1952 def resolution(self, node): 1952 def resolution(self, node):
1953 debug(node) 1953 debug((node))
1954 if self.passed == False: 1954 if self.passed == False:
1955 self.passed = True 1955 self.passed = True
1956 if node.get('class') == 'textctrl_handler': self.data = str(node.find('text').text) 1956 if node.get('class') == 'textctrl_handler': self.data = str(node.find('text').text)
1957 else: self.data = 'Nodehandler for '+ node.get('class') + ' not done!' or 'No Data!' 1957 else: self.data = 'Nodehandler for '+ node.get('class') + ' not done!' or 'No Data!'
1958 else: 1958 else:
1963 self.passed = False 1963 self.passed = False
1964 self.data = 'No Data!' 1964 self.data = 'No Data!'
1965 value = "" 1965 value = ""
1966 path = s.split('::') 1966 path = s.split('::')
1967 depth = len(path) 1967 depth = len(path)
1968 gametree = component.get('tree') 1968 self.gametree = component.get('tree')
1969 dom = gametree.xml_root.getchildren() 1969 dom = self.gametree.xml_root.getchildren()
1970 for node in dom: 1970 for node in dom:
1971 debug((node.get('name'), path[0])) 1971 debug((node.get('name'), path[0]))
1972 if node.get('name') == path[0]: 1972 if node.get('name') == path[0]:
1973 self.resolve_loop(node, path, 1, len(path)) 1973 self.resolve_loop(node, path, 1, len(path))
1974 return self.data 1974 return self.data