Aller au contenu

NWN Gamespy Server Replacement Project


  • Veuillez vous connecter pour répondre
251 réponses à ce sujet

#76
leo_x

leo_x
  • Members
  • 223 messages

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 .


#77
Zarathustra217

Zarathustra217
  • Members
  • 221 messages
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?

#78
leo_x

leo_x
  • Members
  • 223 messages
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 .


#79
MrZork

MrZork
  • Members
  • 939 messages
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...

#80
leo_x

leo_x
  • Members
  • 223 messages
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 .


#81
Melkior_King

Melkior_King
  • Members
  • 135 messages
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.

#82
eeriegeek

eeriegeek
  • Members
  • 47 messages
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 .


#83
AlthorDeMalavir

AlthorDeMalavir
  • Members
  • 22 messages
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 .


#84
AlgernonsGhost

AlgernonsGhost
  • Members
  • 47 messages

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?

#85
AlthorDeMalavir

AlthorDeMalavir
  • Members
  • 22 messages

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 :)

I added support for NWN2 servers :P

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

#86
Highv Priest

Highv Priest
  • Members
  • 93 messages

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 .


#87
OldTimeRadio

OldTimeRadio
  • Members
  • 1 400 messages
Bravo, AlthorDeMalavir!

#88
Melkior_King

Melkior_King
  • Members
  • 135 messages

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.

#89
henesua

henesua
  • Members
  • 3 863 messages
Game Ranger picked up support of Neverwinter Nights 1 on December 21st.

#90
Highv Priest

Highv Priest
  • Members
  • 93 messages

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?

#91
r8_

r8_
  • Members
  • 25 messages
(cross posted from the tech support forum)

Is there any way to remove this endlessly repeating message from my server log?

GameSpy Server Error: No challenge value was received from the master server.

In another thread someone recommended adding this to the hosts file, which points to user Visavant's non-working gamespy server replacement. I tried this to no avail:

198.23.165.35 nwn.master.gamespy.com

Any suggestions?

#92
r8_

r8_
  • Members
  • 25 messages
Sorry. Double post

Modifié par r8_, 30 décembre 2012 - 05:08 .


#93
virusman

virusman
  • Members
  • 282 messages
Work in progress:
Posted Image

Thanks to addicted2rpg for the help!

Modifié par virusman, 23 janvier 2013 - 11:59 .


#94
Squatting Monk

Squatting Monk
  • Members
  • 444 messages
You're awesome, virusman. I assume this is NWNCX at work?

#95
virusman

virusman
  • Members
  • 282 messages
Yes.

#96
The Amethyst Dragon

The Amethyst Dragon
  • Members
  • 1 877 messages
Awesome.  Once this gets released, I think I'll whip up an image to override the  "powered by gamespy" image to read "powered by virusman".

:D

#97
Sandrax

Sandrax
  • Members
  • 23 messages
Tonight, tomorrow, or the next day.... we're really close.
Its actually playable the way it is now, but there are a few things to shore up.

I think technically its "powered by Skywing" as far as the hosting goes :)

Modifié par Sandrax, 24 janvier 2013 - 12:23 .


#98
The Amethyst Dragon

The Amethyst Dragon
  • Members
  • 1 877 messages
Looking forward to it.

#99
OldTimeRadio

OldTimeRadio
  • Members
  • 1 400 messages
!

#100
T0r0

T0r0
  • Members
  • 304 messages
Godsend !