Upcoming patch notes (!)

Scripted ALFA systems & related tech discussions (ACR)

Moderators: ALFA Administrators, Staff - Technical

Locked
User avatar
AcadiusLost
Chosen of Forumamus, God of Forums
Posts: 5061
Joined: Tue Oct 19, 2004 8:38 am
Location: Montara, CA [GMT -8]
Contact:

Upcoming patch notes (!)

Post by AcadiusLost »

These are exerpted from the 1.23 patch, which should be starting a long Beta testing phase sometime next week:
Multiplayer


* Fixed an issue that was causing servers to crash when a polymorphed character would attempt to transition.
* Players possessing their familiars will no longer lock up when transitioned by a DM
* The Missing File error message, when attempting to connect to a server, now reports the file that is missing.


NEW FEATURES

Multiplayer


* New server ini option: HideChallenge RatingInExamine
* New server ini option: HideEffect ListInExamine
* Files located in the hak directories will now load prior to character creation.
* Added support for Server to Server transitions through the function ActivatePortal() - Currently the parameter for seemless transition must be set to TRUE

* A new .ini option has been added to allow server admins (hosts) to toggle the auto-heal feature on or off for player login. With the feature turned off, when a player rejoins a server, they will be in the same condition as when they logged off (HP, Spells per day, etc.).
* A new Content Autodownloader system has been added to Neverwinter Nights 2 Multiplayer. It is designed to be used with the dedicated server.
* Changes have been made to the Dedicated Server, Game Client and Toolset to accommodate this new feature. Two documents, Autodownloader Server Admin Guide.pdf and Autodownloader Toolset User Guide.pdf, can be downloaded separately.
* Server admins now have the ability, as an option, to preempt the use of the override and custom UI folders on clients.


Scripting


* Added script function int GetVariableValueInt(object oObject, int nIndex); Get the value of a local int stored at the index provided. 0 if no var is present.
* Added script function string GetVariableValueString(object oObject, int nIndex); Get the value of a local string stored at the index provided. Empty string if no var is present there.
* Added script function float GetVariableValueFloat(object oObject, int nIndex); Get the value of a local float stored at the index provided. 0.00 if no var is present there.
* Added script function location GetVariableValueLocation(object oObject, int nIndex); Get the value of a local location stored at the index provided. Invalid location no var is present there.
* Added script function object GetVariableValueObject(object oObject, int nIndex); Get the value of a local object stored at the index provided. OBJECT_INVALID if no var is present there.
* Added script function int GetVariableCount(object oObject); Get the number of local variables stored on this object.
* Added script function void SetBaseAbilityScore(object oCreature, int nAbilityType, int nScore); EXPERIMENTAL! Note that any changes to skill rank will NOT be lost if the character is de-leveled. IMPORTANT: Most usages of this will cause characters to fail 'enforce legal character' restrictions.
* Added script function void SetBaseSkillRank(object oCreature, int nSkill, int nRank, int bTrackWithLevel = TRUE); EXPERIMENTAL! set bTrackWithLevel = TRUE if you wish for the skill change to be associated with the character's level. In other words, should the character lose the skill change if they lose their current level? IMPORTANT: Most usages of this will cause characters to fail 'enforce legal character' restrictions.
* Added script function void SendChatMessage(object oSender, object oReceiver, int nChannel, string sMessage, int bInvokeCallback = FALSE); This function is used to send a chat message, as if spoken by a PC or by the server. Except for 'CHAT_MODE_SERVER', oSender must be a PC or nothing will occur. oSpeaker - the PC who will speak, OBJECT_INVALID if channel is CHAT_MODE_SERVER. This must be a valid PC object for CHAT_MODE_PARTY to work. oReceiver - if nChannel is CHAT_MODE_TELL or CHAT_MODE_SERVER, then this must be the PC who will be receiving the message. nMode - CHAT_MODE const indicating the type of message to be sent. Only the CHAT_MODE_* values provided are accepted. sMessage - actual message text bInvokeCallback = the module's nChat script will be invoked to filter this message, if this is TRUE. WARNING: use extreme caution if setting bInvokeCallback to TRUE from within the OnChat handler itself -- this could lead to an infinite loop and hang your module!
* Added script function int GetIsLocationValid(location lLocation); Returns TRUE if the location is a valid, walkable location.
* Added script function int GetSurfaceMaterialsAtLocation(location lLocation); Returns a bitmask composed of 0 or more SM_* values.
* Added script function int GetSpellKnown(object oCreature, int nSpell); EXPERIMENTAL! Returns if the spell is known to this creature under any class or level.
* Added script function int GetItemBaseMaterialType(object oItem); returns the GMATERIAL_* const to get the base material type of the item specified. At this time, only the pre-defineid base material types work.
* Added script function void SetItemBaseMaterialType(object oItem, int nMaterialType); EXPERIMENTAL! Set the base material type of oItem to nmaterialType, which must be a valid GMATERIAL_* const value.



Toolset & Custom Content


