Thread: Apollo facing

Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1 Apollo facing 
    Registered Member

    Join Date
    Nov 2011
    Posts
    491
    Thanks given
    23
    Thanks received
    66
    Rep Power
    86
    Trying to add following and follower is facing towards followed but followed doesn't see that. Every other player sees facing properly except followed. Haven't been able to figure which would cause this.
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Nov 2011
    Posts
    491
    Thanks given
    23
    Thanks received
    66
    Rep Power
    86
    Reply With Quote  
     

  3. #3  
    Registered Member

    Join Date
    Nov 2011
    Posts
    491
    Thanks given
    23
    Thanks received
    66
    Rep Power
    86
    bump. Yet here is another one: http://www.rune-server.org/runescape...r-problem.html This guy was missing stuff from initialize method but I don't miss anything.
    Reply With Quote  
     

  4. #4  
    Registered Member

    Join Date
    Nov 2011
    Posts
    491
    Thanks given
    23
    Thanks received
    66
    Rep Power
    86
    bump btw im using unmodified version of major's apollo.
    Reply With Quote  
     

  5. #5  
    Registered Member

    Join Date
    Nov 2011
    Posts
    491
    Thanks given
    23
    Thanks received
    66
    Rep Power
    86
    bump
    Reply With Quote  
     

  6. #6  
    Registered Member

    Join Date
    Nov 2011
    Posts
    491
    Thanks given
    23
    Thanks received
    66
    Rep Power
    86
    bump
    Reply With Quote  
     

  7. #7  
    Registered Member

    Join Date
    Nov 2011
    Posts
    491
    Thanks given
    23
    Thanks received
    66
    Rep Power
    86
    bump. masks should be correct cause i tested interacting with npc and both players saw it correctly.
    Reply With Quote  
     

  8. #8  
    Respected Member


    Join Date
    Jan 2009
    Posts
    5,743
    Thanks given
    1,162
    Thanks received
    3,603
    Rep Power
    5000
    Seems an interesting bug. I will see if I can recreate this bug for you.
    Reply With Quote  
     

  9. Thankful user:


  10. #9  
    Respected Member


    Join Date
    Jan 2009
    Posts
    5,743
    Thanks given
    1,162
    Thanks received
    3,603
    Rep Power
    5000
    Quote Originally Posted by Sickness View Post
    bump. masks should be correct cause i tested interacting with npc and both players saw it correctly.
    I can confirm that interacting / facing a Mob can be seen by the other



    I did find that the player index was wrong in PlayerActionMessage and had to do index - 1, heres a fix.

    Code:
    	/**
    	 * Creates a player action message.
    	 * 
    	 * @param option The option number.
    	 * @param playerIndex The index of the player.
    	 */
    	public PlayerActionMessage(int option, int playerIndex) {
    		this.option = option;
    		this.index = playerIndex - 1;
    	}
    I used

    Code:
    on :message, :player_action do |ctx, player, message|
      other = $world.player_repository.get(message.index)
      player.set_interacting_mob(other)
    end
    Reply With Quote  
     

  11. #10  


    Major's Avatar
    Join Date
    Jan 2011
    Posts
    2,997
    Thanks given
    1,293
    Thanks received
    3,556
    Rep Power
    5000
    If you come across any more bugs like this, open an issue on GitHub or send me a PM :-)
    Reply With Quote  
     

  12. Thankful users:


Page 1 of 2 12 LastLast

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: 0
    Last Post: 02-12-2012, 10:31 PM
  2. Replies: 5
    Last Post: 10-02-2007, 09:06 PM
  3. Player Faces Player
    By X_mahatma_x in forum Tutorials
    Replies: 5
    Last Post: 09-23-2007, 05:43 AM
  4. [REQ] Player face player
    By kilermage in forum Tutorials
    Replies: 3
    Last Post: 09-22-2007, 11:46 PM
  5. Calm Face - VOLTZ
    By Saint in forum Showcase
    Replies: 4
    Last Post: 08-25-2007, 12:40 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
  •