Thread: Command ERROR insidiax v1 PI

Results 1 to 7 of 7
  1. #1 Command ERROR insidiax v1 PI 
    BAWWS DONATOR

    Join Date
    Nov 2012
    Posts
    198
    Thanks given
    7
    Thanks received
    1
    Rep Power
    14
    Hey guys I added a'lot of commands and then I ended up with 7 errors, I fixed them all and basically the only thing is left is this one silly method code and I cannot seem to fix it no matter how hard I try haha Tongue
    So I was wondering if anyone could help me out and I will post a screenshot of the error here
    right below...


    Screenshot by Lightshot

    THIS LINK IS ONLY A SCREENSHOT NOTHING ELSE.
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Dec 2011
    Posts
    454
    Thanks given
    17
    Thanks received
    37
    Rep Power
    61
    Your calling DonatorCommands(Client c, String something), it's saying that method does not exist so your going to have to make it.
    Reply With Quote  
     

  3. #3  
    BAWWS DONATOR

    Join Date
    Nov 2012
    Posts
    198
    Thanks given
    7
    Thanks received
    1
    Rep Power
    14
    Quote Originally Posted by Gershon View Post
    Your calling DonatorCommands(Client c, String something), it's saying that method does not exist so your going to have to make it.
    let me show u the whole command so you know what it is im talking about altho im sure you already know here..



    if (Config.SERVER_DEBUG)
    Misc.println(c.playerName+" playerCommand: "+playerCommand);

    if (c.playerRights >= 0 || c.playerRights == 7)
    playerCommands(c, playerCommand);
    if (c.playerRights == 1 || c.playerRights == 2 || c.playerRights == 6 || c.playerRights == 3)
    moderatorCommands(c, playerCommand);
    if (c.playerRights == 2 || c.playerRights == 6 || c.playerRights == 3)
    administratorCommands(c, playerCommand);
    if (c.playerRights == 3 || c.playerRights == 6)
    ownerCommands(c, playerCommand);
    if (c.playerRights == 4)
    DonatorCommands(c, playerCommand); <<<<<< this seems to be giving me the error

    }


    public void playerCommands(Client c, String playerCommand)
    {
    Reply With Quote  
     

  4. #4  
    BAWWS DONATOR

    Join Date
    Nov 2012
    Posts
    198
    Thanks given
    7
    Thanks received
    1
    Rep Power
    14
    Quote Originally Posted by Gershon View Post
    Your calling DonatorCommands(Client c, String something), it's saying that method does not exist so your going to have to make it.
    let me show u the whole command so you know what it is im talking about altho im sure you already know here..



    if (Config.SERVER_DEBUG)
    Misc.println(c.playerName+" playerCommand: "+playerCommand);

    if (c.playerRights >= 0 || c.playerRights == 7)
    playerCommands(c, playerCommand);
    if (c.playerRights == 1 || c.playerRights == 2 || c.playerRights == 6 || c.playerRights == 3)
    moderatorCommands(c, playerCommand);
    if (c.playerRights == 2 || c.playerRights == 6 || c.playerRights == 3)
    administratorCommands(c, playerCommand);
    if (c.playerRights == 3 || c.playerRights == 6)
    ownerCommands(c, playerCommand);
    if (c.playerRights == 4)
    DonatorCommands(c, playerCommand); <<<<<< this seems to be giving me the error

    }


    public void playerCommands(Client c, String playerCommand)
    {
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Dec 2011
    Posts
    454
    Thanks given
    17
    Thanks received
    37
    Rep Power
    61
    Paste this near the bottom:
    Code:
    public void DonatorCommands(Client c, String playerCommand)
    {
    }
    Reply With Quote  
     

  6. #6  
    BAWWS DONATOR

    Join Date
    Nov 2012
    Posts
    198
    Thanks given
    7
    Thanks received
    1
    Rep Power
    14
    Quote Originally Posted by Gershon View Post
    Paste this near the bottom:
    Code:
    public void DonatorCommands(Client c, String playerCommand)
    {
    }
    okay when i did that i got even more errors about 6 here's a pic so you know what i'm talking about Screenshot by Lightshot
    Reply With Quote  
     

  7. #7  
    Banned
    Join Date
    Jun 2013
    Posts
    28
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    As any other commands. The're not caps in the beginning.
    DonatorCommands replace it with donatorCommands
    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. Replies: 0
    Last Post: 05-01-2012, 06:01 PM
  2. [PI] Command Error
    By #Trilla in forum Help
    Replies: 6
    Last Post: 04-25-2011, 05:03 PM
  3. [PI] Another small commands error.. REP++
    By Alexander in forum Help
    Replies: 11
    Last Post: 07-10-2010, 01:22 AM
  4. [PI] Small commands error REP++
    By Alexander in forum Help
    Replies: 3
    Last Post: 07-06-2010, 08:19 PM
  5. PI command error
    By Despised Icon in forum Help
    Replies: 2
    Last Post: 06-09-2010, 09:11 PM
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
  •