mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 02:11:30 +00:00
* Add faction logging category Probably should use this for more things * Add FactionAssociation struct This is simply just a struct that contains an array of faction ids and multiplier. This can hold a maximum of 10 entries (Seru hit is 8, so 2 extra) this can be raised if need be. * Add database changes and other data point changes This is all the database changes and loading changes Included is an optional SQL that will be used as a starting point, there is likely errors or typos, but we will fix those as they are discovered. * Add Client::RewardFaction function This just takes the faction ID and the magnitude of the primary faction hit and calculates the rest. The minimum change will be either 1 or -1. We stop processing after we see an ID of 0 and assume there will be no later entries. The primary faction ID will always receive a hit even if there is no faction association entries * Add users of RewardFaction to NPC death, tasks, and QuestRewards This will only use the new system if the magnitude is set, otherwise we will just use the old system still * Add quest system calls and lua QuestReward support * Add #factionassociation command This just calls RewardFaction, mostly useful for debugging
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