logo logo

 Back to main page

The NWNX Community Forum

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
NWNX Areas
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
 
Post new topic   Reply to topic    nwnx.org Forum Index -> Linux development
View previous topic :: View next topic  
Author Message
SartriX



Joined: 13 Jul 2008
Posts: 16

PostPosted: Tue Mar 10, 2009 20:20    Post subject: Reply with quote

\o/
Back to top
View user's profile Send private message
Cyan Bloodbane



Joined: 25 Nov 2005
Posts: 23
Location: Somewhere in Italy

PostPosted: Thu Mar 12, 2009 18:49    Post subject: Reply with quote

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 Sad

Holavez
Back to top
View user's profile Send private message
Quixsilver



Joined: 20 Jan 2009
Posts: 30

PostPosted: Sun Mar 15, 2009 23:32    Post subject: Reply with quote

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
View user's profile Send private message
Quixsilver



Joined: 20 Jan 2009
Posts: 30

PostPosted: Tue Mar 24, 2009 2:11    Post subject: Reply with quote

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
View user's profile Send private message
Timear



Joined: 23 Aug 2005
Posts: 31

PostPosted: Mon Apr 06, 2009 17:59    Post subject: Reply with quote

Confirmed. I'm experiencing nearly the same symptoms.
Back to top
View user's profile Send private message
virusman



Joined: 30 Jan 2005
Posts: 1017
Location: Russia

PostPosted: Mon Apr 06, 2009 22:36    Post subject: Reply with quote

Thanks.
The crash happens due to TURDs not being updated.
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
Timear



Joined: 23 Aug 2005
Posts: 31

PostPosted: Mon Apr 06, 2009 22:43    Post subject: Reply with quote

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
View user's profile Send private message
virusman



Joined: 30 Jan 2005
Posts: 1017
Location: Russia

PostPosted: Mon Apr 06, 2009 23:07    Post subject: Reply with quote

CNWSPlayerTURD - that's how Bioware named the structure that saves player data (explored areas, current position, reputation). Smile
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
virusman



Joined: 30 Jan 2005
Posts: 1017
Location: Russia

PostPosted: Mon Apr 06, 2009 23:17    Post subject: Reply with quote

Updated:
http://data.virusman.ru/nwn/experimental/nwnx_areas-0.2.4-linux-exp.rar
http://nwn.virusman.ru/trac/nwnx2-linux/changeset/228

Please test this build to see if it still crashes.
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
Timear



Joined: 23 Aug 2005
Posts: 31

PostPosted: Mon Apr 06, 2009 23:30    Post subject: Reply with quote

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
View user's profile Send private message
Fireboar



Joined: 17 Feb 2008
Posts: 323

PostPosted: Tue Apr 07, 2009 13:49    Post subject: Reply with quote

Gotta love one-line fixes. Very Happy
Back to top
View user's profile Send private message
Cyan Bloodbane



Joined: 25 Nov 2005
Posts: 23
Location: Somewhere in Italy

PostPosted: Thu Apr 09, 2009 18:35    Post subject: Reply with quote

It works fine now, great Razz

Holavez
Back to top
View user's profile Send private message
Baaleos



Joined: 02 Sep 2007
Posts: 830

PostPosted: Fri May 29, 2009 9:44    Post subject: VirusMan Babes!! Reply with quote

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
View user's profile Send private message
Baaleos



Joined: 02 Sep 2007
Posts: 830

PostPosted: Fri May 29, 2009 9:48    Post subject: Whoops Reply with quote

Neva mind..

Just saw the Windows release. Lol
Back to top
View user's profile Send private message
Quixsilver



Joined: 20 Jan 2009
Posts: 30

PostPosted: Mon Jun 29, 2009 0:42    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> Linux development All times are GMT + 2 Hours
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
Page 3 of 7

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group