|  |  | 
 
  |  |  |  |  
  |  |  |  |  
  |  |  |  |  
  |  |  |  |  
  |  | 
	
		
   
   
      | Archive::Database/World Building Archive area for General Discussion's posts that were moved here after an inactivity period of 90 days. |  
	
	
		
	
	
	| 
			
			 
			
				03-11-2003, 09:06 PM
			
			
			
		 |  
	| 
		
			
			| Sarnak |  | 
					Join Date: Jan 2003 Location: Oregon/Standing in the RAin 
						Posts: 38
					      |  |  
	| 
				 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 themopen 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!
 |  
	
		
	
	
	| 
			
			 
			
				03-11-2003, 09:09 PM
			
			
			
		 |  
	| 
		
			
			| Sarnak |  | 
					Join Date: Jan 2003 Location: Oregon/Standing in the RAin 
						Posts: 38
					      |  |  
	| 
				 opps 
 no type source factionfix.sql hehe not fixfaction.sql heheh :P
 |  
	
		
	
	
	| 
			
			 
			
				03-11-2003, 10:19 PM
			
			
			
		 |  
	| 
		
			
			| Dragon |  | 
					Join Date: Jan 2002 
						Posts: 521
					      |  |  
	| 
 Thanks for the info, I'll code this into my parser program ASAP. |  
	
		
	
	
	| 
			
			 
			
				03-12-2003, 05:36 AM
			
			
			
		 |  
	| 
		
			
			| Sarnak |  | 
					Join Date: Sep 2002 Location: Montreal, QC 
						Posts: 47
					      |  |  
	| 
				 Note 
 If you want a complete fix 0.4.2 to 0.4.3 you can get it herehttp://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.
 |  
	
		
	
	
	| 
			
			 
			
				03-12-2003, 06:02 AM
			
			
			
		 |  
	| 
		
			
			| Demi-God |  | 
					Join Date: Jan 2002 Location: Charlotte, NC 
						Posts: 2,614
					      |  |  
	| 
 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.
 |  
	
		
	
	
	| 
			
			 
			
				03-12-2003, 04:30 PM
			
			
			
		 |  
	| 
		
			
			| Sarnak |  | 
					Join Date: Mar 2003 Location: california 
						Posts: 63
					      |  |  
	| 
				 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;
   |  
	
		
	
	
	| 
			
			 
			
				03-12-2003, 09:07 PM
			
			
			
		 |  
	| 
		
			
			| Sarnak |  | 
					Join Date: Sep 2002 Location: Montreal, QC 
						Posts: 47
					      |  |  
	| 
				 Hey 
 Thanks    I added them to the file.
				__________________Good, bad ... I'm the guy with the gun.
 |  
	
		
	
	
	| 
			
			 
			
				03-16-2003, 03:49 AM
			
			
			
		 |  
	| 
		
			
			| Fire Beetle |  | 
					Join Date: Mar 2003 
						Posts: 2
					      |  |  
	| 
				 /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?
 |  
	
		
	
	
	| 
			
			 
			
				03-16-2003, 07:19 AM
			
			
			
		 |  
	| 
		
			
			| Demi-God |  | 
					Join Date: Jan 2002 Location: Tourist town USA 
						Posts: 1,671
					      |  |  
	| 
 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.
 |  
	
		
	
	
 
  |  |  |  |  
	| 
			
			 
			
				03-19-2003, 09:18 AM
			
			
			
		 |  
	| 
		
			
			| Fire Beetle |  | 
					Join Date: Mar 2003 
						Posts: 5
					      |  |  
	| 
 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'
 |  
 
  |  |  |  |  
	
		
	
	
	| 
			
			 
			
				03-21-2003, 12:23 AM
			
			
			
		 |  
	| 
		
			
			| Sarnak |  | 
					Join Date: Mar 2002 Location: Neriak 
						Posts: 61
					      |  |  
	| 
 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.
 |  
	
		
	
	
	| 
			
			 
			
				03-21-2003, 07:00 AM
			
			
			
		 |  
	| 
		
			
			| Fire Beetle |  | 
					Join Date: Mar 2003 
						Posts: 5
					      |  |  
	| 
 Right...thanks..lol |  
	
		
	
	
	| 
			
			 
			
				03-21-2003, 07:01 AM
			
			
			
		 |  
	| 
		
			
			| Fire Beetle |  | 
					Join Date: Mar 2003 
						Posts: 5
					      |  |  
	| 
 Right...thanks...lol |  
	
		
	
	
	
	
	| Thread Tools |  
	|  |  
	| Display Modes |  
	
	| 
		 Linear Mode |  
	| 
	|  Posting Rules |  
	| 
		
		You may not post new threads You may not post replies You may not post attachments You may not edit your posts 
 HTML code is Off 
 |  |  |  All times are GMT -4. The time now is 06:38 PM.
 
 |  |  
    |  |  |  |  
    |  |  |  |  
     |  |  |  |  
 |  |