NWN1 Haks - Discussion

This is a general open discussion for all ALFA, Neverwinter Nights, and Dungeons & Dragons topics.

Moderator: ALFA Administrators

Post Reply
User avatar
Arianna
Tech Admin
Posts: 1677
Joined: Sat Jan 03, 2004 2:28 pm
Location: Idaho PST

NWN1 Haks - Discussion

Post by Arianna »

so when installing these

is it a big deal if ...

alfa_include.nss - Compile Error
alfa_onacquire.nss - Compile Error
alfa_onactivate.nss - Compile Error
alfa_onareaenter.nss - Compile Error
alfa_oncutscene.nss - Compile Error
alfa_ondeath.nss - Compile Error
alfa_ondying.nss - Compile Error
alfa_onenter.nss - Compile Error
alfa_onheartbeat.nss - Compile Error
alfa_onleave.nss - Compile Error
alfa_onlevelup.nss - Compile Error
alfa_onload.nss - Compile Error
alfa_onplayequip.nss - Compile Error
alfa_onplayunequ.nss - Compile Error
alfa_onrespawn.nss - Compile Error
alfa_onrest.nss - Compile Error
alfa_onunacquire.nss - Compile Error
alfa_onuserdef.nss - Compile Error
alfa_rpxp_enter.nss - Compile Error
alfa_rpxp_leave.nss - Compile Error

no longer compile?
Current NWN2 PC: TSM- Lessa

HDM of Moonshae Server
DM on BG
Builder Everywhere
DM times - 6:00-9 PM Saturdays PDT on BG. . other times as I show up
PM me on Discord if you want to be DMd on MS
I have Monday nights available for adhoc
Talk to me if you want to learn to build for NWN2

Tech/DMA Admin - in charge of all the things
Zelknolf
Chosen of Forumamus, God of Forums
Posts: 6139
Joined: Tue Jul 05, 2005 7:04 pm

Re: NWN1 Haks

Post by Zelknolf »

It is serious business if your scripts don't compile. That means that your source will not reflect the actual behavior in game and it will be impossible to maintain or debug the server.

That said, I was the last to work on Waterdeep and it definitely all compiled against the latest haks and was brought up to ALFA's standards at the time, and it definitely wasn't doing any of those things when I'd picked it up (lots of bungling from its previous management). So might be that you'd benefit for looking for more-recent WD and more-recent haks?
User avatar
Arianna
Tech Admin
Posts: 1677
Joined: Sat Jan 03, 2004 2:28 pm
Location: Idaho PST

Re: NWN1 Haks

Post by Arianna »

I got the most recent copy of WD from Castano it Was running 3.0 haks at the time minus the alfa_3.1.2da and the alfa_310.tlk
after browsing through it I found numerous placeables did not have the blueprint in the mod [would give me a error trying to access them]


Castano figured I needed the alfa_3.1.2da to cover that

tried adding the alfa_3.1.2da and new tlk to the mod I get all the broken scripts at that point they worked fine previous to the build.

Perhaps I have it in the wrong order ? should it be at the top of the list or right above the other 2da file or does it totally replace it?

Its been about 10 years since I had to put files in order and its slow coming back to me
Current NWN2 PC: TSM- Lessa

HDM of Moonshae Server
DM on BG
Builder Everywhere
DM times - 6:00-9 PM Saturdays PDT on BG. . other times as I show up
PM me on Discord if you want to be DMd on MS
I have Monday nights available for adhoc
Talk to me if you want to learn to build for NWN2

Tech/DMA Admin - in charge of all the things
User avatar
Arianna
Tech Admin
Posts: 1677
Joined: Sat Jan 03, 2004 2:28 pm
Location: Idaho PST

Re: NWN1 Haks

Post by Arianna »

all the alfa scripts are not compiling because of acr_horse_i not compiling due to some bracket error I cannot find
Current NWN2 PC: TSM- Lessa

HDM of Moonshae Server
DM on BG
Builder Everywhere
DM times - 6:00-9 PM Saturdays PDT on BG. . other times as I show up
PM me on Discord if you want to be DMd on MS
I have Monday nights available for adhoc
Talk to me if you want to learn to build for NWN2

Tech/DMA Admin - in charge of all the things
Zelknolf
Chosen of Forumamus, God of Forums
Posts: 6139
Joined: Tue Jul 05, 2005 7:04 pm

Re: NWN1 Haks

Post by Zelknolf »

