Thread: [PI] re-done special attack compile error

Results 1 to 8 of 8
  1. #1 [PI] re-done special attack compile error 
    Registered Member xines's Avatar
    Join Date
    Mar 2013
    Posts
    18
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    This is what i used http://www.rune-server.org/runescape...ml#post3375954

    but when i compile i get this 15 errors please be nice and help me out :/


    Code:
    source\server\model\players\Client.java:2406: cannot find symbol
    symbol  : class Specials
    location: class server.model.players.Client
            private Specials specials = new Specials(this);
                    ^
    source\server\model\players\Client.java:2407: cannot find symbol
    symbol  : class Specials
    location: class server.model.players.Client
            public Specials getSA() {
                   ^
    source\server\model\players\Client.java:2406: cannot find symbol
    symbol  : class Specials
    location: class server.model.players.Client
            private Specials specials = new Specials(this);
                                            ^
    source\server\model\players\Specials.java:147: deleteArrow() in server.model.items.ItemAssistant can
    not be applied to (server.model.players.Client)
                                            ItemAssistant.deleteArrow(c);
                                                         ^
    source\server\model\players\Specials.java:148: deleteArrow() in server.model.items.ItemAssistant can
    not be applied to (server.model.players.Client)
                                            ItemAssistant.deleteArrow(c);
                                                         ^
    source\server\model\players\Specials.java:154: non-static method getItemName(int) cannot be referenc
    ed from a static context
                                            c.hitDelay = c.getCombat().getHitDelay(ItemAssistant.getItem
    Name(c.playerEquipment[c.playerWeapon]).toLowerCase());
                                                                                                ^
    source\server\model\players\Specials.java:167: deleteArrow() in server.model.items.ItemAssistant can
    not be applied to (server.model.players.Client)
                                            ItemAssistant.deleteArrow(c);
                                                         ^
    source\server\model\players\Specials.java:174: non-static method getItemName(int) cannot be referenc
    ed from a static context
                                            c.hitDelay = c.getCombat().getHitDelay(ItemAssistant.getItem
    Name(c.playerEquipment[c.playerWeapon]).toLowerCase());
                                                                                                ^
    source\server\model\players\Specials.java:184: deleteArrow() in server.model.items.ItemAssistant can
    not be applied to (server.model.players.Client)
                                            ItemAssistant.deleteArrow(c);
                                                         ^
    source\server\model\players\Specials.java:191: non-static method getItemName(int) cannot be referenc
    ed from a static context
                                            c.hitDelay = c.getCombat().getHitDelay(ItemAssistant.getItem
    Name(c.playerEquipment[c.playerWeapon]).toLowerCase());
                                                                                                ^
    source\server\model\players\Specials.java:203: deleteArrow() in server.model.items.ItemAssistant can
    not be applied to (server.model.players.Client)
                                            ItemAssistant.deleteArrow(c);
                                                         ^
    source\server\model\players\Specials.java:207: non-static method getItemName(int) cannot be referenc
    ed from a static context
                                            c.hitDelay = c.getCombat().getHitDelay(ItemAssistant.getItem
    Name(c.playerEquipment[c.playerWeapon]).toLowerCase());
                                                                                                ^
    source\server\model\players\Specials.java:220: non-static method getItemName(int) cannot be referenc
    ed from a static context
                                            c.hitDelay = c.getCombat().getHitDelay(ItemAssistant.getItem
    Name(c.playerEquipment[c.playerWeapon]).toLowerCase());
                                                                                                ^
    source\server\model\players\Specials.java:228: non-static method getItemName(int) cannot be referenc
    ed from a static context
                                            c.hitDelay = c.getCombat().getHitDelay(ItemAssistant.getItem
    Name(c.playerEquipment[c.playerWeapon]).toLowerCase());
                                                                                                ^
    source\server\model\players\Specials.java:236: updateSpecialBar() in server.model.items.ItemAssistan
    t cannot be applied to (server.model.players.Client)
                    ItemAssistant.updateSpecialBar(c);
                                 ^
    Note: Some input files use unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    15 errors
    Reply With Quote  
     

  2. #2  
    Registered Member xines's Avatar
    Join Date
    Mar 2013
    Posts
    18
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    bump
    Reply With Quote  
     

  3. #3  
    Super Donator


    Join Date
    Feb 2011
    Age
    27
    Posts
    1,126
    Thanks given
    180
    Thanks received
    178
    Rep Power
    243
    Bumps is each 24 hours... also read and check if you did any issues and I suggest you to use Eclipse to help you fixing it..
    Reply With Quote  
     

  4. #4  
    Registered Member xines's Avatar
    Join Date
    Mar 2013
    Posts
    18
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    sorry but i really need help with the small errors
    - eclipse fucked my source last i used it if i dident backup! and im sure theres a good coder that can help with this quick
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Dec 2011
    Posts
    138
    Thanks given
    94
    Thanks received
    14
    Rep Power
    17
    Quote Originally Posted by xines View Post
    sorry but i really need help with the small errors
    - eclipse fucked my source last i used it if i dident backup! and im sure theres a good coder that can help with this quick
    You can undo anything you do in Eclipse so you really should not have a need to back it up.

    Lol if you'd actually bother to read the errors though they're rather self-explanatory.
    Reply With Quote  
     

  6. #6  
    Registered Member xines's Avatar
    Join Date
    Mar 2013
    Posts
    18
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    Quote Originally Posted by Gizmo View Post
    You can undo anything you do in Eclipse so you really should not have a need to back it up.

    Lol if you'd actually bother to read the errors though they're rather self-explanatory.
    if thay are so easy why dont you just say whats wrong then smartass...
    and eclipse wont setup right if i could i would use but i cant.
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Sep 2012
    Posts
    46
    Thanks given
    0
    Thanks received
    5
    Rep Power
    11
    Tbh; you used a terrible guide. Try using another guide; there's many guides for it.
    Reply With Quote  
     

  8. #8  
    Registered Member
    Karma_K's Avatar
    Join Date
    Nov 2012
    Posts
    4,283
    Thanks given
    152
    Thanks received
    610
    Rep Power
    108
    Quote Originally Posted by Pown View Post
    Tbh; you used a terrible guide. Try using another guide; there's many guides for it.
    ive never seen a guide for this. lol. its special attacks redone for pi.
    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

Similar Threads

  1. [PI] Re-done Special Attack Handling
    By L__A in forum Snippets
    Replies: 25
    Last Post: 07-29-2013, 08:19 AM
  2. Replies: 1
    Last Post: 09-03-2011, 02:15 AM
  3. Replies: 3
    Last Post: 08-21-2011, 05:23 AM
  4. [10$][PI]Vesta Spear Special Attack!
    By Division in forum Help
    Replies: 14
    Last Post: 08-28-2010, 12:30 PM
  5. [PI]Vesta Spear Special Attack
    By Division in forum Help
    Replies: 0
    Last Post: 08-28-2010, 09:23 AM
Tags for this Thread

View Tag Cloud

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