Author Topic: Reupload request: Ping Diagnostic Tool  (Read 785 times)

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.

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

Code: [Select]
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);

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

Code: [Select]
[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.

Code: [Select]
Cool, thanks. Will post an actual download when I'm done.
failquote
p.p

Code: [Select]
Cool, thanks. Will post an actual download when I'm done.
failquote
p.p
Derp.


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


http://www.mediafire.com/download.php?zdlmnrnxjzm
No need for you to package it, all right there.

Damn you! I was just about to get a download link out.. x.x

http://www.mediafire.com/?nu1mvjhnhke if HellsHero's is broken for some reason..

Damn you! I was just about to get a download link out.. x.x
Haha, I win! :cookieMonster:

No! dont dl! when i did anytime i tried to join severs it would query again!

Chrono said it's buggy, just to let you know