Thread: [Hybrid PVP] Compiler error

Results 1 to 5 of 5
  1. #1 [Hybrid PVP] Compiler error 
    Member
    Join Date
    Mar 2011
    Posts
    265
    Thanks given
    20
    Thanks received
    0
    Rep Power
    0
    Code:
    src\server\model\items\ItemAssistant.java:1164: ';' expected
                            int c.targetSlot=0;
                                 ^
    src\server\model\items\ItemAssistant.java:1184: not a statement
                                            c.targetSlot0;
                                             ^
    src\server\model\items\ItemAssistant.java:1407: ')' expected
            public void wearItem(int wearID, int wearAmount, int c.targetSlot) {
    
                                                                  ^
    src\server\model\items\ItemAssistant.java:1407: <identifier> expected
            public void wearItem(int wearID, int wearAmount, int c.targetSlot) {
    
                                                                             ^
    src\server\model\items\ItemAssistant.java:1986: ')' expected
            public void setEquipment(int wearID, int amount, int c.targetSlot) {
                                                                  ^
    src\server\model\items\ItemAssistant.java:1986: <identifier> expected
            public void setEquipment(int wearID, int amount, int c.targetSlot) {
                                                                             ^
    src\server\model\players\packets\WearItem.java:38: reached end of file while par
    sing
            }
             ^
    7 errors
    Druk op een toets om door te gaan. . .
    Thise error i got whole time..
    [CENTER]
    Reply With Quote  
     

  2. #2  
    Super Donator
    Haskell Curry's Avatar
    Join Date
    Nov 2009
    Posts
    850
    Thanks given
    602
    Thanks received
    247
    Rep Power
    0
    I've examined the errors. I think I've found a solution to resolving the problem.

    Try changing the the lines of code.

    Code:
    public void setEquipment(int wearID, int amount, int c.targetSlot) {
    Change it to this.

    Code:
    public void setEquipment(int wearID, int c.amount, int c.targetSlot) {
    Once you've done that. Take a look at this line.

    Code:
    public void wearItem(int wearID, int wearAmount, int c.targetSlot) {
    Change it to the following.

    Code:
    public void wearItem(int wearID, int c.wearAmount, int c.targetSlot) {
    Hope that helped.
    Reply With Quote  
     

  3. #3  
    Member
    Join Date
    Mar 2011
    Posts
    265
    Thanks given
    20
    Thanks received
    0
    Rep Power
    0
    No just more errors
    [CENTER]
    Reply With Quote  
     

  4. #4  
    Banned
    Join Date
    May 2011
    Posts
    244
    Thanks given
    56
    Thanks received
    118
    Rep Power
    0
    Looks like you may have forgotten a bracket.
    Reply With Quote  
     

  5. #5  
    PokeNation! Xaves's Avatar
    Join Date
    Dec 2007
    Age
    32
    Posts
    3,476
    Thanks given
    356
    Thanks received
    788
    Rep Power
    646
    you can't declare " int c.targetSlot=0;" lol
    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. Hybrid pvp v3 client error
    By DarkSlayerz in forum Help
    Replies: 4
    Last Post: 02-20-2012, 07:11 PM
  2. Replies: 9
    Last Post: 05-12-2011, 02:03 AM
  3. Compiler Error - REP++
    By ballin in forum Help
    Replies: 6
    Last Post: 06-11-2009, 01:43 AM
  4. Compiler Error
    By Adimral Slee in forum RuneScape Underground
    Replies: 4
    Last Post: 05-28-2009, 02:45 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •