Windows Client Installation

Problems, questions, anything else related to the MV3D client.

Moderator: SirGolan

Windows Client Installation

Postby multiverseuser » Sun Mar 30, 2008 5:01 pm

Hello,

I saw this project and I thought it was great. I tried the instructions
for setting up the client side but I have not been able to do a RunClient.py succesfully.

I installed :
python 2.4.4
twisted 8.0.1
pycrypto 2.0.1
zope 2.10.5
pyode 1.2.0
pyopenssl 0.7a2
OpenAL

I installed zope but i get the following error:

F:\mv3d-0.3>RunClient.py
Traceback (most recent call last):
File "F:\mv3d-0.3\RunClient.py", line 22, in ?
from twisted.internet import reactor
File "F:\Python24\lib\site-packages\twisted\internet\reactor.py", line 11, in
?
from twisted.internet import selectreactor
File "F:\Python24\lib\site-packages\twisted\internet\selectreactor.py", line 1
7, in ?
from zope.interface import implements
ImportError: No module named zope.interface

Also, I tried to install JSON but I'm not sure what command to use.

I have python-ogre for python 2.5 but 2.4.
Where can I get python-ogre for python 2.4?

I'm down to three issues to installing the client, any help would be appreciated.
Thanks,
Last edited by multiverseuser on Thu Apr 10, 2008 3:10 am, edited 1 time in total.
multiverseuser
 
Posts: 103
Joined: Sun Mar 30, 2008 4:29 pm

Re: Client Installation

Postby SirGolan » Sun Mar 30, 2008 7:08 pm

I actually just went through this yesterday on windows. I wasn't able to find a version of Python-Ogre that worked with 2.4 unfortunately, so I ended up upgrading to 2.5. I have all the installers around, so how about if I put them up in the download section today?

