View previous topic :: View next topic |
Author |
Message |
SartriX
Joined: 13 Jul 2008 Posts: 16
|
Posted: Tue Mar 10, 2009 20:20 Post subject: |
|
|
\o/ |
|
Back to top |
|
|
Cyan Bloodbane
Joined: 25 Nov 2005 Posts: 23 Location: Somewhere in Italy
|
Posted: Thu Mar 12, 2009 18:49 Post subject: |
|
|
The precompiled doesn't run with the libstdc++.so.6, it needs the libstdc++.so.5
EDIT : I've recompiled the sources with libstdc++.so.6, when i try to enter in a cloned area (using the dm client) the server crashes brutally at the end of loading area process
Holavez |
|
Back to top |
|
|
Quixsilver
Joined: 20 Jan 2009 Posts: 30
|
Posted: Sun Mar 15, 2009 23:32 Post subject: |
|
|
Still getting segfault when entering the cloned area.
Using precompiled areas plugin.
Code: |
NWNX Areas version 0.2.3 for Linux.
(c) 2006-2009 by virusman (virusman@virusman.ru)
pServThis = 00000000
Creating area 'qx_test_instance'
Loading area 'qx_test_instance'
AreaID=000059EA
|
Code: |
NWN Extender v2.8-dev
--------------------------------
NOCHARLIST plugin registered.
CHAT plugin registered.
FUNCS plugin registered.
TMI plugin registered.
STRUCTS plugin registered.
WEAPONS plugin registered.
AREAS plugin registered.
EVENTS plugin registered.
PROFILER plugin registered.
ODBC plugin registered.
LETO plugin registered.
FIXES plugin registered.
SYSTEM plugin registered.
DEFENSES plugin registered.
* NWNX2 activated.
NWNX!INIT enforcement disabled, using 0x082041ec
NWNX!INIT enforcement disabled, using 0x08203e79
|
|
|
Back to top |
|
|
Quixsilver
Joined: 20 Jan 2009 Posts: 30
|
Posted: Tue Mar 24, 2009 2:11 Post subject: |
|
|
So far I have found the following (all using the dm client):
-- Scenario 1
1. Log in with one character
2. Use scripted item that creates an area instance
3. Log out and then back in with the same character
4. Attempt to enter area
5. Server segfaults
-- Scenario 2
1. Log in with one character
2. Use scripted item that creates an area instance
3. Log out and then back in with a different character
4. Attempt to enter area
5. Everything works fine
-- Scenario 3
1. Log in with one character
2. Use scripted item that creates an area instance and ports to instance after 30 second delay
3. Working fine so far.
4. Log out and then back in with the same character
5. Server segfaults
Basically, it seems as if the instanced area is not valid for a player after relogging.
Any ideas?
Thanks in advance! |
|
Back to top |
|
|
Timear
Joined: 23 Aug 2005 Posts: 31
|
Posted: Mon Apr 06, 2009 17:59 Post subject: |
|
|
Confirmed. I'm experiencing nearly the same symptoms. |
|
Back to top |
|
|
virusman
Joined: 30 Jan 2005 Posts: 1020 Location: Russia
|
Posted: Mon Apr 06, 2009 22:36 Post subject: |
|
|
Thanks.
The crash happens due to TURDs not being updated. |
|
Back to top |
|
|
Timear
Joined: 23 Aug 2005 Posts: 31
|
Posted: Mon Apr 06, 2009 22:43 Post subject: |
|
|
It seems to me that only characters that are online during map creation are having this problem.
And what in the nine hells are TURDs? Sounds a bit stinky... ^^ |
|
Back to top |
|
|
virusman
Joined: 30 Jan 2005 Posts: 1020 Location: Russia
|
Posted: Mon Apr 06, 2009 23:07 Post subject: |
|
|
CNWSPlayerTURD - that's how Bioware named the structure that saves player data (explored areas, current position, reputation). |
|
Back to top |
|
|
virusman
Joined: 30 Jan 2005 Posts: 1020 Location: Russia
|
|
Back to top |
|
|
Timear
Joined: 23 Aug 2005 Posts: 31
|
Posted: Mon Apr 06, 2009 23:30 Post subject: |
|
|
Ok, i've tested it with DMClient as well as with the normal client. Instanced an area, entered it and it worked well, even after relogging with the same char.
Also test cases "entering the area with a new char" and "relog before entering the newly created area for the first time" worked well, so this looks very good now.
Thank you very much.
Even if it looks very simple in the source-code: you're a genius. |
|
Back to top |
|
|
Fireboar
Joined: 17 Feb 2008 Posts: 323
|
Posted: Tue Apr 07, 2009 13:49 Post subject: |
|
|
Gotta love one-line fixes. |
|
Back to top |
|
|
Cyan Bloodbane
Joined: 25 Nov 2005 Posts: 23 Location: Somewhere in Italy
|
Posted: Thu Apr 09, 2009 18:35 Post subject: |
|
|
It works fine now, great
Holavez |
|
Back to top |
|
|
Baaleos
Joined: 02 Sep 2007 Posts: 830
|
Posted: Fri May 29, 2009 9:44 Post subject: VirusMan Babes!! |
|
|
VIRUSMAN, this sounds perfect.
Is there an ETA on windows release? - I have so many plans for this.
Also - The areas generated, I assume they do not contribute to the 20k resource limit, since they are created during module operation. |
|
Back to top |
|
|
Baaleos
Joined: 02 Sep 2007 Posts: 830
|
Posted: Fri May 29, 2009 9:48 Post subject: Whoops |
|
|
Neva mind..
Just saw the Windows release. Lol |
|
Back to top |
|
|
Quixsilver
Joined: 20 Jan 2009 Posts: 30
|
Posted: Mon Jun 29, 2009 0:42 Post subject: |
|
|
Using precompiled version...
Code: |
NWNX Areas version 0.2.4 for Linux.
(c) 2006-2009 by virusman (virusman@virusman.ru)
pServThis = 00000000
Creating area 'z_ooccraftingare'
Loading area 'z_ooccraftingare'
AreaID=0000611B
Unregistering area 0000611B
Destroying area 0000611B
Creating area 'z_ooccraftingare'
Loading area 'z_ooccraftingare'
AreaID=00006121
|
At this point the server segfaults. The test scenario is using a single PC to create an area and teleport there after a 10 second delay. There is a portal in the created area that when used teleports the PC back to their original location and destroys the area.
Everything works fine until the same PC tries to perform these actions a second time regardless of whether or not they have relogged between attempts.
Any ideas? |
|
Back to top |
|
|
|