Thread: [pi] admin problems

Results 1 to 6 of 6
  1. #1 [pi] admin problems 
    Registered Member
    Join Date
    Aug 2011
    Age
    29
    Posts
    44
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    how can i make admins unable to duel in the dueling arena
    Reply With Quote  
     

  2. #2  
    Registered Member
    gomomo11's Avatar
    Join Date
    May 2010
    Posts
    2,379
    Thanks given
    268
    Thanks received
    196
    Rep Power
    177
    In TradeAndDuel
    In
    public void requestDuel(int id) {
    Below
    try {
    Add
    if(c.playerRights == 2) {
    c.sendMessage("You Can't Duel As An Admin.");
    return;
    }
    rep appreciated.
    Attached image
    no external links without affiliate
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Aug 2011
    Age
    29
    Posts
    44
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    i get this random error but when i delete the code the error goes away


    Code:
    src\server\model\players\packets\Commands.java:104: cannot find symbol
    symbol  : variable plyerRights
    location: class server.model.players.Client
        if (c.plyerRights == 1 || c.playerRights == 2 || c.playerRights == 3)
             ^
    Note: Some input files use unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    1 error
    Press any key to continue . . .
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Jun 2011
    Posts
    476
    Thanks given
    57
    Thanks received
    43
    Rep Power
    17
    it should be playerRights, you typed plyerRights
    Reply With Quote  
     

  5. #5  
    Registered Member Incipio's Avatar
    Join Date
    Jul 2011
    Posts
    182
    Thanks given
    20
    Thanks received
    34
    Rep Power
    3
    Quote Originally Posted by imdeathurnot View Post
    i get this random error but when i delete the code the error goes away


    Code:
    src\server\model\players\packets\Commands.java:104: cannot find symbol
    symbol  : variable plyerRights
    location: class server.model.players.Client
        if (c.plyerRights == 1 || c.playerRights == 2 || c.playerRights == 3)
             ^
    Note: Some input files use unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    1 error
    Press any key to continue . . .
    Epic facepalm...
    You need to learn to read if you ever expect to have success at a RSPS.
    There's a freakin arrow pointing at your problem...
    Code:
         if (c.plyerRights == 1 || c.playerRights == 2 || c.playerRights == 3)
    You spelled playerRights wrong...


    Feel free to rep/thank if I help!


    ~Huge RSPS Guide (incomplete)~
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Aug 2011
    Age
    29
    Posts
    44
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    Code:
    Quote:
    Originally Posted by imdeathurnot  
    i get this random error but when i delete the code the error goes away
    
    
    
    Code:
    src\server\model\players\packets\Commands.java:104: cannot find symbol
    symbol  : variable plyerRights
    location: class server.model.players.Client
        if (c.plyerRights == 1 || c.playerRights == 2 || c.playerRights == 3)
             ^
    Note: Some input files use unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    1 error
    Press any key to continue . . . 
    
    Epic facepalm...
    You need to learn to read if you ever expect to have success at a RSPS.
    There's a freakin arrow pointing at your problem...
    
    Code:
         if (c.plyerRights == 1 || c.playerRights == 2 || c.playerRights == 3)You spelled playerRights wrong...
    LOL i totally didnt even see that lmao thanks for spotting that for me
    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. How to become Admin without admin password
    By I.Say.Chris in forum Software
    Replies: 5
    Last Post: 06-22-2008, 09:05 PM
  2. How to make admin/mod/hidden admin.
    By Dawgg in forum Tutorials
    Replies: 20
    Last Post: 05-31-2008, 11:22 PM
  3. How To Make Your Self Owner,Admin,Mod,Hidden Admin
    By SocialCrisis in forum Tutorials
    Replies: 14
    Last Post: 08-20-2007, 04:32 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
  •