Thread: [PI] Following Doesn't Work

Results 1 to 4 of 4
  1. #1 [PI] Following Doesn't Work 
    Registered Member Mayday Parade's Avatar
    Join Date
    Apr 2009
    Age
    27
    Posts
    495
    Thanks given
    20
    Thanks received
    17
    Rep Power
    8
    Alright, so I ripped clipping from a server. (Idr the name, it was by a User named paste)

    Anyways, I ripped his clipping except, the following doesnt work now
    So, I assumed it had to do with my following method, I checked his and mine, his was a little bit different so I added what he had, but it still didn't work?
    When you try and follow someone, you stand still, but your player rotates towards the player. I would love some help

    Spoiler for LoL:
    Quote Originally Posted by Imbued View Post
    Quote Originally Posted by pasta186 View Post
    That tutorial doesnt walk.
    That's because it got no legs..
    Best report I've sent? "Mass spam? Also in wrong sexual"
    LOL
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Dec 2010
    Posts
    81
    Thanks given
    5
    Thanks received
    1
    Rep Power
    22
    i've got the same problem =/
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Nov 2011
    Posts
    102
    Thanks given
    2
    Thanks received
    3
    Rep Power
    11
    Code:
     public void processPacket(Client c, int packetType, int packetSize) {
    		int followPlayer = c.getInStream().readUnsignedWordBigEndian();
    		if(Server.playerHandler.players[followPlayer] == null) {
    			return;
    		}
    		c.playerIndex = 0;
    		c.npcIndex = 0;
    		c.mageFollow = false;
    		c.usingBow = false;
    		c.usingRangeWeapon = false;
    		c.followDistance = 1;
    		c.followId = followPlayer;
    	}	
    }
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Dec 2010
    Posts
    81
    Thanks given
    5
    Thanks received
    1
    Rep Power
    22
    Quote Originally Posted by Faygopenguin View Post
    Code:
     public void processPacket(Client c, int packetType, int packetSize) {
    		int followPlayer = c.getInStream().readUnsignedWordBigEndian();
    		if(Server.playerHandler.players[followPlayer] == null) {
    			return;
    		}
    		c.playerIndex = 0;
    		c.npcIndex = 0;
    		c.mageFollow = false;
    		c.usingBow = false;
    		c.usingRangeWeapon = false;
    		c.followDistance = 1;
    		c.followId = followPlayer;
    	}	
    }
    thanks repped
    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: 28
    Last Post: 10-12-2009, 12:15 PM
  2. Replies: 7
    Last Post: 12-03-2008, 04:53 AM
  3. Replies: 8
    Last Post: 11-17-2007, 05:44 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
  •