Posts: 18
Threads: 35
Joined: Apr 2018
Hello !
Is there a Nord Invasion API where i can get the status of servers and things like that like the NIServerList.Jar ?
Thank you !
Fiendish Bow - 29/04/2018 - 1200 hours
Noble Steel Gauntlets - 30/04/2018 - 1205 hours
Posts: 1,177
Threads: 239
Joined: Oct 2014
Status of servers can be found here:
https://nordinvasion.com/server-links.html
Every server status is shown in XML. You can parse whatever you need
Posts: 18
Threads: 35
Joined: Apr 2018
Thank you !
Fiendish Bow - 29/04/2018 - 1200 hours
Noble Steel Gauntlets - 30/04/2018 - 1205 hours
Posts: 18
Threads: 35
Joined: Apr 2018
(31-05-2018, 09:34 AM)Kaasovic Wrote: Status of servers can be found here: https://nordinvasion.com/server-links.html
Every server status is shown in XML. You can parse whatever you need
By the way my code gives me an error, after searching on google might be an error of url and it's true that the url doesn't finish as a .xml so what type of page is it ?
Thank you again for your help
" XmlDocument xmlDoc = new XmlDocument();
xmlDoc.Load("https://nordinvasion.com/status/balder/21231.xml"); // gives error
"
Fiendish Bow - 29/04/2018 - 1200 hours
Noble Steel Gauntlets - 30/04/2018 - 1205 hours
Posts: 1,177
Threads: 239
Joined: Oct 2014
Try without the .xml extension
Posts: 18
Threads: 35
Joined: Apr 2018
31-05-2018, 08:03 PM
(This post was last modified: 31-05-2018, 08:06 PM by FSA_Tasadar.)
(31-05-2018, 08:00 PM)Kaasovic Wrote: Try without the .xml extension
Does give me the same error :
(French) : System.Net.WebException : 'Le serveur a commis une violation de protocole. Section=ResponseStatusLine'
XmlDocument xmlDoc = new XmlDocument();
xmlDoc.Load("https://nordinvasion.com/status/balder/21231");
I don't know why, i'll try to search again, thx for your help
Maybe should i try by HttpRequest and not XML ?
Fiendish Bow - 29/04/2018 - 1200 hours
Noble Steel Gauntlets - 30/04/2018 - 1205 hours
Posts: 1,177
Threads: 239
Joined: Oct 2014
I assume this is C#?
Perhaps this answer will help you
https://stackoverflow.com/questions/7496...mldocument
Posts: 18
Threads: 35
Joined: Apr 2018
31-05-2018, 09:04 PM
(This post was last modified: 31-05-2018, 09:11 PM by FSA_Tasadar.)
(31-05-2018, 08:34 PM)Kaasovic Wrote: I assume this is C#?
Perhaps this answer will help you https://stackoverflow.com/questions/7496...mldocument
Yes it is, thought i said it my bad
I'll check the post
I've tried all the answers, it works with another URL but not the NI one ..
Fiendish Bow - 29/04/2018 - 1200 hours
Noble Steel Gauntlets - 30/04/2018 - 1205 hours