stoneharry / WoW-Spell-Editor

A Spell Editor for WoW versions WOTLK 3.3.5, TBC 2.4.3, or Vanilla 1.12.1.
269 stars 121 forks source link

SQL script exported #211

Closed Cobollatin closed 1 year ago

Cobollatin commented 1 year ago

Added complete functionality with the language keys. I haven't tested all tables individually but works when exporting all and exporting the biggest. The purpose is to use the SQL scripts for Azerothcore, so there is a current column fix that runs when the script is exported, the tables that have a fix are the spell and spellvisual tables. Next steps are to find a way to only select the rows that had been updated since the session started (or a checkpoint) and optimize the post process of the SQL script.

Also added windows resize when changing the tab in the Import/Export window.

image image image

stoneharry commented 1 year ago

Thank you for the PR! You made my morning, I always love when people contribute to the project. This looks like it will be incredibly useful.

I will do a deep dive on the code later today.

Cobollatin commented 1 year ago

No worries. Please do not merge yet, I am adding the table adapters for the default tables. The user said those are the only ones he loads.

stoneharry commented 1 year ago

Some things I noticed from a very quick test:

I can help out once you are happy with it.

Cobollatin commented 1 year ago

The bars appear but they are just too quick. image I do agree with the second point, but it will require refactoring existing functionality. If that's fine with you then I will go ahead. This may be because visual studio reformats the project file when adding a library.

I am almost done; I will gladly accept your help; do you mind having a conversation on Discord?

stoneharry commented 1 year ago

Sure my Discord is just stoneharry

stoneharry commented 1 year ago

Whops. I did not mean to merge this yet. I must have accidentally pressed it. Going to revert from master but please do re-open the PR. I will continue working on it too.