Thread: odd error, help please? [no noobs]

Results 1 to 3 of 3
  1. #1 odd error, help please? [no noobs] 
    Registered Member
    Coder Alex's Avatar
    Join Date
    Apr 2009
    Age
    30
    Posts
    1,755
    Thanks given
    86
    Thanks received
    83
    Rep Power
    231
    client class

    mageharm(p, p2, 26);



    at magicHandler

    public void mageharm(client p, client p2,int dmg){
    if (getRandom(magicAttack) >= getRandom(magicDefence(p2))) {
    //p2.hitDiff(getRandom(dmg));
    p2.hitDiff = misc.random(dmg);
    } else {
    //sendMessage("Splash "); //I'l cheak the gfx later.
    return;
    }
    }

    Error;


    client.java:3343: cannot find symbol
    symbol : method mageharm(client,int,int)
    location: class client
    mageharm(p, p2, 26);
    ^
    MagicHandler.java:245: cannot find symbol
    symbol : variable attackingPlayerId
    location: class MagicHandler
    Player p2 = (client) Server.s.playerHandler.players[attackingPlayerId];
    ^
    2 errors
    My english skills back in the days.
    Quote Originally Posted by Coder Alex
    Well, if it's gooded decent, it's good.
    Reply With Quote  
     

  2. #2  
    Registered Member
    Coder Alex's Avatar
    Join Date
    Apr 2009
    Age
    30
    Posts
    1,755
    Thanks given
    86
    Thanks received
    83
    Rep Power
    231
    n----v-----m
    My english skills back in the days.
    Quote Originally Posted by Coder Alex
    Well, if it's gooded decent, it's good.
    Reply With Quote  
     

  3. #3  
    Donator

    Jason's Avatar
    Join Date
    Aug 2009
    Posts
    6,092
    Thanks given
    2,402
    Thanks received
    2,823
    Rep Power
    4550
    Good job fixing it but for future refrences use [code]
    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
  •