Thread: [PI] Simple Question and Free Rep for you

Results 1 to 4 of 4
  1. #1 [PI] Simple Question and Free Rep for you 
    Member [PI] Simple Question and Free Rep for you Market Banned

    Impervious's Avatar
    Join Date
    Apr 2011
    Posts
    550
    Thanks given
    97
    Thanks received
    38
    Rep Power
    129
    I added bounty hunter icons to my erasedpkz base and used this tutorial http://www.rune-server.org/runescape...rs-galkon.html to make them work.

    In client class I add this code below public void initialize() {

    Code:
    	 switch(c.playerRights) {
    		case 8:
    			bountyIcon = 6;
    			break;
    		case 7:
    			bountyIcon = 5;
    			break;
    		case 6:
    			bountyIcon = 4;
    				break;
    		}
    And got this error

    Code:
    src\server\model\players\Client.java:790: error: cannot find symbol
                    switch(c.playerRights) {
                           ^
      symbol:   variable c
      location: class Client
    Note: Some input files use unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    1 error
    Press any key to continue . . .
    Looks pretty basic im guessing I have to declare player rights or something but how?

    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Aug 2011
    Posts
    2,760
    Thanks given
    297
    Thanks received
    534
    Rep Power
    1596
    Code:
    switch(playerRights) {
    		case 8:
    			bountyIcon = 6;
    			break;
    		case 7:
    			bountyIcon = 5;
    			break;
    		case 6:
    			bountyIcon = 4;
    				break;
    		}
    no need for 'c'
    Quote Originally Posted by Aj View Post
    This is not even a tutorial. It's fail for rep. It's fail for life.
    Reply With Quote  
     

  3. #3  
    GANGNAM STYLE!

    Ohad's Avatar
    Join Date
    Aug 2011
    Posts
    3,179
    Thanks given
    152
    Thanks received
    352
    Rep Power
    1671
    Switch PlayerRights to getPrivelages
    Reply With Quote  
     

  4. #4  
    Super Donator

    Batukka's Avatar
    Join Date
    Oct 2011
    Posts
    2,433
    Thanks given
    86
    Thanks received
    342
    Rep Power
    496
    remove c. cause you're in client.java no need add "c."
    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] Simple Question and Free Rep for you
    By Impervious in forum Help
    Replies: 22
    Last Post: 12-27-2011, 10:59 PM
  2. Another simple question..
    By Marcuz 4 Mel in forum Help
    Replies: 3
    Last Post: 01-15-2011, 06:02 PM
  3. [PI] Simple Question
    By dixienormus1 in forum Help
    Replies: 4
    Last Post: 08-10-2010, 07:44 AM
  4. simple question i think..
    By Fat_tony in forum Help
    Replies: 1
    Last Post: 10-14-2009, 09:43 PM
  5. A simple question requires a simple answer!
    By Matt_ in forum RS2 Server
    Replies: 2
    Last Post: 12-23-2007, 12:10 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
  •