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 
 
xp_bugfix - nwn2server bugfixes
Goto page Previous  1, 2, 3, 4 ... 9, 10, 11  Next
 
Post new topic   Reply to topic    nwnx.org Forum Index -> Development
View previous topic :: View next topic  
Author Message
Skywing



Joined: 03 Jan 2008
Posts: 321

PostPosted: Sun Nov 30, 2008 8:28    Post subject: Reply with quote

I hope to have a beta release for 1.0.21.1549 this weekend.
Back to top
View user's profile Send private message
Skywing



Joined: 03 Jan 2008
Posts: 321

PostPosted: Mon Dec 01, 2008 0:14    Post subject: Reply with quote

Release 1 of xp_bugfix 0.0.9b3 for NWN2 1.0.21.1549 is available here: http://www.nynaeve.net/Skywing/nwn2/xp_bugfix_01211549_01.zip

Be aware that it has only seen limited testing at this point in time. Please report any crashes that you see with it.
Back to top
View user's profile Send private message
juliam



Joined: 09 Aug 2008
Posts: 16
Location: Québec Canada

PostPosted: Mon Dec 01, 2008 10:22    Post subject: Reply with quote

thank you Skywing Smile
your work is greatly appreciated, thank you Smile
Back to top
View user's profile Send private message
PNJ



Joined: 30 Jun 2007
Posts: 67

PostPosted: Mon Dec 01, 2008 18:24    Post subject: Reply with quote

Cheeeer !
Back to top
View user's profile Send private message
NewPoint



Joined: 23 Oct 2007
Posts: 13

PostPosted: Thu Dec 25, 2008 5:27    Post subject: Reply with quote

After adding this plug-in an offline storage system we are using stopped working. I didn't do any testing to find out exactly where it was failing but it seems as though the StoreCampaignObject() function fails with this plug-in active.
Back to top
View user's profile Send private message
Skywing



Joined: 03 Jan 2008
Posts: 321

PostPosted: Thu Dec 25, 2008 20:54    Post subject: Reply with quote

Can you provide some more details? I believe that there's at least one major PW using the campaign database with xp_bugfix that isn't having any issues. What other nwnx4 plugins are you using?
Back to top
View user's profile Send private message
AcadiusLost



Joined: 15 Dec 2007
Posts: 26
Location: Charlottesville, VA

PostPosted: Tue Dec 30, 2008 22:15    Post subject: Reply with quote

We use the xp_bugfix plugin alongside the StoreCampaignObject() function extensively on the servers that use the ACR (ALFA Core Rules), which include two fulltime hosted servers with significant playerbases, as well as a smattering of part-time beta ones. I don't think there is any incompatibility between the two.

That said, we do experience a lot of lag the first time StoreCampaignObject() is called for a given storage placeable, we could certainly test to see if that changes if the bugfix plugin is removed. It's quite possible the performance and/or stability of StoreCampaignObject() has gotten worse over the last patch, as we didn't have much trouble with it before; now it causes some big lagspikes and occational server crashes.

I'll post observations here when I have them.
_________________
Technical Administrator
A Land Far Away, a Persistent World Project
Back to top
View user's profile Send private message Visit poster's website
AcadiusLost



Joined: 15 Dec 2007
Posts: 26
Location: Charlottesville, VA

PostPosted: Fri Jan 02, 2009 19:03    Post subject: Reply with quote

Tried removing the xp_bugfix plugin, then tested StoreCampaignObject() - still worked, still had the same massive lagspike on the first call for an object, still behaved fine for subsequent calls on that object.

So, looks to me like it's an issue with StoreCampaignObject(), and not with xp_bugfix.

On a related note, does anyone have a link for good documentation on the CampaignObject() functions? I suspect they're identical to the NWN1 variants, so an old link would do; but they're not documented in nwnscript.nss that I can see. I've got to weigh fixing our current system versus trying to switch over to using the BLOB-based SQL object persistency in terms of lag and reliability.
_________________
Technical Administrator
A Land Far Away, a Persistent World Project
Back to top
View user's profile Send private message Visit poster's website
juliam



Joined: 09 Aug 2008
Posts: 16
Location: Québec Canada

PostPosted: Sun Jan 04, 2009 13:58    Post subject: Reply with quote

hi guys Smile

since this period has alot of players, i found finally that i didnt set the temporary folder correctly, so i didnt get the dumps and our server crashed many times, nezt time, i'll have the dumps...
it occurs at cpu around 60% with few players maybe 6, and it seems to be collisions well.. i dont know
some reported crashes on the roundtable and i was on the impression that you worked on another version Skywing... anyway... now that the temp folder will be writtable, i may get my dumps, happy new year 2009 and thanks again for your work Smile
Back to top
View user's profile Send private message
GodBeastX



Joined: 09 Aug 2006
Posts: 65

PostPosted: Mon Jan 05, 2009 22:45    Post subject: Reply with quote

AcadiusLost wrote:
Tried removing the xp_bugfix plugin, then tested StoreCampaignObject() - still worked, still had the same massive lagspike on the first call for an object, still behaved fine for subsequent calls on that object.

So, looks to me like it's an issue with StoreCampaignObject(), and not with xp_bugfix.

On a related note, does anyone have a link for good documentation on the CampaignObject() functions? I suspect they're identical to the NWN1 variants, so an old link would do; but they're not documented in nwnscript.nss that I can see. I've got to weigh fixing our current system versus trying to switch over to using the BLOB-based SQL object persistency in terms of lag and reliability.


