Delete Zone Version - Nuking grids?
First of all, I love EoC and I use it a lot for comparing zone versions and moving them around. It's a great tool and I'm happy to have it.
That said, I'm having some issues with the "Delete Zone Version" option. Every time I delete a zone version, I have to go back and put all my pathing grids back in because of the following: Code:
DELETE FROM grid WHERE id='999999999999' I understand the intent - to remove the copied grid information. But this is removing all grids with those IDs, regardless of zone. Shouldn't this have something like a "AND zoneid = 'XX'" added to it so it doesn't remove grids for other zones as well? |
That certainly doesn't look right. This is just from doing a delete zone version?
|
Yeah. This isn't the first time either. I have been puzzled at why my grid and grid_entries have been getting hosed.
|
Alright, I've nuked the code that deletes grid entries and grids as there is no filter on version that is honestly necessary for this.
Even if I joined tables on the NPC's that are imported there is a high possibility that the gridid may potentially conflict so deleting doesn't make all that much sense. https://github.com/Akkadius/EQEmuEOC...f1d2db0f5a944c I've pulled on live EoC these changes, so you should be good to go |
Thanks man!
|
All times are GMT -4. The time now is 05:31 PM. |
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.