Crystal Space
Welcome, Guest. Please login or register.
September 22, 2014, 03:16:49 pm

Login with username, password and session length
Search:     Advanced search
9018 Posts in 2051 Topics by 8498 Members
Latest Member: Travisware
* Home Help Search Login Register
  Show Posts
Pages: [1] 2 3 ... 5
1  Crystal Space Development / General Crystal Space Discussion / Re: Lua plugin on: October 28, 2006, 07:43:23 am
In ther nearby future the test app will use the CS console to print  Lua output, the current solution maybe not platfom indepent (I never tested under Linux ).

I compiled the 1.0pre1 version  - with MSVC8 - this solution don't need any configuration script.

2  Crystal Space Development / Support / SCF warnings on: October 21, 2006, 10:08:12 am
I get many SCF warnings, when I shut down my application. The text:

SCF WARNING: 1 unreleased instances of class crystalspace.console.input.standard!
SCF WARNING: 1 unreleased instances of class crystalspace.console.output.standard!
SCF WARNING: 1 unreleased instances of class crystalspace.font.server.default!

etc.

I load this plugins with this function:

bool luaConsole::Initialize(iObjectRegistry* obj_reg)
{
   object_reg = obj_reg;

   conout = csQueryRegistryOrLoad<iConsoleOutput> (object_reg,
     "crystalspace.console.output.standard");
  if (!conout)
  {
    csReport (object_reg,
          CS_REPORTER_SEVERITY_ERROR, "lua.console",
      "Can't load the output console!");
    return false;
  }
  conin = csQueryRegistryOrLoad<iConsoleInput> (object_reg,
     "crystalspace.console.input.standard");
  if (!conin)
  {
    csReport (object_reg,
          CS_REPORTER_SEVERITY_ERROR, "lua.console",
      "Can't load the input console!");
    return false;
  }
 

  conin->Bind (conout);
  conin->SetPrompt ("lua:");
  ExecCallback* cb = new ExecCallback ();
  conin->SetExecuteCallback (cb);
  if(!cb->InitLua(object_reg)) return false;


  cb->DecRef ();
  conout->SetVisible (false);

  return true;
}

The exit code is canonical:

csRef<iEventQueue> q =
        CS_QUERY_REGISTRY(GetObjectRegistry(), iEventQueue);
      if (q.IsValid()) q->GetEventOutlet()->Broadcast(csevQuit(GetObjectRegistry()));

Why I get this wranings?
How can  I avoid this?

Thx for any reply!

3  Crystal Space Development / General Crystal Space Discussion / Re: Lua plugin on: October 21, 2006, 07:58:27 am
And, I just realized it, it is not bazaar.launcpad.net but bazaar.launchpad.net, what if you just change the address ?

A wonder happens, bazaar works!


4  Crystal Space Development / General Crystal Space Discussion / Re: Lua plugin on: October 20, 2006, 12:37:06 pm
What's next?

1. I create a shorter simplified test app -this version is a 'copy-paste' work from my own CS project -with a litlle modification -the original console class was Python-based. We don't need map loading, and collosion detection - it's enough, whe we use the canonical CreateRoom() function.

2. I make the swig binding.

3. I write the needed lua test chunks.

4. Finishing touches - comand line options, or a simple config file to the plugin, redirecting the lua in,out, error channels.

5. Public test.

6. Let's go to create CEL binding.
5  Crystal Space Development / General Crystal Space Discussion / Re: Lua plugin on: October 20, 2006, 12:15:35 pm
So, my test app loads correctly the lua plugin - a screenshot:

Crystal Space collapses, when I try to load flarge map, so I changed the map name in the LoadMap() function to terrain - and eerithing is ok.

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?




6  Crystal Space Development / Support / Re: I can't include "crystalspace.h" on: October 18, 2006, 01:54:38 pm
Here is the solution:
http://crystalspace3d.org/docs/online/manual/cs_4.21.2.php#4.21.2
7  Crystal Space Development / General Crystal Space Discussion / Re: Lua plugin on: October 18, 2006, 09:25:39 am
And here is the source of the test app: http://crystaldoc.atw.hu/luatest.zip

Note: The app will collapse, when you try to start it. My next step will fix up bazaar, I need  versioning.
8  Crystal Space Development / General Crystal Space Discussion / Re: Lua plugin on: October 18, 2006, 07:50:15 am
When I download it, I have a file woth length = 0 ... no matter which software I use to download.

