Thread: 34 wonderfull errors >.>

Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1 34 wonderfull errors >.> 
    Registered Member Andrew's Avatar
    Join Date
    Nov 2008
    Posts
    2,890
    Thanks given
    612
    Thanks received
    207
    Rep Power
    551
    i did shoes tut on the crafting and here are my errors

    Code:
    ActionButtons.java:80: cannot find symbol
    symbol  : variable LeatherWorking
    location: class ActionButtons
                                    LeatherWorking.tanHides(true, 1739, 1741, 100, c
    );
                                    ^
    ActionButtons.java:83: cannot find symbol
    symbol  : variable LeatherWorking
    location: class ActionButtons
                                    LeatherWorking.tanHides(true, 1739, 1743, 150, c
    );
                                    ^
    ActionButtons.java:86: cannot find symbol
    symbol  : variable LeatherWorking
    location: class ActionButtons
                                    LeatherWorking.tanHides(true, 1753, 1745, 300, c
    );
                                    ^
    ActionButtons.java:89: cannot find symbol
    symbol  : variable LeatherWorking
    location: class ActionButtons
                                    LeatherWorking.tanHides(true, 1751, 2505, 400, c
    );
                                    ^
    ActionButtons.java:92: cannot find symbol
    symbol  : variable LeatherWorking
    location: class ActionButtons
                                    LeatherWorking.tanHides(true, 1749, 2507, 450, c
    );
                                    ^
    ActionButtons.java:95: cannot find symbol
    symbol  : variable LeatherWorking
    location: class ActionButtons
                                    LeatherWorking.tanHides(true, 1747, 2509, 500, c
    );
                                    ^
    ActionButtons.java:98: cannot find symbol
    symbol  : variable LeatherWorking
    location: class ActionButtons
                                    LeatherWorking.tanHides(false, 1739, 1741, 100,
    c);
                                    ^
    ActionButtons.java:101: cannot find symbol
    symbol  : variable LeatherWorking
    location: class ActionButtons
                                    LeatherWorking.tanHides(false, 1739, 1743, 150,
    c);
                                    ^
    ActionButtons.java:104: cannot find symbol
    symbol  : variable LeatherWorking
    location: class ActionButtons
                                    LeatherWorking.tanHides(false, 1753, 1745, 300,
    c);
                                    ^
    ActionButtons.java:107: cannot find symbol
    symbol  : variable LeatherWorking
    location: class ActionButtons
                                    LeatherWorking.tanHides(false, 1751, 2505, 400,
    c);
                                    ^
    ActionButtons.java:110: cannot find symbol
    symbol  : variable LeatherWorking
    location: class ActionButtons
                                    LeatherWorking.tanHides(false, 1749, 2507, 450,
    c);
                                    ^
    ActionButtons.java:113: cannot find symbol
    symbol  : variable LeatherWorking
    location: class ActionButtons
                                    LeatherWorking.tanHides(false, 1747, 2509, 500,
    c);
                                    ^
    ActionButtons.java:119: cannot find symbol
    symbol  : variable LeatherWorking
    location: class ActionButtons
                                    LeatherWorking.craftLeather(c, 1741, 14, 1129, 2
    50);
                                    ^
    ActionButtons.java:122: cannot find symbol
    symbol  : variable LeatherWorking
    location: class ActionButtons
                                    LeatherWorking.craftLeather(c, 1741, 1, 1059, 13
    8);
                                    ^
    ActionButtons.java:125: cannot find symbol
    symbol  : variable LeatherWorking
    location: class ActionButtons
                                    LeatherWorking.craftLeather(c, 1741, 7, 1061, 16
    3);
                                    ^
    ActionButtons.java:128: cannot find symbol
    symbol  : variable LeatherWorking
    location: class ActionButtons
                                    LeatherWorking.craftLeather(c, 1741, 11, 1063, 2
    20);
                                    ^
    ActionButtons.java:131: cannot find symbol
    symbol  : variable LeatherWorking
    location: class ActionButtons
                                    LeatherWorking.craftLeather(c, 1741, 18, 1095, 2
    70);
                                    ^
    ActionButtons.java:134: cannot find symbol
    symbol  : variable LeatherWorking
    location: class ActionButtons
                                    LeatherWorking.craftLeather(c, 1741, 38, 1169, 3
    70);
                                    ^
    ActionButtons.java:137: cannot find symbol
    symbol  : variable LeatherWorking
    location: class ActionButtons
                                    LeatherWorking.craftLeather(c, 1741, 9, 1167, 18
    5);
                                    ^
    ActionButtons.java:197: cannot find symbol
    symbol  : variable LeatherWorking
    location: class ActionButtons
                                            LeatherWorking.craftDragonLeather(c, 250
    9, 79, 2491, 860, 1);
                                            ^
    ActionButtons.java:199: cannot find symbol
    symbol  : variable LeatherWorking
    location: class ActionButtons
                                            LeatherWorking.craftDragonLeather(c, 250
    7, 73, 2489, 780, 1);
                                            ^
    ActionButtons.java:201: cannot find symbol
    symbol  : variable LeatherWorking
    location: class ActionButtons
                                            LeatherWorking.craftDragonLeather(c, 250
    5, 66, 2487, 700, 1);
                                            ^
    ActionButtons.java:203: cannot find symbol
    symbol  : variable LeatherWorking
    location: class ActionButtons
                                            LeatherWorking.craftDragonLeather(c, 174
    5, 57, 1065, 620, 1);
                                            ^
    ActionButtons.java:207: cannot find symbol
    symbol  : variable LeatherWorking
    location: class ActionButtons
                                            LeatherWorking.craftDragonLeather(c, 250
    9, 82, 2497, 1720, 2);
                                            ^
    ActionButtons.java:209: cannot find symbol
    symbol  : variable LeatherWorking
    location: class ActionButtons
                                            LeatherWorking.craftDragonLeather(c, 250
    7, 75, 2495, 1560, 2);
                                            ^
    ActionButtons.java:211: cannot find symbol
    symbol  : variable LeatherWorking
    location: class ActionButtons
                                            LeatherWorking.craftDragonLeather(c, 250
    5, 68, 2493, 1400, 2);
                                            ^
    ActionButtons.java:213: cannot find symbol
    symbol  : variable LeatherWorking
    location: class ActionButtons
                                            LeatherWorking.craftDragonLeather(c, 174
    5, 60, 1099, 1240, 2);
                                            ^
    ActionButtons.java:217: cannot find symbol
    symbol  : variable LeatherWorking
    location: class ActionButtons
                                            LeatherWorking.craftDragonLeather(c, 250
    9, 84, 2503, 2580, 3);
                                            ^
    ActionButtons.java:219: cannot find symbol
    symbol  : variable LeatherWorking
    location: class ActionButtons
                                            LeatherWorking.craftDragonLeather(c, 250
    7, 77, 2501, 2340, 3);
                                            ^
    ActionButtons.java:221: cannot find symbol
    symbol  : variable LeatherWorking
    location: class ActionButtons
                                            LeatherWorking.craftDragonLeather(c, 250
    5, 71, 2499, 2100, 3);
                                            ^
    ActionButtons.java:223: cannot find symbol
    symbol  : variable LeatherWorking
    location: class ActionButtons
                                            LeatherWorking.craftDragonLeather(c, 174
    5, 63, 1135, 1860, 3);
                                            ^
    Client.java:20: cannot find symbol
    symbol: variable LeatherWorking
                                            LeatherWorking.craftLeather(c, leatherID
    , levelReq, finishedID, xp);
                                            ^
    Client.java:38: cannot find symbol
    symbol: variable LeatherWorking
                                            LeatherWorking.craftDragonLeather(c, lea
    therID, levelReq, finishedID, xp, amountOfReqLeather);
                                            ^
    Client.java:8773: cannot find symbol
    symbol  : variable LeatherWorking
    location: class Client
                                    LeatherWorking.craftLeather(this, 1743, 28, 1131
    , 350);
                                    ^
    34 errors
    Press any key to continue . . .
    im using delta cleaned by teh johnny
     

  2. #2  
    Banned

    Join Date
    Jan 2008
    Posts
    357
    Thanks given
    17
    Thanks received
    12
    Rep Power
    0
    Link me to the tutorial please.
     

  3. #3  
    Atriokin_
    Guest
    cannot find symbol
    symbol : variable LeatherWorking
     

  4. #4  
    Registered Member Andrew's Avatar
    Join Date
    Nov 2008
    Posts
    2,890
    Thanks given
    612
    Thanks received
    207
    Rep Power
    551
    Quote Originally Posted by PaaYbAAcK View Post
    Link me to the tutorial please.
    http://www.rune-server.org/runescape...r-working.html
     

  5. #5  
    Banned

    Join Date
    Jan 2008
    Posts
    357
    Thanks given
    17
    Thanks received
    12
    Rep Power
    0
    Have you done the last part and implemented it into Client.java?
     

  6. #6  
    Registered Member Andrew's Avatar
    Join Date
    Nov 2008
    Posts
    2,890
    Thanks given
    612
    Thanks received
    207
    Rep Power
    551
    u mean the client java part when gives the giant code then yes i did that and put it on if player implemnts runnable
     

  7. #7  
    Banned

    Join Date
    May 2008
    Posts
    2,327
    Thanks given
    55
    Thanks received
    67
    Rep Power
    0
    ur missing the class or u misnamed it

    make a new .java file and name it
    LeatherWorking.java

    contents:
    Code:
    public class LeatherWorking {
    	public static void tanHides(boolean isFive, int hideID, int leatherID, int cost, client c) {
    		boolean messageGiven = false;
    		boolean messageGiven2 = false;
    		int amountTanned = 0;
    		int checksNeeded = 0;
    		if (isFive)
    			checksNeeded = 5;
    		if (!isFive)
    			checksNeeded = 28;
    		for (int i = 0; i < checksNeeded; i++) {
    			if (c.playerHasItem(hideID, 1)) {
    				if (c.playerHasItem(995, cost)) {
    					amountTanned += 1;
    					c.deleteItem(hideID, 1);
    					c.addItem(leatherID, 1);
    					c.deleteItem(995, cost);
    				} else {
    					if (!messageGiven) {
    						c.sM("You do not have enough coins.");
    						messageGiven = true;
    					}
    				}
    			} else {
    				if (!messageGiven2)
    					c.sM("You have no hides.");
    				messageGiven2 = true;
    			}
    		}
    		c.sM("You tan "+amountTanned+" hides, costing you @blu@"+amountTanned * cost+"@bla@ coins");
    	}
    	public static void craftLeather(client c, int leatherID, int reqLevel, int armourID, int xp) {
    		c.closeInterface();
    		//if (!c.isWalking) {
    			if (c.playerHasItem(leatherID, 1)) {
    				if (c.playerLevel[c.playerCrafting] >= reqLevel) {
    					c.setAnimation(885);
    					c.deleteItem(leatherID, 1);
    					c.addItem(armourID, 1);
    					c.addSkillXP(xp, c.playerCrafting);
    					c.sM("You craft a "+client.GetItemName(armourID));
    				}
    			}
    		//}
    	}
    	public static void craftDragonLeather(client c, int leatherID, int reqLevel, int armourID, int xp, int requiredLeatherAmount) {
    		c.closeInterface();
    		//if (!c.isWalking) {
    			if (c.playerHasItem(leatherID, requiredLeatherAmount)) {
    				if (c.playerLevel[c.playerCrafting] >= reqLevel) {
    					c.setAnimation(885);
    					for (int i = 0; i < requiredLeatherAmount; i++) {
    						c.deleteItem(leatherID, 1);
    					}
    					c.addItem(armourID, 1);
    					c.addSkillXP(xp, c.playerCrafting);
    					c.sM("You craft a "+client.GetItemName(armourID));
    				}
    			} else {
    				c.sM("You do not have the required materials to make this.");
    			}
    		//}
    	}
    	public static void sendDragonLeatherMenu(int i, client i1) {
    		i1.sendQuest("What would you like to make?", 8898);
    		i1.sendQuest("Vambraces", 8889);
    		i1.sendQuest("Chaps", 8893);
    		i1.sendQuest("Body", 8897);
    		i1.sendFrame246(8883, 200, dragonLeatherInfo[i][0]);
    		i1.sendFrame246(8884, 200, dragonLeatherInfo[i][1]);
    		i1.sendFrame246(8885, 200, dragonLeatherInfo[i][2]);
    		i1.sendFrame164(8880);
    		i1.craftID = i;
    	}
    	public static int dragonLeatherInfo[][] = {
    	//	{vambs, chaps, body},
    		{1065, 1099, 1135},//green
    		{2487, 2493, 2499},//blue
    		{2489, 2495, 2501},//red
    		{2491, 2497, 2503}//black
    	};
    	
    }
     

  8. #8  
    Registered Member
    natsu's Avatar
    Join Date
    Apr 2007
    Age
    32
    Posts
    3,435
    Thanks given
    1,084
    Thanks received
    676
    Rep Power
    1096
    simple fix, its looking for the java file LeatherWorking and in that file its looking for craftDragonLeathe but there is no leatherworking file,
     

  9. #9  
    Registered Member Andrew's Avatar
    Join Date
    Nov 2008
    Posts
    2,890
    Thanks given
    612
    Thanks received
    207
    Rep Power
    551
    but ihave a notepad called LeatherWorking.java
     

  10. #10  
    Highly Regarded Member

    Lenin's Avatar
    Join Date
    Nov 2008
    Age
    29
    Posts
    1,883
    Thanks given
    526
    Thanks received
    218
    Rep Power
    2434
    it obviously <<< ( retarded english ) hasn't compiled properly therefore your file is probably incorrectly saved
    Extreme Donator

    "It ain't what you don't know that gets you into trouble. It's what you know for sure that just ain't so."
     

Page 1 of 2 12 LastLast

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
  •