Thread: [PI] Arithium Tile Npc Clipping Errors

Results 1 to 2 of 2
  1. #1 [PI] Arithium Tile Npc Clipping Errors 
    Registered Member
    Join Date
    Apr 2012
    Posts
    48
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    I followed http://www.rune-server.org/runescape...-clipping.html word by word.

    Code:
    src\server\model\npcs\NPC.java:193: error: cannot find symbol
                    if(!WalkingCheck.tiles.containsKey(currentTile.getH() << 28 | cu
    rrentTile.getX() << 14 | currentTile.getY())){
                                                                  ^
      symbol:   method getH()
      location: variable currentTile of type Tile
    src\server\model\npcs\NPC.java:193: error: cannot find symbol
                    if(!WalkingCheck.tiles.containsKey(currentTile.getH() << 28 | cu
    rrentTile.getX() << 14 | currentTile.getY())){
    
             ^
      symbol:   method getX()
      location: variable currentTile of type Tile
    src\server\model\npcs\NPC.java:193: error: cannot find symbol
                    if(!WalkingCheck.tiles.containsKey(currentTile.getH() << 28 | cu
    rrentTile.getX() << 14 | currentTile.getY())){
    
                                        ^
      symbol:   method getY()
      location: variable currentTile of type Tile
    src\server\model\npcs\NPC.java:202: error: cannot find symbol
                    } else if(WalkingCheck.tiles.get(currentTile.getH() << 28 | curr
    entTile.getX() << 14 | currentTile.getY()) == true) {
                                                                ^
      symbol:   method getH()
      location: variable currentTile of type Tile
    src\server\model\npcs\NPC.java:202: error: cannot find symbol
                    } else if(WalkingCheck.tiles.get(currentTile.getH() << 28 | curr
    entTile.getX() << 14 | currentTile.getY()) == true) {
    
           ^
      symbol:   method getX()
      location: variable currentTile of type Tile
    src\server\model\npcs\NPC.java:202: error: cannot find symbol
                    } else if(WalkingCheck.tiles.get(currentTile.getH() << 28 | curr
    entTile.getX() << 14 | currentTile.getY()) == true) {
    
                                      ^
      symbol:   method getY()
      location: variable currentTile of type Tile
    Note: Some input files use unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    6 errors
    Press any key to continue . . .
    My Tile.java
    Code:
    package server.world;
    
    public class Tile {
    	
    	public int x, y, height;
    	
    	public Tile(int x, int y, int h) {
    		this.x = x;
    		this.y = y;
    		this.height = h;
    	}
    	
    }
    Reply With Quote  
     

  2. #2  
    Registered Member


    Join Date
    Jul 2007
    Posts
    4,129
    Thanks given
    788
    Thanks received
    2,716
    Rep Power
    5000
    You are missing these in Tile.java:

    Code:
    	
    	public int getX() {
    		return x;
    	}
    	
    	public int getY() {
    		return y;
    	}
    	
    	public int getH() {
    		return h;
    	}
    Got them from the link in the tut:

    http://www.rune-server.org/runescape...-npcs-fix.html
    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] tile npc clipping compile errors
    By Gared in forum Help
    Replies: 3
    Last Post: 08-11-2012, 11:11 AM
  2. NpC Clipping Error!
    By RsPsVeTeRaN in forum Help
    Replies: 0
    Last Post: 02-24-2012, 04:07 AM
  3. [PI] Perfect player + npc clipping [Server-sided]
    By Shaqattack118. in forum Buying
    Replies: 3
    Last Post: 01-31-2012, 07:40 AM
  4. [PI]Tile Npc Clipping
    By Arithium in forum Tutorials
    Replies: 40
    Last Post: 12-14-2011, 07:18 PM
  5. [Impact/Pi] Player and Npc Clipping
    By Linus in forum Requests
    Replies: 1
    Last Post: 02-27-2011, 09:49 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
  •