changeset 107:ded1e7a25f8d alpha

Traipse Alpha 'OpenRPG' {091007-01} 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.
author sirebral
date Wed, 07 Oct 2009 19:12:53 -0500
parents 8e2b7da4f509
children e8b93e5f3721
files orpg/networking/gsclient.py orpg/networking/mplay_server.py orpg/orpg_version.py
diffstat 3 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/orpg/networking/gsclient.py	Wed Oct 07 14:52:12 2009 -0500
+++ b/orpg/networking/gsclient.py	Wed Oct 07 19:12:53 2009 -0500
@@ -655,7 +655,9 @@
         if name == "":
             wx.MessageBox("Invalid Name","Error");
         else:
-            msg = "%s is creating room \'%s.\'" % (self.session.name, name)
+            ### Alpha ### Should fix the depricated module in Main
+            #msg = "%s is creating room \'%s.\'" % (self.session.name, name) #Old Method
+            msg = "<chat type="1" version="1.0"> %s is creating room \'%s.\' </chat>" % (self.session.name, name) #new method
             self.session.send( msg )
             self.session.send_create_group(name,pwd,boot_pwd,minversion)
             self.set_lobbybutton(1); #enable the Lobby quickbutton
--- a/orpg/networking/mplay_server.py	Wed Oct 07 14:52:12 2009 -0500
+++ b/orpg/networking/mplay_server.py	Wed Oct 07 19:12:53 2009 -0500
@@ -1274,6 +1274,7 @@
                 open_msg.close()
 
             # Send the server's lobby message to the client no matter what
+            lobbyMsg = '<chat type="1" version="1.0">'+lobbyMsg+'</chat>' ### Alpha, should fix deprecated modules in Main's on_receive
             self.sendMsg(socket, "<msg to='" + player_id + "' from='0' group_id='0' />" + lobbyMsg, 
                         self.players[player_id].useCompression, self.players[player_id].compressionType)
             if self.sendLobbySound:
--- a/orpg/orpg_version.py	Wed Oct 07 14:52:12 2009 -0500
+++ b/orpg/orpg_version.py	Wed Oct 07 19:12:53 2009 -0500
@@ -4,7 +4,7 @@
 #BUILD NUMBER FORMAT: "YYMMDD-##" where ## is the incremental daily build index (if needed)
 DISTRO = "Traipse Alpha"
 DIS_VER = "Ornery Orc"
-BUILD = "091007-00"
+BUILD = "091007-01"
 
 # This version is for network capability.
 PROTOCOL_VERSION = "1.2"