comparison orpg/tools/passtool.py @ 114:bd6ca89e4cbb alpha

Traipse Alpha 'OpenRPG' {091011-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 Bookmarks (Alpha) with cool Smiley Star and Plus Symbol images! Changes made to the map for increased portability. SnowDog has changes planned in Core, though. Added an initial push to the BCG. Not much to see, just shows off how it is re-writing Main code. Fix to remote admin commands Minor fix to texted based server, works in /System/ folder Some Core changes to gametree to correctly disply Pretty Print, thanks David! Fix to Splitter Nodes not being created. Added images to Plugin Control panel for Autostart feature Fix to massive amounts of images loading; from Core {091011} 00: fix to gsclient so with_statement imports Added 'boot' command to remote admin Prep work in Pass tool for remote admin rankings and different passwords, ei, Server, Admin, Moderator, etc.
author sirebral
date Sun, 11 Oct 2009 16:38:54 -0500
parents c54768cffbd4
children 37d26a98883f
comparison
equal deleted inserted replaced
113:f91b70c46908 114:bd6ca89e4cbb
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":