* A new Content Autodownloader system has been added to Neverwinter Nights 2 Multiplayer. It is designed to be used with the dedicated server.
* Changes have been made to the Dedicated Server, Game Client and Toolset to accommodate this new feature. Two documents, Autodownloader Server Admin Guide.pdf and Autodownloader Toolset User Guide.pdf, can be downloaded separately.
Files located in the hak directories will now load prior to character creation.
Some very exciting changes in that list, things we've been asking for and wanting since the early days of NWN1. Looking forward to playing with this Beta version of the patch!
User avatar
Riotnrrd
DMA's Technical Liaison
Posts: 1682
Joined: Sat Jan 03, 2004 2:04 pm

Re: Upcoming patch notes (!)

Post by Riotnrrd »

Nice stuff!
HEEGZ
Dungeon Master
Posts: 7085
Joined: Wed Dec 28, 2005 4:17 pm
Location: US CST

Re: Upcoming patch notes (!)

Post by HEEGZ »

It's about time. Really looking forward to this patch, and hopefully it works as intended. Did they give an ETA for pushing it through?
User avatar
Kest
Builder
Posts: 794
Joined: Sat May 22, 2004 9:20 pm
Location: Flint, MI

Re: Upcoming patch notes (!)

Post by Kest »

I heard a lot of the multiplayer stuff for this patch was done by someone other than obsidian?

Code: Select all

<PiousHeretic> sad fact
[01:11] <PiousHeretic> this was all mostly implemented by GrinningFool
[01:11] <PiousHeretic> we do not have to Obsidian to thank
[01:11] <PiousHeretic> for any of this
[01:11] <Sankis> I have no idea who that is
[01:12] <PiousHeretic> the developer behind Khalidine and perhaps the greatest patron you can go to for NWN2
[01:12] <PiousHeretic> if you're a client that is
[01:12] <Sankis> oh
[01:12] <Sankis> i guess
[01:12] <myrk|> Khalidine?
[01:13] <PiousHeretic> should look into it.
[01:13] <PiousHeretic> they're solid.
[01:13] <PiousHeretic> http://khalidine.com/
User avatar
Ithildur
Dungeon Master
Posts: 3548
Joined: Wed Oct 06, 2004 7:46 am
Location: Best pizza town in the universe
Contact:

Re: Upcoming patch notes (!)

Post by Ithildur »

Great, big, huge news.


Kest, if that's true I wouldn't be very surprised. :?
Formerly: Aglaril Shaelara, Faerun's unlikeliest Bladesinger
Current main: Ky - something

It’s not the critic who counts...The credit belongs to the man who actually is in the arena, who strives violently, who errs and comes up short again and again...who if he wins, knows the triumph of high achievement, but who if he fails, fails while daring greatly.-T. Roosevelt
User avatar
Kest
Builder
Posts: 794
Joined: Sat May 22, 2004 9:20 pm
Location: Flint, MI

Re: Upcoming patch notes (!)

Post by Kest »

User avatar
darrenhfx
Beholder
Posts: 1982
Joined: Fri Jul 30, 2004 5:35 pm
Location: Halifax, Canada GMT -4 (AST)

Re: Upcoming patch notes (!)

Post by darrenhfx »

Lots of good stuff in there.

Files located in the hak directories will now load prior to character creation

Does this one mean that custom skills will be possible?
HEEGZ
Dungeon Master
Posts: 7085
Joined: Wed Dec 28, 2005 4:17 pm
Location: US CST

Re: Upcoming patch notes (!)

Post by HEEGZ »

I believe it does. Will solve a lot of problems if it works as requested.
User avatar
AcadiusLost
Chosen of Forumamus, God of Forums
Posts: 5061
Joined: Tue Oct 19, 2004 8:38 am
Location: Montara, CA [GMT -8]
Contact:

Re: Upcoming patch notes (!)

Post by AcadiusLost »

Custom skills have been possible for quite some time. What this means is, they should be much simpler (and will hopefully circumvent the major instability issues involved in manipulating the base skill ranks via scripted LETO as I was doing in my earlier tests). This will bear some testing, as it may still tremendously complicate toolset work, especially for those builders who also develop non-ALFA content on the side.

They've talked about next week for the initial 1.23 BETA release, but have also said they will likely go through multiple rounds of report/revise/re-release on this patch before it makes its way into the "final" version, as the change to hak loading priority (among other things) have the potential to break a great many things.

Assuming they release a 1.23 Beta rollback patch, I'll be looking to recruit a group of testers willing to help me find and report problems with the 1.23 Beta in time to help improve those iterative revisions pre-Final release. Failing that, folks with a spare NWN2 install (second PC, etc) may also be able to help without sacrificing their ability to play/DM/toolset for the Live servers.

[edit: Re: GrinningFool, he's a very active NWN2 community member, and was/is responsible for many of the new scripting functions that are included with this update, as well as some of the Autodownloader development. I am not aware of any direct contribution he has had with the pre-loading haks part of the update; I would suspect the majority of the patch work was still a product of Obsidian itself. Nice to see continuing interaction between Obsidian and PW community members, though!]
Locked