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

Pages: 1 ... 1002 1003 1004 1005 1006 [1007] 1008 1009 1010 1011 1012 ... 1041
15091
General Discussion / Re: Your dream addons or additons to the game.
« on: January 31, 2012, 09:39:39 AM »
Dynamic lighting, In-game paint customizers, In-game brick makers(last 2 single player only), Dynamic physics(explosions that don't travel through walls), smooth particle effects, Sound dampening wall thickness(10 block thick wall will let more sound in than a 20 block thick wall), Updated game launching(so i dont wait 20 mins for it to sort out add-on errors.), Vehicle Physics(drifting at high speeds, loss of turning at high speed, tunnel vision at very high speed, flipping at ludicrous speed turns, explodes after 30 second being flipped..etc...).

highlight the impossible.

Highlighted the impossible.

15092
Off Topic / Re: Facts/Opinions about above user.
« on: January 30, 2012, 12:04:09 PM »
Has a mysterious avatar that some might interpret as a robotical structure.

15093
Modification Help / Re: Points Value [Solved by Port]
« on: January 30, 2012, 12:02:15 PM »
They end the function (stops any code below the statement from running) and give back a value.
For example, if you did echo( getPlayerScore( "some name" ) ); - the value that would be echoed is the value that was specified in the return statement.

15094
Suggestions & Requests / Re: 64-Bit Blockland
« on: January 30, 2012, 11:59:12 AM »
This will never happen unless it's done by the community, which would violate Blockland's license anyway. In any case, we can get player counts above 99 without crashing, record is somewhere around 128 (2012 party).

15095
Off Topic / Re: Facts/Opinions about above user.
« on: January 30, 2012, 10:23:09 AM »
Likes slideshow-based animations.

15096
Off Topic / Re: guys i have cake
« on: January 30, 2012, 10:20:43 AM »
Is that cake on profiles a default functionality? If not, how did you do that?

15097
Off Topic / Re: Facts/Opinions about above user.
« on: January 30, 2012, 10:19:44 AM »
Likes shadows.

15098
Modification Help / Re: Points Value [Solved by Port]
« on: January 30, 2012, 10:19:03 AM »
EDIT: What are the returns for?

They return the value found..?

15099
No. spawnPlayer returns the created player object. Do not use that code, you will break other add-ons.

Code: [Select]

Always, always, always check to see if the parent returns a value when packaging a function or you will break core functionality.

P.S. It violates coding semantics to start a variable with a capital letter.

Last time I used it, ::spawnPlayer returned the client. ::createPlayer returns the new player.

15100
You didn't package it. Also, if you only want to do this when they finish loading, use ::onClientEnterGame instead.

15101
Off Topic / Re: Facts/Opinions about above user.
« on: January 30, 2012, 07:38:15 AM »
is secretly Vermin Supreme

15102
Off Topic / Re: Facts/Opinions about above user.
« on: January 30, 2012, 07:32:19 AM »
Above user has a creepy avatar.

15103
Off Topic / Re: Facts/Opinions about above user.
« on: January 30, 2012, 07:29:04 AM »
Above user has no idea what they are saying 20% of the time.

15104
Modification Help / Re: BlokHeads
« on: January 30, 2012, 07:18:04 AM »
Are you actually using the server I'm hosting for this project for anything at the moment?

15105
Modification Help / Re: Points Value
« on: January 30, 2012, 06:41:34 AM »
Code: [Select]
function getPlayerScore( %name )
{
     %count = NPL_List.rowCount();
     
     for ( %i = 0 ; %i < %count ; %i++ )
     {
          %row = NPL_List.getRowText( %i );
         
          if ( getField( %row, 1 ) $= %name )
          {
               return getField( %row, 2 );
          }
     }
     
     return 0;
}

Pages: 1 ... 1002 1003 1004 1005 1006 [1007] 1008 1009 1010 1011 1012 ... 1041