Newsflash: NWNX source released! NWNX2 in Beta test!

Avlis Headlines - www.avlis.org

Moderator: Event DM

Post Reply
Orleron
World Advisor, Co-founder
World Advisor, Co-founder
Posts: 15149
Joined: Fri Sep 14, 2001 9:48 pm
Timezone: GMT-5
Contact:

Newsflash: NWNX source released! NWNX2 in Beta test!

Post by Orleron » Wed Feb 19, 2003 12:55 am

Often requested, now available: As promised, the source code to NWNX is included in the current distribution of APS (v1.23). Download it here:
http://nwvault.ign.com/Files/other/data ... 4901.shtml

And with much fanfare we also announce the internal beta testing of NWNX2! This is a much-improved version over the first NWNX. Instead of being a wrapper program, it functions as an integrated set of .dll's that run along with the server, and not on top of it. Because of the way it is set up, CPU usage is reduced greatly, and temporary losses of persistence upon module load are non-existant. There are other advantages as well, such as the ability to add in other .dll files in the future for various types of server manipulation and a virtually unlimited size for result sets.

Currently, we are testing NWNX2 on two of our servers. Once we get all three servers using it reliably, we will release the software to the public. Stay tuned!
User avatar
Lafferty
Scholar
Posts: 1129
Joined: Tue Feb 11, 2003 5:08 pm
Location: look at my hands... they are HUGE. And they cant touch themselves...
Contact:

Post by Lafferty » Wed Feb 19, 2003 1:42 am

WOOHOOO !!

Thanks Pap and also the rest of the avlis team.

It is just an amazing tool.

You rock

PS: Can't wait to get my hands on NWNX2 :D
Tool for crafters Do you want some human to your salt? nomanisanisland.monolar.de
Blacksting
Newbie
Posts: 4
Joined: Sat Feb 15, 2003 8:43 am

Post by Blacksting » Wed Feb 19, 2003 5:43 am

Does the incorporated version still use the process of "pausing" the main program to avoid collisions? Or since it is now incorporated there will be no such collisions? We are all waiting patiently (read impatiently :) ) for the supreme solution to PW persistence to land on our doorstep. Thanks for letting us leech off your hard work.

Blacksting
Papillon
Team Member; Retired with Honors
Posts: 3155
Joined: Thu Jul 18, 2002 11:17 pm
Contact:

Post by Papillon » Wed Feb 19, 2003 9:33 am

Blacksting, as the main code of the nw server is single threaded, it kind of "pauses" all the time to execute some instructions. When you make a call to GetLocalInt(), it "halts" everything else to execute that function. There's no other way of doing it - even the processor in your computer has to wait almost infinite amounts of time for data from you harddisk. Sure, multitasking makes you feel that's not much. But as the server isn't multi-threaded, it can't do anything else while it waits for data.
Jason
Whiney Peasant
Posts: 15
Joined: Sat Feb 15, 2003 3:19 pm
Location: Northern California

Post by Jason » Wed Feb 19, 2003 5:37 pm

Way to go guys! This is the coolest thing I have seen for NWN yet! I've been tinkering with it at home ever since I found it. It's cutting into my play time, but I don't care!

Jason
Pelemele
Whiney Peasant
Posts: 15
Joined: Mon Jan 20, 2003 3:54 pm

Post by Pelemele » Thu Feb 20, 2003 5:16 am

EDIT
Last edited by Pelemele on Sat Feb 22, 2003 7:45 pm, edited 1 time in total.
Timendainum
Newbie
Posts: 5
Joined: Thu Jan 23, 2003 9:42 pm
Location: Midwest, USA
Contact:

Post by Timendainum » Fri Feb 21, 2003 2:46 pm

Will the new version offer the crash recovery that the current version supplies?
Tenkawa
Newbie
Posts: 1
Joined: Wed Feb 26, 2003 11:07 pm

Post by Tenkawa » Wed Feb 26, 2003 11:11 pm

Any word on a Linux port yet?
Thanks,
Tenkawa
jason de cordoba
Newbie
Posts: 1
Joined: Thu Feb 27, 2003 12:34 am
Contact:

nwnman compatible?

Post by jason de cordoba » Thu Feb 27, 2003 12:38 am

Is nwnx 2 going to work in environments that are utilizing nwnman v.90?

With nwnx you guys give nwn hope!

Kindest Regards,

Jason de Cordoba
VVI.AT | Aventia
Blacksting
Newbie
Posts: 4
Joined: Sat Feb 15, 2003 8:43 am

Post by Blacksting » Thu Feb 27, 2003 12:59 am