Storing/Reading persistent objects is generally a slow action. Basically NWN2 creates a GFF of an object then calls a function to write it to their internal DB structure (A File). virusman made a hook to this call so that it can instead write to a SQL DB, but you're still going to wind up with a GFF file which can be quite large (Just look at PC .bic files). If you're loading into a placeable a list of objects a player has in persistent storage, for example, you could be transferring quite alot of data from a persistent storage like a harddrive to NWN2. It's bound to be slow the first time while the harddrive caches sectors and crap.

There's really no way to speed it up too much more than Virusman's method except with maybe an internal cache mechanism with delayed writes.
Back to top
View user's profile Send private message
Urlord



Joined: 17 Nov 2006
Posts: 122

PostPosted: Wed Jan 14, 2009 16:28    Post subject: Reply with quote

Not to be daft or anything, but where do I put the xp_bugfix.pdb file and what is it?
_________________
Jim (aka, Urlord)
Visit the Persistent World of Nymri
Back to top
View user's profile Send private message Send e-mail
serafim



Joined: 02 Jan 2007
Posts: 41

PostPosted: Wed Jan 21, 2009 15:08    Post subject: Reply with quote

SCSI controller with embedded cache may fasten the SCO process.
Remember that in XP and 2003 the cache whriting has been slowed (there would be possible to bypass the inconvenient via a Microsoft small fix that must be manually installed).
Back to top
View user's profile Send private message MSN Messenger
Urlord



Joined: 17 Nov 2006
Posts: 122

PostPosted: Thu Mar 05, 2009 17:22    Post subject: New Version Reply with quote

Hey Skywing,

I updated my NWN2 server and now it is restarting every few minutes. In the bugfix log this is what is happening:
Quote:
2009-03-05 09:19:05 : * Wrong nwn2server version, patches not active.
2009-03-05 09:25:25 : * Plugin unloaded.
2009-03-05 09:25:35 : NWNX BugFix Plugin V0.0.9b3
(c) 2008 by Skywing
Visit NWNX at: http://www.nwnx.org
Built for NWN2 version 0x01211549

2009-03-05 09:25:35 : * Wrong nwn2server version, patches not active.
2009-03-05 09:35:52 : * Plugin unloaded.
2009-03-05 09:36:02 : NWNX BugFix Plugin V0.0.9b3
(c) 2008 by Skywing
Visit NWNX at: http://www.nwnx.org
Built for NWN2 version 0x01211549

2009-03-05 09:36:02 : * Wrong nwn2server version, patches not active.
2009-03-05 09:59:39 : * Plugin unloaded.
2009-03-05 09:59:49 : NWNX BugFix Plugin V0.0.9b3
(c) 2008 by Skywing
Visit NWNX at: http://www.nwnx.org
Built for NWN2 version 0x01211549


Is there a new version available?
_________________
Jim (aka, Urlord)
Visit the Persistent World of Nymri
Back to top
View user's profile Send private message Send e-mail
Quilistan



Joined: 06 Mar 2009
Posts: 5
Location: Arizona

PostPosted: Fri Mar 06, 2009 20:22    Post subject: Reply with quote

A new version for 1.22 would be great! I am also have some problems with the server crashing a bit.
_________________
Quilistan
Back to top
View user's profile Send private message Visit poster's website
barfubaz



Joined: 03 Dec 2008
Posts: 8

PostPosted: Fri Mar 06, 2009 21:01    Post subject: Re: New Version Reply with quote

Urlord wrote:
Hey Skywing,

I updated my NWN2 server and now it is restarting every few minutes. In the bugfix log this is what is happening:
Quote:
2009-03-05 09:19:05 : * Wrong nwn2server version, patches not active.
2009-03-05 09:25:25 : * Plugin unloaded.
2009-03-05 09:25:35 : NWNX BugFix Plugin V0.0.9b3
(c) 2008 by Skywing
Visit NWNX at: http://www.nwnx.org
Built for NWN2 version 0x01211549

2009-03-05 09:25:35 : * Wrong nwn2server version, patches not active.
2009-03-05 09:35:52 : * Plugin unloaded.
2009-03-05 09:36:02 : NWNX BugFix Plugin V0.0.9b3
(c) 2008 by Skywing
Visit NWNX at: http://www.nwnx.org
Built for NWN2 version 0x01211549

2009-03-05 09:36:02 : * Wrong nwn2server version, patches not active.
2009-03-05 09:59:39 : * Plugin unloaded.
2009-03-05 09:59:49 : NWNX BugFix Plugin V0.0.9b3
(c) 2008 by Skywing
Visit NWNX at: http://www.nwnx.org
Built for NWN2 version 0x01211549


Is there a new version available?


I spoke to skywing about this a little while ago, he was waiting for the hotfix, which came out Wednesday. Hopefully soon now.

FYI - XP_BUGFIX is probably not causing the crash, it should be disabling itself with the above message, something else is probably crashing you.

Are you using XP_PICKPOCKET? That may be doing it.

- Bar
_________________
Bar Fubaz, Head DM & Builder NWNHaven.com - Kingdom of Haven - Adult Roleplaying Server, Social Category
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> Development All times are GMT + 2 Hours
Goto page Previous  1, 2, 3, 4 ... 9, 10, 11  Next
Page 3 of 11

 
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