Thread: Cannot Find Symbol while Compiling? [Pics][Delta]

Results 1 to 8 of 8
  1. #1 Cannot Find Symbol while Compiling? [Pics][Delta] 
    tonic
    Guest
    Ok Im adding these Skill Interface's and after I add them into my client.java and I compile I get this error, is there something I need to add to Declare this??
    If someone helps me I will Rep++



    Direct Link to Pic: http://i580.photobucket.com/albums/s...45/error22.jpg




    Here's the Skill Interface
    Code:
    public void defInterface() {
    		sendFrame126("@dre@Strenght", 8716);
    		for(int i = 0;i<31;i++) {
    			item[i] = 0;
    		}
    		item[0] = 1117;
    		item[1] = 1115;
    		item[2] = 1119;
    		item[3] = 1121;
    		item[4] = 1123;
    		item[5] = 1127;
    		item[6] = 13665;
    		item[7] = 4329;
    		for(int i = 8720;i<8799;i++) {
    			sendFrame126("",i);
    		}
    		sendFrame126("1",8720);
    		sendFrame126("Bronze Armor",8760);
    		sendFrame126("1",8721);
    		sendFrame126("Iron Armor", 8761);
    		sendFrame126("5",8722);
    		sendFrame126("Steel Armor",8762);
    		sendFrame126("20",8723);
    		sendFrame126("Mithril Armor", 8763);
    		sendFrame126("30",8724);
    		sendFrame126("Adamant Armor", 8764);
    		sendFrame126("40",8725);
    		sendFrame126("Rune Armor",8765);
    		sendFrame126("60",8726);
    		sendFrame126("Dragon Armor", 8766);
    		sendFrame126("99",8727);
    		sendFrame126("Defence Skillscape", 8767);
    		sendFrame126("",8849);// members only skill
    		sendFrame126("",8827);//steel
    		sendFrame126("",8837);//mithril
    		sendFrame126("",8840);
    		sendFrame126("",8843);
    		sendFrame126("@red@Attack",8846); // first option
    		sendFrame126("@red@Strength",8823);
    		sendFrame126("@red@Defence",8824);
    		sendFrame126("",8859);
    		sendFrame126("",8862);
    		sendFrame126("",8865);
    		sendFrame126("",15303);
    		sendFrame126("",15306);
    		sendFrame126("",15309);
    		
    		sendSkillInterface(item);
    		showInterface(8714);
    	}
    Any Help will be very helpfull and I will Rep+
    Reply With Quote  
     

  2. #2  
    Registered Member
    begonein2min's Avatar
    Join Date
    Mar 2009
    Age
    27
    Posts
    290
    Thanks given
    0
    Thanks received
    0
    Rep Power
    100
    Try this. BTW you had some misspelling, I fixed them
    public void defInterface() {
    sendFrame126("@dre@Strength", 8716);
    for(int i = 0;i1;i++) {
    item[i] = 0;
    }
    item[0] = 1117;
    item[1] = 1115;
    item[2] = 1119;
    item[3] = 1121;
    item[4] = 1123;
    item[5] = 1127;
    item[6] = 13665;
    item[7] = 4329;
    for(int i = 8720;i<8799;i++)
    }
    sendFrame126("1",8720);
    sendFrame126("Bronze Armor",8760);
    sendFrame126("1",8721);
    sendFrame126("Iron Armor", 8761);
    sendFrame126("5",8722);
    sendFrame126("Steel Armor",8762);
    sendFrame126("20",8723);
    sendFrame126("Mithril Armor", 8763);
    sendFrame126("30",8724);
    sendFrame126("Adamant Armor", 8764);
    sendFrame126("40",8725);
    sendFrame126("Rune Armor",8765);
    sendFrame126("60",8726);
    sendFrame126("Dragon Armor", 8766);
    sendFrame126("99",8727);
    sendFrame126("Defence Skillscape", 8767);
    sendFrame126("",8849);// members only skill
    sendFrame126("",8827);//steel
    sendFrame126("",8837);//mithril
    sendFrame126("",8840);
    sendFrame126("",8843);
    sendFrame126("@red@Attack",8846); // first option
    sendFrame126("@red@Strength",8823);
    sendFrame126("@red@Defence",8824);
    sendFrame126("",8859);
    sendFrame126("",8862);
    sendFrame126("",8865);
    sendFrame126("",15303);
    sendFrame126("",15306);
    sendFrame126("",15309);

    sendSkillInterface(item);
    showInterface(8714);
    }
    Click here to view our thread.
    Reply With Quote  
     

  3. #3  
    Banned

    Join Date
    Jan 2009
    Age
    31
    Posts
    2,661
    Thanks given
    66
    Thanks received
    207
    Rep Power
    0
    do this its really easy fix,

    private int item[] = { -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, };


    Should Work
    Reply With Quote  
     

  4. #4  
    tonic
    Guest
    Quote Originally Posted by digistr View Post
    do this its really easy fix,

    private int item[] = { -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, };


    Should Work
    OMG THANK YOU SO MUCH!!!!!!! I'll give you Rep+ Now
    Reply With Quote  
     

  5. #5  
    Banned

    Join Date
    Jan 2009
    Age
    31
    Posts
    2,661
    Thanks given
    66
    Thanks received
    207
    Rep Power
    0
    np and you didnt have too i like helping when im not to lazy to post..
    Reply With Quote  
     

  6. #6  
    tonic
    Guest
    ehh i Reped any way
    Reply With Quote  
     

  7. #7  
    tonic
    Guest
    soz for double post but now when I click on the attack it doesn't open up the interface... do you know of anything I should do..... I Know it's a nooby question I quit P servers for a long time Will rep if you help me again.
    Reply With Quote  
     

  8. #8  
    Banned

    Join Date
    Jan 2009
    Age
    31
    Posts
    2,661
    Thanks given
    66
    Thanks received
    207
    Rep Power
    0
    the attack spot has a case id

    in packet 185:

    or

    case 185:

    search for that and put somthing like this.


    case ####
    showInterfaceID(####);
    break;
    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

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •