Thread: My cooking handler errors...

Results 1 to 4 of 4
  1. #1 My cooking handler errors... 
    Banned

    Join Date
    Jul 2009
    Posts
    915
    Thanks given
    1
    Thanks received
    10
    Rep Power
    0
    I'm using delta cleaned and im getting this error with my handler.


    Code:
    .\src\ActionButtons.java:52: cannot find symbol
    symbol  : variable timescooked
    location: class int[]
    c.cooking.timescooked = 1;
             ^
    .\src\ActionButtons.java:53: cannot find symbol
    symbol  : method cook(ActionButtons)
    location: class int[]
    c.cooking.cook(this);
             ^
    .\src\ActionButtons.java:57: cannot find symbol
    symbol  : variable timescooked
    location: class int[]
    c.cooking.timescooked = 5;
             ^
    .\src\ActionButtons.java:58: cannot find symbol
    symbol  : method cook(ActionButtons)
    location: class int[]
    c.cooking.cook(this);
             ^
    .\src\ActionButtons.java:62: cannot find symbol
    symbol  : variable timescooked
    location: class int[]
    c.cooking.timescooked = 28;
             ^
    .\src\ActionButtons.java:63: cannot find symbol
    symbol  : method cook(ActionButtons)
    location: class int[]
    c.cooking.cook(this);
             ^
    .\src\Client.java:656: cannot find symbol
    symbol  : variable iscooking
    location: class int[]
            cooking.iscooking = false;
                   ^
    .\src\Client.java:2815: cannot find symbol
    symbol  : variable iscooking
    location: class int[]
                                            cooking.iscooking = false;
    
                                                   ^
    .\src\Client.java:2834: cannot find symbol
    symbol  : variable iscooking
    location: class int[]
                                                            cooking.iscooking = fals
    e;
                                                                   ^
    .\src\Client.java:2853: cannot find symbol
    symbol  : variable iscooking
    location: class int[]
                                                    cooking.iscooking = false;
                                                           ^
    .\src\Client.java:4342: cannot find symbol
    symbol  : variable iscooking
    location: class int[]
    cooking.iscooking = false;
           ^
    .\src\Client.java:6649: cannot find symbol
    symbol  : variable iscooking
    location: class int[]
            cooking.iscooking = false;
                   ^
    .\src\Client.java:7320: cannot find symbol
    symbol  : variable iscooking
    location: class int[]
                            cooking.iscooking = false;
                                   ^
    .\src\Client.java:7435: cannot find symbol
    symbol  : variable iscooking
    location: class int[]
                                            cooking.iscooking = false;
                                                   ^
    .\src\Client.java:7533: cannot find symbol
    symbol  : variable uncooked
    location: class int[]
                            for (int h = 0; h < cooking.uncooked.length; h++) {
                                                       ^
    .\src\Client.java:7534: cannot find symbol
    symbol  : variable useItemID
    location: class Client
    if (useItemID == cooking.uncooked[h] && atObjectID == 2728) {
        ^
    .\src\Client.java:7534: cannot find symbol
    symbol  : variable uncooked
    location: class int[]
    if (useItemID == cooking.uncooked[h] && atObjectID == 2728) {
                            ^
    .\src\Client.java:7534: cannot find symbol
    symbol  : variable atObjectID
    location: class Client
    if (useItemID == cooking.uncooked[h] && atObjectID == 2728) {
                                            ^
    .\src\Client.java:7535: cannot find symbol
    symbol  : variable atObjectX
    location: class Client
    viewTo(atObjectX, atObjectY);
           ^
    .\src\Client.java:7535: cannot find symbol
    symbol  : variable atObjectY
    location: class Client
    viewTo(atObjectX, atObjectY);
                      ^
    .\src\Client.java:7537: cannot find symbol
    symbol  : variable useItemID
    location: class Client
    sendFrame246(13716, 250, useItemID);
                             ^
    .\src\Client.java:7538: cannot find symbol
    symbol  : variable cookid
    location: class int[]
    cooking.cookid = useItemID;
           ^
    .\src\Client.java:7538: cannot find symbol
    symbol  : variable useItemID
    location: class Client
    cooking.cookid = useItemID;
                     ^
    .\src\Client.java:9265: cannot find symbol
    symbol  : variable iscooking
    location: class int[]
            if (cooking.iscooking == true) {
                       ^
    .\src\Client.java:9266: cannot find symbol
    symbol  : variable iscooking
    location: class int[]
                    cooking.iscooking = false;
                           ^
    .\src\Client.java:10807: cannot find symbol
    symbol  : variable iscooking
    location: class int[]
                            cooking.iscooking = false;
                                   ^
    .\src\Client.java:11376: cannot find symbol
    symbol  : variable iscooking
    location: class int[]
    cooking.iscooking = false;
           ^
    .\src\Client.java:13346: cannot find symbol
    symbol  : variable iscooking
    location: class int[]
                                            cooking.iscooking = false;
                                                   ^
    .\src\Client.java:14581: cannot find symbol
    symbol  : variable iscooking
    location: class int[]
                                                    cooking.iscooking = false;
                                                           ^
    .\src\Client.java:14592: cannot find symbol
    symbol  : variable iscooking
    location: class int[]
                                                    cooking.iscooking = false;
                                                           ^
    30 errors
    Press any key to continue . . .
    $3 for fix.
    Reply With Quote  
     

  2. #2  
    hmu

    Jakey's Avatar
    Join Date
    Sep 2007
    Age
    34
    Posts
    6,489
    Thanks given
    109
    Thanks received
    277
    Rep Power
    1218
    which tutorial did you do?
    Its not find the method its trying to read from.
    to contact me, PM me on rune-server.
    Reply With Quote  
     

  3. #3  
    Banned

    Join Date
    Dec 2008
    Posts
    3,004
    Thanks given
    10
    Thanks received
    198
    Rep Power
    0
    If you are loading it from a handler, make sure that file is a capital first letter. And secondly are you sure you declared cooking properly?
    Reply With Quote  
     

  4. #4  
    Banned

    Join Date
    Jul 2009
    Posts
    915
    Thanks given
    1
    Thanks received
    10
    Rep Power
    0
    Not using a tut. And yes, and ill make it a cap...


    Edit: Fixed. Thanks

    I will redoing this though...kastro says i can shorten it.
    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
  •