Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Nintendo Section Moderator PvtRyan's Avatar

    Badge

    Join Date
    Jul 2011
    Location
    Coding Wii
    Posts
    3,837
    Points
    1,586
         User Info     Contact     Gamer ID
    Join Date
    Jul 2011
    Location
    Coding Wii
    Posts
    3,837
    Points
    1,586
    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.

    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.

    Reward:
    4 entries = +100 points
    8 entries = +200 points
    12 entries = +300 points

    Contest ends 12 PM EST Tomorrow!

    Code:
    getScript()
    {
    	switch( RandomInt(1) )
    	{
    		cases 1:
    			break;
    	}
    }
    
    doBlocks()
    {
    	level.notes[1] = createNote( ( -575.12, -116.12, -31.12), (0, 19.125, 0) );	
    	level.notes[2] = createNote( ( -575.12, -116.12, -46.12), (0, 1.1295, 0) );		
    	level.notes[3] = createNote( ( -551.12, -111.12, -46), (0, 19.125, 0) );
    	level.notes[4] = createNote( ( -1146.12, =306.12, -92), (0, 19.125, 0) );	
    	level.notes[5] = createNote( ( -1146, -306.12, -107.12), (0, 19.125, 0) );
    	level.notes[6] = createNote( ( -1180.12, -312,12, -92.12), (0, 195.12, 0) );
    	level.notes[7] = createNote( ( -1155.12, -26.127, -31.12), (0, 195.12, 0) );	
    	level.notes[8] = createNote( ( -1155.12, -267, -46.12), (0, 19.125, 0) );
    	level.notes[9] = createNote( ( -1189, -273.12, -46.12), (0, 1.1295, 0) );
    }
    Good Luck!


    Participants:
    Code:
    MrOwnership
    Coexist
    ChumLee
    Rudyy
    Coldfire202
    Slink
    Contra
    V!!ZE
    xatmospherex

    0 Not allowed! Not allowed!
    Last edited by PvtRyan; 08-01-2013 at 09:51 AM.


    PS4 Profile:

  2. #2
    Wii U Section Moderator
    Computer Engineer
    MrOwnership's Avatar

    Badge

    Join Date
    Jun 2011
    Location
    Maryland
    Posts
    1,435
    Points
    2,862
         User Info     Contact     Gamer ID
    Join Date
    Jun 2011
    Location
    Maryland
    Posts
    1,435
    Points
    2,862
    Gamer IDs

    Steam ID: MrOwnership Wii Code: MrOwnership

    Default

    Code:
    getScript()
    {
    	switch( RandomInt(1) )
    	{
    		cases 1:
    			break;
    	}
    }
    
    doBlocks()
    {
    	level.notes[1] = createNote( ( -575.12, -116.12, -31.12), (0, 19.125, 0) );	
    	level.notes[2] = createNote( ( -575.12, -116.12, -46.12), (0, 1.1295, 0) );		
    	level.notes[3] = createNote( ( -551.12, -111.12, -46), (0, 19.125, 0) );
    	level.notes[4] = createNote( ( -1146.12, =306.12, -92), (0, 19.125, 0) );	
    	level.notes[5] = createNote( ( -1146, -306.12, -107.12), (0, 19.125, 0) );
    	level.notes[6] = createNote( ( -1180.12, -312,12, -92.12), (0, 195.12, 0) );
    	level.notes[7] = createNote( ( -1155.12, -26.127, -31.12), (0, 195.12, 0) );	
    	level.notes[8] = createNote( ( -1155.12, -267, -46.12), (0, 19.125, 0) );
    	level.notes[9] = createNote( ( -1189, -273.12, -46.12), (0, 1.1295, 0) );
    }
    cases should be case and the '=' in level.notes[4] should be gone or switched.
    Can't remember if RandomInt needs to have another parameter or not, or if the 'R' needs to be lowercase.

    0 Not allowed! Not allowed!

  3. #3
    Nintendo Section Moderator PvtRyan's Avatar

    Badge

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

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

    Contact info:

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

    Default

    hmm.

    0 Not allowed! Not allowed!


    PS4 Profile:

  4. #4
    Curret n3wbit
    Russ's Avatar
    Join Date
    Aug 2011
    Location
    California
    Posts
    3,193
    Points
    3,398
         User Info     Contact     Gamer ID
    Join Date
    Aug 2011
    Location
    California
    Posts
    3,193
    Points
    3,398
    Gamer IDs

    Gamertag: SSRunts PSN ID: DCCoexist Steam ID: dcrunts

    Default

    Code:
    getScript()
    {
    	switch( RandomInt(1) )
    	{
    		cases 1: Should be some sort of case
    should have code for the case
    			break;
    should be at least 1 default case
    	}
    }
    
    doBlocks()
    {
    	level.notes[1] = createNote( ( -575.12, -116.12, -31.12), (0, 19.125, 0) );	
    	level.notes[2] = createNote( ( -575.12, -116.12, -46.12), (0, 1.1295, 0) );		
    	level.notes[3] = createNote( ( -551.12, -111.12, -46), (0, 19.125, 0) );
    	level.notes[4] = createNote( ( -1146.12, =306.12, -92), (0, 19.125, 0) );	
    	level.notes[5] = createNote( ( -1146, -306.12, -107.12), (0, 19.125, 0) );
    	level.notes[6] = createNote( ( -1180.12, -312,12, -92.12), (0, 195.12, 0) );
    	level.notes[7] = createNote( ( -1155.12, -26.127, -31.12), (0, 195.12, 0) );	
    	level.notes[8] = createNote( ( -1155.12, -267, -46.12), (0, 19.125, 0) );
    	level.notes[9] = createNote( ( -1189, -273.12, -46.12), (0, 1.1295, 0) );
    }

    0 Not allowed! Not allowed!

    "Sense is not made like money, sense is had like heart, pride, and integrity."~Russ

  5. #5
    Nintendo Section Moderator PvtRyan's Avatar

    Badge

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

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

    Contact info:

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

    Default

    Interesting..

    0 Not allowed! Not allowed!


    PS4 Profile:

  6. #6
    Wii Coder
    ChumLee's Avatar

    Badge

    Join Date
    Apr 2011
    Location
    'Murica
    Posts
    5,386
    Points
    7,609
         User Info     Contact     Gamer ID
    Join Date
    Apr 2011
    Location
    'Murica
    Posts
    5,386
    Points
    7,609
    Gamer IDs

    Gamertag: TERR0Rx9

    Contact info:

    Youtube Channel: http://www.youtube.com/user/HAXZingTERR0R

    Default

    Code:
    getScript()
    {
    	switch( RandomInt(1) )
    	{
    		cases 1:
    			break;
    	}
    }
    
    doBlocks()
    {
    	level.notes[1] = createNote( ( -575.12, -116.12, -31.12), (0, 19.125, 0) );	
    	level.notes[2] = createNote( ( -575.12, -116.12, -46.12), (0, 1.1295, 0) );		
    	level.notes[3] = createNote( ( -551.12, -111.12, -46), (0, 19.125, 0) );
    	level.notes[4] = createNote( ( -1146.12, =306.12, -92), (0, 19.125, 0) );	
    	level.notes[5] = createNote( ( -1146, -306.12, -107.12), (0, 19.125, 0) );
    	level.notes[6] = createNote( ( -1180.12, -312,12, -92.12), (0, 195.12, 0) );
    	level.notes[7] = createNote( ( -1155.12, -26.127, -31.12), (0, 195.12, 0) );	
    	level.notes[8] = createNote( ( -1155.12, -267, -46.12), (0, 19.125, 0) );
    	level.notes[9] = createNote( ( -1189, -273.12, -46.12), (0, 1.1295, 0) );
    My answer is the same as everybody else's except for I'm pointing out that there is no case 0. I believe that randomInt(x) gets a random number from 0 to x, so this would require a case 0.

    What is highlighted in green can also be a problem. In the game Call of Duty Black Ops for the Nintendo Wii, the player's angle for facing the left or right is strictly limited to between the range of -180 degrees to 180 degrees, so having an angle outside of that boundary might cause a problem.

    0 Not allowed! Not allowed!
    Last edited by ChumLee; 07-30-2013 at 06:24 PM. Reason: added the player angle theory.


  7. #7
    Stand em up
    Knock em down.

    Badge

    Join Date
    Oct 2011
    Location
    In Yur Closet
    Posts
    1,578
    Points
    2,825
         User Info     Contact     Gamer ID
    Join Date
    Oct 2011
    Location
    In Yur Closet
    Posts
    1,578
    Points
    2,825
    Gamer IDs

    PSN ID: xRudyCrush Steam ID: rudyypoo

    Default

    Code:
    getScript()
    {
    	switch( RandomInt(1) )
    	{
    		cases 1:
    			break;
    	}
    }
    
    doBlocks()
    {
            level.notes = [];
    	level.notes[1] = createNote( ( -575.12, -116.12, -31.12), (0, 19.125, 0) );	
    	level.notes[2] = createNote( ( -575.12, -116.12, -46.12), (0, 1.1295, 0) );		
    	level.notes[3] = createNote( ( -551.12, -111.12, -46), (0, 19.125, 0) );
    	level.notes[4] = createNote( ( -1146.12, =306.12, -92), (0, 19.125, 0) );	
    	level.notes[5] = createNote( ( -1146, -306.12, -107.12), (0, 19.125, 0) );
    	level.notes[6] = createNote( ( -1180.12, -312,12, -92.12), (0, 195.12, 0) );
    	level.notes[7] = createNote( ( -1155.12, -26.127, -31.12), (0, 195.12, 0) );	
    	level.notes[8] = createNote( ( -1155.12, -267, -46.12), (0, 19.125, 0) );
    	level.notes[9] = createNote( ( -1189, -273.12, -46.12), (0, 1.1295, 0) );
    }

    0 Not allowed! Not allowed!

  8. #8
    I agree. MatthewH's Avatar
    Join Date
    Jul 2011
    Location
    North Carolina
    Posts
    3,481
    Points
    15,810
         User Info     Contact     Gamer ID
    Join Date
    Jul 2011
    Location
    North Carolina
    Posts
    3,481
    Points
    15,810

    Default

    The problem is though with this is the fact that people can steal other's answers....

    1 Not allowed! Not allowed!


  9. #9
    Nintendo Section Moderator PvtRyan's Avatar

    Badge

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

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

    Contact info:

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

    Default

    hmmmmmm.

    0 Not allowed! Not allowed!


    PS4 Profile:

  10. #10
    ~ Hyrule's Savior ~
    link's Avatar
    Join Date
    Jun 2011
    Posts
    3,825
    Points
    2,802
         User Info     Contact     Gamer ID
    Join Date
    Jun 2011
    Posts
    3,825
    Points
    2,802

    Contact info:

    Youtube Channel: http://www.YouTube.Com/ReTrOSlink

    Default

    Basically what coldfire said. If I knew about this earlier I would of got back on my computer.

    0 Not allowed! Not allowed!
    #gamedevelopment


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 05:07 AM.
Powered by vBulletin®
Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.