DarkOrbit PvP Server List

02/09/2015 14:51 alperen417#1
[Only registered and activated users can see links. Click Here To Register...]
Hello Friends! I made a simple site for you. I'm sure on this site you will find an appropriate server :) Have fun

Quote:
=> [Only registered and activated users can see links. Click Here To Register...]
Updates
02/09/2015 15:15 Requi#2
Looks pretty nice. Good job there.
02/09/2015 16:29 xXNinjAXxWii#3
Quote:
Originally Posted by alperen417 View Post
Hello Friends! I made a simple site for you. I'm sure on this site you will find an appropriate server :) Have fun

=> [Only registered and activated users can see links. Click Here To Register...]
Quote:
Originally Posted by Requi View Post
Looks pretty nice. Good job there.
Haven't we got one of those?
02/09/2015 16:36 Requi#4
Quote:
Originally Posted by xXNinjAXxWii View Post
Haven't we got one of those?
Of course. And we already have dozen of Bots and Private Servers. So we should stop creating them?

Also this is just a list and not a online checker :p
02/09/2015 21:58 alperen417#5
Is your server know?
02/10/2015 01:44 Real.epvp#6
Good Job But it don't if it's Offline Or Online :) Just a Suggestion... So People can see if its on from there instead of wasting there time going to the site log in and see if spacemap it online ;)
02/10/2015 18:21 alperen417#7
Quote:
Originally Posted by Real.epvp View Post
Good Job But it don't if it's Offline Or Online :) Just a Suggestion... So People can see if its on from there instead of wasting there time going to the site log in and see if spacemap it online ;)
I'll try to add :)
02/10/2015 18:55 UND3RW0RLD#8
I released a function for this here. Obviously here $data["content"] isnt important.

$data["header"]["HTTP/1.0"]
gives you the status



Quote:
Originally Posted by UND3RW0RLD View Post
Hey here is a little toy. If you want to piss off bp you can mirror their loginpage. This saves you much time, because you get their updates instantly

PHP Code:
function getWebContents($url)
{
  
$parse parse_url($url);
  if(!
$parse || !isset($parse['host'])) 
  {
    return 
false;
  }

  
$host $parse['host'];
  
$port = isset($parse['port']) ? $parse['port'] : ($parse['scheme'] == 'http' 80 443);
  
$pfad = isset($parse['path']) ? $parse['path'] : '/';
  
  if (isset(
$parse['query']))
  {
    
$query = array();
    
$parse['query'] = explode("&",urldecode($parse['query']));
    foreach (
$parse['query'] as $entry)
    {
      
$entry explode("=",$entry);
      
$query[] = $entry[0]."=".urlencode($entry[1]);
    }
    
$parse['query'] = implode("&",$query);
  }
    
  
$ConnectionHandle = @fsockopen(($port != 443 $host 'ssl://' $host), $port$errno$errstr2);
  
  if(!
$ConnectionHandle) {
    return 
false;
  }
  
  
$request   = array();  
  
$request[] = "GET ".$pfad.(isset($parse['query'])?"?".$parse['query']:"")." HTTP/1.1";
  
$request[] = "Host: ".$host;
  
$request[] = "User-Agent: Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)";
  
$request[] = "Accept: text/html,text/plain";
  
$request[] = "Accept-Language: en-us,en;q=0.5";
  
$request[] = "Accept-Encoding: deflate";
  
$request[] = "Accept-Charset: ISO-8859-1";
  
$request[] = "Connection: close";
  
  
$request implode("\r\n",$request)."\r\n\r\n";
  
  
fputs ($ConnectionHandle$request);

  
$retr "";
  while (!
feof($ConnectionHandle)) 
  {
    
$retr .= fgets($ConnectionHandle128);
  }  
  
  
fclose($ConnectionHandle);

  
$pos strpos($retr"\r\n\r\n");
  
$header substr($retr0$pos); 
  
$header explode("\r\n"$header);
    
  
$status explode(" ",$header[0]);
    
  
$http $status[0];
  unset(
$status[0]);
  unset(
$header[0]);
    
  
$h = array();
  
$h[$http] = implode(" ",$status);  
    
  foreach(
$header as $i)
  {
    
$i explode(":",$i);
    
$h[trim($i[0])] = trim($i[1]);
  } 
  
  
$content substr($retr$pos 4);
  
  
$content str_replace(array("ö""ä""ü""ß""Ö",  "Ä""Ü""é""Â"),
           array(
"ö""ä""ü",  "ß""Ö""Ä""Ü","é"), 
           
$content);
  
  return array(
"header" => $h"content" => $content);

this generates an output like: (example google)
Code:
array(2) {
  ["header"]=>
  array(8) {
    ["HTTP/1.0"]=>
    string(6) "200 OK"
    ["Date"]=>
    string(19) "Mo, 17 Nov 2014 19"
    ["Expires"]=>
    string(2) "-1"
    ["Cache-Control"]=>
    string(18) "private, max-age=0"
    ["Content-Type"]=>
    string(24) "text/html; charset=UTF-8"
    ["Set-Cookie"]=>
    string(164) "NID=51=R3n-Ek-42HTVUVUk7a4xm3VQA1p-TAt5ZRPCabzgiAAEJt1xcpay84rooJHsy8yGK1n5dg-ULoCsLKYqFHJjddtQRkC63aPXV-zS1AFgYmLGkgLDVaekiox0QsLF9Zhz; expires=Sat, 07-Apr-2015 19"
    ["Server"]=>
    string(3) "gws"
    ["X-XSS-Protection"]=>
    string(13) "1; mode=block"
  }
  ["content"]=>
  string(29765) "<!doctype html><html>... (ripped)"
}
if you call it like:
PHP Code:
$data getWebContents("http://www.google.de"); 
PHP Code:
echo $data["content"]; 
to handle forms you can use str_replace. This ofc forces you to make own processingpages like "takesignup".

or if you want to mirror pages like "choosefaction" too you have to extend the array $request with
PHP Code:
// vBulletin-board-default setting
$request[] = "Cookie: bblastvisit=0; bblastactivity=0"
the possibities to use this script are endless not only for dark orbit. :)
02/10/2015 20:15 cryz35#9
Quote:
Originally Posted by UND3RW0RLD View Post
I released a function for this here. Obviously here $data["content"] isnt important.

$data["header"]["HTTP/1.0"]
gives you the status
He needs to ping port 8080 to see if spacemap is online.
02/10/2015 20:17 UND3RW0RLD#10
yepp

getWebContents("http://www.domain.de:8080")
02/11/2015 00:03 Darkorbit GamerZ#11
Links is dead ... thx for update your link
02/11/2015 11:20 alperen417#12
Quote:
Originally Posted by UND3RW0RLD View Post
I released a function for this here. Obviously here $data["content"] isnt important.

$data["header"]["HTTP/1.0"]
gives you the status
I could not :(

Quote:
Originally Posted by Darkorbit GamerZ View Post
Links is dead ... thx for update your link

[Only registered and activated users can see links. Click Here To Register...] ?

Quote:
Updates
02/11/2015 16:14 BlackieNL#13
Good job, Thank you :-)
02/11/2015 16:28 alperen417#14
Quote:
Originally Posted by BlackieNL View Post
Good job, Thank you :-)
Thank you. Do you have a suggestion? :)

Edit
Quote:
3 new languages added.
02/12/2015 17:54 Requi#15
Quote:
Originally Posted by UND3RW0RLD View Post
yepp

getWebContents("http://www.domain.de:8080")
Or do it like I did and use fsockopen :p. Default function in php.