Browse Source

Changes to support new world order

Mark Mine 21 years ago
parent
commit
616b99ee4c

+ 0 - 1
direct/src/cluster/ClusterClient.py

@@ -20,7 +20,6 @@ class ClusterClient(DirectObject.DirectObject):
         if clusterDaemonClient == 'None':
         if clusterDaemonClient == 'None':
             clusterDaemonClient = os.popen('uname -n').read()
             clusterDaemonClient = os.popen('uname -n').read()
             clusterDaemonClient = clusterDaemonClient.replace('\n', '')
             clusterDaemonClient = clusterDaemonClient.replace('\n', '')
-        print 'CLIENT', clusterDaemonClient
         # What daemon port are we using to communicate between client/servers
         # What daemon port are we using to communicate between client/servers
         clusterDaemonPort = base.config.GetInt(
         clusterDaemonPort = base.config.GetInt(
             'cluster-daemon-port', CLUSTER_DAEMON_PORT)
             'cluster-daemon-port', CLUSTER_DAEMON_PORT)

+ 1 - 1
direct/src/cluster/ClusterMsgs.py

@@ -36,7 +36,7 @@ SERVER_STARTUP_STRING = (
     '__builtin__.clusterSyncFlag = %d;' +
     '__builtin__.clusterSyncFlag = %d;' +
     '__builtin__.clusterDaemonClient = \'%s\';' +
     '__builtin__.clusterDaemonClient = \'%s\';' +
     '__builtin__.clusterDaemonPort = %d;'
     '__builtin__.clusterDaemonPort = %d;'
-    'from ShowBaseGlobal import *; run()"')
+    'from DirectStart import *; run()"')
 
 
 class ClusterMsgHandler:
 class ClusterMsgHandler:
     """ClusterMsgHandler: wrapper for PC clusters/multi-piping networking"""
     """ClusterMsgHandler: wrapper for PC clusters/multi-piping networking"""

+ 1 - 0
direct/src/cluster/ClusterServer.py

@@ -148,6 +148,7 @@ class ClusterServer(DirectObject.DirectObject):
         if (type == CLUSTER_NONE):
         if (type == CLUSTER_NONE):
             pass
             pass
         elif (type == CLUSTER_EXIT):
         elif (type == CLUSTER_EXIT):
+            print 'GOT EXIT'
             import sys
             import sys
             sys.exit()
             sys.exit()
         elif (type == CLUSTER_CAM_OFFSET):
         elif (type == CLUSTER_CAM_OFFSET):