eqemu-server/shared_memory
Alex King 8edf7a07e3
[Base Data] Remove from shared memory and simplify (#4045)
* [Base Data] Remove from shared memory and simplify

- Removes Base Data loading from shared memory and puts it into zone.
- Changes type of `level` and `class` to `uint8_t` from `uint32_t` for consistency since we're renaming fields here anyway.
- Renames `unk1` to `hp_regen` in `base_data` table.
- Renames `unk2` to `end_regen` in `base_data` table.
- These changed fields were already mapped, we just hadn't renamed them for whatever reason.
- Regenerates Base Data repository.
- Adds `#reload base_data` to reload base data in real time.

* Cleanup

* Update shareddb.h

* Cleanup.

* Update shareddb.cpp

* Update main.cpp
2024-02-05 17:11:20 -06:00
..
2016-05-24 23:49:25 -07:00
2013-11-19 00:09:41 -05:00
2016-05-24 23:49:25 -07:00
2016-05-24 23:49:25 -07:00

This program creates the shared memory files for various database tables.

It only need to be run after you make a change to the table in the database or there is a source change that relates to that tables structure.

Requires a folder named shared in the root server folder.

shared_memory

Creates all the shared memory files

shared_memory all

Same as above

shared_memory base_data

Creates shared memory files for base data

shared_memory items

Creates shared memory files for items

shared_memory factions

Creates shared memory files for items

shared_memory loot

Creates shared memory files for loot

shared_memory skill_caps

Creates shared memory files for skill caps

shared_memory spells

Creates shared memory files for spells