Thread: Clipped Dspear

Results 1 to 7 of 7
  1. #1 Clipped Dspear 
    Trill

    Join Date
    Dec 2013
    Posts
    107
    Thanks given
    38
    Thanks received
    30
    Rep Power
    28
    As most of you know the dragon spear special moves the attacked player 1 square over, right now you can spear them into the water, lava, etc. I do have player and npc clipping.. not sure what the problem is, I don't need to be spoon fed but if you have any sort of answers that'd be great!
    Reply With Quote  
     

  2. #2  
    Registered Member
    Karma_K's Avatar
    Join Date
    Nov 2012
    Posts
    4,283
    Thanks given
    152
    Thanks received
    610
    Rep Power
    108
    Look at firemaking, if you have it clipped.
    Reply With Quote  
     

  3. #3  
    Registered Member
    Anadyr's Avatar
    Join Date
    Nov 2009
    Posts
    682
    Thanks given
    31
    Thanks received
    100
    Rep Power
    675
    you would need to have pathfinding to check if the square behind the player is walkable, and if so move to that square, otherwise right where the player is.
    Reply With Quote  
     

  4. #4  
    Trill

    Join Date
    Dec 2013
    Posts
    107
    Thanks given
    38
    Thanks received
    30
    Rep Power
    28
    Quote Originally Posted by Anadyr View Post
    you would need to have pathfinding to check if the square behind the player is walkable, and if so move to that square, otherwise right where the player is.
    and to do this it would be in the movecheck method or something else? I'm not too knowledgeable on this
    I do have pathfinding.
    Reply With Quote  
     

  5. #5  
    Registered Member
    Anadyr's Avatar
    Join Date
    Nov 2009
    Posts
    682
    Thanks given
    31
    Thanks received
    100
    Rep Power
    675
    Quote Originally Posted by A7x- View Post
    and to do this it would be in the movecheck method or something else? I'm not too knowledgeable on this
    I do have pathfinding.
    see if there is a boolean which checks the int[][] array, or just look at pathfinding and make your own based on the way you do pathfinding, say its like public int[][] getPath(x, y, z, tox, toy) where it checks if x/y is clippable create a getter based on the value checked in the area
    Reply With Quote  
     

  6. #6  
    Trill

    Join Date
    Dec 2013
    Posts
    107
    Thanks given
    38
    Thanks received
    30
    Rep Power
    28
    Seem to be still having a problem.. I've tried everything, well not everything since I'm still having problems.. I tried to follow what anadyr said but I'm still able to dspear through walls, water, etc.
    Reply With Quote  
     

  7. #7  
    Trill

    Join Date
    Dec 2013
    Posts
    107
    Thanks given
    38
    Thanks received
    30
    Rep Power
    28
    Fixed, req a close.
    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: 795
    Last Post: 03-24-2013, 08:45 PM
  2. Replies: 74
    Last Post: 08-09-2010, 08:01 PM
  3. 100% clipped following
    By Martin in forum RS2 Server
    Replies: 32
    Last Post: 02-19-2009, 02:52 AM
  4. no clip XD
    By Valkynaz in forum Requests
    Replies: 11
    Last Post: 11-02-2008, 08:45 PM
  5. Uploading a video clip for your sig?
    By Zee Best in forum Videos
    Replies: 5
    Last Post: 01-31-2008, 10:39 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
  •