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.


Topics - Subpixel

Pages: 1 2 3 4 5 [6] 7 8 9 10 11 ... 23
76
Modification Help / Restarting server via TorqueScript?
« on: February 01, 2014, 11:45:00 PM »
Just like when changing the game mode, the mission restarts itself.

How does it do that? How reliable is it? Has science gone too far?

post pls xxoo

77
AvatarPhoto
by Zapk

Description
Press a button in the avatar menu to generate a PNG image of your avatar instantly.

The only problem is that there is no transparent background, so you'll need to take out the backdrop colour yourself. You won't need to though, because the background colour is the Blockland Forum main colour - the background of this post.

You can also generate an image at any time by entering AvatarPhoto(); into the console. The image will be saved in the Blockland folder as an increment of the last (42.png, 43.png, 44.png, etc).

Preview
The avatar menu with the additional button.

Examples
A rotating .gif of many captures.

Download
2.10 KB - Direct



Post your avatars here!

78
General Discussion / Best crash ever?
« on: January 30, 2014, 09:20:14 PM »
I was trying to add a progress bar to the avatar menu, and I accidentally set the profile to some RTB text thing.

And then Blockland crashed, and this is what I saw:



I think torque is the antichrist.

79
General Discussion / [Resource] Using the Blockland auth server with PHP
« on: January 21, 2014, 09:22:07 PM »
First, you will need to insert this function into your PHP code:

Code: [Select]
function BlocklandAuthenticate($username)
{
//Zapk 12270
$postdata = http_build_query(
array(
'NAME' => $username,
'IP' => $_SERVER['REMOTE_ADDR']
)
);

$opts = array('http' =>
array(
'method'  => 'POST',
'header'  => 'Content-type: application/x-www-form-urlencoded',
'content' => $postdata
)
);

$context  = stream_context_create($opts);

$result = file_get_contents('http://auth.blockland.us/authQuery.php', false, $context);

return $result;
}

The function returns a string of the auth server's response.

  • Usage
    Say the user wants to register under the name "Badspot", and you want valid Blockland users only.
    You would handle the string returned by BlocklandAuthenticate(username). In this case, username would be "Badspot".

    It sends the username and the client's IP address to the auth server, where it checks to see if the IP has played under that username last.

    If their IP address does not match Badspot's IP address (which is saved on the auth server), it will return incorrect. If it does, it will return correct.

  • Correct
    When correct, it will return "YES 0" where 0 is the user's Blockland ID.

  • Incorrect
    If it's incorrect, it will simply return "NO".

Here is an example:

Code: [Select]
$authstring = BlocklandAuthenticate($_POST['user_name']);
 
$autharray = explode(' ',trim($authstring));
   
if($autharray[0] == "YES")
{
$blid = $autharray[1];
//allow registration or whatever
}
else
{
//give them an error and deny registration
}

Please note: the username is not case-sensitive.

80
General Discussion / Rising Lava Tournament • Map Voting
« on: January 20, 2014, 08:07:41 PM »
Rising Lava Tournament

  • Information
    Information on the Rising Lava tournament will come at a later time, as things are still being prepared.

  • Map Voting
    As of right now, we need a map to be chosen for the tournament. Please select an option from the poll, as the winner will be used for the upcoming event.




81
Off Topic / Chrome's new UI elements
« on: January 17, 2014, 06:06:24 PM »
I personally think it's a horrible idea and most of these are very ugly and unfitting.

Dropdown menu


Scrollbar handle


Checkboxes


Buttons


Radio group


Textboxes (they're not even supposed to have that ugly 3D border)

82
Add-Ons / [v2] Speakonia Platform
« on: January 16, 2014, 11:31:31 PM »
Speakonia Platform


83
General Discussion / Blockland Icon Bug?
« on: January 16, 2014, 06:04:39 PM »
It launches with the normal icon, but then after the game is finished launching and the main menu appears, the icon changes to the standard EXE icon.



I found that if I launch the game and keep my mouse completely still, it doesn't happen. This is the steam version, by the way.

84
Off Topic / Seriously, YouTube?
« on: January 15, 2014, 06:14:37 PM »




I don't even... why?

Saw this comment on the Blockland Trailer 2013

85
General Discussion / Add-On Compiler
« on: January 14, 2014, 06:22:27 PM »
I was thinking if there's a part of an Add-On you wish to compile (something you don't want users looking at/modifying), you could submit the file on a blockland.us form.

The form could scan the CS file for anything suspicious, and if there isn't anything, return a DSO compiled with Badspot's modified Torque that can be executed in the Add-On?

What do you guys think? Is this stupid, would it not work, are there any flaws?

~Thinker, thinking every day

86
Drama / DoS against isblocklandup.com
« on: January 12, 2014, 03:34:47 PM »
http://pastebin.com/raw.php?i=GZC5A2d2

IP 108.200.94.88 seems to have been the cause.

They spammed over 2000 connections until the server overloaded.

Anybody (specifically mods) know who it is?

87
General Discussion / Is Blockland Down?.com
« on: January 11, 2014, 09:42:06 PM »
Is Blockland Down?.com

Similar to issteamdown.com. Pretty self-explanatory; a simple website for checking Blockland's core servers. I honestly don't know why this hasn't been done yet.

Developed and paid for by Zapk, suggested by Nal.


88
Off Topic / Google automatic description?
« on: January 11, 2014, 03:02:52 PM »


It's the right URL, but what's up with all this bullstuff around it? And why does it call itself "zapkraft.com"?

I tried googling it and I couldn't find anything. Pretty confusing.

Could it be because the description meta in index.php is just "Zapkraft", or something?

89
Off Topic / iPhoresee
« on: January 11, 2014, 12:00:21 AM »
iPhoresee
So I was browsing the files on my site when I found this page I created today, which I clearly knew was there. It was such a cool find I just had to show you guys !

Made with 100% boredom. Has this even been done before?



You enter a year and it tells you which iPhone will come out based on Apple's current pattern.



http://zapkraft.net/iphone/

90
Drama / Cocoa's Hijacked Key
« on: January 08, 2014, 07:01:53 PM »
http://forum.returntoblockland.com/list.php?cmd=view&id=44019

He fell for the Blockland Gold thing, and the person posted his key on RTB's general discussion.

I'm assuming Badspot can't do anything for him other than deactivate the key.


Pages: 1 2 3 4 5 [6] 7 8 9 10 11 ... 23