View previous topic :: View next topic |
Author |
Message |
SartriX
Joined: 13 Jul 2008 Posts: 16
|
Posted: Tue Dec 16, 2008 18:42 Post subject: |
|
|
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 |
|
|
virusman
Joined: 30 Jan 2005 Posts: 1020 Location: Russia
|
Posted: Tue Dec 16, 2008 20:30 Post subject: |
|
|
The incompatibility issue has already been fixed in SVN r197. |
|
Back to top |
|
|
metamud
Joined: 30 Sep 2008 Posts: 16
|
Posted: Wed Dec 17, 2008 21:07 Post subject: |
|
|
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
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 |
|
|
SartriX
Joined: 13 Jul 2008 Posts: 16
|
Posted: Fri Dec 19, 2008 0:38 Post subject: |
|
|
I had completely missed that update as well!
Many thanks once more
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 |
|
|
Quixsilver
Joined: 20 Jan 2009 Posts: 30
|
Posted: Tue Jan 20, 2009 7:08 Post subject: |
|
|
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 |
|
|
SartriX
Joined: 13 Jul 2008 Posts: 16
|
Posted: Tue Jan 20, 2009 20:27 Post subject: |
|
|
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 |
|
|
virusman
Joined: 30 Jan 2005 Posts: 1020 Location: Russia
|
Posted: Tue Jan 20, 2009 23:22 Post subject: |
|
|
I've narrowed down the cause of the crash. I'll post here when it's fixed. |
|
Back to top |
|
|
SartriX
Joined: 13 Jul 2008 Posts: 16
|
Posted: Wed Jan 21, 2009 20:09 Post subject: |
|
|
Great news! Thanks in advance ^^ |
|
Back to top |
|
|
Vinlaell
Joined: 01 Apr 2008 Posts: 3
|
Posted: Sun Jan 25, 2009 19:49 Post subject: |
|
|
this plugins gonna make me real happy when its working |
|
Back to top |
|
|
Cyan Bloodbane
Joined: 25 Nov 2005 Posts: 23 Location: Somewhere in Italy
|
Posted: Thu Jan 29, 2009 13:44 Post subject: |
|
|
Any chance to set the area Tag on LoadArea?
Holavez |
|
Back to top |
|
|
Quixsilver
Joined: 20 Jan 2009 Posts: 30
|
Posted: Sun Feb 08, 2009 21:04 Post subject: |
|
|
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 |
|
|
virusman
Joined: 30 Jan 2005 Posts: 1020 Location: Russia
|
Posted: Sun Feb 08, 2009 22:08 Post subject: |
|
|
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 |
|
|
virusman
Joined: 30 Jan 2005 Posts: 1020 Location: Russia
|
Posted: Mon Feb 09, 2009 0:31 Post subject: |
|
|
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 |
|
|
Quixsilver
Joined: 20 Jan 2009 Posts: 30
|
Posted: Mon Feb 09, 2009 17:38 Post subject: |
|
|
Awesome, thanks. |
|
Back to top |
|
|
virusman
Joined: 30 Jan 2005 Posts: 1020 Location: Russia
|
|
Back to top |
|
|
|