Panda Player

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

Moderator: SirGolan

Panda Player

Postby jhamel » Sun Sep 04, 2011 11:34 am

Hi,
I set up our own mv3d env and I have this problem: Only the "Panda Player" seems to work ok for me ( I have no ogre). But every new Player or new account/Player show me only a white/grey sim with no avatar. I can look arround, but nothing really nice.
How can i setup a player with the same env like the "Panda Player" from the "Full-1999" ?

Best regards
Juergen
jhamel
 
Posts: 17
Joined: Fri Jul 15, 2011 11:07 am

Re: Panda Player

Postby SirGolan » Sun Sep 04, 2011 5:51 pm

jhamel wrote:Only the "Panda Player" seems to work ok for me ( I have no ogre). But every new Player or new account/Player show me only a white/grey sim with no avatar.


Hey that's odd. I really thought I had that working, but apparently it never adds the panda character to the list of available choices in the character creator. I'm fixing that shortly.

Also, you may be interested to know that texture splatting for terrains in Panda is in as of yesterday.

Thanks,

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

Re: Panda Player

Postby SirGolan » Sun Sep 04, 2011 8:33 pm

I just fixed this in trunk. It requires that you re-initialize the world (delete the store directory). If you can't do that because you have important data to save, let me know and I can probably give you some console commands to fix the issue.

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

Re: Panda Player

Postby jhamel » Mon Sep 05, 2011 12:12 pm

Thank you, that works :-)
But, sorry, There is now a new problem:
--- <exception caught here> ---
File "/usr/lib64/python2.7/site-packages/twisted/internet/defer.py", line 1020, in _inlineCallbacks
result = g.send(result)
File "/misc/Projekte/py3d-worlds/viewer/mv3d_p3d/mv3d/client/view/visual.py", line 353, in create
self.mesh = OgreObject(self.renderer, "Water %s" % str(self))
exceptions.NameError: global name 'OgreObject' is not defined

because I have no ogre installed. I try to install pyogre at ubuntu, fedora and gentoo - no success :-(
So, for now, the viewer runs only on windows and linux with panda3d.

bye
Juergen
jhamel
 
Posts: 17
Joined: Fri Jul 15, 2011 11:07 am

Re: Panda Player

Postby jhamel » Mon Sep 05, 2011 1:21 pm

Hi,
here some addional informations to the ogre error above:
If I login as admin and choose panda player, I see a green/yellow,brown ground, no sky and this error is not comming.
If I login as a new generated user with the panda player I see a white ground, a big grey box and blue sky and this error at the console.

Hope, that helps you,

bye Juergen
jhamel
 
Posts: 17
Joined: Fri Jul 15, 2011 11:07 am

Re: Panda Player

Postby SirGolan » Mon Sep 05, 2011 2:52 pm

I think I know what's going on. When creating a new character for Panda, you'll have to select the second area (0,8) / Panda Area. Otherwise it will put you in an area which contains models that only work in Ogre.

Thanks,

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

Re: Panda Player

Postby jhamel » Mon Sep 05, 2011 3:54 pm

Ah, thank you, that was really new for me !!!
ok, I did that, but now I see only all grey and this error message is sending:
client:
Traceback (most recent call last):
Failure: mv3d.util.conductor.RemoteException: mv3d.net.pb.CacheableError: Permission denied sending StationaryBody!

Server:
Mo 05 Sep 2011 17:47:48 None 50 Broker,27,79.226.161.85 jhamel becomes jh5
Mo 05 Sep 2011 17:47:48 None 40 Broker,27,79.226.161.85 Access denied to Unknown for reference of StationaryBody
Mo 05 Sep 2011 17:47:48 None 0 Broker,27,79.226.161.85 Peer will receive following PB traceback:
Mo 05 Sep 2011 17:47:48 None 0 Broker,27,79.226.161.85 Traceback (most recent call last):
Mo 05 Sep 2011 17:47:48 None 0 Broker,27,79.226.161.85 File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 879, in gotResult

Mo 05 Sep 2011 17:47:48 None 0 Broker,27,79.226.161.85 _inlineCallbacks(r, g, deferred)

Mo 05 Sep 2011 17:47:48 None 0 Broker,27,79.226.161.85 File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 866, in _inlineCallbacks

Mo 05 Sep 2011 17:47:48 None 0 Broker,27,79.226.161.85 deferred.callback(e.value)

Mo 05 Sep 2011 17:47:48 None 0 Broker,27,79.226.161.85 File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 280, in callback

Mo 05 Sep 2011 17:47:48 None 0 Broker,27,79.226.161.85 self._startRunCallbacks(result)

Mo 05 Sep 2011 17:47:48 None 0 Broker,27,79.226.161.85 File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 354, in _startRunCallbacks

Mo 05 Sep 2011 17:47:48 None 0 Broker,27,79.226.161.85 self._runCallbacks()

Mo 05 Sep 2011 17:47:48 None 0 Broker,27,79.226.161.85 --- <exception caught here> ---

Mo 05 Sep 2011 17:47:48 None 0 Broker,27,79.226.161.85 File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 371, in _runCallbacks

Mo 05 Sep 2011 17:47:48 None 0 Broker,27,79.226.161.85 self.result = callback(self.result, *args, **kw)

Mo 05 Sep 2011 17:47:48 None 0 Broker,27,79.226.161.85 File "/usr/lib/python2.6/dist-packages/twisted/spread/pb.py", line 763, in serialize

Mo 05 Sep 2011 17:47:48 None 0 Broker,27,79.226.161.85 return jelly(object, self.security, None, self)

Mo 05 Sep 2011 17:47:48 None 0 Broker,27,79.226.161.85 File "/usr/lib/python2.6/dist-packages/twisted/spread/jelly.py", line 1120, in jelly

Mo 05 Sep 2011 17:47:48 None 0 Broker,27,79.226.161.85 return _Jellier(taster, persistentStore, invoker).jelly(object)

Mo 05 Sep 2011 17:47:48 None 0 Broker,27,79.226.161.85 File "/usr/lib/python2.6/dist-packages/twisted/spread/jelly.py", line 530, in jelly

Mo 05 Sep 2011 17:47:48 None 0 Broker,27,79.226.161.85 sxp.extend(self._jellyIterable(list_atom, obj))

Mo 05 Sep 2011 17:47:48 None 0 Broker,27,79.226.161.85 File "/usr/lib/python2.6/dist-packages/twisted/spread/jelly.py", line 586, in _jellyIterable

Mo 05 Sep 2011 17:47:48 None 0 Broker,27,79.226.161.85 yield self.jelly(item)

Mo 05 Sep 2011 17:47:48 None 0 Broker,27,79.226.161.85 File "/usr/lib/python2.6/dist-packages/twisted/spread/jelly.py", line 473, in jelly

Mo 05 Sep 2011 17:47:48 None 0 Broker,27,79.226.161.85 return obj.jellyFor(self)

Mo 05 Sep 2011 17:47:48 None 0 Broker,27,79.226.161.85 File "/usr/lib/python2.6/dist-packages/twisted/spread/flavors.py", line 351, in jellyFor

Mo 05 Sep 2011 17:47:48 None 0 Broker,27,79.226.161.85 jstate = jellier.jelly(state)

Mo 05 Sep 2011 17:47:48 None 0 Broker,27,79.226.161.85 File "/usr/lib/python2.6/dist-packages/twisted/spread/jelly.py", line 536, in jelly

Mo 05 Sep 2011 17:47:48 None 0 Broker,27,79.226.161.85 sxp.append([self.jelly(key), self.jelly(val)])

Mo 05 Sep 2011 17:47:48 None 0 Broker,27,79.226.161.85 File "/usr/lib/python2.6/dist-packages/twisted/spread/jelly.py", line 473, in jelly

Mo 05 Sep 2011 17:47:48 None 0 Broker,27,79.226.161.85 return obj.jellyFor(self)

Mo 05 Sep 2011 17:47:48 None 0 Broker,27,79.226.161.85 File "/usr/lib/python2.6/dist-packages/twisted/spread/flavors.py", line 349, in jellyFor

Mo 05 Sep 2011 17:47:48 None 0 Broker,27,79.226.161.85 state = self.getStateToCacheAndObserveFor(p, observer)

Mo 05 Sep 2011 17:47:48 None 0 Broker,27,79.226.161.85 File "mv3d/net/pb.py", line 686, in getStateToCacheAndObserveFor

Mo 05 Sep 2011 17:47:48 None 0 Broker,27,79.226.161.85 self.__class__.__name__)

