Mercurial > traipse_dev
comparison orpg/chat/commands.py @ 92:68c7bd272f27 beta
Traipse Beta 'OpenRPG' {090919-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:
Adds menu changes to draw attention to important updates, errors, or other events. (image info coming soon)
Traipse URL is not included in the repos tab and is set as default.
Fixes Copy for Windows and Linux (finally!!) users.
Fixes incomplete update to Grid and List nodes.
Fixes incomplete update to Chat Commands.
Fixes problems with Remote Image Upload.
Fixes Drop and Drag of Minis to Map.
CherryPy can now use any image in the webfiles/ folder and sub-folders.
CherryPy can now Drop and Drag Minis to the Map.
Minor changes to Update Manager's GUI.
Expert recommendation warning added to Revision Update.
Step down compatibility with open_rpg & component added to orpgCore.
Using majority of 'Grumpy' network folder to correct server lag.
author | sirebral |
---|---|
date | Sat, 19 Sep 2009 06:50:43 -0500 |
parents | 449a8900f9ac |
children | 910942d07574 dcf4fbe09b70 |
comparison
equal
deleted
inserted
replaced
84:5c12918d6bb2 | 92:68c7bd272f27 |
---|---|
12 import time | 12 import time |
13 import orpg.orpg_version | 13 import orpg.orpg_version |
14 import orpg.orpg_windows | 14 import orpg.orpg_windows |
15 import traceback | 15 import traceback |
16 | 16 |
17 from orpg.orpgCore import component | |
17 from orpg.tools.orpg_log import logger | 18 from orpg.tools.orpg_log import logger |
18 from orpg.tools.decorators import debugging | 19 from orpg.tools.decorators import debugging |
19 | 20 |
20 ##-------------------------------------------------------------- | 21 ##-------------------------------------------------------------- |
21 ## dynamically loading module for extended developer commands | 22 ## dynamically loading module for extended developer commands |
260 "<br />GMT: "+time.strftime(format_string,gmt_time)) | 261 "<br />GMT: "+time.strftime(format_string,gmt_time)) |
261 | 262 |
262 @debugging | 263 @debugging |
263 def on_dieroller(self, cmdargs): | 264 def on_dieroller(self, cmdargs): |
264 args = string.split(cmdargs,None,-1) | 265 args = string.split(cmdargs,None,-1) |
265 rm = self.chat.DiceManager | 266 rm = component.get('DiceManager') |
266 try: | 267 try: |
267 rm.setRoller(args[0]) | 268 rm.setRoller(args[0]) |
268 self.chat.SystemPost("You have changed your die roller to the <b>\"" + args[0] + "\"</b> roller.") | 269 self.chat.SystemPost("You have changed your die roller to the <b>\"" + args[0] + "\"</b> roller.") |
269 self.settings.set_setting('dieroller',args[0]) | 270 self.settings.set_setting('dieroller',args[0]) |
270 except Exception, e: | 271 except Exception, e: |