by multiverseuser » Tue Apr 08, 2008 2:33 pm
Ok,
So this is what I get so far. I placed the file you indicated in the server folder and the server doesn't seem to
give me any more errors but there is warning.
C:\mv3d-0_3\mv3d-0.3>twistd.py -n mv3d -i -n 1 -t 3
2008-04-08 07:22:57-0700 [-] Log opened.
2008-04-08 07:22:57-0700 [-] twistd 8.0.1 (C:\Python25\python.exe 2.5.2) starting up
2008-04-08 07:22:57-0700 [-] reactor class: <class 'twisted.internet.selectreactor.SelectReactor'>
2008-04-08 07:22:57-0700 [-] server MV3D Server initialization successful.
2008-04-08 07:22:57-0700 [-] server <mv3d.net.client.ServiceLoc instance at 0x0513E508> registered as a Asset.
2008-04-08 07:22:57-0700 [-] server <mv3d.net.client.ServiceLoc instance at 0x052360F8> registered as a Realm.
2008-04-08 07:22:57-0700 [-] nevow.appserver.NevowSite starting on 8080
2008-04-08 07:22:57-0700 [-] Starting factory <nevow.appserver.NevowSite instance at 0x05E44558>
2008-04-08 07:22:57-0700 [-] twisted.spread.pb.PBServerFactory starting on 1999
2008-04-08 07:22:57-0700 [-] Starting factory <twisted.spread.pb.PBServerFactory instance at 0x05E4A490>
2008-04-08 07:22:58-0700 [-] server Account added account called mike.
2008-04-08 07:22:58-0700 [-] warning The Realm has no secondary for new area.
On the client side, I modified the client.conf to to localhost
C:\mv3d-0_3\mv3d-0.3>RunClient.py
server MV3D Client initialization successful.
Unhandled error in Deferred:
Traceback (most recent call last):
--- <exception caught here> ---
File "c:\python25\lib\site-packages\twisted\internet\defer.py", line 323, in _runCallbacks
self.result = callback(self.result, *args, **kw)
File "C:\mv3d-0_3\mv3d-0.3\mv3d\util\conductor.py", line 287, in tryAgain
raise ConnectError("Out of services in getOneService!")
mv3d.util.conductor.ConnectError: Out of services in getOneService!
Unhandled error in Deferred:
Traceback (most recent call last):
Failure: twisted.internet.defer.FirstError: FirstError(<twisted.python.failure.Failure <class 'mv3d.util.conductor.ConnectError'>>, 0)
Unhandled error in Deferred:
Traceback (most recent call last):
--- <exception caught here> ---
File "c:\python25\lib\site-packages\twisted\internet\defer.py", line 323, in _runCallbacks
self.result = callback(self.result, *args, **kw)
File "C:\mv3d-0_3\mv3d-0.3\mv3d\util\conductor.py", line 287, in tryAgain
raise ConnectError("Out of services in getOneService!")
mv3d.util.conductor.ConnectError: Out of services in getOneService!
server MV3D Client shutting down.
There was only one realm available to me.
[0,11] mike 0 in MV3D Area 0 (The Realm) So click it.
When the client connected, the server screen shows this.
2008-04-08 07:23:47-0700 [HTTPChannel,0,127.0.0.1] session given the will to live for 60 more seconds
2008-04-08 07:23:47-0700 [HTTPChannel,0,127.0.0.1] 127.0.0.1 - - [08/Apr/2008:14:23:47 +0000] "POST /service/ HTTP/1.0" 302 336 "-" "MV3D"
2008-04-08 07:23:47-0700 [HTTPChannel,1,127.0.0.1] 127.0.0.1 - - [08/Apr/2008:14:23:47 +0000] "POST /__session_key__503474647226c66a86c09e0a9289d534/service/ HTTP/1.0" 302 240 "-" "MV3D"
2008-04-08 07:23:47-0700 [HTTPChannel,2,127.0.0.1] 127.0.0.1 - - [08/Apr/2008:14:23:47 +0000] "POST /service/ HTTP/1.0" 200 66 "-" "MV3D"
2008-04-08 07:23:47-0700 [HTTPChannel,3,127.0.0.1] 127.0.0.1 - - [08/Apr/2008:14:23:47 +0000] "POST /service/ HTTP/1.0" 200 102 "-" "MV3D"
2008-04-08 07:23:47-0700 [HTTPChannel,4,127.0.0.1] 127.0.0.1 - - [08/Apr/2008:14:23:47 +0000] "POST /service/ HTTP/1.0" 200 166 "-" "MV3D"
2008-04-08 07:24:47-0700 [-] session given the will to live for 3600 more seconds
2008-04-08 07:25:51-0700 [Broker,0,127.0.0.1] server mike becomes mike 0.
2008-04-08 07:25:53-0700 [HTTPChannel,5,127.0.0.1] 127.0.0.1 - - [08/Apr/2008:14:25:53 +0000] "POST /service/ HTTP/1.0" 200 166 "-" "MV3D"
2008-04-08 07:25:54-0700 [HTTPChannel,6,127.0.0.1] 127.0.0.1 - - [08/Apr/2008:14:25:53 +0000] "POST /service/ HTTP/1.0" 200 190 "-" "MV3D"
2008-04-08 07:26:31-0700 [-] server mike 0 leaves the game.
thanks,