Jiba schrieb:
> On Mon, 30 Mar 2009 16:25:20 +0200
> Jan Filip Tristan Hasecke <[email protected]> wrote:
>
>   
>> Hi,
>>
>> I'm already familiar to soya. Now I want to program a game playable in 
>> the internet. I want to use Tofu, but I never used it before. I read the 
>> yet.-in, but I still don't understand it. My question is: Does anybody 
>> have a file like game_skel_5.py, but with tofu. It should contain a 
>> how-to init a server, client and adding Players and basic collisions 
>> (wall, ground) and it should have a controller for eventhandling.
>>     
>
> Hi,
>
> The latest version (and the less buggy) of Tofu is the one included in 
> Balazar 3 (in the SVN). But as far as I know, there is no other game using it 
> than Balazar 3...
>
> Actually, Tofu is far from being as stable as Soya is.
>
> Jiba
>   
hi,

I've tryed some basic stuff with tofu, but in the beginning I have my 
first problem I don't understand. I want to load a model to a Mobile and 
get this error, which I never had before... :


    * Soya * Using 8 bits stencil 
buffer                                                         

    * Soya * version 0.14
    * Using OpenGL 2.1.2 NVIDIA 177.82
    *   - renderer : GeForce 8600M GT/PCI/SSE2
    *   - vendor   : NVIDIA Corporation      
    *   - maximum number of lights        : 8
    *   - maximum number of clip planes   : 6
    *   - maximum number of texture units : 4
    *   - maximum texture size            : 8192 pixels

    * Tofu * Creating new player Player...
    * Soya * Converting data/blender/normbauch.blend to Model...
    Traceback (most recent call last):                         
      File "run.py", line 41, in <module>                      
      tofu.MainLoop(scene).main_loop()                       
      File "/usr/lib/python2.5/site-packages/soya/tofu/sides.py", line 
77, in f
        for f1 in fs: r = f1(*args, **kargs)
      File "/usr/lib/python2.5/site-packages/soya/tofu/__init__.py", 
line 155, in __init__
        player = Player.get_or_create(player_id)
      File "/usr/lib/python2.5/site-packages/soya/tofu/__init__.py", 
line 567, in get_or_create
        if not player_id.filename in Class.availables(): return 
CREATE_PLAYER(player_id)
      File "/home/filip/3drpg_tofu/player.py", line 9, in __init__
        self.mobile.set_model(      soya.Model.get("normbauch"))
      File "/usr/lib/python2.5/site-packages/soya/__init__.py", line 
283, in get
        return klass._alls.get(filename) or 
klass._alls.setdefault(filename, klass.load(filename))
      File "/usr/lib/python2.5/site-packages/soya/__init__.py", line 
292, in load
        dirname  = 
klass._get_directory_for_loading_and_check_export(filename)
      File "/usr/lib/python2.5/site-packages/soya/__init__.py", line 
228, in _get_directory_for_loading_and_check_export
        klass._export(d, filename)
      File "/usr/lib/python2.5/site-packages/soya/__init__.py", line 
496, in _export
        model = World.get(filename).to_model()
      File "/usr/lib/python2.5/site-packages/soya/__init__.py", line 
283, in get
        return klass._alls.get(filename) or 
klass._alls.setdefault(filename, klass.load(filename))
      File "/usr/lib/python2.5/site-packages/soya/__init__.py", line 
294, in load
        obj = loads(open(os.path.join(dirname, klass.DIRNAME, filename + 
".data"), "rb").read())
      File "/usr/lib/python2.5/site-packages/soya/__init__.py", line 65, 
in loads
        raise ValueError("Cannot read file / data!")
    ValueError: Cannot read file / data!

Thank you very much for all help

Yours, Filip Hasecke

_______________________________________________
Soya-user mailing list
[email protected]
https://mail.gna.org/listinfo/soya-user

Reply via email to