Show Posts

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.


Messages - jes00

Pages: 1 ... 282 283 284 285 286 [287] 288 289 290 291 292 ... 464
4291
Modification Help / Re: Revenge of the TCP object
« on: May 08, 2012, 02:01:47 PM »
Take out the If-None-Match line
Now it can't connect to anything.

4292
Modification Help / Re: Revenge of the TCP object
« on: May 08, 2012, 01:44:40 PM »
No, doing that will force a bunch of \n into the string, or whatever depending on your OS.

Two ways you can do it
%req = "xyz...";
%req = %req @"xyz...";
%req = %req @"xyz...";

or

%req1 = "xyz...";
%req2 = "xyz...";
%req3 = "xyz...";
%req = %req1 @ %req2 @ %req3;
Code: [Select]
	%req1 = "GET /u/74047590/ColorSetMaker_Version.txt HTTP/1.1\r\n";

%req2 = "Host: dl.dropbox.com\r\n";

%req3 = "User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20100101 Firefox/12.0\r\n Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\r\n";

%req4 = "Accept-Language: en-us,en;q=0.5\r\n";

%req5 = "Connection: keep-alive\r\n";

%req6 = "If-None-Match: 23n\r\n\r\n";

%req = %req1 @ %req2 @ %req3 @ %req4 @ %req5 @ %req6;


%this.send(%req);

What? now it gets this result:
1:
2:
3: 8369
4: HTTP/1.1 304 NOT MODIFIED
1:
2:
3: 8369
4: Server: nginx/1.0.14
1: GMT
2: G
3: 8369
4: Date: Tue, 08 May 2012 17:47:09 GMT
1:
2:
3: 8369
4: Content-Type: text/plain; charset=ascii
1:
2:
3: 8369
4: Connection: keep-alive
1:
2:
3: 8369
4: etag: 23n
1:
2:
3: 8369
4: pragma: no-cache
1:
2:
3: 8369
4: cache-control: no-cache
1:
2:
3: 8369
4:

4294
Modification Help / Re: Revenge of the TCP object
« on: May 08, 2012, 01:30:49 PM »
Please split it over a few lines, and don't put a space after \r\n.

I also said it should end in \r\n\r\n
Like this:
Code: [Select]
%req = "GET /u/74047590/ColorSetMaker_Version.txt HTTP/1.1\r\n
Host: dl.dropbox.com\r\n
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20100101 Firefox/12.0\r\n Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\r\n Accept-Language: en-us,en;q=0.5\r\n
Connection: keep-alive\r\n
If-None-Match: 23n\r\n\r\n";
It does end in \r\n\r\n

4295
Modification Help / Re: Revenge of the TCP object
« on: May 08, 2012, 01:25:53 PM »
Do this for the request, each line is an \r\n
Code: [Select]
GET /u/74047590/ColorSetMaker_Version.txt HTTP/1.1
Host: dl.dropbox.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20100101 Firefox/12.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Connection: keep-alive
If-None-Match: 23n

Make sure the request ends in \r\n\r\n

When it works, you're going to remove some fields to see which you don't need.
Like this?
Code: [Select]
%req = "GET /u/74047590/ColorSetMaker_Version.txt HTTP/1.1\r\n Host: dl.dropbox.com\r\n User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20100101 Firefox/12.0\r\n Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\r\n Accept-Language: en-us,en;q=0.5\r\n Connection: keep-alive\r\n If-None-Match: 23n\r\n\r\n";

