Thread: 11 Errors?

Results 1 to 3 of 3
  1. #1 11 Errors? 
    Donator

    Sir Lethal's Avatar
    Join Date
    Mar 2008
    Posts
    2,286
    Thanks given
    9
    Thanks received
    74
    Rep Power
    426
    Base: PI

    Problem: Tried adding random drops, got 11 errors. I know enum expected means you need another bracket, tried that yet still getting errors. Can anyone help me here?

    Errors: Rune-Server Official Pastebin

    Clickingbuttons.java file: Rune-Server Official Pastebin
    Reply With Quote  
     

  2. #2  
    Banned

    Join Date
    Dec 2008
    Posts
    2,097
    Thanks given
    1,419
    Thanks received
    732
    Rep Power
    0
    Obvious.. there is an else without an if
    Reply With Quote  
     

  3. #3  
    Renown Programmer

    Join Date
    Dec 2010
    Posts
    2,876
    Thanks given
    508
    Thanks received
    1,898
    Rep Power
    5000
    Replace:

    Code:
    				} else if (c.dialogueAction == 21) {
    					for (int j = 0; j < PvpItems.length; j++) {
    						if (c.getItems().playerHasItem(PvpItems[j])) {
    							int amount = c.getItems().getItemAmount(PvpItems[j]);
    							c.getItems().deleteItem(PvpItems[j], amount);
    							c.getItems().addItem(995, PvpPrices[j]);
    					}
    				}
    			}
    				} else if(c.dialogueAction == 35) {
    with:

    Code:
    				} else if (c.dialogueAction == 21) {
    					for (int j = 0; j < PvpItems.length; j++) {
    						if (c.getItems().playerHasItem(PvpItems[j])) {
    							int amount = c.getItems().getItemAmount(PvpItems[j]);
    							c.getItems().deleteItem(PvpItems[j], amount);
    							c.getItems().addItem(995, PvpPrices[j]);
    						}
    					}
    				} else if(c.dialogueAction == 35) {
    never talk to me or my wife's son ever again
    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. D claw tut errors 2 errors!
    By T-Sex in forum Help
    Replies: 17
    Last Post: 12-30-2010, 06:25 PM
  2. Replies: 11
    Last Post: 11-07-2009, 08:43 PM
  3. Errors Erros Errors....
    By shotme in forum Help
    Replies: 5
    Last Post: 11-02-2009, 10:54 PM
  4. Replies: 1
    Last Post: 09-24-2009, 12:39 AM
  5. clanchat errors plz help only 7 errors
    By Snow Cat123 in forum Help
    Replies: 4
    Last Post: 07-12-2009, 03:23 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •