Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Database/World Building

Archive::Database/World Building Archive area for General Discussion's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 03-11-2003, 09:06 PM
izagod
Sarnak
 
Join Date: Jan 2003
Location: Oregon/Standing in the RAin
Posts: 38
Default Fix for Guilds and Faction!

ok when i added the 4.3 i had problems with the world.exe looking for some thing in the guild table, also i hade a problem with boot5zone.exe it poped up and wen away real fast i cought that it sayd some thing about faction tables, so i went to a fellow server op Darogar, at Darogar.net semi legit server and he was happy to provide me with the info to fix this problem, THANKS SO MUCH Darogar! heres how to use them
open mysql.exe in the bin folder, and type use eq
then type source fix.sql
then type source fixfaction.sql
make sure you have the following attachments in the bin directory of mysql .... oh and un zip them to heheh for some rerason it wont let me post them as .sql files good luck, and thaks again to Darogar!

izagod - Valudus of the Endless Time (legit) server!
Reply With Quote
  #2  
Old 03-11-2003, 09:09 PM
izagod
Sarnak
 
Join Date: Jan 2003
Location: Oregon/Standing in the RAin
Posts: 38
Default opps

no type source factionfix.sql
hehe not fixfaction.sql heheh :P
Reply With Quote
  #3  
Old 03-11-2003, 10:19 PM
Drawde
Dragon
 
Join Date: Jan 2002
Posts: 521
Default

Thanks for the info, I'll code this into my parser program ASAP.
Reply With Quote
  #4  
Old 03-12-2003, 05:36 AM
TheOne
Sarnak
 
Join Date: Sep 2002
Location: Montreal, QC
Posts: 47
Default Note

If you want a complete fix 0.4.2 to 0.4.3 you can get it here

http://www.darogar.net/42to43.sql

And something important Izagod forgot to mention, Becarefull for this will completely destroy your faction table, and don't forget to source the npc_spells_id.


- Darogar
__________________
Good, bad ... I'm the guy with the gun.
Reply With Quote
  #5  
Old 03-12-2003, 06:02 AM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

Thanks TheOne. This is what we should have included with the release. We use to create dbupgrade.sql 's that you could source in to convert your database to the new format. I think we need to get back into the habit..
__________________
Quitters never win, and winners never quit, but those who never win and never quit are idiots.
Reply With Quote
  #6  
Old 03-12-2003, 04:30 PM
rockocool
Sarnak
 
Join Date: Mar 2003
Location: california
Posts: 63
Default player_corpses also need to be fixed

and a few more fix to the player_corpses. simply attach this to the 42to43fix.sql above.

ALTER TABLE player_corpses ADD COLUMN zoneid smallint(5) not null default '0' AFTER zonename;
ALTER TABLE player_corpses DROP COLUMN time;
ALTER TABLE player_corpses ADD COLUMN timeofdeath timestamp(14) not null AFTER data;
Reply With Quote
  #7  
Old 03-12-2003, 09:07 PM
TheOne
Sarnak
 
Join Date: Sep 2002
Location: Montreal, QC
Posts: 47
Default Hey

Thanks I added them to the file.
__________________
Good, bad ... I'm the guy with the gun.
Reply With Quote
  #8  
Old 03-16-2003, 03:49 AM
ChuckUFarley
Fire Beetle
 
Join Date: Mar 2003
Posts: 2
Default /cry I have the same issue even after applying the fix as me

Hello,

I have a new install of EqEmu (4.3) and after applying the changes memtioned here, I still have the error as mentioned above :cry: . What am I doing wrong?
Reply With Quote
  #9  
Old 03-16-2003, 07:19 AM
Lurker_005
Demi-God
 
Join Date: Jan 2002
Location: Tourist town USA
Posts: 1,671
Default

Load the 4.2 compatable DB file into a 4.2 SQL DB, then run the above stuff to update the entire thing (data and structure) to the 4.3 format
__________________
Please read the forum rules and look at reacent messages before posting.
Reply With Quote
  #10  
Old 03-19-2003, 09:18 AM
IAFloppie
Fire Beetle
 
Join Date: Mar 2003
Posts: 5
Default

When I try to source any of the files on this thread, it whines about duplicate column names and tables already existing. What should I do to take out the original db?

This is the text in my happy little DOS-mysql.exe window:

mysql> source factionfix.sql
Query OK, 0 rows affected (0.06 sec)

Query OK, 0 rows affected (0.00 sec)

Query OK, 0 rows affected (0.00 sec)

Query OK, 0 rows affected (0.00 sec)

mysql> source fix.sql;
ERROR 1060: Duplicate column name 'minstatus'
mysql> source 42to43.sql;
Query OK, 0 rows affected (0.00 sec)

Query OK, 0 rows affected (0.00 sec)

ERROR 1050: Table 'npc_faction_entries' already exists
ERROR 1060: Duplicate column name 'minstatus'
ERROR 1091: Can't DROP 'usedspells'. Check that column/key exists
ERROR 1060: Duplicate column name 'npc_spells_id'
ERROR 1060: Duplicate column name 'zoneid'
ERROR 1054: Unknown column 'zonename' in 'player_corpses'
ERROR 1091: Can't DROP 'time'. Check that column/key exists
ERROR 1060: Duplicate column name 'timeofdeath'
Reply With Quote
  #11  
Old 03-21-2003, 12:23 AM
Mauritius
Sarnak
 
Join Date: Mar 2002
Location: Neriak
Posts: 61
Default

well,
42to43.sql includes all the fixes mentioned in this thread.

i'll suggest to just add in the top of the script
DROP TABLE npc_faction_entries;

This should avoid the error:
ERROR 1050: Table 'npc_faction_entries' already exists

The other errors mentioned in Floppies post just informs you that the modifications are already done.
Reply With Quote
  #12  
Old 03-21-2003, 07:00 AM
IAFloppie
Fire Beetle
 
Join Date: Mar 2003
Posts: 5
Default

Right...thanks..lol
Reply With Quote
  #13  
Old 03-21-2003, 07:01 AM
IAFloppie
Fire Beetle
 
Join Date: Mar 2003
Posts: 5
Default

Right...thanks...lol
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 07:29 PM.


 

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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3