Go Back   EQEmulator Home > EQEmulator Forums > Support > Spell Support

Spell Support Broken Spells? Want them Fixed? Request it here.

Reply
 
Thread Tools Display Modes
  #1  
Old 07-13-2013, 10:13 PM
jshows1
Sarnak
 
Join Date: Jun 2009
Location: Baton Rouge,LA
Posts: 79
Default spells_new table error

Ok so like a dummy, I inadvertently blitzed this table in my database. Fortunately, I have backups of my database from earlier. Unfortunately I have made extensive changes to mobs and items in game, so if I were to resource a backup, it would lose hours and hours of work.

Is there a way to just export the spells_new table entry from a backup database and import it into my current database? I've attempted to do this via the export/import wizard through Navicat. However, I either can' get it to work right or I'm using the wrong formats.
Reply With Quote
  #2  
Old 07-13-2013, 10:18 PM
Kingly_Krab
Administrator
 
Join Date: May 2013
Location: United States
Posts: 1,594
Default

If you exported to a .sql you should be able to search for a line containing 'spells_new' that would create the table if it doesn't exist, and add all the entries, hope that helps some.
Reply With Quote
  #3  
Old 07-13-2013, 10:23 PM
jshows1
Sarnak
 
Join Date: Jun 2009
Location: Baton Rouge,LA
Posts: 79
Default

Kingly I appreciate the response. I apologize, I am not quite sure what you mean. Are you saying I should search through the backup database that I created previously and somehow export the spells_new file into the new database?
Reply With Quote
  #4  
Old 07-13-2013, 10:41 PM
Drajor's Avatar
Drajor
Developer
 
Join Date: Nov 2012
Location: Halas
Posts: 355
Default

I would never do this with a wizard normally but I decided to check it out. I was able to export and and import a table with a bit of messing around, below was my method.

(PHEW). So I messed around a bit longer, XML is much easier than TXT.

- Right click table X -> Export Wizard
- Step 1: Choose 'XML file'.
- Step 2: Choose a filename.
- Step 3: Leave as default.
- Step 4: Uncheck 'Continue on error'.... Check 'Include column titles'.
- Step 5: Start!

- Right click table X -> Import Wizard
- Step 1: Choose 'XML file'.
- Step 2: Select your export file.
- Step 3: Select 'RECORD'
- Step 4: Leave as default.
- Step 5: Leave as default.
- Step 6: Leave as default.
- Step 7: Select 'Copy: delete all records in destination..'
- Step 8: Start!

Assuming there are no schema changes this should work for you. If not, we will try something else
__________________
Drajor regards you indifferently -- what would you like your tombstone to say?
Reply With Quote
  #5  
Old 07-13-2013, 11:11 PM
jshows1
Sarnak
 
Join Date: Jun 2009
Location: Baton Rouge,LA
Posts: 79
Default

Quote:
Originally Posted by Drajor View Post
I would never do this with a wizard normally but I decided to check it out. I was able to export and and import a table with a bit of messing around, below was my method.

(PHEW). So I messed around a bit longer, XML is much easier than TXT.

- Right click table X -> Export Wizard
- Step 1: Choose 'XML file'.
- Step 2: Choose a filename.
- Step 3: Leave as default.
- Step 4: Uncheck 'Continue on error'.... Check 'Include column titles'.
- Step 5: Start!

- Right click table X -> Import Wizard
- Step 1: Choose 'XML file'.
- Step 2: Select your export file.
- Step 3: Select 'RECORD'
- Step 4: Leave as default.
- Step 5: Leave as default.
- Step 6: Leave as default.
- Step 7: Select 'Copy: delete all records in destination..'
- Step 8: Start!

Assuming there are no schema changes this should work for you. If not, we will try something else
Thanks so much for the response guys. I really appreciate the help.

Drajor that worked perfectly! Thanks for bailing me out! lol
Reply With Quote
  #6  
Old 07-13-2013, 11:26 PM
Drajor's Avatar
Drajor
Developer
 
Join Date: Nov 2012
Location: Halas
Posts: 355
Default

Glad I could help out. Another way still using the GUI is using the 'Dump SQL File' (Table right click context menu). Then you run that SQL .. but I noticed time stamp data was lost when I did this.
__________________
Drajor regards you indifferently -- what would you like your tombstone to say?
Reply With Quote
  #7  
Old 07-14-2013, 10:12 AM
jsr
Hill Giant
 
Join Date: Aug 2008
Location: melbourne
Posts: 187
Default

Maybe I missed something, but wouldn't copy/paste work?
Reply With Quote
  #8  
Old 07-14-2013, 12:54 PM
Drajor's Avatar
Drajor
Developer
 
Join Date: Nov 2012
Location: Halas
Posts: 355
Default

Quote:
Originally Posted by jsr View Post
Maybe I missed something, but wouldn't copy/paste work?
^^ This works too hahah. /does it the hardest way possible for funsies
__________________
Drajor regards you indifferently -- what would you like your tombstone to say?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 12:27 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3