Thread: Distance items are removed

Results 1 to 2 of 2
  1. #1 Distance items are removed 
    Registered Member
    craig903's Avatar
    Join Date
    Sep 2007
    Age
    30
    Posts
    1,357
    Thanks given
    14
    Thanks received
    92
    Rep Power
    238
    Don't suppose anyone knows the exact distance that the client then forgets a ground item? From what I've measured it seems to be 7 map sectors(8*8 squares) but I'm not 100% sure.
    Visit Rune Miracle Here
    Reply With Quote  
     

  2. #2  
    Registered Member
    craig903's Avatar
    Join Date
    Sep 2007
    Age
    30
    Posts
    1,357
    Thanks given
    14
    Thanks received
    92
    Rep Power
    238
    Done some research.

    To clear things up.

    Map regions are a group of tiles 64*64 in size.
    Map sectors are sections of a map region 8*8 tiles in size.

    When calculating region updates we rarely use map regions but we calculate it from how many map sectors that we have walked.

    6 map sectors from your last region update is the correct answer. There are 3 map sectors in all directions that a player can walk without an update. Lets say for instance we are walking just a long the x Coordinate.

    • X - The sector you was standing in when a region update occoured
    • 0 - The map sectors that you can walk in without an update
    • G - The sectors that are not walkable but can be seen without an update



    It would look like this..
    GGGGGGGGGGGG
    GGG0000000GGG
    GGG0000000GGG
    GGG0000000GGG
    GGG000X000GGG
    GGG0000000GGG
    GGG0000000GGG
    GGG0000000GGG
    GGGGGGGGGGGG
    but also be considerate when updating the most outer map sectors. They are most likely going to go out of view with the client. This means that they
    will be breaching the clients ground array length are most likely will cause an exception. To avoid this just check that the local coordinate between you and the
    ground item/object do not reach below 0 and above 103.
    Visit Rune Miracle Here
    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: 3
    Last Post: 04-21-2011, 11:03 PM
  2. Item Equiping/removing with equipment?
    By Streax in forum Requests
    Replies: 0
    Last Post: 01-19-2011, 05:55 AM
  3. Now my items are invisible
    By Wizard ebodA in forum Help
    Replies: 9
    Last Post: 11-14-2010, 03:45 AM
  4. adding models needs help items are invisible
    By josem73111 in forum Help
    Replies: 10
    Last Post: 06-24-2010, 02:26 AM
  5. the way items are placed and given bonuses
    By Tariq in forum Requests
    Replies: 4
    Last Post: 06-12-2009, 08:00 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
  •