4296
Modification Help / Re: Revenge of the TCP object
« on: May 08, 2012, 01:03:05 PM »
Lugnut, that is incorrect. He must try what I did first.
Result:
1:
2:
3: 8369
4:
1:
2:
3: 8369
4: <html>
1:
2:
3: 8369
4: <head><title>Dropbox - 4xx</title>
1:
2:
3: 8369
4: <link href="https://www.dropbox.com/static/css/main.css" rel="stylesheet" type="text/css">
1:
2:
3: 8369
4: <link rel="shortcut icon" href="/static/images/favicon.ico"/>
1:
2:
3: 8369
4: </head>
1:
2:
3: 8369
4: <body style="background-color:#fff">
1:
2:
3: 8369
4: <br/><br/>
1:
2:
3: 8369
4: <div align="center">
1:
2:
3: 8369
4: <table><tr><td width="600px">
1:
2:
3: 8369
4: <center><img id="errorimage" src="/static/images/psychobox.png"/></center>
1:
2:
3: 8369
4: <div id="errorbox">
1: you're
2: y
3: 8369
4: <h1>Error (4xx)</h1>We can't find the page you're looking for. Check out our <a href="https://www.dropbox.com/help">Help Center</a> and <a href="http://forums.dropbox.com">forums</a> for help, or head back to <a href="https://www.dropbox.com/home">home</a>.
1:
2:
3: 8369
4: </div>
1:
2:
3: 8369
4: </td></tr></table>
1:
2:
3: 8369
4: </div>
1:
2:
3: 8369
4:
1:
2:
3: 8369
4: <script type="text/javascript" src="/static/javascript/external/dropbox-mini.js"></script>
1:
2:
3: 8369
4: <script>

4297
Modification Help / Re: Revenge of the TCP object
« on: May 08, 2012, 12:40:30 PM »
move the file into your public folder (in my dropbox)
then right click it>dropbox>get public link
Still says it.
Code: [Select]
$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.dropbox.com:80");
}

function ColorSetMaker_Downloader::onConnected(%this)
{
//http://dl.dropbox.com/u/74047590/ColorSetMaker_Version.txt

%req = "GET /u/74047590/ColorSetMaker_Version.txt HTTP/1.1\r\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);
}
}

4298
Suggestions & Requests / Re: RTB Prefrence Player
« on: May 08, 2012, 10:52:18 AM »
That's a good idea too, maybe as a separate addon from this, because it could have different applications.
But the event would edit everyone in the server who is using that playertype.

4299
Suggestions & Requests / Re: RTB Prefrence Player
« on: May 08, 2012, 10:03:44 AM »
I'm fairly certain this can be done.

4300
Help / Re: RTB Fix for Mac??
« on: May 08, 2012, 07:10:06 AM »
Upgrade your mac to Lion or whatever the latest is.
Lion was years ago, I believe it's currently the snow leopard and this summer it will be the mountain lion.

4301
Modification Help / Re: Revenge of the TCP object
« on: May 08, 2012, 06:53:49 AM »
You should be using the public address to the file, not the private one ... a public one looks like this:

http://dl.dropbox.com/u/12345678/file.whatever
How do I make it public?

4302
Suggestions & Requests / Re: Centaur Player-Type/Bot
« on: May 07, 2012, 12:59:07 PM »
It's no different than, say, posting image macros with furries.

**** off with your Johnny Bravo stuff, you have a designated thread for that.
Furrie.

4303
Suggestions & Requests / Re: Centaur Player-Type/Bot
« on: May 07, 2012, 12:40:50 PM »
Ok guys:

EVERYONE LISTEN UP!

I don't know much about making add-ons, but I do know what a model is, and sort of what a script is. I don't know if you can copy and paste scripts, but if we took most of the player no-jet script (It's default) except took the script from the default horse of how fast it ran, and put that in the player no-jet script (removing how fast the no jet player can run, and replacing it with how fast the default horse can run) Then, we take the model of the standard player, remove the legs and feet, and take a default horse, remove the head, put them together, we got our model! And we could take the animations from the advanced horse.

Now, this is all my theory, I have no experience with making add-ons. Someone who does, please correct me, but I hope this helps.

Advanced Horse Download: http://forum.returntoblockland.com/dlm/viewFile.php?id=2929 (Sorry I could only find RTB download link)
No, you can't steal the animations because it will be a different model.

4304
Modification Help / Re: Monster Pack
« on: May 07, 2012, 07:55:24 AM »
I wonder what Moleman's like in bed.....
Why are Blocklanders so perverted D:

4305
Suggestions & Requests / Re: Centaur Player-Type/Bot
« on: May 07, 2012, 06:25:06 AM »
/support
for female centaurs
tits tits tits tits tits. Did i mention tits?
Your mind is sick.

Pages: 1 ... 282 283 284 285 286 [287] 288 289 290 291 292 ... 464