Blockland Forums > Suggestions & Requests

Reupload request: Ping Diagnostic Tool

Pages: (1/2) > >>

.::Taboo::.:

Yeah, another one.
I've been busy. :D

Anywho, can someone reupload the Ping Diag?
For some reason, even though I've port forwarded alright, it's only when I'm running it that I can really have anyone join my servers.

Orthone:

I'm to lazy to put it on mediafire.. So if you can package it yourself here is the script..


--- Code: ---function initPingCheck()
{
cancel($pingCheck);
if($Server::Dedicated)
{
error("Ping Diagnostic: Please try running a non dedicated server before trying again.");
return;
}
if(!isUnlocked())
{
messageAll('',"Ping Diagnostic: Internet play is not available in the demo.");
error("Ping Diagnostic: Internet play is not available in the demo.");
return;
}
if(JS_Serverlist.rowCount() <= 0)
{
JoinServerGui.queryWebMaster();
$pingCheck = schedule(15000,0,initPingCheck);
messageAll('',"Ping Diagnostic: No servers found in the server list. Initiating Internet Query.");
echo("Ping Diagnostic: No servers found in the server list. Initiating Internet Query.");
return;
}
for(%x=0;%x<JS_Serverlist.rowCount();%x++)
{
%line = JS_Serverlist.getRowText(%x);
//echo(getField(%line,2) NL localClientConnection.netName @ "'s " @ $Pref::Server::Name);
if(strStr(getField(%line,2),$Pref::Server::Name) != -1)
{
echo(getField(%line,3));
if(getField(%line,3) $= "Dead")
{
messageAll('',"Ping Diagnostic: A connection is not able to be made with your server. Initiating Internet Query.");
echo("Ping Diagnostic: A connection is not able to be made with your server. Initiating Internet Query.");
JoinServerGui.queryWebMaster();
}
else
{
messageAll('',"Ping Diagnostic: A connection is able to be made with your server. Diagnostic shutting down.");
echo("Ping Diagnostic: A connection is able to be made with your server. Diagnostic shutting down.");
return;
}
break;
}
}
$pingCheck = schedule(15000,0,initPingCheck);
}
$pingcheck = schedule(5000,0,initPingCheck);
--- End code ---


.::Taboo::.:


--- Quote from: Orthone on October 30, 2009, 06:49:00 PM ---I'm to lazy to put it on mediafire.. So if you can package it yourself here is the script..


--- Code: ---[tt]function initPingCheck()
{
cancel($pingCheck);
if($Server::Dedicated)
{
error("Ping Diagnostic: Please try running a non dedicated server before trying again.");
return;
}
if(!isUnlocked())
{
messageAll('',"Ping Diagnostic: Internet play is not available in the demo.");
error("Ping Diagnostic: Internet play is not available in the demo.");
return;
}
if(JS_Serverlist.rowCount() <= 0)
{
JoinServerGui.queryWebMaster();
$pingCheck = schedule(15000,0,initPingCheck);
messageAll('',"Ping Diagnostic: No servers found in the server list. Initiating Internet Query.");
echo("Ping Diagnostic: No servers found in the server list. Initiating Internet Query.");
return;
}
for(%x=0;%x<JS_Serverlist.rowCount();%x++)
{
%line = JS_Serverlist.getRowText(%x);
//echo(getField(%line,2) NL localClientConnection.netName @ "'s " @ $Pref::Server::Name);
if(strStr(getField(%line,2),$Pref::Server::Name) != -1)
{
echo(getField(%line,3));
if(getField(%line,3) $= "Dead")
{
messageAll('',"Ping Diagnostic: A connection is not able to be made with your server. Initiating Internet Query.");
echo("Ping Diagnostic: A connection is not able to be made with your server. Initiating Internet Query.");
JoinServerGui.queryWebMaster();
}
else
{
messageAll('',"Ping Diagnostic: A connection is able to be made with your server. Diagnostic shutting down.");
echo("Ping Diagnostic: A connection is able to be made with your server. Diagnostic shutting down.");
return;
}
break;
}
}
$pingCheck = schedule(15000,0,initPingCheck);
}
$pingcheck = schedule(5000,0,initPingCheck);[/tt]
[/quote]

Cool, thanks. Will post an actual download when I'm done.
--- End code ---

--- End quote ---


Placid:


--- Code: ---Cool, thanks. Will post an actual download when I'm done.
--- End code ---

failquote
p.p

.::Taboo::.:


--- Quote from: Placid on October 30, 2009, 07:07:20 PM ---
--- Code: ---Cool, thanks. Will post an actual download when I'm done.
--- End code ---

failquote
p.p

--- End quote ---
Derp.


Also, you never told me, and I need to know for the namecheck and .zip, is it a Server_ or a Script_?

Pages: (1/2) > >>

Go to full version