comparison orpg/gametree/nodehandlers/forms.py @ 200:43a91298ac33 alpha

Traipse Alpha 'OpenRPG' {100427-01} 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 Daily: I was having problems with Chat tabs. All fixed now.
author sirebral
date Tue, 27 Apr 2010 01:56:39 -0500
parents 0bc44a57ae6c
children 24769389a7ba
comparison
equal deleted inserted replaced
199:0ccfb8836b81 200:43a91298ac33
273 273
274 def on_send(self, evt): 274 def on_send(self, evt):
275 txt = self.text.GetValue() 275 txt = self.text.GetValue()
276 txt = Parse.ParseLogic(txt, self.handler.xml) 276 txt = Parse.ParseLogic(txt, self.handler.xml)
277 if not self.handler.is_raw_send(): 277 if not self.handler.is_raw_send():
278 Parse.Post(self.handler.tohtml(), True, True) 278 Parse.Post(self.handler.tohtml(), self.chat, True, True)
279 return 1 279 return 1
280 actionlist = txt.split("\n") 280 actionlist = txt.split("\n")
281 for line in actionlist: 281 for line in actionlist:
282 line = Parse.ParseLogic(line, self.handler.xml) 282 line = Parse.ParseLogic(line, self.handler.xml)
283 if(line != ""): 283 if(line != ""):
284 if line[0] != "/": ## it's not a slash command 284 if line[0] != "/": ## it's not a slash command
285 Parse.Post(line, True, True) 285 Parse.Post(line, self.chat, True, True)
286 else: 286 else:
287 action = line 287 action = line
288 self.chat.chat_cmds.docmd(action) 288 self.chat.chat_cmds.docmd(action)
289 return 1 289 return 1
290 290
606 606
607 def on_send_to_chat(self, evt): 607 def on_send_to_chat(self, evt):
608 txt = self.get_selected_text() 608 txt = self.get_selected_text()
609 txt = Parse.ParseLogic(txt, self.xml) 609 txt = Parse.ParseLogic(txt, self.xml)
610 if not self.is_raw_send(): 610 if not self.is_raw_send():
611 Parse.Post(self.tohtml(), True, True) 611 Parse.Post(self.tohtml(), self.chat, True, True)
612 return 1 612 return 1
613 actionlist = self.get_selections_text() 613 actionlist = self.get_selections_text()
614 for line in actionlist: 614 for line in actionlist:
615 line = Parse.ParseLogic(line, self.xml) 615 line = Parse.ParseLogic(line, self.xml)
616 if(line != ""): 616 if(line != ""):
617 if line[0] != "/": ## it's not a slash command 617 if line[0] != "/": ## it's not a slash command
618 Parse.Post(line, True, True) 618 Parse.Post(line, self.chat, True, True)
619 else: 619 else:
620 action = line 620 action = line
621 self.chat.chat_cmds.docmd(action) 621 self.chat.chat_cmds.docmd(action)
622 return 1 622 return 1
623 623