Author Topic: Error when trying to start local server  (Read 7818 times)

Offline Recon

  • Lieutenant
  • ***
  • Posts: 60
  • Karma: +1/-0
    • View Profile
Error when trying to start local server
« on: September 21, 2006, 07:22:38 am »
Get this when I click "Start Local Game"
Rev 1013

Code: [Select]
mec@mec-desktop:~/development/precursors$ ./precursors
preClient version 0.3.4 Build 1004 by G33X Nexus Entertainment.
SCF_NOTIFY: class crystalspace.cegui.wrapper (from /home/mec/development/CS/cscegui.so) has already been registered in a different context: '{none}' vs. '{none}' (from /home/mec/development/CS/cegui.so); this message appears only in debug builds
WARNING: could not load plugin 'crystalspace.sound.render.software'
WARNING: could not load plugin 'crystalspace.sound.loader.multiplexer'
WARNING: could not load plugin 'crystalspace.modelconverter.multiplexer'
WARNING: could not load plugin 'crystalspace.mesh.crossbuilder'

crystalspace.canvas.glx2d:
  Opening GLX2D
  Creating Context
  Video driver GL/X version (direct renderer)
  Visual ID: 0x00000023, 24bit TrueColor
  R8:G8:B8:A8,
  level 0, double buffered

crystalspace.canvas.openglcommon.driverdb:
  Applied: Broken ATI point sprites (NV)

crystalspace.canvas.openglcommon:
  OpenGL renderer: GeForce 6600 LE/AGP/SSE2 (vendor: NVIDIA Corporation)
  version 2.0.2 NVIDIA 87.62
  Using windowed mode at resolution 1024x768.
  Pixel format: Color: 24 Alpha: 8 Depth: 24 Stencil: 8 AccumColor: 48
  AccumAlpha: 16 MultiSamples: 0
  Multisample: disabled

gne.Precursors:
  Joystick support enabled. Loading joystick plugin.

crystalspace.device.joystick.linux:
  No operable joystick found


crystalspace.pluginmgr.loadplugin:
  failed to initialize plugin 'crystalspace.device.joystick.linux'

gne.Precursors:
  Attempt to load plugin 'crystalspace.device.joystick.linux' failed
  Application initialized successfully.
Loading window 'Root'.
Loading window 'Main'.
Adding level 'flightsim'.
Adding level '/precursors/levels/Jamfile'.
Done adding levels.

crystalspace.bugplug:
  BugPlug loaded...

precursors.addon.window.main:
  Hold on, the hamster is working...
Loading window 'Progress'.
Loading window 'Hud'.

precursors.addon.windowmanager:
  Loading the server.

cel.networklayer.server:
  Starting server on port 60600.

precursors.addon.windowmanager:
  Starting the server.
  Creating level entity...

precursors.addon.contentloader:
  Loading level '/precursors/levels/flightsim'...

precursors.behaviourlayer.c++.level:
  Start loading level.
  Loading region 'space2'.
  Loading entities in sector 'Scene', region 'space2'.
  Start loading level.
Not Deleted 0x8b61c80 '(null)' ref=1
Not Deleted 0x8b7bda8 'flare_center' ref=1
Not Deleted 0x8b6af68 'flare_spark1' ref=1
Not Deleted 0x8b7d7e8 'flare_spark2' ref=1
Not Deleted 0x8b7c088 'flare_spark3' ref=1
Not Deleted 0x8b7bfd0 'flare_spark4' ref=1
Not Deleted 0x8b7a5e0 'flare_spark5' ref=1
Not Deleted 0x824aa68 'Scene' ref=1
Not Deleted 0x824ac88 'Lamp.011' ref=1
Not Deleted 0x824ae98 'Lamp.010' ref=1
Not Deleted 0x824b0a8 'Lamp.009' ref=1
Not Deleted 0x8b7aaf8 'Lamp.008' ref=1
Not Deleted 0x8b7ad08 'Lamp.007' ref=1
Not Deleted 0x8b7af18 'Lamp.006' ref=1
Not Deleted 0x8b7b128 'Lamp.005' ref=1
Not Deleted 0x8b7b338 'Lamp.004' ref=1
Not Deleted 0x8432100 'Lamp.003' ref=1
Not Deleted 0x8b7d438 'flare_center' ref=1
Not Deleted 0x8469c00 'flare_spark1' ref=2
Not Deleted 0x8b6a200 'flare_spark2' ref=2
Not Deleted 0x824b300 'flare_spark3' ref=4
Not Deleted 0x824b3f0 'flare_spark4' ref=3
Not Deleted 0x8b7b740 'flare_spark5' ref=3
Not Deleted 0x8432310 'Lamp.002' ref=1
Not Deleted 0x8432700 'Lamp.001' ref=1
Not Deleted 0x8432940 'Lamp' ref=1
  Loading region 'space2'.
  Stop loading level.
