Mercurial > traipse_dev
comparison orpg/networking/mplay_server.py @ 109:5eac6e0308df alpha
Traipse Alpha 'OpenRPG' {091007-03}
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:
{091006}
00:
Adds Bookmarks (Alpha) with cool Smiley Star and Plus Symbol images!
03:
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.
{091007}
00:
New images added to Plugin Control Panel for Auto Start.
01:
Attempting to fix Deprecation warning from Main.
02:
Second attempt, problem in gsclient with "s.
03:
Fail.
author | sirebral |
---|---|
date | Wed, 07 Oct 2009 21:02:28 -0500 |
parents | ded1e7a25f8d |
children | bd6ca89e4cbb |
comparison
equal
deleted
inserted
replaced
108:e8b93e5f3721 | 109:5eac6e0308df |
---|---|
1272 open_msg = open( self.userPath + "LobbyMessage.html", "r" ) | 1272 open_msg = open( self.userPath + "LobbyMessage.html", "r" ) |
1273 lobbyMsg += open_msg.read() | 1273 lobbyMsg += open_msg.read() |
1274 open_msg.close() | 1274 open_msg.close() |
1275 | 1275 |
1276 # Send the server's lobby message to the client no matter what | 1276 # Send the server's lobby message to the client no matter what |
1277 lobbyMsg = '<chat type="1" version="1.0">'+lobbyMsg+'</chat>' ### Alpha, should fix deprecated modules in Main's on_receive | |
1278 self.sendMsg(socket, "<msg to='" + player_id + "' from='0' group_id='0' />" + lobbyMsg, | 1277 self.sendMsg(socket, "<msg to='" + player_id + "' from='0' group_id='0' />" + lobbyMsg, |
1279 self.players[player_id].useCompression, self.players[player_id].compressionType) | 1278 self.players[player_id].useCompression, self.players[player_id].compressionType) |
1280 if self.sendLobbySound: | 1279 if self.sendLobbySound: |
1281 self.sendMsg(socket, '<sound url="' + self.lobbySound + '" group_id="0" from="0" loop="True" />', | 1280 self.sendMsg(socket, '<sound url="' + self.lobbySound + '" group_id="0" from="0" loop="True" />', |
1282 self.players[player_id].useCompression, self.players[player_id].compressionType) | 1281 self.players[player_id].useCompression, self.players[player_id].compressionType) |