NWN Enhanced Edition Notes and Discussion

Moderator: Event DM

downsystem
Apprentice Scholar
Posts: 856
Joined: Wed Dec 29, 2004 1:16 pm
Timezone: -5
Location: Mt. Pleasant, Michigan
Contact:

Re: NWN Enhanced Edition Notes and Discussion

Post by downsystem » Sat Nov 07, 2020 5:08 pm

Well, good luck, hope you get it figured out, but all I can do is send a few bucks your way, and I did.
Grandrin kain Journeymen to the akn

tindertwiggy wrote-

It's not going to be perfect out of the box. That's half the fun.
User avatar
PlasmaJohn
CCC / Release Admin
CCC / Release Admin
Posts: 9010
Joined: Fri Dec 26, 2003 10:37 pm
Timezone: US/Eastern
Location: Negaria
Contact:

Re: NWN Enhanced Edition Notes and Discussion

Post by PlasmaJohn » Thu Jul 01, 2021 7:44 pm

PlasmaJohn wrote:
Wed Nov 22, 2017 2:38 pm
It would be vastly better if they'd implement the authentication hooks to be exposed via the API I asked for years ago. Instead of having a single global password (*headdesks*) passwords would be by account. That would be FAR less hassle than the hoops people have to jump through to get Alpha access.
Here's some potentially positive news.

Since the recent back and forth in a couple other EE related threads I've been poking around to see if there were some functional Alpha alternatives for EE. The bad news is that BD stated they rewrote the protocol and the worse news is that all net traffic is now encrypted. Well, worse in the sense that it complicates writing an MS emulator.


The Nixie (NWNX:EE) project https://nwnx.io/ has automated the enumeration of hookable methods. Among those I found this gem:

Code: Select all

void CNetLayer::SetCurrentMasterServerInternetAddress(uint32_t nAddress, uint32_t nPort);
So perhaps they will indeed release their MS code if/when EE goes end-of-life.

But the more interesting method is this one:

Code: Select all

 BOOL CNetLayer::StartConnectToSession(uint32_t nSessionId, const CExoString & sPlayerName, int32_t nPlayerLanguage, const CExoString & sPassword, uint32_t nTimeOut, uint32_t nConnectionType, const CExoString & sCDKey, const CExoString & sLegacyCDKey, const CExoString & expectCryptoPublicKeyBase64 = "");
Which may indeed allow a plugin author to implement per-player passwords.
Calvin: This is so cool!
Hobbes: This is so stupid.
User avatar
Nighthawk4
Assist DM
Assist DM
Posts: 25898
Joined: Fri Feb 07, 2003 8:32 pm
Timezone: GMT
DM Avatar: DruEl
Location: The Home of the Bard of Avon
Contact:

Re: NWN Enhanced Edition Notes and Discussion

Post by Nighthawk4 » Thu Jul 01, 2021 8:02 pm

I didn’t really understand that apart from the Boolean part, but that seems promising.

(The Boolean part not the fact I don’t understand it). :lol:
Life is never as bad as you think it is, although that doesn't help at the time.
Orleron wrote:I think it's a fun idea if you can idiot-proof it. Problem is God always builds a better idiot. :P
User avatar
PlasmaJohn
CCC / Release Admin
CCC / Release Admin
Posts: 9010
Joined: Fri Dec 26, 2003 10:37 pm
Timezone: US/Eastern
Location: Negaria
Contact:

Re: NWN Enhanced Edition Notes and Discussion

Post by PlasmaJohn » Sun Jul 11, 2021 11:55 pm

Afraid StartConnectToSession was a dead end. Or I don't get how Nixie (NWNX:EE) does their hooks. Sorry y'all.

I have some very unpleasant things to say about WSL2 and I wasted so much time on both the .29 server and the associated NWNX:EE source (spoilers: use 26).
Calvin: This is so cool!
Hobbes: This is so stupid.
Post Reply