I am implementing foreign keys and constraints to the eq2emulator database "spawn" structures. This will only effect you if you use the DB Update source on port 9102, as this is only for development builds of the server. Also, only if you have manually created your own spawn records *incorrectly*. Correct spawn entries should see no problems.
How this might effect you - if you have created spawns that have invalid references, your server might have problems starting or at least spawning what you expect. This change will allow us to insert, update, and delete data more efficiently, and maintain good referential integrity.
Basically what this means is that now, instead of deleting or updating 10 tables when something changes, you make the change to `spawns` (spawn_id changes) and they cascade through all tables that reference spawn_id, etc.
Effected tables are:
Code: Select all
lootdrop
loottable
npc_appearance
npc_appearance_equip
spawn
spawn_loot
spawn_npcs
spawn_objects
spawn_script_data
spawn_signs
spawn_widgets
zonespawngroup
zonespawnentry
zonespawnsThis is your only warning, developers.
It should not hurt anything unless as I said, you already have orphaned records or broken references. If these changes work out as I expect, they will go live (9101) during the next major release of the emulator server.
This is what we are hoping you see after todays update:
Success![Status] Connecting to Update Server..
[Status] Connected to Update Server:eq2emulator.net:9102
[Status] Checking for updates.
[Status] Found Updates.
[Status] Processing Updates.
[Status] Attempting to update database table 'items' ... SUCCESS!
[Status] Attempting to update database table 'npc_appearance' ... SUCCESS!
[Status] Attempting to update database table 'npc_appearance_equip' ... SUCCESS!
[Status] Attempting to update database table 'spawn_script_data' ... SUCCESS!
[Status] Attempting to update database table 'zonespawns' ... SUCCESS!
[Status] Attempting to update database table 'spawn_signs' ... SUCCESS!
[Status] Attempting to update database table 'spawn_npcs' ... SUCCESS!
[Status] Attempting to update database table 'spawn_objects' ... SUCCESS!
[Status] Attempting to update database table 'spawn_widgets' ... SUCCESS!
[Status] Attempting to update database table 'zonespawnentry' ... SUCCESS!
[Status] Attempting to update database table 'lootdrop' ... SUCCESS!
[Status] Attempting to update database table 'spawn_loot' ... SUCCESS!
[Status] Update complete.


