Thread: Bankpin Compile Error

Results 1 to 6 of 6
  1. #1 Bankpin Compile Error 
    Registered Member
    Join Date
    Jul 2012
    Posts
    128
    Thanks given
    5
    Thanks received
    1
    Rep Power
    8
    Followed this tut http://www.rune-server.org/runescape...-pin-base.html


    This is the error i am getting:

    Code:
    src\server\model\players\Client.java:46: error: cannot find symbol
            private Pins pins = new Pins(this);
                    ^
      symbol:   class Pins
      location: class Client
    src\server\model\players\Client.java:1127: error: cannot find symbol
            public Pins getBankPin() {
                   ^
      symbol:   class Pins
      location: class Client
    src\server\model\players\Client.java:46: error: cannot find symbol
            private Pins pins = new Pins(this);
                                    ^
      symbol:   class Pins
      location: class Client
    Note: Some input files use unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    3 errors
    Press any key to continue . . .
    EDIT: FIXED , HOW CAN I MAKE SO I CAN TALK TO A NPC AND SET A PIN THERE AND MAKE SO ALLL USERS DONT NEED TO HAVE PIN.
    Reply With Quote  
     

  2. #2  
    Registered Member Aether Vial's Avatar
    Join Date
    Jul 2013
    Posts
    20
    Thanks given
    0
    Thanks received
    1
    Rep Power
    11
    Did you put the Pins class in the correct directory?
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Jul 2012
    Posts
    128
    Thanks given
    5
    Thanks received
    1
    Rep Power
    8
    Quote Originally Posted by Klampyne View Post
    Did you put the Pins class in the correct directory?
    I made the class in src/server/model/player/pins.java
    Reply With Quote  
     

  4. #4  
    Registered Member Aether Vial's Avatar
    Join Date
    Jul 2013
    Posts
    20
    Thanks given
    0
    Thanks received
    1
    Rep Power
    11
    Should be capitalized as Pins.java
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Jul 2012
    Posts
    128
    Thanks given
    5
    Thanks received
    1
    Rep Power
    8
    Quote Originally Posted by Klampyne View Post
    Should be capitalized as Pins.java

    How do i make it a java file and not text document?
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Jul 2012
    Posts
    128
    Thanks given
    5
    Thanks received
    1
    Rep Power
    8
    Thanks guys, how do i make so you can talk to a npc and add a pin there instead of everyone has to add a pin?
    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. Java Help + Compiler Errors + highscores help
    By Silenced in forum Requests
    Replies: 6
    Last Post: 10-16-2008, 03:38 PM
  2. Basic Compile Errors
    By Daniel in forum Tutorials
    Replies: 4
    Last Post: 09-17-2007, 12:54 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •