LandSandBoat / server

:sailboat: LandSandBoat - a server emulator for Final Fantasy XI
https://landsandboat.github.io/server/
GNU General Public License v3.0
301 stars 612 forks source link

Core: Cache augment data on startup #6445

Closed zach2good closed 5 days ago

zach2good commented 1 week ago

I affirm:

What does this pull request do?

Closes https://github.com/LandSandBoat/server/issues/6441

We absolutely shouldn't be querying for static data at runtime... ever... for any reason... lol

Also while looking at this, we seem to store the data in the db sanely, but we're doing some sort of sillybuggers about negative values once we load it? Will need some investigation. Did this quickly on my lunch break, need to fire this up and test on my Windows machine before merging.

WinterSolstice8 commented 6 days ago

I cherry picked this in, seems to work fine image