Crystal Space
Welcome, Guest. Please login or register.
July 30, 2014, 06:47:19 am

Login with username, password and session length
Search:     Advanced search
9005 Posts in 2043 Topics by 8258 Members
Latest Member: Kathleencovert
* Home Help Search Login Register
  Show Posts
Pages: [1]
1  Crystal Space Development / General Crystal Space Discussion / Re: Lua plugin on: October 27, 2006, 11:00:54 pm
Added the cslua-test branch with your test program. Testing it, I had a lua prompt on the crystal space window but print didn't printed anything on the terminal behind.

Anyways, I really need to take some time to llok deeper in the source to do something more useful than configure.ac and Jamfiles scripts.
About that, It appears you're using Windows while I use a gnu/linux distro, si I wonder how you compile Crystal Space ... do you use the configure script ? Anyways, it must be possible for you to use Jam just modifying some variables tn the Jamconfig file.
2  Crystal Space Development / General Crystal Space Discussion / Re: Lua plugin on: October 20, 2006, 10:29:12 pm
Begin to look like something interresting Smiley thanks for your work.

Quote
Bazaar dies on my computer constantly, when I try to chekckout  - with a 'connection error - unable to reach SSH host bazaar.launcpad.net' . Any idea, what's wrong?

Not many ideas ... I could help better if you used a gnu/linux system but let's try to solve that problem.
- does bazaar works with a local branch (try bzr init on a new folder) ?
- do you have configured your ssh keys ? both locally and in launchpad ?
- do you specify your lauchpad login th the branch URI ?
- what command line do you use ?

I don't know how it works on Windows, maybe you can try to install a unix environment like mingw or cygwin ... It should work then ...

And, I just realized it, it is not bazaar.launcpad.net but bazaar.launchpad.net, what if you just change the address ?
3  Crystal Space Development / General Crystal Space Discussion / Re: Lua plugin on: October 18, 2006, 10:55:03 am
What's going wrong with your bazaar ?

Anyway, I created the branch, and you can checkout from it.

Code:
cd $CRYSTAL
bzr checkout sftp://bazaar.launchpad.net/~cslua/cslua/CS

I'm currently trying to create jamfiles.

edit: created Jamfiles and it seems to work. Next step is to integrate your test application and also to use autoconf to detect LUA CFLAGS and LFLAGS. Actually the flags are defined directly in Jamfile.
I also removed some warnings (no newline at end of tile and unused variable)
4  Crystal Space Development / General Crystal Space Discussion / Re: Lua plugin on: October 18, 2006, 05:32:46 am
When I download it, I have a file with length = 0 ... no matter which software I use to download.
5  Crystal Space Development / General Crystal Space Discussion / Re: Lua plugin on: October 16, 2006, 10:11:52 pm
bzr not working ? maybe I can help ...

These times, I have very few time for personal projects because I started the school year along with an activity in an association, so I'm sorry to say I didn't progress so much. I'm still documenting myself about autoconf. I have ideas on how to do but it does not work yet.
Maybe it was not a good idea to start this project with you, bgecause I let you do all the work Smiley If you feel you're doing too much, don't hesitate to take a break ... I hope also that when you'll make your branch aviable, I'll be able to do something useful. The problem is that I don't know how to start tyhe plugin.
6  Crystal Space Development / General Crystal Space Discussion / Re: Lua plugin on: October 10, 2006, 09:41:43 pm
Good Smiley I have to say I didn't started yet coding because I lacked of time ... last sunday, I wasn't aviable for the day and it took me some energy so now I need to sleep a little more than usual. But I learned how jam works and also autoconf, so I think I can try creating jamfiles for cslua.

Did you succeed to do something interresting ? Maybe if you did, you can continue until having something to put in a bazaar branch ... and in my side, I can search how to modify configure.ac and create Jamfiles.
Maybe I'll start now (depending how sleepy I feel).
7  Crystal Space Project Development / Feature Requests / Re: Lua plugin on: October 07, 2006, 11:57:21 am
Thanks for that, Until few days ago, I didn't found time to ask you that (partly because my g++ wre broken) ... and now, we started with paganwarrior a plugin. I don't think I'll need to take your time after all. But if you are interrested in the devloppment you can join.

This post is also to say that there is another topic for the lua plugin in the main forum (maybe not the best forum to open it) : http://community.crystalspace3d.org/forum/index.php?topic=1283
8  Crystal Space Development / General Crystal Space Discussion / Re: Lua plugin on: October 07, 2006, 11:28:53 am
I looked at CS/plugins/csscript/cspython and apparently the Jamfile depends on the complete build tree ... It does not seems easy to integrase something else in there without using the main CS repository.
What I am thinking about is that instead of just placing the cslua directory in our branch, we can put everything in the CS directory but only touch to the cslua directory in there or seme file w need to modify (like configure.am or plugins/csscript/Jamfile). What do you think ?

Creating the branch will look like :

cd $CRYSTAL
mkdir plugins/csscript/cslua
bzr init
bzr add configure.am
bzr add plugins/csscript/Jamfile
bzr add plugins/csscript/cslua
bzr push sftp://bazaar.launchpad.net/~cslua/cslua/branchname
bzr bind sftp://bazaar.launchpad.net/~cslua/cslua/branchname
cd plugins/csscript/cslua
... coding ...

