4306
Add-Ons / Re: Printable Water Bricks (by jes00)
« on: May 06, 2012, 09:09:34 PM »
Locking this topic now because RTB has approved it.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
It's called RTB, you might have heard of it.I want it to do it this way if they do not have RTB. Notice how it does not run the check if they have RTB.
Well hey look I provide a free service which does exactly this, so I guess that!Where?
You should really stop being so cheap and trying to host things from a Dropbox. They'll see the traffic and disable your account - it's against the terms of their service.Then what else would I use?
That is a valid request.Now one of the messages boxes comes up saying "Unable to connect to the online version information."
Your mind is sick.people can ride you
Actually that wasn't even the first problem.Is this? %req = "GET /get/ColorSetMaker_Version.txt?w=1fc5f9ab HTTP/1.1\r\n";
%req = "/get/ColorSetMaker_Version.txt?w=1fc5f9ab";
Not a valid request
\r\n for newlines in the HTTP protocol headersWhat?
i spat out my water i was dirnking when I read thisWhy?
$ColorSetMaker::Version = "0";
function ColorSetMaker_VersionCheck()
{
if(isFile("./RTBinfo.txt") && (isFile("add-ons/System_ReturnToBlockland/client.cs")))
{
return;
}
if(isObject(ColorSetMaker_Downloader))
ColorSetMaker_Downloader.delete();
new TCPObject(ColorSetMaker_Downloader);
ColorSetMaker_Downloader.connect("dl-web.dropbox.com:80");
}
function ColorSetMaker_Downloader::onConnected(%this)
{
//https://dl-web.dropbox.com/get/ColorSetMaker_Version.txt?w=1fc5f9ab
%req = "/get/ColorSetMaker_Version.txt?w=1fc5f9ab";
//%req = "GET/get/ColorSetMaker_Version.txt?w=1fc5f9ab" SPC "HTTP/1.0\nHost: dl-web.dropbox.com\n\n";
%this.send(%req);
}
function ColorSetMaker_Downloader::onConnectFailed(%this)
{
MessageBoxOK("Attention!", "Unable to connect to the online version information.");
}
function ColorSetMaker_Downloader::onDisconnect(%this)
{
if(!$ColorSetMaker_Connected)
{
MessageBoxOK("Attention!", "Unable to connect to the online version information.");
}
else
{
$ColorSetMaker_Connected = "";
}
}
function ColorSetMaker_Downloader::onLine(%this, %line)
{
echo("\c21:" SPC getSubStr(getWord(%line, 6), 0, 6));
echo("\c22:" SPC getSubStr(getWord(%line, 6), 0, 1));
echo("\c23:" SPC %this);
echo("\c24:" SPC %line);
if(getSubStr(getWord(%line, 6), 0, 6) == $ColorSetMaker::Version)
{
$ColorSetMaker_connected = 1;
ColorSetMaker_Downloader.disconnect();
ColorSetMaker_VersionResult(false);
}
else
{
if(getSubStr(getWord(%line, 6), 0, 6) !$= "1 BETA")
{
$ColorSetMaker_AvailableVersion = "1 BETA";
}
else
{
$ColorSetMaker_AvailableVersion = getSubStr(getWord(%line, 6), 0, 1);
}
ColorSetMaker_Downloader.disconnect();
ColorSetMaker_BersionResult(true);
}
}
function ColorSetMaker_VersionResult(%x)
{
if(%x)
{
MessageBoxOk("Good News!", "Your Color Set Maker mod is up to date.");
}
else
{
MessageBoxOK("Attention!", "There is a more current version of your Color Set Maker mod.\n\nYour Version:" SPC $ColorSetMaker::Version @ "\n\nAvailable: " @ $ColorSetMaker_AvailableVersion);
}
}
http://forum.returntoblockland.com/dlm/viewFailBin.phpThey failed it then because I suggested in the info to use [GSF]Ghost's prints because they look good on them. I re submitted it since then.
"Shouldn't require non-rtb add-ons"
Scores and stats are back. You're welcome.Welcome back 650 points :P
That feature is included, right?I do believe believe so, I never thought to test it.