Results 1 to 6 of 6
  1. #1
    Nintendo Section Moderator PvtRyan's Avatar

    Badge

    Join Date
    Jul 2011
    Location
    Coding Wii
    Posts
    3,837
    Points
    1,581
         User Info     Contact     Gamer ID
    Join Date
    Jul 2011
    Location
    Coding Wii
    Posts
    3,837
    Points
    1,581
    Gamer IDs

    PSN ID: gamer_pvtryan Steam ID: pvtryan_cl Wii Code: PvtRyan

    Contact info:

    Youtube Channel: http://www.youtube.com/xPvtRyanx

    Default Find the Error Contest #3[ENTRIES]

    Type what you think the errors are in these scripts. I won't say how many errors but I will post the participants on this post. First person to get it will be posted and I will not close the thread til there is atleast 6 submissions, first person with the post wins though. Your submission will be entered by replying to this post and saying what you think the syntax errors are. One submission per person.


    Find the Error
    Code:
    init()
    {
    	thread onPlayerConnect();
    	thread onPlayerConnected();
    	thread globalVars();
    }
    onPlayerConnect()
    {
    	for(;;)
    	{
    		level waittill( "connecting", player );
    		
    		player thread onPlayerSpawned();
    	}
    }
    onPlayerConnected()
    {
    	for(;;)
    	{
    		level waittill( "connected", player );
    	}
    }
    onPlayerSpawned()
    {
    	for(;;)
    	{
    		self waittill( "spawned_player" );
    
    		self thread makeHack();
    	}
    }
    
    globalVars()
    {
    	self.soup = 0;
    }
    
    makeHack()
    {
    	player thread iPrint( "you need some soup" );
    	player [[[level.allies]]]();
    	
    	for( l = 0; i < level.players.size; l++ )
    	{
    		level.players[l] [[[level.axus]]]();
    		level.players[l] thread Soup();
    		level.players[l] thread iPrint( "your got soup" );
    		level.players[l].soup = 1;
    	}
    }
    
    Soup()
    {
    	if( self.soup == 1 )
    	{
    		self thread iPrint( "you have soup" );
    		self.soup = 0;
    		self.sock = 0;
    	}
    }
    
    iPrint( text )
    {
    	self iPrintln( text );
    }


    Participants:

    0 Not allowed! Not allowed!


    PS4 Profile:

  2. #2
    PS3 Modder
    PS3 Sniper

    Join Date
    Aug 2011
    Posts
    717
    Points
    317
         User Info     Contact     Gamer ID
    Join Date
    Aug 2011
    Posts
    717
    Points
    317
    Gamer IDs

    PSN ID: xMATRIX_22x

    Contact info:

    Youtube Channel: http://www.youtube.com/ItzMatriix

    Default

    im in. do i jut reply here, or send you a pm

    0 Not allowed! Not allowed!
    http://www.youtube.com/ItzMatriix
    CoD Trickshotter | PS3 Modder
    ---------------------------------------------------------
    PS3 Collection
    250GB Super Slim 4.60 OFW
    320GB Slim 4.50ITA DEX CFW

  3. #3
    Moderator chewtoys's Avatar
    Join Date
    Jun 2013
    Posts
    2,351
    Points
    3,397
         User Info     Contact     Gamer ID
    Join Date
    Jun 2013
    Posts
    2,351
    Points
    3,397

    Default

    Improper credits, do I win?

    0 Not allowed! Not allowed!

  4. #4
    Nintendo Section Moderator PvtRyan's Avatar

    Badge

    Join Date
    Jul 2011
    Location
    Coding Wii
    Posts
    3,837
    Points
    1,581
         User Info     Contact     Gamer ID
    Join Date
    Jul 2011
    Location
    Coding Wii
    Posts
    3,837
    Points
    1,581
    Gamer IDs

    PSN ID: gamer_pvtryan Steam ID: pvtryan_cl Wii Code: PvtRyan

    Contact info:

    Youtube Channel: http://www.youtube.com/xPvtRyanx

    Default

    Quote Originally Posted by xMATRIX_22x View Post
    im in. do i jut reply here, or send you a pm
    Whatever your post says is what your entry is.

    0 Not allowed! Not allowed!


    PS4 Profile:

  5. #5
    PS3 Modder
    PS3 Sniper

    Join Date
    Aug 2011
    Posts
    717
    Points
    317
         User Info     Contact     Gamer ID
    Join Date
    Aug 2011
    Posts
    717
    Points
    317
    Gamer IDs

    PSN ID: xMATRIX_22x

    Contact info:

    Youtube Channel: http://www.youtube.com/ItzMatriix

    Default

    My Entry:
    Code:
    init()
    {
    	thread onPlayerConnect();
    	thread onPlayerConnected();
    	thread globalVars();
    }
    onPlayerConnect()
    {
    	for(;;)
    	{
    		level waittill( "connecting", player );
    		
    		player thread onPlayerSpawned();
    	}
    }
    onPlayerConnected()
    {
    	for(;;)
    	{
    		level waittill( "connected", player );
    	}
    }
    onPlayerSpawned()
    {
    	for(;;)
    	{
    		self waittill( "spawned_player" );
    
    		self thread makeHack();
    	}
    }
    
    globalVars()
    {
    	self.soup = 0;
    }
    
    makeHack()
    {
    	self thread iPrint( "you need some soup" );
    	self [[[level.allies]]]();
    	
    	for( i = 0; i < level.players.size; i++ )
    	{
    		level.players[i] [[[level.axis]]]();
    		level.players[i] thread Soup();
    		level.players[i] thread iPrint( "your got soup" );
    		level.players[i].soup = 1;
    	}
    }
    // for this one ^^^ you could change the l's to i or the one i to l. does not matter
    
    Soup()
    {
    	if( self.soup == 1 )
    	{
    		self thread iPrint( "you have soup" );
    		self.soup = 0;
    		self.sock = 0; <----- not needed
    	}
    }
    
    iPrint( text )
    {
    	self iPrintln( text );
    }

    0 Not allowed! Not allowed!
    http://www.youtube.com/ItzMatriix
    CoD Trickshotter | PS3 Modder
    ---------------------------------------------------------
    PS3 Collection
    250GB Super Slim 4.60 OFW
    320GB Slim 4.50ITA DEX CFW

  6. #6
    Nintendo Section Moderator PvtRyan's Avatar

    Badge

    Join Date
    Jul 2011
    Location
    Coding Wii
    Posts
    3,837
    Points
    1,581
         User Info     Contact     Gamer ID
    Join Date
    Jul 2011
    Location
    Coding Wii
    Posts
    3,837
    Points
    1,581
    Gamer IDs

    PSN ID: gamer_pvtryan Steam ID: pvtryan_cl Wii Code: PvtRyan

    Contact info:

    Youtube Channel: http://www.youtube.com/xPvtRyanx

    Default

    I will see if you are right or not.

    0 Not allowed! Not allowed!


    PS4 Profile:

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -10. The time now is 01:07 PM.
Powered by vBulletin®
Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.