Permanency and some database magic
For a long time I have had the urge to take a closer look at the database systems developed to Neverwinter nights. I have had the impression that the build-in database system isn’t actually so good for permanent worlds, and that’s what were aiming at. I thought there would be some hack that would have somehow added ‘native’ support for most common database types, but I was wrong. Fortunately I found a solution from Nwn2x.
I have to say that I don’t like it. Meaning, that this is something that should have been added to nwn natively, and from the start. But it seems that the Nwn2x solution does the magic of adding database functionality as smoothly as it can be done: by adding an extra layer to the server process. This is something I don’t like, but the need for databases overcomes this uncomfortableness.
And this seems to work. I like the idea of having some kind of IPC between neverwinter nights and some other application. I can now use mysql-database for these needs. More common use would be saving of some permanent variables of course, which would allow better plot developement, but this IPC thing is so much stuck to my mind that I have to do some tinkering related to that. Besides that speaking signpost I made for demo purposes today, that’s not exactly sensible. But feeding the input for the sign post from WWW-form is cool :)
Anyway, need for database connectivity in Neverwinter nights? Check the NWN2X, the linux version works fine, even if it is a bit outdated.