Thread: Player npc not updating for other players correctly

Results 1 to 2 of 2
  1. #1 Player npc not updating for other players correctly 
    Registered Member Versatile's Avatar
    Join Date
    Dec 2014
    Age
    26
    Posts
    433
    Thanks given
    247
    Thanks received
    9
    Rep Power
    9
    So I'm trying to figure out why the npc doesn't show up for other player's other than the user. These are the problems.

    I need Player B's character to update into an npc in Player A's screen just like it does in Player B's screen

    I don't know what piece of code or file I'm suppose to look at. But, I've been trying to figure it out by looking at PlayerUpdating.java, Character.java and this enum
    But, so far nothing has worked.

    Code:
    public enum Flag {
        CHAT,
        FORCED_CHAT,
        FORCED_MOVEMENT,
        ENTITY_INTERACTION,
        FACE_POSITION,
        APPEARANCE,
        ANIMATION,
        GRAPHIC,
        SINGLE_HIT,
        TRANSFORM,
        DOUBLE_HIT;
    }

    Player B did the command to transform into an npc, but does not update in Player A's screen
    Attached image


    Player A wears an Amulet of fury(or)[it can be any other item] and Player A's character turns into an npc that is the same as Player B's, but shows only in Player B's screen
    Taking off the item doesn't do anything once you put it on and become an npc like you see here
    Attached image


    Player B turns back into a regular player and not as an npc anymore, but Player A is still an npc in Player B's screen
    Attached image


    Now that Player B has reverted back into a player, Player A takes off the amulet once again and is now able to revert back to a player as well in Player B's screen
    It seems that taking off the amulet did nothing to Player A's character in Player B's screen,
    only until Player B turns back into a player does Player A's character turn back once you take an item off
    Attached image
    Spoiler for Don't be a deadfool:
    Reply With Quote  
     

  2. #2  
    Community Veteran


    Arch337's Avatar
    Join Date
    Sep 2008
    Posts
    2,950
    Thanks given
    210
    Thanks received
    349
    Rep Power
    1376
    Make sure the player updates whenever they do the command.


    "A fail act is something you do regular, but a dumb act is something you can learn from"
    Spoiler for Problem?:
    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. Shops not updating for others viewing shop
    By element0180 in forum Help
    Replies: 2
    Last Post: 04-03-2017, 04:39 PM
  2. Replies: 3
    Last Post: 05-22-2014, 01:20 PM
  3. Replies: 2
    Last Post: 04-26-2011, 01:07 AM
  4. Death Emote Doesnt Update For Other Player
    By Knightmare in forum Help
    Replies: 3
    Last Post: 05-18-2010, 05:29 AM
  5. object dont disapear for other players.
    By Serenity in forum RS 503+ Client & Server
    Replies: 16
    Last Post: 03-11-2009, 10:15 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
  •