Aargh, this ftp server doesn't work correctly.... sorry.

The new link is http://crystaldoc.atw.hu/cslua.zip

9  Crystal Space Development / General Crystal Space Discussion / Re: Lua plugin on: October 17, 2006, 09:36:01 pm
I try to fix my problem . You can download a zipped snapshot from the current state vof development here:
htttp://w3.cablenet.hu/maxjoco/cslua.zip
10  Crystal Space Development / General Crystal Space Discussion / Cs FAQ for newbies on: October 17, 2006, 08:19:59 am
The general CS FAQ for newbies

Q: What is Crystal Space?
A: Crystal Space is a free and open source  3d application framework. The heart of CS is the OpenGL renderer, but it provides solutions to playing sounds (even 3D), handling inputs (keyboard, mouse, joystick),  you can use many scripting langeuge, and
it has many other components, that you can use in your game. Crystal Space supports many platforms (Windows, Linux, MacOS),
so you can develop portable applications easily.

Q: There is more Crystal Space version in the Downloads section. What is good for me?
A: The old 0.98 version  is really old
- never use it. The new pseudostable
version
is much better - but I recommend you the      svn- version - this version contents the newest features.

Q: How can I install Crystal Space?
A: Yo have to compile from source. That means,you need a compiler (gcc or VisualC++) the CS sources and dependencies to do
this. There is a binary package for artist
with installer (for Windows only), and a CELStart
scripting enviroment (for Windows and Linux).

Q: I want to make an FPS/RTS/MMMORPG/racing/etc game. Crystal Space is good for me?    
A: Yes. Crystal Space is a general framework, you can develop with CS any type of game (and not just games). Some
examples:Crystal Core is an FPS,
Planeshift is an MMORPG, Bonez Adventures is a
rpg/aventure game. The only limit is your fantasy.

Q: I'm a non-programmer. Can I use Crystal Space without porgramming? 
A: Crystal Space is a software development kit (SDK), written in c++. You need coding in c++, or Python at least, when you
use CelStart. The CrystalBlend is a
Blender plugin to create CS and CEL based games.

Q: What is CEL?
A: The Crystal Entity Layer (CEL) is an entity handling system  for Crystal Space. With CEL you can develop games very easy
and fast - you can fid more information in the CEL manual

Q: How can I find tutorials for CS?
A: There is a few tutorial in the CS manuall - I know, you need more. The CS community site contents other tutorials - the site
need a great update, the materials  are very old. Other tutorials  work in progress.

Q: I have issues, when I try to compile CS. What can I do?
A: First, read the manual (RTFM) , maybe you find the solution. Second, search on this forum - many problem has been solved
on this site. Last: ask on this forum, or by mailing list.

Q: I succesfully compiled CS, but I can't compile my own aplication. What can I do?
A: Read the Creating an External project section in the manual.

Q: Why so hard to use Crystal Space?
A: CS is not a hard to use project - many people use it every day. Ok, it uses some strange concepts and solutions - but you
can learn it - is not so hard.   
11  Crystal Space Development / General Crystal Space Discussion / Re: Lua plugin on: October 17, 2006, 07:33:15 am
I have enough motivation - so I don't stop.
12  Crystal Space Development / General Crystal Space Discussion / Re: Lua plugin on: October 16, 2006, 01:35:15 pm
Bazaar not workibg for me. I try to fix the probel, and I'll put my code into the branch.
13  Crystal Space Development / Support / Re: Link error on: October 11, 2006, 02:05:05 pm
So...

You've installed cswinlibs-018.
You've added cswinlibs to the VC++ directories (include and lib files)

In that case you can compile all CS app and dll.

When you try to compile Simple1 and simple2 as an external project, follow this guide:

http://crystalspace3d.org/docs/online/manual/cs_4.21.2.php#4.21.2




14  Crystal Space Development / General Crystal Space Discussion / Re: Lua plugin on: October 10, 2006, 09:12:45 am
I downloaded the latest swig and Lua 5.1 - and I've started the coding.
15  Crystal Space Development / Support / Re: Link error on: October 08, 2006, 02:32:43 pm
Can see your comipiler the winlibs package? (Tools->Options->Projects and Solutions->VC++ directories)
Pages: [1] 2 3 ... 5
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 4.388 seconds with 16 queries.