Author Topic: NWN Gamespy Server Replacement Project  (Read 11099 times)

Legacy_leo_x

  • Sr. Member
  • ****
  • Posts: 403
  • Karma: +0/-0
NWN Gamespy Server Replacement Project
« Reply #75 on: December 11, 2012, 08:56:35 pm »


               

Baaleos wrote...

If it was the master server that was truncating it - then perhaps this works in our favor.
Who says it has to be truncated now?


Mucked about with a few more things. Querying via UDP seems to return a truncated description.  I might not have a ServerDesc.txt, not sure that would even matter but I didn't test it. Github gist: here

Only tested the code in Python 2.7, probably won't work in 3.x
               
               

               


                     Modifié par pope_leo, 11 décembre 2012 - 09:18 .
                     
                  


            

Legacy_Zarathustra217

  • Sr. Member
  • ****
  • Posts: 322
  • Karma: +0/-0
NWN Gamespy Server Replacement Project
« Reply #76 on: December 11, 2012, 09:54:04 pm »


               I realise that tight now there's really a lot of projects floating around but I figure that until one solution proves itself (or several) there's reason to continue to contemplate (and potentially work on) solutions.

In our PW community, we've discussed the idea using Java for this since it allows for easy cross platform support. Any of you guys experienced with programming similar utilities in that?
               
               

               
            

Legacy_leo_x

  • Sr. Member
  • ****
  • Posts: 403
  • Karma: +0/-0
NWN Gamespy Server Replacement Project
« Reply #77 on: December 11, 2012, 10:05:41 pm »


               I probably would suggest Python over Java, it would be a lot more accessible to everyone, wouldn't require dowloading the JRE or complex build environments.  It's just as cross-platform.  The latter is quite a bit more heavyweight too which isn't great for something that might be used as a launcher.  They both have almost all the libraries anyone would need builtin.  The Python GUI toolkit Tkinter is a bit weak tho...and of course it's way slower generally.
               
               

               


                     Modifié par pope_leo, 11 décembre 2012 - 10:06 .
                     
                  


            

Legacy_MrZork

  • Hero Member
  • *****
  • Posts: 1643
  • Karma: +0/-0
NWN Gamespy Server Replacement Project
« Reply #78 on: December 12, 2012, 12:30:55 am »


               Another vote for python, though I am not working on an independent replacement for the GS aspects of the servers or clients. Lots of language options would do, but python is really nice for maintainability. And, in the event that speed becomes a real factor (probably not, but just in case), there is always psyco...
               
               

               
            

Legacy_leo_x

  • Sr. Member
  • ****
  • Posts: 403
  • Karma: +0/-0
NWN Gamespy Server Replacement Project
« Reply #79 on: December 16, 2012, 12:25:58 am »


               I decided to make a project out of prototyping a launcher/downloader/updater... if anyone is interested it's written in Python (2.7).  Details here: https://github.com/j...verrun#neverrun

It uses JSON over XML for its file formats.  A lot of rough edges, but if anyone wants to contribute and/or use it for the basis of something better feel free.  windows executables can be made with py2exe...
               
               

               


                     Modifié par pope_leo, 16 décembre 2012 - 12:30 .
                     
                  


            

Legacy_Melkior_King

  • Full Member
  • ***
  • Posts: 234
  • Karma: +0/-0
NWN Gamespy Server Replacement Project
« Reply #80 on: December 16, 2012, 04:06:45 am »


               I'm attempting to translate my Liberty Basic (byte-code interpreted) patch program to PowerBasic (compiled).

The LB program does everything required (allows you to patch nwmain and nwserver separately and allows reversing of the patch, quickly and easily) but it's inconvenient since it requires a runtime engine and the engine's support files.  If I can translate it to PowerBasic, it will come as a single exe file.
               
               

               
            

Legacy_eeriegeek

  • Jr. Member
  • **
  • Posts: 75
  • Karma: +0/-0
NWN Gamespy Server Replacement Project
« Reply #81 on: December 16, 2012, 07:51:26 pm »


               On the server side of things, as most of you know, there are two slightly different services that supported NWN. The first is the NWN master server, which handled authentication and probably network statistics monitoring. This service was shut down some time ago. The second service was gamespy integration, which allowed servers to register with the gamespy network to construct a browsable directory for clients.

Visavent is currently working on a substitute for the Gamespy service which would collect both server registrations once they are redirected to the new server as well as providing the matching interface for normal NWN client browsers to find servers. Work is ongoing and the main thread is HERE.

Skywing, who works mainly in the NWN2 arena, has written a substitute server for the other main NWN service (main thread HERE), the NWN master server which is compatible with both NWN1 and NWN2. This does not provide an end-to-end discovery service like the gamespy network, but it is able to collect server status information. To that end, Skywing has set up running servers for both NWN1 and NWN2. These new master servers also have a SOAP based web application interface which allows the collected server registrations to be retrieved.

To what extent these two services will (or even need to) collaborate is still undecided as far as I know. However, the master server substitute is running and available for server administrators that wish to try it out. At the very least, this will help create another listing of active NWN1 servers. To register with the new master server the new server IP must be placed in the /etc/hosts file of the server and the the NWN server restarted. The entry for Skywing's substitute server is "199.193.152.27  nwmaster.bioware.com" for NWN1 servers. While you're there you may want to add "198.23.165.35  nwn.master.gamespy.com" for Visavent's gamespy replacement. The new master server can be configured for clients, but will have no effect other than preventing the master server error message (for which there are other solutions.) The new master server does NOT attempt to handle authentication other that returning an "OK" message so CD key based systems are still needed.

