Mercurial > traipse_dev
diff orpg/networking/mplay_client.py @ 2:d5e81dac98ff grumpy-goblin
Made some changes to the way the player list colors. Also fixed an annoyence with images
and the Message box that no longer shows.
author | sirebral |
---|---|
date | Tue, 14 Jul 2009 20:52:56 -0500 |
parents | 4385a7d0efd1 |
children | c54768cffbd4 |
line wrap: on
line diff
--- a/orpg/networking/mplay_client.py Tue Jul 14 16:51:10 2009 -0500 +++ b/orpg/networking/mplay_client.py Tue Jul 14 20:52:56 2009 -0500 @@ -118,8 +118,8 @@ self.name = "" self.role = "GM" self.ROLE_GM = "GM" - self.ROLE_PLAYER = "PLAYER" - self.ROLE_LURKER = "LURKER" + self.ROLE_PLAYER = "Player" + self.ROLE_LURKER = "Lurker" self.ip = socket.gethostbyname(socket.gethostname()) self.remote_ip = None self.version = VERSION @@ -134,8 +134,8 @@ self.statLock = Lock() self.useroles = 0 self.ROLE_GM = "GM" - self.ROLE_PLAYER = "PLAYER" - self.ROLE_LURKER = "LURKER" + self.ROLE_PLAYER = "Player" + self.ROLE_LURKER = "Lurker" self.lastmessagetime = time.time() self.connecttime = time.time() @@ -631,7 +631,7 @@ def send_join_group(self,group_id,pwd): if (group_id != 0): - self.update_role("LURKER") + self.update_role("Lurker") self.outbox.put("<join_group from=\""+self.id+"\" pwd=\""+pwd+"\" group_id=\""+str(group_id)+"\" />") def poll(self, evt=None):