(the bind is there to transform the local branch into a checkout of the main branch, then they'll be synchronized automaticilly. ?If both branches have diverged, you need to merge and commit the remote changes first.? About bzr checkout and bound branches)

Do you have an idea of the branchname ?
Mildred

PS: I recived your email, I ome you recived my reply.
9  Crystal Space Development / General Crystal Space Discussion / Re: Lua plugin on: October 04, 2006, 10:53:01 am
The problem is that my "repository" is not a real repository, it is a free account for personal websites, so i only have ftp access and only with one login/pass. And i use the tool sitecopy to update the online "repository" regurlary.

I'll try to find a solution.

edit: I think about opening an account on gna. What do you think ?

edit2: maybe it would be better to use Launchpad to host bazaar branches, because GNA aims at hosting projects for a long time, and if our project is successful, it will likely be merged into the main CS repository.
If you don't like Launchpad for some reason, I can understand, not free (yet) ... but I don't see any other solution. Except solutions like Gna, maybe sourceforge ... but I don't want to "pollute" them just for a tempoary access to a repository.

edit:

Launchpad is a good environment I think, You can create an account there if you don't have one yet then try t subscribe to the cslua team I just created. You also need to add your ssh public key in your preferences then you can use the bazaar repository.

For example, to create a branch :

bzr init # create a new branch in the current diorectory
bzr add source.cpp
bzr commit
bzr push sftp://yourusername@bazaar.launchpad.net/~cslua/cslua/branchmane

Get a branch (centralized version) :

bzr checkout sftp://yourusername@bazaar.launchpad.net/~cslua/cslua/branchmane
# modify some files
bzr commit # will upload your changes.

I found that on this page
10  Crystal Space Development / General Crystal Space Discussion / Re: Lua plugin on: October 03, 2006, 10:29:34 pm
I am more than ready to start a lua plugin but as I said before, I know very few of CS and CEL internals ... And I am also a little novice in C++ even if I think I begin to understand it. i still need to se C++ documentation frequently. But if we are many to develop this lua plugin, this should not be a problem.

The other problem I have is that I understand nothing about Jamfiles that are used in CEL compilation, and not much more avout Makefiles as automake handles them. I prefer raw Makefiles or something like cmake (used in KDE). I tried to copy the python plugin and replace all occurences of py(thon) in the Jamfile by lua but I think it is not a good solution.

Another issue is where we'll place the code we're working on, I doubt we could have a svn access to the main repository right now.
Actually I use a website to hold bazaar branches of my projects, but I am the only one to have a write access here. I like bazar because Ido not have to maintain a separated repository and it is easy to share. Maybe it would be a solution.

Mildred
11  Crystal Space Development / General Crystal Space Discussion / Re: CS, CEL and network - Wheel Of Time on: October 03, 2006, 10:27:28 pm
I think it is a bug in ubuntu edgy. Not from Crystal Space which compiled fine before switching from dapper to edgy.

Lets continue the discussion to the new topic.
12  Crystal Space Development / General Crystal Space Discussion / Re: CS, CEL and network - Wheel Of Time on: October 03, 2006, 05:14:35 pm
I'll try to start the lua plugin but before, I must have a working c++ compiler Smiley
(I can't compile CS at the moment... some wierd error about a symbol that isn't found in the libstdc++)
13  Crystal Space Development / General Crystal Space Discussion / CS, CEL and network - Wheel Of Time on: October 03, 2006, 08:52:23 am
Hi,

The Wheel Of Time is a book written by Robert Jordan that I love. A game with the same name was created by Legend using the Unreal Engine, but now, the official website has disapeared. What I want to do is to create a similar game, using the Wheel of Time world using Crystal Space.
I thought about using others framework, like Ogre for example but I don't want to  recreate everything ... ang Ogre provides only 3D rendering.

The problem is that I need network and as far as I know, there is no network plugin in CS. I thought about what I could do using CEL. For example, the characters are entities which behaviour layer would listen the network to move characters and so on. Do you think it is a good idea ?

Then, comes my other problem. In the original WoT game, (along with every game using the UnrealEngine I think) it is possible to extand the game (creating new game rules for example) easily. You create some code and you put it in your map. I think I could do that with CEL but the problem is the security of the written code. Because there is only XML and Python bindings, and because I think XML is a little limitating, untrusted python code would be able to be executed on the client.
And because Python does not provide a sandbox / restricted environment system, either you use PyPy, or chose another language and forbid python scripts to be downloaded. That's why I thought about using Lua and create a lua plugin.

But even after that, I have few ideas on how to integrate all this. And because creating a lia plugin might take time, I would like to begin creating something usable using Python. Can you help me to see better in that ?

Thanks
Mildred
14  Crystal Space Project Development / Feature Requests / Re: Lua plugin on: September 11, 2006, 10:45:53 pm
Hi,

First, swig does support Lua ! (Swig and Lua)

Since I really want the lua language to be supported by either Crystal Space and CEL, I think I can do it or at least, help doing it but because I know very few about Crystal Space and Jam(files) which are used to compile at least CEL, I think I would need some help.

I have nothing against Python which is a great language but there is no way to have restricted environments to execute untrusted code. Maybe it is possible with PyPy but ... I prefer a lightweight language like lua anyways.

So if someone could help me to start ... I tried directly with CEL but I think I will need to create bindings for CS first which is from my point of view far more complicated.

Mildred
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 6.175 seconds with 17 queries.