![]() |
![]() |
|||||||||||||||||||||||
|
|
||||||||||||||||||||||||
|
Profile: Neverwinter Nights Extender v2 Profile by Jay Watamaniuk
Where can we go to read more about NWNX?What is your involvement with the NWN community?I have been active in the NWN community since the game first came out and spent most of the time developing for the persistent world of Avlis. As the NWNX team leader, I'm coordinating the further development of the program, and last but not least, I am also the one who invented NWNX. Can you explain what NWNX is?
Other plug-ins implement shared server vaults (VaultSTER), print out live performance information from the running module (Profiler), offer enhanced data structures (HashSet, SortSet, Array), or add some scripting functions for item manipulation (Functions). Another cool example would be the "Shadow Door" plug-in by Robert Zubek that allows for control of an NWN character from an external AI program written in Lisp. In addition to these extensions, NWNX also offers server reliability and availability. Through periodic checks, NWNX makes sure that the Neverwinter Nights server is still running. In the event of a server failure a new instance of the server will be launched resulting in maximum uptime and reliability. NWNX is a program created by serious persistent world developers for other serious persistent world developers, and as such, it is a powerful product that adds some complexity to setting up your server, but also rewards you plenty once everything works. The extensive documentation and the community will help you when you get stuck somewhere. What limitations in the original NWN engine made you want to make these changes? What issues remain?
People use it to offer persistent quests (NPCs remember forever that you talked to them and act accordingly), persistent chests (players can store items there permanently), in-game bulletin boards, and countless of other features. The VaultSTER plugin could be described as character transfer software, which makes it easy to link several persistent worlds together. Jeroen came up with it when we realized that the traditional way of sharing server vaults using distributed file systems can be very unreliable. This software, based on the TPC/IP network protocol, enables persistent world owners to easily and reliably link up multiple worlds from all over the world. Via compression, this module is very fast and an encryption algorithm takes care of the security of the system. This module forms the basis of the CoPaP organization (see below). The NWNX Profiler is kind of a pet project for me. I've been constantly hunting the lag monster on Avlis, summoned by scripts running wild, NPCs trying to walk were they really should not (or cannot), and players triggering certain actions. Since the Neverwinter Nights Server offers no way to see where all the CPU cycles are going into, I attached hooks to certain functions in the server that are used to monitor script execution times and time needed for NPC pathfinding. This NWNX plug-in is really not only for persistent worlds--any module developer will benefit from it. Just drop the profiler extension into your NWN directory and see what your module is doing internally. No coding is necessary to get it to work.
There are also some issues that have not been tackled yet, such as a way for external programs to trigger events in the server. Another issue people were having with the database part of NWNX is that you cannot store objects to the database--but we might have a little surprise there coming soon. What has changed from the first version of NWNX?Originally, NWNX used a different method to get information in and out from the server, which was improved in the second generation of NWNX shortly after the initial release, That is the reason why it is called NWNX2 now. An important change was introduced in version 2.5 by our programmer Jeroen: the concept of plug-ins. It soon became apparent that NWNX could do much more than just offer database access, and people started to modify the main program. Plug-ins offer a clean way to implement new ideas without running into conflicts with other modifications, and they also make it easy for the end user to choose among a certain subset of functionality that they want to use on their server. For example, you may want to use the database and the profiler functionality. All you need to do is copy the corresponding plug-ins to your NWN directory and they are automatically extending the server's functionality from then on. Our most recent effort is centered on the nwnx.org web site, which will become the central place for people to get the latest versions, ask questions on the forum, and get help from the documentation section that will be constantly improved over time. Did the persistent world of Avlis spring from NWNX or was it the other way around?
Today, since NWNX has been released as open source software under the GNU Public License (GPL), both Avlis and a large part of the other persistent worlds benefit from NWNX. Do you think persistent worlds are the future of NWN?
Another important point is that huge worlds like Avlis, with its 3500+ areas on several servers, require a big, dedicated team in order to get things done on such a scale. This means that persistent worlds are always a team effort, and even as people join and leave the team, the world itself continues to exist. On an even larger scale, Orleron set up the unique Confederation of Planes and Planets (CoPaP) organization within the Neverwinter Nights community. CoPaP is a group of autonomous persistent worlds united by Jeroen's NWNX VaultSTER plugin and a set of guidelines. Currently CoPaP already contains numerous worlds all linked together, and is still expanding to create a "super multiverse" of servers. There is an endless range of things to do, people to see, etc. See their web site for more information: www.copap.org. Where does a beginner go to learn about setting up a persistent world?
As far as setting up NWNX is concerned, our brand new web site on www.nwnx.org is a good start for learning how coders can push the limits with NWNX. The site is meant to give the community a place to gather, ask questions, help others, and publish information about NWNX, such as tutorials. ~
|
|||||||||||||||||||||||
|
|
||
|
Multiplayer Games at Neverwinter Connections
|
||
|
Buy Premium Modules
|
||
|
5,049,881 BioWare Users:
|
||