Is not the pausing the extender does right now extremely different than standard pauses of the EXE itself? I ask this because the extender pauses break some of my conversation trees. Due to the nature of Bioware conversations the nodes are placed at different intervals and the extender pausing causes all but the first node to not be displayed. If I run the module without the extender all of the conversations show the trees properly. NOTE: all of these trees are not subject to conditional scripts. They have none.

Blacksting
Rary
Newbie
Posts: 1
Joined: Sat Mar 01, 2003 5:14 am
Location: Brentwood, NY (USA)
Contact:

Linux :(

Post by Rary » Sat Mar 01, 2003 5:20 am

Ive been drooling over this Database system for weeks, But there are very few references to the linux port, Is this for real? can we have more info? A release date? I refuse to switch my server back to windows (crashes like crazy)
User avatar
tindertwiggy
Legacy DM
Legacy DM
Posts: 6905
Joined: Tue Jul 16, 2002 12:20 am
Location: Newish England
Contact:

Post by tindertwiggy » Sat Mar 01, 2003 6:14 am

do not post the words "linux," "port," and/or "release date" in any type of sentence ending with a question mark. Pap will go crazy.
CLove
Newbie
Posts: 1
Joined: Mon Mar 03, 2003 8:59 am

Post by CLove » Mon Mar 03, 2003 9:11 am

Hello all.

I'm new to NWN and even newer to Avlis. But this is the program that made me want to come here. :lol:

I've been a Programmer by trade for many years now. I have to say this a some really good stuff! I've played with NWNX enough, that I can get varibles load, and modified the Mod that came with it for persistant chests. I've worked make'n DB GUIs and I have to say, this system is great! I can't wait to see what else you guy(s) / gal(s) come up with in NWNX2 :!:

Now only how to become a developer for Avlis. Hehe

Great job, keep it up.
Charles
User avatar
Silk
Co-Founder
Posts: 6662
Joined: Fri Sep 14, 2001 6:47 pm
Contact:

Post by Silk » Mon Mar 03, 2003 8:43 pm

Silk

Member of the MadK@t lover's group.
Orleron
World Advisor, Co-founder
World Advisor, Co-founder
Posts: 15149
Joined: Fri Sep 14, 2001 9:48 pm
Timezone: GMT-5
Contact:

Post by Orleron » Mon Mar 03, 2003 9:24 pm

LOL
Shade Shadowbane
Whiney Peasant
Posts: 16
Joined: Mon Jan 20, 2003 3:33 pm

Post by Shade Shadowbane » Mon Mar 03, 2003 10:05 pm

Papillon... et al...

If I load NWNX2 into my mod and run it off the server, the NWN server crashes. From the Event Viewer:

Event Type: Information
Event Source: DrWatson
Event Category: None
Event ID: 4097
Date: 3/3/2003
Time: 4:44:56 PM
User: N/A
Computer: ANAUROCH
Description:
The application, , generated an application error The error occurred on 03/03/2003 @ 16:44:56.609 The exception generated was c0000005 at address 100010D2 (<nosymbols>)

Any ideas? The mod is about 65mb in size if that offers any insight...

SS
Papillon
Team Member; Retired with Honors
Posts: 3155
Joined: Thu Jul 18, 2002 11:17 pm
Contact:

Post by Papillon » Mon Mar 03, 2003 10:18 pm

Yeah, you probably didn't import aps2.erf and did a full rebuild on all scripts, right ?
Shade Shadowbane
Whiney Peasant
Posts: 16
Joined: Mon Jan 20, 2003 3:33 pm

Post by Shade Shadowbane » Mon Mar 03, 2003 10:22 pm

Actually, yeah... I did...

but on the scripts only...

Should I do a rebuild on the entire mod *grimaces* ?

EDIT - To append, the demo mod works fine... Our main mod crashes about 45 seconds into load...

SS
Papillon
Team Member; Retired with Honors
Posts: 3155
Joined: Thu Jul 18, 2002 11:17 pm
Contact:

Post by Papillon » Tue Mar 04, 2003 12:13 am

Ok, I looked it up. It crashes on a call to strlen(), because NWN passes a NULL pointer. I can reproduce this problem by not calling SQLInit() or by not calling the odbc!fetch function like shown in SQLFetch(). Please make sure that nothing like that happens in your mod.

Anyway, I created an updated nwnx.dll that takes care of these NULL pointers. Mail me your email address to papillon@blackdagger.com and I'll send you that version.
Shade Shadowbane
Whiney Peasant
Posts: 16
Joined: Mon Jan 20, 2003 3:33 pm

Post by Shade Shadowbane » Tue Mar 04, 2003 1:15 am

Just letting you know I sent it out

In case you don't get it for some reason...

toril@comcast.net
daflea_2000@yahoo.com

Thanks...

SS
Post Reply