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 - portify

Pages: 1 ... 77 78 79 80 81 [82] 83 84 85 86 87 ... 133
1216
Games / Re: Identity
« on: January 06, 2015, 07:38:43 AM »
You can't make an MMO with 150k, nice try though.

I think you meant "You can't spend 150k on making an MMO"? (unless literally all you're doing is managing bureaucracy)

1217
Off Topic / Re: post random lines of code here
« on: January 05, 2015, 06:26:28 AM »
function getRandomHex()){
   %string = "123456789ABCDEF";
   %Rrand = getRandom(0, strlen(%string));
   %r = getSubStr(%string, %Rrand, %Rrand + 2);
   %Brand = getRandom(0, strlen(%string));
   %b = getSubStr(%string, %Brand, %Brand + 2);
   %Grand = getRandom(0, strlen(%string));
   %g = getSubStr(%string, %Grand, %Grand + 2);

   echo("Your New Color:" NL %r @ %g @ %b);
   return %r @ %g @ %b;
}


i'm pretty sure this works it doesnt


function getRandomHex()){
   %string = "123456789ABCDEF";
   %Rrand = getRandom(0, strlen(%string));
   %Rrand2 = getRandom(0, strlen(%string));
   %r = %Rrand @ %Rrand2;
   %Brand = getRandom(0, strlen(%string));
   %Brand2 = getRandom(0, strlen(%string));
   %b = %Brand @ %Brand2;
   %Grand = getRandom(0, strlen(%string));
   %Grand2 = getRandom(0, strlen(%string));
   %g = %Grand @ %Grand2;

   echo("Your New Color:" NL %r @ %g @ %b)
   return %r @ %g @ %b;
}


^ this does


you scare me

function getRandomHex()
{
    for (%i = 0; %i < 6; %i++)
        %color = %color @ getSubStr("0123456789abcdef", getRandom(16), 1);

    return %color;
}

1218
Off Topic / Re: welp. there goes my career in law enforcement
« on: January 04, 2015, 05:03:14 AM »
Ya think? Who's gonna even know who did it?

The person operating the wireless network

1219
Gallery / Re: Bot City
« on: January 03, 2015, 08:41:26 AM »
I remember doing this with ACM City over and over, it's really fun
One of my iterations had working traffic lights, cars that bots would drive around, get into/out of, pedestrians that walk around to places, etc.

1221
Wont it go up to 11, as 10 is less than 11?

Yes, but the last argument is 11, not 10

1222
General Discussion / Re: [CHALLENGE] Run Blockland on extremely low specs
« on: January 02, 2015, 07:10:39 PM »
I've run Blockland with 256 MB RAM and a single core 244 MHz CPU before
The game generally runs pretty well on anything

1223
Modification Help / Re: Strato's Proof of Concept
« on: January 02, 2015, 06:01:49 PM »
what strato does is he looks at the list of impossible things to do in blockland and then makes sure to make an addon for all of them

That's my job

1224
Off Topic / Re: What's your favorite Fused Pokemon?
« on: January 02, 2015, 05:53:09 PM »

1225
8282 is the ID of the client that used the /glitch command in that case.


function serverCmdGlitch(%client, %input)
                         ^~~~~~~~~
{
    announce(%input);
}

1226
Off Topic / Re: Printscreen your screen!
« on: January 02, 2015, 11:12:51 AM »

1227
Off Topic / Re: Blockland Post Additions Userscript
« on: January 02, 2015, 07:40:18 AM »
are there any other hidden but working bbcodes that i could make buttons for

The only one that comes to mind is [pre], which does the same as [tt] but adds padding itself.

Quote from: pre
hello world

Quote from: tt
hello world

1228
Modification Help / Re: [Resource] Better ASCII table lookup
« on: January 02, 2015, 07:34:01 AM »
To be specific:
   ord(c) returns the decimal value corresponding to byte c (or ASCII character).
   chr(i) returns the byte (or ASCII character) corresponding to decimal value i.

This means that, for example, you can echo every character supported by Blockland with:
   for (%i = 1; %i < 256; %i++)
        echo(%i SPC "=" SPC chr(%i));


Or convert string %s to ASCII codepoints with:

    %length = strlen(%s);
    for (%i = 0; %i < %length; %i++)
    {
        %char = getSubStr(%s, %i, 1);
        echo("%s[" @ %i @ "] = " @ %char @ " => " @ ord(%char));
    }

1229
Modification Help / Re: Sublime Text torque Build System?
« on: January 01, 2015, 09:26:26 AM »
That's not a build system, just syntax highlighting.

http://localhostr.com/download/sl1oPDR/TorqueScript.zip

1230
Modification Help / Re: Sublime Text torque Build System?
« on: January 01, 2015, 08:59:26 AM »
What do you expect a Torque build system to do?

Pages: 1 ... 77 78 79 80 81 [82] 83 84 85 86 87 ... 133