Thread: Friends List and Ignore list

Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1 Friends List and Ignore list 
    Registered Member
    Join Date
    Dec 2012
    Posts
    227
    Thanks given
    8
    Thanks received
    3
    Rep Power
    12
    okai so when i add people to my list they dont appear online even if they are online. Also when i re log the person i added to list is gone....

    please can someone help
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Dec 2012
    Posts
    227
    Thanks given
    8
    Thanks received
    3
    Rep Power
    12
    bump
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Dec 2012
    Posts
    227
    Thanks given
    8
    Thanks received
    3
    Rep Power
    12
    bump
    Reply With Quote  
     

  4. #4  
    Registered Member
    TheChosenOne's Avatar
    Join Date
    Jan 2013
    Posts
    967
    Thanks given
    47
    Thanks received
    161
    Rep Power
    366
    Is packet/frame 50 sent somewhere?
    That's the packet used for letting a client know a friend went online or offline.
    It sends a long (representing the friend's name) and a byte (representing the world the friend logged in to, which is 0 if he or she went offline (or private to off)).
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Dec 2012
    Posts
    227
    Thanks given
    8
    Thanks received
    3
    Rep Power
    12
    were can i find it?
    Reply With Quote  
     

  6. #6  
    Registered Member
    TheChosenOne's Avatar
    Join Date
    Jan 2013
    Posts
    967
    Thanks given
    47
    Thanks received
    161
    Rep Power
    366
    No idea (I use Hyperion).
    An IDE should be able to search through your whole project in no time (so can windows explorer but I'm promoting the use of IDEs).
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Dec 2012
    Posts
    227
    Thanks given
    8
    Thanks received
    3
    Rep Power
    12
    just checked i cant find anything
    Reply With Quote  
     

  8. #8  
    Registered Member
    TheChosenOne's Avatar
    Join Date
    Jan 2013
    Posts
    967
    Thanks given
    47
    Thanks received
    161
    Rep Power
    366
    Well, there's your problem then.
    It's a packet that could be sent when either of the following happens:
    • When a friend is added to the list
    • When you delete a friend
    • When someone changes their private status
    • When someone comes online
    • When someone goes offline

    Who the packet is sent too, depends on online/offline and private status.

    In Hyperion the packet itself looks like this:
    Code:
        /**
         * Sends the friend status/adds a friend.
         * @param friendLong The friends long.
         * @param world The friends world
         *  >0: Online (World) 0: Offline
         * @return The action sender instance, for chaining.
         */
        public ActionSender sendFriend(long friendLong, int world){
            PacketBuilder bldr = new PacketBuilder(50);
            bldr.putLong(friendLong).put((byte) world); 
            player.write(bldr.toPacket());
            return this;
        }
    So that's a packet with fixed length (opcode = 50).
    Then the friend's long value sent as a long.
    And finaly the world sent as a byte.
    Reply With Quote  
     

  9. #9  
    Registered Member
    Join Date
    Dec 2012
    Posts
    227
    Thanks given
    8
    Thanks received
    3
    Rep Power
    12
    yeah but i cant find that method anywhere on my source or any other source even if it is working on other one's
    Reply With Quote  
     

  10. #10  
    Registered Member
    TheChosenOne's Avatar
    Join Date
    Jan 2013
    Posts
    967
    Thanks given
    47
    Thanks received
    161
    Rep Power
    366
    Hmmmm, if that the case, my first question should've been: "Is this 317?".
    Reply With Quote  
     

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. [613/614]Friends List & Ignore List
    By xJames in forum Snippets
    Replies: 16
    Last Post: 09-18-2010, 11:51 AM
  2. help on 613 friends and ignore list
    By Zᴀᴄʜ in forum Help
    Replies: 17
    Last Post: 09-08-2010, 12:26 AM
  3. [614]Friends list,Ignore list & ClanChat.
    By Chocolate. in forum Help
    Replies: 0
    Last Post: 09-06-2010, 06:33 PM
  4. New friends/ignore list!
    By Adam™ in forum Snippets
    Replies: 11
    Last Post: 07-07-2010, 04:31 PM
  5. [Devolution 7] Friends List & Ignore List
    By Grey in forum Tutorials
    Replies: 24
    Last Post: 06-16-2010, 04:32 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
  •