Mercurial > traipse_dev
comparison orpg/networking/mplay_client.py @ 140:e842a5f1b775 beta
Traipse Beta 'OpenRPG' {091123-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 Gametree Recursion method, mapping, and context sensitivity. !Infinite Loops return error instead of freezing the
software!
New Syntax added for custom PC sheets
Tip of the Day added, from Core and community
Fixed Whiteboard ID to prevent random line or text deleting. Modified ID's to prevent non updated clients from
ruining the fix.
author | sirebral |
---|---|
date | Mon, 23 Nov 2009 03:36:26 -0600 |
parents | dcf4fbe09b70 |
children | 6cc9dd8ebcd4 |
comparison
equal
deleted
inserted
replaced
135:dcf4fbe09b70 | 140:e842a5f1b775 |
---|---|
120 ## Soon to be removed | 120 ## Soon to be removed |
121 self.ROLE_GM = "GM" | 121 self.ROLE_GM = "GM" |
122 self.ROLE_PLAYER = "Player" | 122 self.ROLE_PLAYER = "Player" |
123 self.ROLE_LURKER = "Lurker" | 123 self.ROLE_LURKER = "Lurker" |
124 ## --TaS | 124 ## --TaS |
125 self.ip = socket.gethostbyname(socket.gethostname()) | 125 try: self.ip = socket.gethostbyname(socket.gethostname()) |
126 except: self.ip = socket.gethostbyname('localhost') | |
126 self.remote_ip = None | 127 self.remote_ip = None |
127 self.version = VERSION | 128 self.version = VERSION |
128 self.protocol_version = PROTOCOL_VERSION | 129 self.protocol_version = PROTOCOL_VERSION |
129 self.client_string = CLIENT_STRING | 130 self.client_string = CLIENT_STRING |
130 self.status = MPLAY_DISCONNECTED | 131 self.status = MPLAY_DISCONNECTED |
731 self.on_receive(ping_msg, None) | 732 self.on_receive(ping_msg, None) |
732 | 733 |
733 def on_group(self, id, msg, etreeEl): | 734 def on_group(self, id, msg, etreeEl): |
734 act = etreeEl.get("action") | 735 act = etreeEl.get("action") |
735 group_data = (id, etreeEl.get("name"), etreeEl.get("pwd"), etreeEl.get("players")) | 736 group_data = (id, etreeEl.get("name"), etreeEl.get("pwd"), etreeEl.get("players")) |
736 if act == ('new' or 'update'): | 737 if act == 'new' or act == 'update': |
737 self.groups[id] = group_data | 738 self.groups[id] = group_data |
738 if act == 'update': self.on_group_event(mplay_event(GROUP_UPDATE, group_data)) | 739 if act == 'update': self.on_group_event(mplay_event(GROUP_UPDATE, group_data)) |
739 elif act == 'new': self.on_group_event(mplay_event(GROUP_NEW, group_data)) | 740 elif act == 'new': self.on_group_event(mplay_event(GROUP_NEW, group_data)) |
740 elif act == 'del': | 741 elif act == 'del': |
741 del self.groups[id] | 742 del self.groups[id] |