Greek2me how did you get the "queried # times" on your repo page? I've been Googling GET variables but can't quite figure it out. I mean you're sending the variable a .TXT file not a .PHP file?
The page is actually a PHP script that does some statistics and then serves this TXT file:
http://mods.greek2me.us/repository.txtHere's an abridged version of the PHP file:
<?php
$repository = "repository.txt";
if(strpos($_SERVER['HTTP_USER_AGENT'], "Torque/") !== 0)
{
//This is a request from somebody in a web browser
//display the fancy downloads page
}
else
{
//This is a request from Support_Updater
//store user stats here
header("Content-Type: text/plain");
ob_end_flush();
readfile($repository);
}
?>
GRTB does not use Support_Updater. The only way to "receive" updates for it is to download the newest version from my topic. I have heard that Greek2Me is trying to overwrite GRTB with his own version using Support_Updater. A sneaky move. Are you doing this to everyone's add-ons you don't like/take upon yourself to "fix"? Or am I just special? Or is this rumor bogus? Curiosity.
My apologies. This is the code that Support_Updater uses to update RTB:
%crc = getFileCRC("Add-Ons/System_ReturnToBlockland.zip");
if(%crc $= "-343036381")
%channel = "DAProgs";
else if(%crc $= "-642662817")
%channel = "Port";
else
%channel = "NO_INET";
The way the update was performed, once I released it I could not add another potential version, for example, GRTB. "My" version of RTB isn't really mine - it's just the original RTB with any features that use ReturnToBlockland.com removed. This was used as the default version to install because returntoblockland.com will become available again in several months and it could be a security concern. I overlooked GRTB while writing the code.