Changeset 205
- Timestamp:
- 07/27/07 05:09:26 (1 year ago)
- Files:
-
- trunk/games/minionsofmirth/v1/mud/client/gui/clientcommands.py (modified) (3 diffs)
- trunk/games/minionsofmirth/v1/mud/client/gui/friendsWnd.py (modified) (1 diff)
- trunk/games/minionsofmirth/v1/mud/client/gui/helpWnd.py (modified) (3 diffs)
- trunk/games/minionsofmirth/v1/mud/client/gui/playerSettings.py (modified) (3 diffs)
- trunk/games/minionsofmirth/v1/mud/world/character.py (modified) (2 diffs)
- trunk/games/minionsofmirth/v1/mud/world/genesistime.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/games/minionsofmirth/v1/mud/client/gui/clientcommands.py
r196 r205 29 29 30 30 def CmdIgnore(args): 31 from gui.playerSettings import PLAYERSETTINGS31 from playerSettings import PLAYERSETTINGS 32 32 from tomeGui import TOMEGUI 33 33 nick = ' '.join(args) … … 39 39 40 40 def CmdUnignore(args): 41 from gui.playerSettings import PLAYERSETTINGS41 from playerSettings import PLAYERSETTINGS 42 42 from tomeGui import TOMEGUI 43 43 nick = ' '.join(args) … … 49 49 50 50 def CmdIgnored(args): 51 from gui.playerSettings import PLAYERSETTINGS51 from playerSettings import PLAYERSETTINGS 52 52 IGNORED = PLAYERSETTINGS.ignored 53 53 trunk/games/minionsofmirth/v1/mud/client/gui/friendsWnd.py
r196 r205 112 112 return 113 113 try: 114 PLAYERMIND.perspective.callRemote("PlayerAvatar","submitFriends",FRIENDS) 114 from playerSettings import PLAYERSETTINGS 115 PLAYERMIND.perspective.callRemote("PlayerAvatar","submitFriends",PLAYERSETTINGS.friends) 115 116 except: 116 117 pass trunk/games/minionsofmirth/v1/mud/client/gui/helpWnd.py
r196 r205 11 11 <color:FFFF00>OSX Note:<color:BBFFBB> Command click simulates a right click 12 12 13 <color:FFFF00>Item Linking:<color:BBFFBB> For many areas of the UI, such as inventory window, spell book, skill listing, and effects window:14 <color:FFFFFF>Shift + Left Click <color:BBAAAA><color:BBFFBB> - Open Encyclopedia to appropriate page.15 <color:FFFFFF>Shift + Right Click <color:BBAAAA><color:BBFFBB> - Place link to appropriate page in chat.16 17 13 <color:FFFFFF>Left + Right Click <color:BBAAAA><color:BBFFBB> - Move Forward 18 14 <color:FFFFFF>Left Click <color:BBAAAA>on npc, monster, or player avatar <color:BBFFBB> - Select 15 <color:FFFFFF>Shift + Left Click <color:BBAAAA>on npc, monster, or player avatar <color:BBFFBB> - Inspect 19 16 <color:FFFFFF>Left Click <color:BBAAAA>on quick slot or macro slot <color:BBFFBB> - Activate 20 17 <color:FFFFFF>Left Click <color:BBAAAA>on target health bar with player targeted <color:BBFFBB> - Cycle Targets … … 42 39 <color:FFFFFF>Double Click <color:BBAAAA>on nonharmful effect icon <color:BBFFBB> - Cancel Effect 43 40 41 <color:FFFF00>Item Linking:<color:BBFFBB> For many areas of the UI, such as inventory window, spell book, skill listing, and effects window: 42 43 <color:FFFFFF>Shift + Left Click <color:BBAAAA><color:BBFFBB> - Opens encyclopedia to appropriate page. 44 <color:FFFFFF>Shift + Right Click <color:BBAAAA><color:BBFFBB> - Places link in chat. 45 44 46 <font:Arial:16><just:center> 45 47 <color:BBBBFF>Default Keyboard<just:left><font:Arial:13> … … 199 201 <color:FFFFFF>/friend remove <character name> <color:BBFFBB> - Remove a character from your friend list. 200 202 203 <color:FFFFFF>/map <description> <color:BBFFBB> - Add a map annotation to your 3d map and tracking list at your current location. 204 201 205 <just:center><font:Arial:16> 202 206 <color:BBBBFF>Guild Commands<just:left><font:Arial:13> trunk/games/minionsofmirth/v1/mud/client/gui/playerSettings.py
r196 r205 206 206 self.loadIgnored() 207 207 208 # Dictionary for window settings. Keys are window names, 209 # values are tuples of (window object,boolean True if active,flag if resizable). 210 self.windows = {} 208 211 # Name of current world. 209 212 self.worldname = "" … … 322 325 cursor.execute("UPDATE world SET singleplayer=? WHERE id=?;",(singleplayer,self.worldID)) 323 326 try: 324 self.lastRealm = int(TGEGetGlobal("$Py::REALM")) 327 realm = int(TGEGetGlobal("$Py::REALM")) 328 if self.lastRealm != realm: 329 self.lastRealm = realm 330 cursor.execute("UPDATE misc SET last_realm=?;",(realm,)) 325 331 except: 326 332 # Use default. … … 411 417 charID = cursor.execute("SELECT id FROM character WHERE world_id=? AND realm=? AND name=?;",(self.worldID,self.lastRealm,charname)).fetchone() 412 418 if charID == None: 413 print 'Error: Character to be deleted could not be found!'419 # Nothing to delete, character probably didn't get used yet. 414 420 return 415 421 charID = charID[0] trunk/games/minionsofmirth/v1/mud/world/character.py
r196 r205 777 777 # Find first slot that isn't used that item can go into. 778 778 for slot in slots: 779 found = False780 779 # Check if an item is already equipped in that slot. 781 780 for citem in self.items: 782 781 if citem.slot == slot: 783 found = True784 782 break 785 783 # No item equipped in checked slot. … … 790 788 unequip = None 791 789 if useslot == None: 790 # If item that should be equipped has invalid slot, don't attempt to switch. 791 if item.slot == -1 or RPG_SLOT_LOOT_BEGIN <= item.slot < RPG_SLOT_LOOT_END: 792 return 792 793 unequip = item 793 794 useslot = slots.pop() trunk/games/minionsofmirth/v1/mud/world/genesistime.py
r196 r205 2 2 #AUTOMATICALLY GENERATED FILE DO NOT EDIT! 3 3 4 GENESISTIME = "2007-0 6-25 06:49:02"4 GENESISTIME = "2007-07-26 14:38:09"