Mass: 25000.000000; Center: 0.000000,0.000000,0.000000

precursors.addon.contentloader:
  CreateEntity: Successfully loaded entity 'Archigos1'.
Assertion failed: *(CookieType*)p == startCookie
Location:         libs/csutil/ptmalloc_wrap.cpp:97
Message:          Memory block has wrong cookie (was probably allocated in another module)
Call stack:
/home/mec/development/precursors/nlserver.so [0xb5ed4c08]
/home/mec/development/precursors/nlserver.so(Precursors::Networking::celServerNetworkLayer::CreateEntity(iCelEntity*, unsigned int, char const*, iSector*, iCelRegion*, iCelParameterBlock*)+0x183) [0xb5eade47]
./precursors(Precursors::ContentManager::CreateEntitiesFromMap(iSector*, iCelRegion*)+0x2ba) [0x8166010]
./precursors(Precursors::BehaviourLayer::Level::LoadEntitiesInRegion(iCelRegion*)+0x1c5) [0x815af23]
./precursors(Precursors::BehaviourLayer::Level::SendMessage(unsigned long, iCelPropertyClass*, celData&, iCelParameterBlock*, char*)+0x16f) [0x815b0e1]
./precursors(Precursors::BehaviourLayer::Base::SendMessageV(char const*, iCelPropertyClass*, celData&, iCelParameterBlock*, char*)+0x5f) [0x815c603]
./precursors(Precursors::BehaviourLayer::Base::SendMessage(char const*, iCelPropertyClass*, celData&, iCelParameterBlock*, ...)+0x41) [0x815c59b]
/home/mec/development/cel/pfzone.so [0xb20e0efe]
/home/mec/development/cel/pfzone.so [0xb20e18a8]
/home/mec/development/cel/pfzone.so [0xb20e24da]
/home/mec/development/cel/pfzone.so [0xb20e9994]
/home/mec/development/cel/pfzone.so [0xb20f9e8a]
./precursors(Precursors::ContentManager::LoadLevel(char const*)+0x536) [0x816725e]
/home/mec/development/precursors/nlserver.so(Precursors::Networking::celServerNetworkLayer::StartLevel(char const*)+0x4c) [0xb5eadb42]
./precursors(Precursors::ContentManager::StartLevel()+0xf0) [0x816500e]
./precursors(Precursors::ContentManager::StartServer(bool)+0x6a9) [0x8165725]
./precursors(Precursors::ContentManager::StartServer(int, char const*, bool)+0x56) [0x8160406]
./precursors(preWindowMain::Action(CEGUI::String)+0x2fff) [0x81811fb]
./precursors(preGUIWindow::OnClicked(CEGUI::EventArgs const&)+0x179) [0x81898e5]
./precursors(CEGUI::MemberFunctionSlot<preGUIWindow>::operator()(CEGUI::EventArgs const&)+0x5b) [0x81795af]
/usr/local/lib/libCEGUIBase.so.1(CEGUI::Event::operator()(CEGUI::EventArgs&)+0x48) [0xb7dfa6d8]
/usr/local/lib/libCEGUIBase.so.1(CEGUI::EventSet::fireEvent_impl(CEGUI::String const&, CEGUI::EventArgs&)+0x4f) [0xb7dfbaf1]
/usr/local/lib/libCEGUIBase.so.1(CEGUI::EventSet::fireEvent(CEGUI::String const&, CEGUI::EventArgs&, CEGUI::String const&)+0x49) [0xb7dfbb41]
/usr/local/lib/libCEGUIBase.so.1(CEGUI::Window::onMouseClicked(CEGUI::MouseEventArgs&)+0x3c) [0xb7e3ff7e]
/usr/local/lib/libCEGUIBase.so.1(CEGUI::System::injectMouseButtonUp(CEGUI::MouseButton)+0x17c) [0xb7e37206]
/home/mec/development/CS/cegui.so [0xb649c916]
/home/mec/development/CS/cegui.so [0xb64b034c]
/home/mec/development/CS/cegui.so [0xb64b06ff]
./precursors [0x80ec988]
./precursors [0x80d3928]
./precursors [0x80d3a35]
./precursors [0x80aa75d]
./precursors(csApplicationFramework::Run()+0x13) [0x809a051]
./precursors(Precursors::preClient::Application()+0x2045) [0x809979d]
./precursors [0x80abdc8]
./precursors [0x80abf9a]
./precursors(csApplicationRunner<Precursors::preClient>::Run(int, char**)+0x34) [0x8095200]
./precursors(main+0x5d) [0x8094bad]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xd2) [0xb7b52ea2]
./precursors(__gxx_personality_v0+0x71) [0x8094ad1]
Trace/breakpoint trap

