L.C. Posted March 3, 2010 Author Report Posted March 3, 2010 (edited) According to Snrrrub, his never crashed. So I don't know. I enabled logging on ds1.hlrse.net this time. EDIT: I suppose you could turn it back on? :? Your call. Edited March 3, 2010 by L.C. Quote
PoLiX Posted March 3, 2010 Report Posted March 3, 2010 SSCentral's keeps crashing early in the morning when it is downloading the zone list. Only begun a couple days ago. Quote
»doc flabby Posted March 3, 2010 Report Posted March 3, 2010 (edited) According to Snrrrub, his never crashed. So I don't know. I enabled logging on ds1.hlrse.net this time. EDIT: I suppose you could turn it back on? :? Your call. ok its back online at http://ssdir.playsubspace.com/centralonline.pllet me know if it crashes again, if it does i'll remove it. Edited March 3, 2010 by doc flabby Quote
L.C. Posted March 3, 2010 Author Report Posted March 3, 2010 According to Snrrrub, his never crashed. So I don't know. I enabled logging on ds1.hlrse.net this time. EDIT: I suppose you could turn it back on? :? Your call. ok its back online at http://ssdir.playsubspace.com/centralonline.pllet me know if it crashes again, if it does i'll remove it.I use your auto-restart script for ds.hlrse.net. ;o Here it is incase anyone needs it: #!/bin/sh cd ~/subdomains/ds for (( ; ; )) do ./dirserver > logall.txt done Different ways to execute it:1) sh dirserver.sh&2) nohup sh dirserver.sh& If you need to kill it, then do:ps aux | grep dirserverThen kill the one with dirserver.sh before killing dirserver It logs any console information to logall.txt -- otherwise remove the " > logall.txt" bit from dirserver.sh.You need to change Line 2 to match the location on the server to where the binary dirserver and config.txt sit. Quote
Samapico Posted March 3, 2010 Report Posted March 3, 2010 Soooo... basically... a directory server of directory servers? Me likes Quote
»Maverick Posted March 3, 2010 Report Posted March 3, 2010 (edited) Nice script, doc flabby. Are there any perl requirements though? I've tryed to run the script on my server and it just gives an 500 Internal Server Error with the following in the error.log;[Wed Mar 03 00:32:26 2010] [error] [client 145.50.39.12] Premature end of script headers: directoryserversonline.pl Nevermind; I need to install the CGI/Cache.pm module Edited March 3, 2010 by Maverick Quote
»Maverick Posted March 3, 2010 Report Posted March 3, 2010 (edited) A forum moderator should modify the Directory Servers topic to show Doc Flabby's script in an iframe. I did this on the Trench Wars's forum too and it looks nice. (I had to make a custom BB Code tag to achieve it though.) Edited March 3, 2010 by Maverick Quote
»doc flabby Posted March 3, 2010 Report Posted March 3, 2010 A forum moderator should modify the Directory Servers topic to show Doc Flabby's script in an iframe. I did this on the Trench Wars's forum too and it looks nice. (I had to make a custom BB Code tag to achieve it though.)If you change the xsl file, you can make it look more pretty, i did a pretty crap job on the formatting Quote
»Maverick Posted March 3, 2010 Report Posted March 3, 2010 Your formatting isn't that bad, it's good enough already Quote
rootbear75 Posted March 3, 2010 Report Posted March 3, 2010 Just shows raw text to me....Could be because I'm on my phone.... idk.... maybe android can't run perl... Quote
L.C. Posted March 3, 2010 Author Report Posted March 3, 2010 Just shows raw text to me....Could be because I'm on my phone.... idk.... maybe android can't run perl...Has nothing to do with your phone being able to execute Perl. In fact, the one machine executing Perl is the server itself. The server executes and processes the file before sending it to you. Maybe your phone doesn't have proper support for XML files. Quote
»Maverick Posted March 3, 2010 Report Posted March 3, 2010 (edited) Maybe your phone doesn't have proper support for XML files. That would be my guess too. Chrome just displays the text from the XML if it only displays a XML file. The XML that is returned by Doc Flabby's script points to a XSL that should be used to make the XML readable. Your phone most likely doesn't format the XML using the XSL file. Edited March 3, 2010 by Maverick Quote
Samapico Posted March 3, 2010 Report Posted March 3, 2010 ds1.hlrse.net gives me a bunch of yellow '[?]' things with SSC zones... I'd add that script in the topic, but I don't really know how, to be honest. Quote
L.C. Posted March 3, 2010 Author Report Posted March 3, 2010 (edited) ds1.hlrse.net gives me a bunch of yellow '[?]' things with SSC zones... I'd add that script in the topic, but I don't really know how, to be honest.The Perl script is missing a "prioritization function" and should keep the copy and paste line in a fixed order. Ultimately, it should base that order on the directory server with the best recorded uptime, but with non-clustered directory servers like ds1.hlrse.net placed last. @SamapicoRemove everything in your list entirely, then click OK, then click on ZONES (again). Download the list again. The list should be rather small. The [?], in this scenario, simply means that ds1.hlrse.net has no idea and does not recognize those zones as zones (because they do not broadcast to ds1.hlrse.net). This will only happen if you already have zones in your list that do not broadcast to the directory server you are downloading, because the directory server (aside from ss://) will tell you whether a zone has a description, IP, port, name or status update when you download a list (it compares the list you download to the list you already have). Edited March 3, 2010 by L.C. Quote
Samapico Posted March 3, 2010 Report Posted March 3, 2010 hmm... yeah obviously Should have known that Quote
JoWie Posted March 3, 2010 Report Posted March 3, 2010 If it does not work, check if you are using NoScript: http://hackademix.net/2009/03/27/firefox-light-speed-update-and-noscript-xslt-protection Quote
»Maverick Posted March 3, 2010 Report Posted March 3, 2010 Stop polluting the topic, Xog. The Perl script is missing a "prioritization function" and should keep the copy and paste line in a fixed order. Ultimately, it should base that order on the directory server with the best recorded uptime, but with non-clustered directory servers like ds1.hlrse.net placed last.That's way too advanced (and probably unnecessary) for such a simple script as this The order is already specified in the configuration of the Perl script so you can make your own order if necessary. Quote
L.C. Posted March 3, 2010 Author Report Posted March 3, 2010 Stop polluting the topic, Xog. The Perl script is missing a "prioritization function" and should keep the copy and paste line in a fixed order. Ultimately, it should base that order on the directory server with the best recorded uptime, but with non-clustered directory servers like ds1.hlrse.net placed last.That's way too advanced (and probably unnecessary) for such a simple script as this The order is already specified in the configuration of the Perl script so you can make your own order if necessary.Actually the order appears to change for every execution of the script. Anyway, ds1.hlrse.net should not be the first one, but at least the last. Otherwise that kind of defeats the purpose of that copy-and-paste line (ds1.hlrse.net has a very very small list compared to all the others). Quote
»doc flabby Posted March 3, 2010 Report Posted March 3, 2010 (edited) Stop polluting the topic, Xog. The Perl script is missing a "prioritization function" and should keep the copy and paste line in a fixed order. Ultimately, it should base that order on the directory server with the best recorded uptime, but with non-clustered directory servers like ds1.hlrse.net placed last.That's way too advanced (and probably unnecessary) for such a simple script as this The order is already specified in the configuration of the Perl script so you can make your own order if necessary.Actually the order appears to change for every execution of the script. Anyway, ds1.hlrse.net should not be the first one, but at least the last. Otherwise that kind of defeats the purpose of that copy-and-paste line (ds1.hlrse.net has a very very small list compared to all the others). It does acctually randomise the order, you can removed this "feature" by commenting out the line fisher_yates_shuffle(\@ssdirs); Edited March 3, 2010 by doc flabby Quote
Samapico Posted March 3, 2010 Report Posted March 3, 2010 Would be better (imo) to just have the active ones appear in whatever order they are defined; keep the most used ones at the beginning And I split the topic... whatever Xog was rambling about, he can now do it in the spam lounge Quote
L.C. Posted March 4, 2010 Author Report Posted March 4, 2010 Does anyone have any idea why SSCV Dragonball Z keeps going back and forth between its correct zone name and description to a zone name of "Unknown" and a description of "None"? ds1.hlrse.net isn't doing this.. Quote
»Maverick Posted March 4, 2010 Report Posted March 4, 2010 (edited) Would be better (imo) to just have the active ones appear in whatever order they are defined; keep the most used ones at the beginningYes, the directory servers that most zones have configured should be first. SSCentral.sscuservers.net is most likely the most used one, unfortunately it's down for quite some time now. This is my list;my @ssdirs = ( 'sscentral.sscuservers.net', 'sscentral.com', 'ssdir.playsubspace.com', 'nanavati.net', 'ds1.hlrse.net', 'ds1.krslynx.com', 'ds.hlrse.net', 'dirserver.ssnecentral.net' ); Samapico, to add the output of the script into the Directory Servers topic, you need to add an HTML iframe into it somehow. On the TW Forums, I've used a custom BBCode for this purpose. This is the HTML code I've used on the TW forums:<iframe src="http://directoryservers.sshq.net/" title="Online Directory Servers" width="100%" height="400px" frameborder="0"></iframe>If Invision Board allows posting HTML in a single topic while dissallowing it in the rest of the forum, you probably won't need a custom tag. PS.: I've installed the script at stats.sshq.net so I can modify it later to use the population statistics to determine if a directory server is online or not. Edited April 22, 2010 by Maverick Quote
Samapico Posted March 4, 2010 Report Posted March 4, 2010 We used to be able to allow HTML in a particular post... hmm... Not anymore it seems Quote
L.C. Posted March 5, 2010 Author Report Posted March 5, 2010 (edited) sscentral.com ds.hlrse.net ds1.krslynx.com nanavati.net ssdir.playsubspace.com ds1.hlrse.net I checked each one individually by trying one of them, hitting cancel or OK, then clicking on Zones, then trying the next one. I am looking at SSCV Dragonball Z zone here: sscentral.com = Unknown (note: using Snrrrub's directory server v1.1)ds.hlrse.net = Unknown (note: using Snrrrub's directory server v1.1)ds1.krslynx.com = Unknown (note: unknown if using v1.0 or v1.1 of Snrrrub's directory server)nanavati.net = SSCV Dragonball Z (note: using Snrrrub's directory server v1.1)ssdir.playsubspace.com = SSCV Dragonball Z (note: uses doc flabby's directory server Central)ds1.hlrse.net = SSCV Dragonball Z (note: has UpstreamServers disabled via ZoneRefreshSeconds set to -1; the only win32 server in this list; using Snrrrub's directory server v1.1) Not sure what to make of it. [Directory] IP=sscentral.com,sscentral.sscuservers.net,ssdir.playsubspace.com,nanavati.net,ds1.krslynx.com,ds.hlrse.net,ds1.hlrse.net Description=ss://ds1.hlrse.net Fast pace action with intense battles in a multitude of carefully constructed bases. Fight with your team to capture the seven dragonballs and defend your base to the death with your friends. Port=4991 Edited March 5, 2010 by L.C. Quote
»Maverick Posted March 5, 2010 Report Posted March 5, 2010 (edited) Hey L.C., I've tryed the same directoryservers to query for SSCV Dragonball Z using my own directory client; IP PORT POP SCORING VERSION TIMESTAMP NAME DESCRIPTION ============================================================================================================================================ sscentral.com 74.86.4.98 21000 4 257 134 1267777114146 SSCV Dragonball Z ss://ds1.hlrse.net Fast pace action with intense battles in a multitude of carefully constructed bases. Fight with your team to capture the seven dragonballs and defend your base to the death with your friends. ds.hlrse.net 74.86.4.98 21000 4 257 134 1267777234557 SSCV Dragonball Z ss://ds1.hlrse.net Fast pace action with intense battles in a multitude of carefully constructed bases. Fight with your team to capture the seven dragonballs and defend your base to the death with your friends. nanavati.net 74.86.4.98 21000 1 257 134 1267777328487 SSCV Dragonball Z ss://ds1.hlrse.net Fast pace action with intense battles in a multitude of carefully constructed bases. Fight with your team to capture the seven dragonballs and defend your base to the death with your friends. ds1.krslynx.com 74.86.4.98 21000 4 1 134 1267777278111 SSCV Dragonball Z ss://ds1.hlrse.net Fast pace action with intense battles in a multitude of carefully constructed bases. Fight with your team to capture the seven dragonballs and defend your base to the death with your friends. ssdir.playsubspace.com 74.86.4.98 21000 1 1 134 1267777418076 SSCV Dragonball Z ss://ds1.hlrse.net Fast pace action with intense battles in a multitude of carefully constructed bases. Fight with your team to capture the seven dragonballs and defend your base to the death with your friends. ds1.hlrse.net 74.86.4.98 21000 1 1 134 1267777461621 SSCV Dragonball Z ss://ds1.hlrse.net Fast pace action with intense battles in a multitude of carefully constructed bases. Fight with your team to capture the seven dragonballs and defend your base to the death with your friends. I see no problem with the zone's directory entries. (My directory client seems to have problem interpreting the scoring boolean though.) It's possible that the Continuum client doesn't receive the zone because the description contains "ss://ds1.hlrse.net" . The client will try to resolve the IP of the zone by resolving the DNS name after "ss://" . More information here, here and here Edited March 5, 2010 by Maverick Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.