server icon indicating copy to clipboard operation
server copied to clipboard

🔨 Refactor method used to store Waypoint unlocks

Open claywar opened this issue 2 years ago • 0 comments

  • [x] I have paid attention to this example and will edit again if need be to not break the formatting, or I will be ignored
  • [x] I have searched existing issues to see if the issue has already been opened, and I have checked the commit log to see if the issue has been resolved since my server was last updated
  • [x] I have read and understood the Contributing Guide

Describe the feature

Waypoint map_marker packet appears to pack data in a different manner than used in the event parameters. Packet data seems to follow the table in the waypoints.lua from top to bottom with no offset or unused bits.

Need to:

  1. Store data in core and db to align with packet
  2. Add lookup to waypoints.lua global to convert to expected event params
  3. Update map_marker packet to include waypoint unlocks (0x28~0x2E)
  4. Create migration script to convert existing data to new saved format

claywar avatar Sep 26 '22 13:09 claywar