By the way, there is a separate install for zope.interface (though maybe the zope install comes with it, I don't know). It is available here, but of course, not for python 2.5 (in a windows compiled form). I'll add the 2.5 zope interface installer to the download section in a bit and will post again here to let you know.

Thanks!

Mike
SirGolan
Site Admin
 
Posts: 214
Joined: Wed Mar 19, 2008 7:04 pm

Re: Client Installation

Postby SirGolan » Sun Mar 30, 2008 7:35 pm

Ok, you should be able to download all the prereqs except Python and Python-Ogre from this link. I didn't include Python-Ogre as it's a larger file (50mb). However, you can just download this version.

I know there has to be a version of Python-Ogre that works with Python 2.4 and MV3D 0.3 since that's what I had on my laptop. I just can't seem to find it either, though. It's possible they removed it from their site.

Mike
SirGolan
Site Admin
 
Posts: 214
Joined: Wed Mar 19, 2008 7:04 pm

Re: Client Installation

Postby multiverseuser » Mon Mar 31, 2008 2:05 am

Thanks for the files,
I had to download win32OpenSSl-0_9_8g.exe from OpenSSl because of a missing "libeasy.dll"

The next challenge was configuring the resources.cfg. It was pointing to L:\project....
My next error is this:

C:\multiverse>RunClient.py
server MV3D Client initialization successful.
Traceback (most recent call last):
File "C:\multiverse\RunClient.py", line 77, in <module>
go()
File "C:\multiverse\RunClient.py", line 60, in go
c.startService()
File "C:\multiverse\mv3d-0.3\mv3d-0.3\mv3d\util\conductor.py", line 217, in st
artService
File "C:\Python25\lib\site-packages\twisted\application\service.py", line 232,
in startService
service.startService()
File "C:\multiverse\mv3d-0.3\mv3d-0.3\mv3d\client\player.py", line 72, in star
tService
File "C:\multiverse\mv3d-0.3\mv3d-0.3\mv3d\client\ui\ogre3d.py", line 137, in
initialize
Exception: Couldn't find a valid render system



my windows folder structure is:

C:\multiverse\media
c:\multiverse\mv3d\client

For some reason it is looking in
C:\multiverse\mv3d-0.3\mv3d-0.3\mv3d

I do not have a mv3d-03\mv3d folder

Any suggestions? Do I need to recompile something?
or change a cfg file

Thanks,
multiverseuser
 
Posts: 103
Joined: Sun Mar 30, 2008 4:29 pm

Re: Client Installation

Postby multiverseuser » Mon Mar 31, 2008 5:40 am

Hello,

I re-fetched the code from and I was able to get a little further.

C:\multiverse3d>RunClient.py
server MV3D Client initialization successful.
Traceback (most recent call last):
File "C:\multiverse3d\RunClient.py", line 77, in <module>
go()
File "C:\multiverse3d\RunClient.py", line 60, in go
c.startService()
File "C:\multiverse3d\mv3d\util\conductor.py", line 217, in startService
return MultiService.startService(self)
File "C:\Python25\lib\site-packages\twisted\application\service.py", line 232,
in startService
service.startService()
File "C:\multiverse3d\mv3d\client\player.py", line 72, in startService
if not self.renderer.initialize():
File "C:\multiverse3d\mv3d\client\ui\ogre3d.py", line 142, in initialize
raise Exception("Couldn't find a valid render system")
Exception: Couldn't find a valid render system



The error now is: Couldn't find a valid render system.

Thanks,
multiverseuser
 
Posts: 103
Joined: Sun Mar 30, 2008 4:29 pm

Re: Client Installation

Postby SirGolan » Mon Mar 31, 2008 6:06 am

I'm pretty sure I know what's causing that. You'll need a plugins.cfg file (in the same directory as RunClient.py). This tells Ogre where to look for its dlls. Here's what mine looks like:

Code: Select all
# Defines plugins to load

# Define plugin folder
PluginFolder=E:\progra~1\PythonOgre\plugins

# Define D3D rendering implementation plugin
Plugin=RenderSystem_GL.dll
Plugin=Plugin_ParticleFX.dll
Plugin=Plugin_BSPSceneManager.dll
Plugin=Plugin_OctreeSceneManager.dll
Plugin=Plugin_CgProgramManager.dll


I suspect all you'll need to change is the PluginFolder line.

Thanks,

Mike
SirGolan
Site Admin
 
Posts: 214
Joined: Wed Mar 19, 2008 7:04 pm

Re: Client Installation

Postby multiverseuser » Mon Mar 31, 2008 2:42 pm

Thanks, that helped

I get the login screen now but the connection was refused.
There was a default name and password but it did not connect.
I guess I need the correct server to connect to or Do I need to start a server on my computer?


C:\multiverse3d>RunClient.py
server MV3D Client initialization successful.
client Player received error of Connection was refused by other side: 10061: No
connection could be made because the target machine actively refused it.. while
connecting.
Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionRe
usedError'>: Connection was refused by other side: 10061: No connection could b
made because the target machine actively refused it..
client Player received error of Connection was refused by other side: 10061: No
connection could be made because the target machine actively refused it.. while
connecting.
multiverseuser
 
Posts: 103
Joined: Sun Mar 30, 2008 4:29 pm

Re: Client Installation

Postby SirGolan » Mon Mar 31, 2008 10:27 pm

Hey,

So, you do have two options. You can run your own server. If you have the "Twisted Command Prompt" set up, open that and cd to the mv3d-0.3 directory. If you don't have that (they may have removed it in v8), just try it in a normal command prompt.

Code: Select all
twistd -n mv3d -i -n 1 -t 3


(For more info on command lines see either twistd --help or twistd mv3d --help or ServerCommandLineArgs in the wiki.

Option #2 is to connect to the development server. If you edit client.conf and replace "localhost" with "alpha.mv3d.com", you should be good to go.
SirGolan
Site Admin
 
Posts: 214
Joined: Wed Mar 19, 2008 7:04 pm

Re: Client Installation

Postby SirGolan » Tue Apr 01, 2008 1:54 am

As a side note, you'll have to use the login info provided for the time being. While you can create your own account at https://www.mv3d.com:8080, there's currently no way to attach it to a PC in the game.
SirGolan
Site Admin
 
Posts: 214
Joined: Wed Mar 19, 2008 7:04 pm

Re: Client Installation

Postby multiverseuser » Tue Apr 01, 2008 8:15 am

Hello,

I tried both options unsuccessfully

Option 1)
I get an MV3D unknown command when I tried: twistd -n mv3d -i -n 1 -t 3
The console is provided by twisted.

my path is C:\multiverse3d
In here there I can find a mv3d folder and a twisted folder.
I think I'm missing some file or steps to configure MV3D
I will start a new topic to handle this option.

Here is the error

C:\Python25\scripts\twistd.py: Unknown command: mv3d


Option 2)
I replaced the text as instructed. As I run Runclient.py for the first time, I get the following error:

C:\multiverse3d>RunClient.py
server MV3D Client initialization successful.
client Player received error of <class 'twisted.cred.error.UnauthorizedLogin'> while connecting.


If I press the connect button, I get this:

Traceback (failure with no frames): AnonymousClient instance has no attribute 'authenticated': <type 'exceptions.AttributeError'>
client Player received error of <type 'exceptions.AttributeError'> while connecting.


Thanks
multiverseuser
 
Posts: 103
Joined: Sun Mar 30, 2008 4:29 pm

Next

Return to Client Software

Who is online

Users browsing this forum: No registered users and 3 guests

cron