Thread: Player updating/Region updating

Results 1 to 6 of 6
  1. #1 Player updating/Region updating 
    Donator

    Ecstasy's Avatar
    Join Date
    Sep 2008
    Age
    26
    Posts
    5,032
    Thanks given
    324
    Thanks received
    596
    Rep Power
    843
    I've never understood how to do this, could somebody please give me a quick guide on what I need to do? What packets I need to call, etc? What data I need to send to the client? Thanks.
    All I really understand is that I need a loop that ticks at 600ms, and in that loop it has to send packets to the client. I don't know which packets/data I need to send...

    And all I want is for the landscape to show, at the players location. I don't need the player to show just yet...

    Reply With Quote  
     

  2. #2  
    Respected Member

    Join Date
    Jan 2009
    Posts
    5,682
    Thanks given
    1,093
    Thanks received
    3,494
    Discord
    View profile
    Rep Power
    5000
    Every cycle you process every packet received and send packets as needed, this is including the update mask of each player in that area which includes combat level, cords and appearance of each player in that region, you also do the same for NPC's.
    Reply With Quote  
     

  3. #3  
    Donator

    Ecstasy's Avatar
    Join Date
    Sep 2008
    Age
    26
    Posts
    5,032
    Thanks given
    324
    Thanks received
    596
    Rep Power
    843
    yeah i know that but i dont get what packets and shit like that

    Reply With Quote  
     

  4. #4  
    Banned
    Join Date
    May 2009
    Posts
    150
    Thanks given
    3
    Thanks received
    5
    Rep Power
    0
    You may want to take a look at [Only registered and activated users can see links. ]

    If you need me to explain, packets (to my understanding) are bits of data being sent back and forth from the client. We use a ripped "stream.java" from the 317 client, which is basicly a IO buffer obfuscated all to shit. We use a byte array and shifted bits to write the bytes to an OutputStream, in most cases java.io.OutputStream

    As for what you asked, it's all in that winterlove server i sent you, you can pull that apart if you want to.
    Reply With Quote  
     

  5. #5  
    Donator

    Ecstasy's Avatar
    Join Date
    Sep 2008
    Age
    26
    Posts
    5,032
    Thanks given
    324
    Thanks received
    596
    Rep Power
    843
    Quote Originally Posted by Stability666 View Post
    You may want to take a look at [Only registered and activated users can see links. ]

    If you need me to explain, packets (to my understanding) are bits of data being sent back and forth from the client. We use a ripped "stream.java" from the 317 client, which is basicly a IO buffer obfuscated all to shit. We use a byte array and shifted bits to write the bytes to an OutputStream, in most cases java.io.OutputStream

    As for what you asked, it's all in that winterlove server i sent you, you can pull that apart if you want to.
    I'm well aware of what packets are haha. I'm asking which ones I need to send.

    Reply With Quote  
     

  6. #6  
    Donator

    Ecstasy's Avatar
    Join Date
    Sep 2008
    Age
    26
    Posts
    5,032
    Thanks given
    324
    Thanks received
    596
    Rep Power
    843
    Quote Originally Posted by DHAReauxK View Post
    Isn't 121 region loading? Just a thought, might be wrong.
    I'm not sure, I've tried just sending the region loading packet and nothing happens though.

    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. [508]Force map region updating?
    By dark bl00d23 in forum Help
    Replies: 8
    Last Post: 12-11-2010, 04:28 PM
  2. player updating 613
    By Zᴀᴄʜ in forum Help
    Replies: 1
    Last Post: 10-12-2010, 01:05 PM
  3. Region Based Player Updating
    By Colby in forum Snippets
    Replies: 26
    Last Post: 08-23-2010, 04:29 PM
  4. 562 player updating
    By tapeman1 in forum Requests
    Replies: 0
    Last Post: 07-09-2010, 11:14 PM
  5. Player Updating - Can not fix.
    By Colby in forum Help
    Replies: 9
    Last Post: 08-23-2009, 10:30 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
  •