Poll

Did Kalphiter copy me? (poll locked)

Yes
No

Author Topic: Blockland Server Status  (Read 11801 times)


You can even change it with PHP
My point is, what would RTB offer?

You can't do it reliably unless you can hack the RTB Auth, the user agent protection is just to deter people from wasting their time. Feel free to give it a shot though - I suspect you'll just run into "Unable to verify that you are a real user" errors.

You can't do it reliably unless you can hack the RTB Auth, the user agent protection is just to deter people from wasting their time. Feel free to give it a shot though - I suspect you'll just run into "Unable to verify that you are a real user" errors.
Yep, even tried forwarding all POST without touching any of the POST, directly through a PHP thing I made.

No, i wouldn't mind a mod to use this.

Although, it would be easier for everyone just to have it with out the requirement of "the mod".

No, i wouldn't mind a mod to use this.

Although, it would be easier for everyone just to have it with out the requirement of "the mod".
Currently, I'm fixing everything on kbyet.com

Didn't get time to work on my version of this yet.

Currently, I'm fixing everything on kbyet.com

Didn't get time to work on my version of this yet.
aright, May i suggest a feature then?

Have it so there is server ping display.

Tom

aright, May i suggest a feature then?

Have it so there is server ping display.

The problem is that it would be pinged from the web-host server(byet), not your computer.

The problem is that it would be pinged from the web-host server(byet), not your computer.

It still provides a relative measure of the most responsive servers.

Tom

Ok, I found a simple PHP ping function, but it dosen't seem to be working.

Code: [Select]
<?php 
function ping($host$port$timeout) { 
  
$tB microtime(true); 
  
$fP fSockOpen($host$port$errno$errstr$timeout); 
  if (!
$fP) { return "down"; } 
  
$tA microtime(true); 
  return 
round((($tA $tB) * 1000), 0)." ms"
}  
echo 
ping("www.google.com"8010);  
?>

It works fine when I ping a website.

But when a try to ping a BL server (Badspots) it says it's down.
Code: [Select]
echo ping("74.52.20.186", 28100, 20); 


Yeah its slightly more complicated than that.

Code: (POST) [Select]
POST /blockland/rtbClientAuth.php HTTP/1.1

Host: returntoblockland.com
User-Agent: Torque/1.0
Content-Type: application/x-www-form-urlencoded
Content-Length: 154



c=AUTH&n=JRCrusher&arg1=Not%20on%20a%20Server&arg2=0%3A02.864000&arg3=2.03&arg4=&arg5=&arg6=&arg7=&arg8=&
arg9=&arg10=&PHPSESSID=5b3s5bkba4leo353ru538nsa33

---------------------

HTTP/1.1 200 OK

Date: Fri, 12 Jun 2009 21:53:02 GMT
Server: Apache/2.2.11 (Unix) PHP/5.2.6 mod_ssl/2.2.11 OpenSSL/0.9.8c mod_fastcgi/2.4.6 DAV/2 SVN/1.4.2
X-Powered-By: PHP/5.2.6
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Pragma: no-cache
cache-control: no-cache
Content-Length: 98
Vary: Accept-Encoding
Content-Type: text/html

FAILURE.Fail.The System was unable to verify that you are a real Blockland User. (Error 1x01)
END
As far as I got :)

Anyway, seeing if the IP grabbing the web-page is connectable via port 80 is a common way to stop proxies :)

woot, now i have one in my signature.
« Last Edit: July 14, 2009, 02:11:48 PM by qevil »

Awesome. Using for Blockintosh. :D

This does not currently work with Blockland. It just reads the master server.
Yeah, you already said so, but how. Is there something I do not know about? So if I am correct, you say this script does not use blockland && "RTB's server browser" !$= "The master server"