Well, if you're on 3.0 haks, those are probably circular dependencies, which report as generic syntax errors; the NWN compiler is super bad at resolving those. Skywing has given us the Advanced Script Compiler which is totally compatible with NWN1 and might be able to resolve those, but I can't promise.

If you're on WD 3814 (pretty sure you are, given the scripts you're listing), you'd also do well to look for acr 3.1 and any ahps greater than 3.1.
User avatar
Arianna
Tech Admin
Posts: 1677
Joined: Sat Jan 03, 2004 2:28 pm
Location: Idaho PST

Re: NWN1 Haks

Post by Arianna »

The copy of WD I was given is 3017 running on the 3.0 haks
I got the Advanced Script Compiler as you suggested

I have a set of 3.1 haks as well as the 3.0 haks
But . . . . I have no current acr haks
When I asked about an _acrxxx I was told alfa stopped using them and that information was included into the general haks now ? It does look like acr stuff is in the 2da.

I tried updating the mod to the 3.1 haks I have but I still get the same scripts not compiling with the acr_horse_i script being the underlying culprit as to why the alfa_ xxx scripts will not compile.

Error. 'alfa_include' did not compile.
acr_horse_i.nss(777): ERROR: NO RIGHT BRACKET ON EXPRESSION [this is a script in the ahp_3.1_2da, so fixing its going to be a chore]
http://pastebin.com/h7VLdzXQ if anyone cares to look at it

Does anyone have a copy of a more recent acr for nwn1 if its still needed? last acr I have is like ahp_2.9_acr119 which is ancient I know.
Current NWN2 PC: TSM- Lessa

HDM of Moonshae Server
DM on BG
Builder Everywhere
DM times - 6:00-9 PM Saturdays PDT on BG. . other times as I show up
PM me on Discord if you want to be DMd on MS
I have Monday nights available for adhoc
Talk to me if you want to learn to build for NWN2

Tech/DMA Admin - in charge of all the things
Zelknolf
Chosen of Forumamus, God of Forums
Posts: 6139
Joined: Tue Jul 05, 2005 7:04 pm

Re: NWN1 Haks

Post by Zelknolf »

Eh... that's probably not the script missing the bracket. The NWN script compiler tends to complain about missing brackets when it reaches whatever thing confuses it, which tends to be when you reach a new library and it starts finding function prototypes instead of regular code.

Anyhow, 3814
https://dl.dropboxusercontent.com/u/307 ... 4_3814.zip

I can't also put up the haks on my dropbox; space limits and such, but the DM FTP definitely has up to 3.05 on it (/NNW1/NWN1 Master Files/). Unfortunately I have no clue where to find more-recent things than that. I didn't even look at ALFA during my most-recent research/dissertation year, and stuff got moved all about then.
User avatar
Arianna
Tech Admin
Posts: 1677
Joined: Sat Jan 03, 2004 2:28 pm
Location: Idaho PST

Re: NWN1 Haks

Post by Arianna »

got it thank you
Current NWN2 PC: TSM- Lessa

HDM of Moonshae Server
DM on BG
Builder Everywhere
DM times - 6:00-9 PM Saturdays PDT on BG. . other times as I show up
PM me on Discord if you want to be DMd on MS
I have Monday nights available for adhoc
Talk to me if you want to learn to build for NWN2

Tech/DMA Admin - in charge of all the things
User avatar
Castano
Head Dungeon Master
Posts: 4593
Joined: Wed May 26, 2004 5:42 pm
Location: USA

Re: NWN1 Haks - Discussion

Post by Castano »

WD 3814 Hak list: [edit note: I added the "-WD" to the file name, otherwise module is untouched]
Attachments
3814-Hak-list.jpg
3814-Hak-list.jpg (95.67 KiB) Viewed 2603 times
On playing together: http://www.giantitp.com/articles/tll307 ... 6efFP.html
Useful resource: http://nwn2.wikia.com/wiki/Main_Page

On bad governance: "I intend to bring democracy to this nation, and if anybody stands in my way I will crush him and his family."
You're All a Bunch of Damn Hippies
Zelknolf
Chosen of Forumamus, God of Forums
Posts: 6139
Joined: Tue Jul 05, 2005 7:04 pm

Re: NWN1 Haks - Discussion

Post by Zelknolf »

That's interesting...

But yeah, all of those haks are on the DM FTP. I hope I knew what I was doing when I skipped 3.01

ALFA1 Waterdeep was definitely outlived by Cormyr/Arabel, Shadowdale, Sembia, and Daggerdale, so it might have just never seen 3.1. In which case we don't care. 3.05 was stable and featureful enough for a campaign.
Post Reply