Not sure how stable this meant to be as it's todays SVN.
But in general I am slowly getting the hang of C++ and CS.

Can anyone tell me what is the best version of blender to use with CS. I have been using blender 2.41 but get strange results when I try export meshes (Blender2CS).was wondering what other people used?

anyway
regards

 



Offline Rosencrantz

  • Gray Haired
  • Lieutenant Commander
  • ****
  • Posts: 99
  • Karma: +0/-0
    • View Profile
Re: Error when trying to start local server
« Reply #1 on: September 21, 2006, 08:13:41 am »
My gut says that this is due to the lack of double-precision from your previous post. Currently recompiling to check this out.

--Rosencrantz


Offline Recon

  • Lieutenant
  • ***
  • Posts: 60
  • Karma: +1/-0
    • View Profile
Re: Error when trying to start local server
« Reply #2 on: September 21, 2006, 08:49:58 am »
well went to have a look at cel and it's got problems to

Code: [Select]
mec@mec-desktop:~/development/cel$ ./wheeledtest
SCF_NOTIFY: class crystalspace.cegui.wrapper (from /home/mec/development/CS/cscegui.so) has already been registered in a different context: '{none}' vs. '{none}' (from /home/mec/development/CS/cegui.so); this message appears only in debug builds

crystalspace.canvas.glx2d:
  Opening GLX2D
  Creating Context
  Video driver GL/X version (direct renderer)
  Visual ID: 0x00000023, 24bit TrueColor
  R8:G8:B8:A8,
  level 0, double buffered

crystalspace.canvas.openglcommon.driverdb:
  Applied: Broken ATI point sprites (NV)

crystalspace.canvas.openglcommon:
  OpenGL renderer: GeForce 6600 LE/AGP/SSE2 (vendor: NVIDIA Corporation)
  version 2.0.2 NVIDIA 87.62
  Using windowed mode at resolution 640x480.
  Pixel format: Color: 24 Alpha: 8 Depth: 24 Stencil: 8 AccumColor: 48
  AccumAlpha: 16 MultiSamples: 0
  Multisample: disabled
Assertion failed: *(CookieType*)p == startCookie
Segmentation fault


mec@mec-desktop:~/development/cel$ ./walktut
SCF_NOTIFY: class crystalspace.cegui.wrapper (from /home/mec/development/CS/cscegui.so) has already been registered in a different context: '{none}' vs. '{none}' (from /home/mec/development/CS/cegui.so); this message appears only in debug builds
Segmentation fault


mec@mec-desktop:~/development/cel$ ./celstart
SCF_NOTIFY: class crystalspace.cegui.wrapper (from /home/mec/development/CS/cscegui.so) has already been registered in a different context: '{none}' vs. '{none}' (from /home/mec/development/CS/cegui.so); this message appears only in debug builds
Segmentation fault


So I guess I got bigger/other problems that anything to do with precursors.
lol , got to stop using svn update.


Offline Rosencrantz

  • Gray Haired
  • Lieutenant Commander
  • ****
  • Posts: 99
  • Karma: +0/-0
    • View Profile
Re: Error when trying to start local server
« Reply #3 on: September 21, 2006, 09:44:04 am »
If I have problems after an svn update like that I usually just do a full clean, reconfigure remake/jam.

You also might try the phystut under CS and see if that works.

--Rosencrantz

Offline Recon

  • Lieutenant
  • ***
  • Posts: 60
  • Karma: +1/-0
    • View Profile
Re: Error when trying to start local server
« Reply #4 on: September 21, 2006, 12:29:46 pm »
Well, doing a
jam distclean; ./configure ; jam ;
in cel and then in precursors fixed this problem :)

thx Rosencrantz.

Can start a "Local Server:" and fly around.
Can start a second client and login to the local server.
Then things stop working so good, clients cant see each other. and the second client suffers from random movment.

Anyway, all the CS bits seem to be working right now.
Regards