I've hacked togeather a gSOAP based CGI script to list NWN1 servers registered with the new master server. The script accesses the master server via the web services interface. A list of registered servers can be viewed HERE to see if your server has registered. The source code for the CGI script is available HERE.
               
               

               


                     Modifié par eeriegeek, 16 décembre 2012 - 07:55 .
                     
                  


            

Legacy_AlthorDeMalavir

  • Newbie
  • *
  • Posts: 22
  • Karma: +0/-0
NWN Gamespy Server Replacement Project
« Reply #82 on: December 21, 2012, 10:57:57 am »


               I'm working in a php web page for listing servers, you can easy add your server, only add your ip or damain and port.

http://neverun.com/nwnserverlist
               
               

               


                     Modifié par AlthorDeMalavir, 21 décembre 2012 - 10:58 .
                     
                  


            

Legacy_AlgernonsGhost

  • Jr. Member
  • **
  • Posts: 68
  • Karma: +0/-0
NWN Gamespy Server Replacement Project
« Reply #83 on: December 21, 2012, 06:02:15 pm »


               

AlthorDeMalavir wrote...

I'm working in a php web page for listing servers, you can easy add your server, only add your ip or damain and port.

http://neverun.com/nwnserverlist

That's a nice looking site you built. I've added a link to it from my server's forum article on finding NWN server listings without GameSpy here:

http://www.forums.nw...hp?f=48&t=31431

I like that we can simply add servers.

Do you have any plans to develop it so we can click the column headings to dynamically arrange the listings ascending/descending according to column content?
               
               

               
            

Legacy_AlthorDeMalavir

  • Newbie
  • *
  • Posts: 22
  • Karma: +0/-0
NWN Gamespy Server Replacement Project
« Reply #84 on: December 21, 2012, 06:21:32 pm »


               

AlgernonsGhost wrote...

AlthorDeMalavir wrote...

I'm working in a php web page for listing servers, you can easy add your server, only add your ip or damain and port.

http://neverun.com/nwnserverlist

That's a nice looking site you built. I've added a link to it from my server's forum article on finding NWN server listings without GameSpy here:

http://www.forums.nw...hp?f=48&t=31431

I like that we can simply add servers.

Do you have any plans to develop it so we can click the column headings to dynamically arrange the listings ascending/descending according to column content?


Thanks '<img'>

I added support for NWN2 servers '<img'>

Its a early beta, more content and features will come in the near future ':lol:'
               
               

               
            

Legacy_Highv Priest

  • Full Member
  • ***
  • Posts: 170
  • Karma: +0/-0
NWN Gamespy Server Replacement Project
« Reply #85 on: December 21, 2012, 11:03:15 pm »


               

AlthorDeMalavir wrote...

I'm working in a php web page for listing servers, you can easy add your server, only add your ip or damain and port.

http://neverun.com/nwnserverlist


OMG! That actually works perfectly! You even had our server up on the list and we never gave it out! I added my test server as well in case it needed to be found. Is this resource something that is limited or lasting?

EDIT = I've heard of redirection attacks through websites, the nwnpatcher.exe program still goes to an invalid web address to retrieve data. Couldn't it be possible to add the community made fix to online as one of the things the patcher program could retrieve? A new player to the game doesn't inherently know the patcher is broken. If the patcher could be made to be directed to a web address to download the fix that would enable them to play online normally as well.
               
               

               


                     Modifié par Highv Priest, 21 décembre 2012 - 11:13 .
                     
                  


            

Legacy_OldTimeRadio

  • Hero Member
  • *****
  • Posts: 2307
  • Karma: +0/-0
NWN Gamespy Server Replacement Project
« Reply #86 on: December 22, 2012, 02:13:44 am »


               Bravo, AlthorDeMalavir!
               
               

               
            

Legacy_Melkior_King

  • Full Member
  • ***
  • Posts: 234
  • Karma: +0/-0
NWN Gamespy Server Replacement Project
« Reply #87 on: December 22, 2012, 03:14:12 am »


               

Highv Priest wrote...
EDIT = I've heard of redirection attacks through websites, the nwnpatcher.exe program still goes to an invalid web address to retrieve data. Couldn't it be possible to add the community made fix to online as one of the things the patcher program could retrieve? A new player to the game doesn't inherently know the patcher is broken. If the patcher could be made to be directed to a web address to download the fix that would enable them to play online normally as well.

Patching the patcher you mean?  It's quite possible.  It introduces its own problems, though, to do with version numbers and keeping everyone patched to the same version so that clients can still connect to servers.
               
               

               
            

Legacy_henesua

  • Hero Member
  • *****
  • Posts: 6519
  • Karma: +0/-0
NWN Gamespy Server Replacement Project
« Reply #88 on: December 29, 2012, 01:46:03 pm »


               Game Ranger picked up support of Neverwinter Nights 1 on December 21st.
               
               

               
            

Legacy_Highv Priest

  • Full Member
  • ***
  • Posts: 170
  • Karma: +0/-0
NWN Gamespy Server Replacement Project
« Reply #89 on: December 30, 2012, 06:12:11 am »


               

henesua wrote...

Game Ranger picked up support of Neverwinter Nights 1 on December 21st.


That's cool, but how do I use this program? Is it JUST LIKE XFIRE or will using it enable the interface of my browser lists for servers?