Thread: Adding dragon claws!

Results 1 to 6 of 6
  1. #1 Adding dragon claws! 
    Registered Member ur mother's Avatar
    Join Date
    Jan 2012
    Posts
    532
    Thanks given
    26
    Thanks received
    5
    Rep Power
    11
    ItemDef.java:242: error: : expected
    case(i == 14484) {
    ^
    1 error
    Press any key to continue . . .

    This is the code I put for it!

    case(i == 14484) {
    itemDef.actions = new String[5];
    itemDef.actions[1] = "Wield";
    itemDef.modelID = 44590;
    itemDef.maleEquip1 = 43660;//anInt165
    itemDef.femaleEquip1 = 43660;//anInt200
    itemDef.modelZoom = 789;
    itemDef.modelRotation1 = 240;
    itemDef.modelRotation2 = 60;
    itemDef.modelOffset1 = -1;
    itemDef.modelOffset2 = -23;
    itemDef.name = "Dragon claws";
    itemDef.description = "A set of fighting claws.".getBytes();
    break;
    }
    return itemDef;
    }
    return itemDef;
    }

    please help!
    " The expert at anything was once a beginner. " - Helen Hayes
    " Any fool can write code that a computer can understand. Good programmers write code that humans can understand. " - Martin Fowler
    Reply With Quote  
     

  2. #2  
    Registered Member ur mother's Avatar
    Join Date
    Jan 2012
    Posts
    532
    Thanks given
    26
    Thanks received
    5
    Rep Power
    11
    Quote Originally Posted by Logic View Post
    Code:
    case 14484:
    got error

    Itemdef.java:257: error: unreachable statement
    return itemDef;
    ^
    Note: client.java uses unchecked or unsafe operations.
    Note: Recompile with -Xilent:unchecked for details.
    1 error
    Press any key to continue . . .
    " The expert at anything was once a beginner. " - Helen Hayes
    " Any fool can write code that a computer can understand. Good programmers write code that humans can understand. " - Martin Fowler
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Dec 2011
    Posts
    286
    Thanks given
    10
    Thanks received
    4
    Rep Power
    27
    Quote Originally Posted by ur mother View Post
    got error

    Itemdef.java:257: error: unreachable statement
    return itemDef;
    ^
    Note: client.java uses unchecked or unsafe operations.
    Note: Recompile with -Xilent:unchecked for details.
    1 error
    Press any key to continue . . .
    Remove the Return
    Reply With Quote  
     

  4. #4  
    Registered Member ur mother's Avatar
    Join Date
    Jan 2012
    Posts
    532
    Thanks given
    26
    Thanks received
    5
    Rep Power
    11
    [QUOTE=Mr Terror;4055823]Remove the Return[/QUOTE
    im just gunna give up no one can help
    " The expert at anything was once a beginner. " - Helen Hayes
    " Any fool can write code that a computer can understand. Good programmers write code that humans can understand. " - Martin Fowler
    Reply With Quote  
     

  5. #5  
    Registered Member

    Join Date
    May 2013
    Age
    26
    Posts
    683
    Thanks given
    138
    Thanks received
    115
    Rep Power
    104
    Good idea!
    Reply With Quote  
     

  6. #6  
    Donator
    Darkness's Avatar
    Join Date
    Nov 2012
    Age
    26
    Posts
    876
    Thanks given
    121
    Thanks received
    75
    Rep Power
    47
    Code:
    case 14484:
    itemDef.actions = new String[5];
    itemDef.actions[1] = "Wield";
    itemDef.modelID = 44590;
    itemDef.maleEquip1 = 43660;//anInt165
    itemDef.femaleEquip1 = 43660;//anInt200
    itemDef.modelZoom = 789;
    itemDef.modelRotation1 = 240;
    itemDef.modelRotation2 = 60;
    itemDef.modelOffset1 = -1;
    itemDef.modelOffset2 = -23;
    itemDef.name = "Dragon claws";
    itemDef.description = "A set of fighting claws.".getBytes();
    break;
    }
    Giving up is a good idea too :3 or actually read
    Attached image
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. [PI]Adding Dragon Claws Client Sided[PI]
    By iitzTyson in forum Tutorials
    Replies: 78
    Last Post: 09-06-2015, 08:30 PM
  2. [$10]Adding dragon claws and PvP armour
    By Fant in forum Requests
    Replies: 14
    Last Post: 06-06-2010, 07:30 PM
  3. Replies: 2
    Last Post: 05-30-2010, 11:31 PM
  4. Hi help need on adding dragon claws spec
    By sean00197 in forum Help
    Replies: 1
    Last Post: 01-26-2010, 07:22 AM
  5. Adding Dragon Claws [317] Mopar Client
    By Bridget7298 in forum Tutorials
    Replies: 19
    Last Post: 06-26-2009, 01:41 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •