Short list of Objects and their Locations (MMO Demo)

Hello,

I want to Sync a list of static(non moving) objects and their positions in the game world. (Like Ore) I'm using the MMO Demo with Interest Management. Do you have any tips that would make this possible?

1. Send an array of data one time at the beginning(Level Load)?
2. Query a MySQL Database when a user enters a specific interest area.

Any help, tips are appreciated.

Thanks!

Comments

  • This is more of a DB problem. Index your static objects by, for example, a grid cell reference and only send this out to clients when they're preloading that area. Additionally, save a record of when it was sent to a user so that you don't resend it, and you can also update the data and have it resend if there's a date mismatch.