View previous topic :: View next topic |
Author |
Message |
Skywing
Joined: 03 Jan 2008 Posts: 321
|
Posted: Sun Nov 30, 2008 8:28 Post subject: |
|
|
I hope to have a beta release for 1.0.21.1549 this weekend. |
|
Back to top |
|
|
Skywing
Joined: 03 Jan 2008 Posts: 321
|
|
Back to top |
|
|
juliam
Joined: 09 Aug 2008 Posts: 16 Location: Québec Canada
|
Posted: Mon Dec 01, 2008 10:22 Post subject: |
|
|
thank you Skywing
your work is greatly appreciated, thank you |
|
Back to top |
|
|
PNJ
Joined: 30 Jun 2007 Posts: 67
|
Posted: Mon Dec 01, 2008 18:24 Post subject: |
|
|
Cheeeer ! |
|
Back to top |
|
|
NewPoint
Joined: 23 Oct 2007 Posts: 13
|
Posted: Thu Dec 25, 2008 5:27 Post subject: |
|
|
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 |
|
|
Skywing
Joined: 03 Jan 2008 Posts: 321
|
Posted: Thu Dec 25, 2008 20:54 Post subject: |
|
|
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 |
|
|
AcadiusLost
Joined: 15 Dec 2007 Posts: 26 Location: Charlottesville, VA
|
Posted: Tue Dec 30, 2008 22:15 Post subject: |
|
|
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 |
|
|
AcadiusLost
Joined: 15 Dec 2007 Posts: 26 Location: Charlottesville, VA
|
Posted: Fri Jan 02, 2009 19:03 Post subject: |
|
|
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 |
|
|
juliam
Joined: 09 Aug 2008 Posts: 16 Location: Québec Canada
|
Posted: Sun Jan 04, 2009 13:58 Post subject: |
|
|
hi guys
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 |
|
Back to top |
|
|
GodBeastX
Joined: 09 Aug 2006 Posts: 65
|
Posted: Mon Jan 05, 2009 22:45 Post subject: |
|
|
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 |
|
|
Urlord
Joined: 17 Nov 2006 Posts: 122
|
Posted: Wed Jan 14, 2009 16:28 Post subject: |
|
|
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 |
|
|
serafim
Joined: 02 Jan 2007 Posts: 41
|
Posted: Wed Jan 21, 2009 15:08 Post subject: |
|
|
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 |
|
|
Urlord
Joined: 17 Nov 2006 Posts: 122
|
Posted: Thu Mar 05, 2009 17:22 Post subject: New Version |
|
|
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 |
|
|
Quilistan
Joined: 06 Mar 2009 Posts: 5 Location: Arizona
|
Posted: Fri Mar 06, 2009 20:22 Post subject: |
|
|
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 |
|
|
barfubaz
Joined: 03 Dec 2008 Posts: 8
|
Posted: Fri Mar 06, 2009 21:01 Post subject: Re: New Version |
|
|
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 |
|
|
|