Offline Rosencrantz

  • Gray Haired
  • Lieutenant Commander
  • ****
  • Posts: 99
  • Karma: +0/-0
    • View Profile
Re: Error when trying to start local server
« Reply #5 on: September 21, 2006, 12:49:42 pm »
The part with multiple clients is a known issue. We're currently working on redoing the networking stuff since it's more or less not working as expected right now.


Offline contingencyplan

  • Villain
  • Ivory-Tower Theorist
  • Admiral
  • *****
  • Posts: 977
  • Karma: +1/-0
  • Must I sin once, and repent forever?
    • View Profile
    • My Blog
Re: Error when trying to start local server
« Reply #6 on: September 21, 2006, 02:53:47 pm »
Indeed. You happen to know anything about network programming? I'm looking to work with people on the RaptorNL library. Check out its forum post and let me know.

At any rate, the overall goal is to replace Raknet with Raptor, so hopefully things like this won't be a problem.
We've all heard that a million monkeys banging on a million typewriters will eventually reproduce the entire works of Shakespeare. Now, thanks to the Internet, we know this is not true. 
    ~Robert Wilensky

It is not bigotry to be certain we are right; but it is bigotry to be unable to imagine how we might possibly have gone wrong.
    ~GK Chesterton

Men never do evil so completely and cheerfully as when they do it from a religious conviction.
    ~Blaise Pascal

Offline Recon

  • Lieutenant
  • ***
  • Posts: 60
  • Karma: +1/-0
    • View Profile
Re: Error when trying to start local server
« Reply #7 on: September 22, 2006, 10:35:39 am »
Nope, know almost nothing about network programming. Mostly know stuff about database. So I douth I would be much help other that suppling C code for you to laugh at :D . Not much database stuff done with C now days.

You might want to look up some of the people from this tread

http://community.crystalspace3d.org/forum/index.php/topic,1236.0.html

They all seem to be interseted in networking for CS atm and doing work with it. Might be an idea to try get everyone working on one soultion.

Best I can offer is to keep playing around tring to make some simple stuff in CS and give lots of uninformed opions. Hopefully as spend more time using CS my skills will incress. But it's slow going, espically as I am trying to get to grips with C/C++, CS , moddeling, Blender and its conversion scripts all at the same time. All over the place  in other words. ( and blender conversion is a real problem for me atm, Most moddels I make eather dont come out the same or just dont export ).

But best of look with it and I will defenatly keep watching you progress and give whatever help I can.
 
Regards   


Offline contingencyplan

  • Villain
  • Ivory-Tower Theorist
  • Admiral
  • *****
  • Posts: 977
  • Karma: +1/-0
  • Must I sin once, and repent forever?
    • View Profile
    • My Blog
Re: Error when trying to start local server
« Reply #8 on: September 22, 2006, 01:46:47 pm »
Personally, I prefer to be a master of a few skills rather than a jack of all trades. You might find better success if you focus on fewer things - either pick programming, and focus on *solidifying* your C++ skills (which I'll be happy to help out there - I'm GOOD with C++, and can do some stuff that borders on black magic voodoo with it. However, you have to bring your own virgins for the required sacrifices.). Then, work on getting your CS skills up to snuff (which mine admittedly are NOT). Or, pick modelling and exporting and suchnot, and master that field. Whichever one you choose, having a bit of knowledge in the other area will still be useful. But trying to master all of them, especially at the same time, probably requires too much mental context switching to be done effectively. Pick one, ace it, then try to learn a bit about the other area.

A good question to ask yourself right now: "Which do I enjoy more - programming, or modelling?" Let your conscience / insanity be your guide.

Oh, and I don't know much of anything about networking programming at this point, either. If you want to help me research it and the like, I'm still interested.
We've all heard that a million monkeys banging on a million typewriters will eventually reproduce the entire works of Shakespeare. Now, thanks to the Internet, we know this is not true. 
    ~Robert Wilensky

It is not bigotry to be certain we are right; but it is bigotry to be unable to imagine how we might possibly have gone wrong.
    ~GK Chesterton

Men never do evil so completely and cheerfully as when they do it from a religious conviction.
    ~Blaise Pascal

Offline ryguy_1617

  • 3d Modeler
  • Commodore
  • *******
  • Posts: 474
  • Karma: +6/-21
    • View Profile
    • http://flashcubestudios.com
Re: Error when trying to start local server
« Reply #9 on: September 22, 2006, 05:42:47 pm »
Cplan: I took your advice you gave me on this as well...I really enjoy 3d artwork more, so I think I'll stick with that...I've really ben learning alot lately and improving.