Mercurial > traipse_dev
comparison orpg/tools/passtool.py @ 135:dcf4fbe09b70 beta
Traipse Beta 'OpenRPG' {091010-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 (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!!
**New Gamtree Recusion method, mapping, and context sensitivity. !!Alpha - Watch out for infinite loops!!
author | sirebral |
---|---|
date | Tue, 10 Nov 2009 14:11:28 -0600 |
parents | c54768cffbd4 |
children | dcae32e219f1 |
comparison
equal
deleted
inserted
replaced
101:394ebb3b6a0f | 135:dcf4fbe09b70 |
---|---|
27 # doesn't have to type passwords over and over | 27 # doesn't have to type passwords over and over |
28 | 28 |
29 import orpg.orpg_windows | 29 import orpg.orpg_windows |
30 from orpg.orpgCore import component | 30 from orpg.orpgCore import component |
31 import traceback | 31 import traceback |
32 #from orpg.tools.settings import settings | 32 from orpg.tools.settings import settings |
33 | 33 |
34 ##################### | 34 ##################### |
35 ## Password Assistant | 35 ## Password Assistant |
36 ##################### | 36 ##################### |
37 class PassSet: | 37 class PassSet: |
98 pass | 98 pass |
99 | 99 |
100 def GetSilentPassword( self, type="server", groupid = 0): | 100 def GetSilentPassword( self, type="server", groupid = 0): |
101 try: | 101 try: |
102 self.CheckGroupData( groupid ) | 102 self.CheckGroupData( groupid ) |
103 ### Pre-Alpha ### How types will work | |
104 # Server - top dog | |
105 # Admin - second in command | |
106 # Mod - some privileges | |
107 # Room - You got it, unchanged (passwords the room entry) | |
108 # Boot - This is the room admin password. | |
103 if type == "admin": | 109 if type == "admin": |
104 if self.groups[int(groupid)].admin != None: return str(self.groups[int(groupid)].admin) | 110 try: print self.groups[int(groupid)].admin |
111 except: pass | |
112 try: print str(self.groups[int(groupid)].admin) | |
113 except: pass | |
114 if self.groups[int(groupid)].admin != None: print str(self.groups[int(groupid)].admin); return str(self.groups[int(groupid)].admin) | |
105 else: return None | 115 else: return None |
106 elif type == "room": | 116 elif type == "room": |
107 if self.groups[int(groupid)].room != None: return str(self.groups[int(groupid)].room) | 117 if self.groups[int(groupid)].room != None: return str(self.groups[int(groupid)].room) |
108 else: return None | 118 else: return None |
109 elif type == "server": | 119 elif type == "server": |