Mo 05 Sep 2011 17:47:48 None 0 Broker,27,79.226.161.85 mv3d.net.pb.CacheableError: Permission denied sending StationaryBody!

Mo 05 Sep 2011 17:47:48 None 0 Broker,27,79.226.161.85

You understand, that happens now only, if I login as jhamel, if I login as admin I get the green ground, all other is grey and the girl figure.

Thank for your help,
Juergen
jhamel
 
Posts: 17
Joined: Fri Jul 15, 2011 11:07 am

Re: Panda Player

Postby SirGolan » Mon Sep 05, 2011 6:22 pm

mv3d.net.pb.CacheableError: Permission denied sending StationaryBody!


That looks like some sort of permission problem with newly created characters. I'm pretty sure I know what's going on. I'll get it fixed up ASAP.

By the way, if you haven't already, you may want to register for an account in Trac so you can submit bug tickets (or feature requests):

http://www.mv3d.com/trac/register

Let me know if you do and I'll confirm your account. That's currently a manual step for me due to all the spambots.

Thanks,

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

Re: Panda Player

Postby jhamel » Sun Sep 11, 2011 12:29 pm

Mo 05 Sep 2011 17:47:48 None 0 Broker,27,79.226.161.85 mv3d.net.pb.CacheableError: Permission denied sending StationaryBody!

I setup all ( vieser and server) to your svn version 1838, but the error occurs all the time. Did you have a workaround for me or can you say me, where I can look for it ?

Bye
Juergen
jhamel
 
Posts: 17
Joined: Fri Jul 15, 2011 11:07 am

Re: Panda Player

Postby SirGolan » Sun Sep 11, 2011 8:25 pm

jhamel wrote:I setup all ( vieser and server) to your svn version 1838, but the error occurs all the time. Did you have a workaround for me or can you say me, where I can look for it ?


I don't think I've gotten around to fixing that just yet. I'm pretty sure I know what the issue is though. If you want to fix it locally, you can go to mv3d/server/worldgen.py and after line 573, add:

Code: Select all
ground.grantPermission("read", "all")
ground.grantPermission("reference", "all")
ground.body.grantPermission("read", "all")
ground.body.grantPermission("reference", "all")


I think that should fix the problem. You'll have to re-create the panda demo world (delete ~/.mv3d/store and run initialize again in Overseer).

Alternately, you can fix it without re-creating the panda demo world using the following server console commands:

Code: Select all
ground = Sim.items[0,9]
ground.grantPermission("read", "all")
ground.grantPermission("reference", "all")
ground.body.grantPermission("read", "all")
ground.body.grantPermission("reference", "all")


Thanks,

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

Next

Return to Client Software

Who is online

Users browsing this forum: No registered users and 1 guest

cron