Poll

New set of feature's name? (read)

BLG Unite
7 (77.8%)
BLG Link
1 (11.1%)
Other (post)
1 (11.1%)

Total Members Voted: 9

Author Topic: BLG (Unite) Development  (Read 46027 times)

All notifications or message notifications?
All RTB notifications seem to be broken for me.


uhm
i dont see the new loading menu
and I enabled it


uhm
i dont see the new loading menu
and I enabled it
It still doesn't exist

Separated Blocktop from BLG. I'm thinking of starting to implement some BLG 3 stuff while I wait for Nullable to make the wrapper (6 months later...).

All RTB notifications seem to be broken for me.
Same here.
Very odd. Can either of you send me a console.log?

« Last Edit: October 09, 2012, 05:53:50 PM by Scout31 »

Completely unrelated...
Can you send me Blockonet's server's source code? thanks.

It was 2 lines of PHP.

It was 2 lines of PHP.
uhm
IIRC it was written in Java.

EDIT
Nope, but still, I remember it being more than just 2 lines of PHP.
« Last Edit: October 09, 2012, 08:22:02 PM by Brian Smithers »

Nope.
Code: [Select]
<?php
include 'resources/utility.php';
$name $_POST['n'];

if(
user_authCheck($name) !== false) {
        if(isset(
$_POST['page'])) {
                
$page $_POST['page'];
                
$pName $page;
                if(isset(
$BNet_Redirect[$page])) {
                        
$pName $BNet_Redirect[$page];
                }
                
                
$file "./net/pages/" $pName;
                if(!
is_file($file)) {
                        die(
"NOTFOUND\n");
                }
                
                echo 
"--INIT_PAGE--\n";
                
$handle fopen($file"r");
                while ((
$buffer fgets($handle4096)) !== false) {
                        
$text .= $buffer;
                }
                
$lines explode("\n"$text);
                foreach(
$lines as $l) {
                        echo 
$l "\n";
                }
                
                echo 
"--END_PAGE--\n";
        } else {
                echo 
"Page undefined";
        }
} else {
        die(
"AUTH_FAIL\n");
}
?>


Nope.
Code: [Select]
<?php
include 'resources/utility.php';
$name $_POST['n'];

if(
user_authCheck($name) !== false) {
        if(isset(
$_POST['page'])) {
                
$page $_POST['page'];
                
$pName $page;
                if(isset(
$BNet_Redirect[$page])) {
                        
$pName $BNet_Redirect[$page];
                }
                
                
$file "./net/pages/" $pName;
                if(!
is_file($file)) {
                        die(
"NOTFOUND\n");
                }
                
                echo 
"--INIT_PAGE--\n";
                
$handle fopen($file"r");
                while ((
$buffer fgets($handle4096)) !== false) {
                        
$text .= $buffer;
                }
                
$lines explode("\n"$text);
                foreach(
$lines as $l) {
                        echo 
$l "\n";
                }
                
                echo 
"--END_PAGE--\n";
        } else {
                echo 
"Page undefined";
        }
} else {
        die(
"AUTH_FAIL\n");
}
?>

wtf syntax highlighting wtf?
also, whats utlities.php
I plan on doing
something
with this stuff

EDIT
can you just compress the entire folder and send to me VIA PM, i don't remember how we named things on the server end.

Code: [Select]
<?php
$BNet_Redirect
['jincux.bl'] = "9789.bl";

function 
user_authCheck($name$ip) {
        if(
$ip == "") {
                
$ip $_SERVER['REMOTE_ADDR'];
        }
        
        if(
$ip == "192.168.1.1") {
                
$ip "";
        }
        
//http://auth.blockland.us/authQuery.php?NAME=Jincux&IP=184.91.164.255
        
$server'auth.blockland.us';
        
$port 80;
        
$url '/authQuery.php';
        
$content 'NAME=' $name '&IP=' $ip;
        
$content_length strlen($content);
        
$headers"POST $url HTTP/1.0\r\nContent-type: application/x-www-form-urlencoded\r\nHost: $server\r\nContent-length: $content_length\r\n\r\n";
        
        
$fp fsockopen($server$port$errno$errstr);
        if(!
$fp)
                return 
false;
                
        
fputs($fp$headers);
        
fputs($fp$content);
        
//echo $headers . "\n" . $content . "\n";
        
        
$ret "";
        while (!
feof($fp))
        {
                
$ret.= fgets($fp1024);
        }
        
        
fclose($fp);
        
$l explode("\n"$ret);
        foreach(
$l as $line) {
                if(
strPos($line"YES") !== false) {
                        
$w explode(" "$line);
                        return 
$w[1];
                }
        }
        return 
false;
}
?>


EDIT Sure, this is really off topic.


Actually
this isn't very unrelated
if you see where I plan to go with this.

Honestly have no clue.