Thread: 2 little errors.. all the things you need to help me is here.. REP

Results 1 to 3 of 3
  1. #1 2 little errors.. all the things you need to help me is here.. REP 
    Registered Member
    Rainaka's Avatar
    Join Date
    Nov 2008
    Age
    29
    Posts
    1,391
    Thanks given
    273
    Thanks received
    89
    Rep Power
    870
    Code:
    			if(MagicType[AutoCast_SpellIndex] == 0) {//Projectile
    				setAnimation(animG[animationGroup[AutoCast_SpellIndex]]);
    				gfx100(MageStartingGFX[AutoCast_SpellIndex]);
    				MagicProjectile(absY, absX, offsetY, offsetX, 50, 80, MageMovingGFX[AutoCast_SpellIndex], 43, 31, attackn+1, 45);
    				StillMagicGFX(MageEndingGFX[AutoCast_SpellIndex], EnemyY, EnemyX, 90);
    			}

    Here's Line 31070

    Code:
    MagicProjectile(absY, absX, offsetY, offsetX, 50, 80, MageMovingGFX[AutoCast_SpellIndex], 43, 31, attackn+1, 45);


    The Errors...

    Code:
    client.java:31070: cannot find symbol
    symbol  : variable attackn
    location: class client
                                    MagicProjectile(absY, absX, offsetY, offsetX, 50
    , 80, MageMovingGFX[AutoCast_SpellIndex], 43, 31, attackn+1, 45);
    
                                                      ^
    client.java:31070: MagicProjectile(int,int,int,int,int,int,int,int,int,int,int)
    in client cannot be applied to (int,int,int,int,int,int,int,int,int,<nulltype>,i
    nt)
                                    MagicProjectile(absY, absX, offsetY, offsetX, 50
    , 80, MageMovingGFX[AutoCast_SpellIndex], 43, 31, attackn+1, 45);
                                    ^
    Reply With Quote  
     

  2. #2  
    Chrisz.13
    Guest
    Attackn+1
    should be changed to attack+1 <_< i think.
    Reply With Quote  
     

  3. #3  
    Registered Member
    Rainaka's Avatar
    Join Date
    Nov 2008
    Age
    29
    Posts
    1,391
    Thanks given
    273
    Thanks received
    89
    Rep Power
    870
    Nah, that wasn't it at all.
    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
  •