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 Dec 16, 2008 18:42    Post subject: Reply with quote

ah uhm.. no. ^^

Actually, I started on trying to merge nwnx_areas with nwnx_events. As I'm unable (with my limited knowledge of hooks) to split off the org_SaveChar hook from areas, it seemed a good alternative to instead add the hooks, structs and functionality to the same base in events. Quite a bunch of file changes. It compiled and loaded, but I forgot to update the calls from the nwn scripts themselves (the SetLocalString calls to "NWNX:AREAS:*" had to be changed to events as well) and ran out of time to continue testing some weeks ago.

December is always hell with deadlines, so kinda tied up, heh. Was hoping that development on this would continue in the meanwhile to resolve the conflict the proper way (eg: replacing the savechar hook the way it should), since the merging method obviously would only be suitable as a personal dirty quickfix.
Back to top
View user's profile Send private message
virusman



Joined: 30 Jan 2005
Posts: 1017
Location: Russia

PostPosted: Tue Dec 16, 2008 20:30    Post subject: Reply with quote

The incompatibility issue has already been fixed in SVN r197.
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
metamud



Joined: 30 Sep 2008
Posts: 16

PostPosted: Wed Dec 17, 2008 21:07    Post subject: Reply with quote

virusman wrote:
The incompatibility issue has already been fixed in SVN r197.


Right. Thanks for the heads up! I didn't realize it was patched already. Must have overlooked an announcement somewhere lol Smile

Let me test this and see if I find any remaining glitches. Maybe with this update I can successfully destroy the freshly cloned area, which didn't work for me with the previous version.
Back to top
View user's profile Send private message
SartriX



Joined: 13 Jul 2008
Posts: 16

PostPosted: Fri Dec 19, 2008 0:38    Post subject: Reply with quote

I had completely missed that update as well!
Many thanks once more Smile

Tried it now, but the end-results are pretty much the same as my own attempts earlier:
v - Can clone an area and get a valid object back
v - The area shows up in the DM list after relogging
x - The server segfaults when trying to enter the new area

Tried with several tilesets and completely empty areas, but all the same result.

Same Linux as before, nwnx plugins:
Quote:
FUNCS plugin registered.
CHAT plugin registered.
EVENTS plugin registered.
ODBC plugin registered.
FUNCTIONS plugin registered.
DEFENSES plugin registered.
AREAS plugin registered.
RESETPLUGIN plugin registered.
Quote:
NWNX Areas version 0.2.2 for Linux.
(c) 2006-2008 by virusman (virusman@virusman.ru)
pServThis = 0832F1F4
Creating area 'duplicateable'
Loading area 'duplicateable'
AreaID=00000C9B



Wish I had more info or a trace to give, but lacking debug tools on this server.


minor PS:
The optional parameter to void (*CNWSArea__Destructor) on line 42 still doesn't compile by default. Easy to fix as metamud posted, just not compile-ready out of the SVN-box.
Back to top
View user's profile Send private message
Quixsilver



Joined: 20 Jan 2009
Posts: 30

PostPosted: Tue Jan 20, 2009 7:08    Post subject: Reply with quote

Anyone had success with this one yet?

I've been able to actually enter the cloned areas via the dm client.
It seems to be a 50/50 chance of segfaulting the server though.
Back to top
View user's profile Send private message
SartriX



Joined: 13 Jul 2008
Posts: 16

PostPosted: Tue Jan 20, 2009 20:27    Post subject: Reply with quote

Nope, not here. I've put development of the component I'ld be needing this for on hold, meanwhile doing higher priority work on my server.
Back to top
View user's profile Send private message
virusman



Joined: 30 Jan 2005
Posts: 1017
Location: Russia

PostPosted: Tue Jan 20, 2009 23:22    Post subject: Reply with quote

I've narrowed down the cause of the crash. I'll post here when it's fixed.
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
SartriX



Joined: 13 Jul 2008
Posts: 16

PostPosted: Wed Jan 21, 2009 20:09    Post subject: Reply with quote

Great news! Thanks in advance ^^
Back to top
View user's profile Send private message
Vinlaell



Joined: 01 Apr 2008
Posts: 3

PostPosted: Sun Jan 25, 2009 19:49    Post subject: Reply with quote

this plugins gonna make me real happy when its working
Back to top
View user's profile Send private message
Cyan Bloodbane



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

PostPosted: Thu Jan 29, 2009 13:44    Post subject: Reply with quote

Any chance to set the area Tag on LoadArea?

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



Joined: 20 Jan 2009
Posts: 30

PostPosted: Sun Feb 08, 2009 21:04    Post subject: Reply with quote

Setting the tag of the new area would be ultra handy though not 100% necessary if the LoadArea function properly returns the new area object.

Just wondering, any timeline on this fix?

Thanks in advance.
Back to top
View user's profile Send private message
virusman



Joined: 30 Jan 2005
Posts: 1017
Location: Russia

PostPosted: Sun Feb 08, 2009 22:08    Post subject: Reply with quote

Quixsilver wrote:
Setting the tag of the new area would be ultra handy though not 100% necessary if the LoadArea function properly returns the new area object.

Just wondering, any timeline on this fix?

Thanks in advance.
It's has a priority, but not the first one. I'll start doing things that are on my todo list as soon as I have time. You'll notice it. It may be between 1 week and 1 month.
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 Feb 09, 2009 0:31    Post subject: Reply with quote

A ticket has been created:
http://nwn.virusman.ru/trac/nwnx2-linux/ticket/4
You can register on Trac, add your email address to your profile and subscribe to updates by adding your username to the "Cc:" field.
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
Quixsilver



Joined: 20 Jan 2009
Posts: 30

PostPosted: Mon Feb 09, 2009 17:38    Post subject: Reply with quote

virusman wrote:
A ticket has been created:
http://nwn.virusman.ru/trac/nwnx2-linux/ticket/4
You can register on Trac, add your email address to your profile and subscribe to updates by adding your username to the "Cc:" field.


Awesome, thanks.
Back to top
View user's profile Send private message
virusman



Joined: 30 Jan 2005
Posts: 1017
Location: Russia

PostPosted: Mon Mar 09, 2009 23:42    Post subject: Reply with quote

The bug has been fixed.
GCC4 compiling issue has also been resolved.
http://data.virusman.ru/nwn/experimental/nwnx_areas-0.2.3-linux-exp.rar
(Windows version will be available later)
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
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 2 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