|  |  | 
 
  |  |  |  |  
  |  |  |  |  
  |  |  |  |  
  |  |  |  |  
  |  | 
	
		
   
   
      | Archive::Windows Servers Archive area for Windows Servers's posts that were moved here after an inactivity period of 90 days. |  
	
	
		
	
	
	| 
			
			 
			
				01-24-2002, 11:52 AM
			
			
			
		 |  
	| 
		
			
			| Sarnak |  | 
					Join Date: Jan 2002 
						Posts: 87
					      |  |  
	| 
				 Importing drawde's data to the db 
 I recently downloaded drawde's spawn data and manually copy'd and pasted them into my db.  When i finish that i type use eq, source db.sql and it does the normal stuff but then its updating all the items, spawn, etc making a annoying sound and taking forever.  Anyone have this problem?  Anyway to fix it because its making my parents go crazy but, i need to import the data into the database. |  
	
		
	
	
	| 
			
			 
			
				01-24-2002, 12:22 PM
			
			
			
		 |  
	| 
		
			
			| Demi-God |  | 
					Join Date: Jan 2002 
						Posts: 2,073
					      |  |  
	| 
 dont copy it into one file. the most recent zip has several txt files such as spawn.txt 
put all those files in the mysql/bin dir and run mysql.exe.
 
then type use eq
 
then type source spawn.txt or whatever it is for all the txt files. that worked for me  
				__________________Shawn319
 Semi-Retired EQ Addict
 
 (Retired)EQEmu Lead Tester
 (Retired)EQEmu Tech Support
 
 (Retired)Host/ServerOP - [LIVE] Official EQEmu Test Server
 (Retired)Host/ServerOP - Shawn319's All-GM Dev Test Server
 (Retired)ServerOP - EQEmu Beta Server
 (Retired)ServerOP - GuildWars Server
 (Retired)ServerOP - Raid Addicts
 --------------------------
 |  
	
		
	
	
	| 
			
			 
			
				01-24-2002, 01:28 PM
			
			
			
		 |  
	| 
		
			
			| Discordant |  | 
					Join Date: Jan 2002 
						Posts: 289
					      |  |  
	| 
 or mysql -f eqdbname <blah.sql to shut up the errors i think 
				__________________gm-Zeitgeist
 I WAS Diligently Working at the Next Board Title :p
 webmaster godmonkey.com, dreamusher.com
 |  
	
		
	
	
	| 
			
			 
			
				01-24-2002, 01:40 PM
			
			
			
		 |  
	| 
		
			
			| Demi-God |  | 
					Join Date: Jan 2002 Location: Charlotte, NC 
						Posts: 2,614
					      |  |  
	| 
 Heres the easy way.. The problem is that only the loot txt file contains the tables def's first.  Heres how I do it, very simple..
 Attatching a zip file with the 4 table defs i source in.
 
 
 
 use eq;
 drop table npc_types;
 drop table lootdrop;
 drop table lootdrop_entries;
 drop table loottable;
 drop table loottable_entries;
 drop table spawn2;
 drop table  spawngroup;
 drop table spawnentry;
 source createspawn2.txt;
 source createspawngroup.txt;
 source createspawnentry.txt;
 source createnpc_types.txt;
 source loot.txt;
 source npcs.txt;
 source spawn2.txt;
 source spawnentry.txt;
 source spawngroup.txt;
 
 If you paste this into word pad, put the resulting file in the same directory as drawde's txt files, and the 4 im putting out,  you should just be able just C:\mysql\bin\mysql eq < filename.sql
 and do it in one fell swoop..
 |  
	
		
	
	
	| 
			
			 
			
				01-24-2002, 01:42 PM
			
			
			
		 |  
	| 
		
			
			| Sarnak |  | 
					Join Date: Jan 2002 
						Posts: 87
					      |  |  
	| 
 Thanks guys for all your help i just got it working.   |  
	
		
	
	
	| 
			
			 
			
				01-27-2002, 11:13 AM
			
			
			
		 |  
	| 
		
			
			| Fire Beetle |  | 
					Join Date: Jan 2002 
						Posts: 5
					      |  |  
	| 
				 help please :) 
 for some reason the npc types isnt working. i cant find it anywhere in the db.sql and im not sure what to do. it gives errors if i try to use it that no table was created. then says eq.npc.types doesn't exsist.
 anyone know what to do ? thanks
 
 =)
 |  
	
		
	
	
	| 
			
			 
			
				01-27-2002, 01:10 PM
			
			
			
		 |  
	| 
		
			
			| Demi-God |  | 
					Join Date: Jan 2002 Location: Charlotte, NC 
						Posts: 2,614
					      |  |  
	| 
 download the file i att. above, open it, drop it in the same directory as drawde's txt files.. thentype
 
 c:\mysql\bin\mysql eq < createnpc_types.txt
 
 that will create the npc_types table..
 
 then c:\mysql\bin\mysql eq < npctypes.txt
 to import in drawde's NPC table.
 |  
	
		
	
	
	| 
			
			 
			
				01-28-2002, 08:18 AM
			
			
			
		 |  
	| 
		
			
			| Dragon |  | 
					Join Date: Jan 2002 
						Posts: 521
					      |  |  
	| 
 It's npcs.txt not npc_types.txt, that's why that file isn't working.However npc_types.txt is a better name I think (more obvious where to put it in the DB), so I'll change the output name in the parser
 |  
	
		
	
	
 
  |  |  |  |  
	| 
			
			 
			
				02-04-2002, 10:35 PM
			
			
			
		 |  
	| 
		
			
			| Fire Beetle |  | 
					Join Date: Feb 2002 
						Posts: 10
					      |  |  
	| 
				  
 I followed the instructions in the thread and got the DB updated, but now whenever I go to a zone that has spawns, I crash. 
In the zoneserver window it says : 
	Quote: 
	
		| Using database 'eq' at localhost Loading items & NPCs...done.
 Spells loaded from 'spdat.eff'.
 Loading guild ranks...done.
 Connected to worldserver: 127.0.0.1:9000
 Entering sleep mode
 Map: Maps\freportw.map not found.
 -----------
 Zone server 'freportw' listening on port:9004
 -----------
 Message:Zone bootup: West Freeport
 New client from ip: 127.0.0.1 port:1445
 Login packet 1
 New random SACK.dwARQ
 Login packet 2
 Zone Weather for: freportw 0
 Login packet 3
 Login packet 4
 Resending packets
 Login packet 5
 Unkown opcode: 0xff21 size:60
 Got a player save request (OP_Save)
 Unkown opcode: 0x4721 size:92
 Unkown opcode: 0x4721 size:92
 Unkown opcode: 0x4721 size:92
 Unkown opcode: 0x4721 size:92
 Unkown opcode: 0x1f20 size:4
 Channel:8 #castspell 1776
 Channel:8 #zone ecommons
 Zone request for:Taludan to:ecommons
 Player at x:127 y:83 z:-23.6
 Zoning to safe coords: ecommons, x=-794, y=1570, z=5
 Zone target:ecommons x:-794 y:1570 z:5
 Got a player profile
 Player attempting to delete spawn...
 Client disconnected (!pm.CA): Taludan
 Client disconnected (cs=d): Taludan
 Dropping client: Process=false, ip=127.0.0.1, port=1445
 Automatic shutdown
 Message:----SERVER SHUTDOWN----
 Zone shutdown: going to sleep
 |  What can I do to fix this?
			
			
			
			
				  |  
 
  |  |  |  |  
	
		
	
	
	| 
			
			 
			
				02-15-2002, 10:59 AM
			
			
			
		 |  
	| 
		
			
			| Fire Beetle |  | 
					Join Date: Feb 2002 
						Posts: 1
					      |  |  
	| 
 I think I may have discovered a little hiccup in Trumpcard's scripts.  It seems that the npc_types table created has 13 fields, whereas the data supplied in the npc_types.txt file has 14 values for each entry.  Is there perhaps a missing field in there somewhere? 
				__________________Nobody expects a Spanish Inquisition!
 Our chief weapon is surprise!
 That's all...just surprise.
 |  
	
		
	
	
	| 
			
			 
			
				02-15-2002, 11:46 AM
			
			
			
		 |  
	| 
		
			
			| Demi-God |  | 
					Join Date: Jan 2002 Location: Charlotte, NC 
						Posts: 2,614
					      |  |  
	| 
 The new version of drawde's data has the extra field.
 The new field was added in ver 0.2.3
 |  
	
		
	
	
	
	
	| 
	|  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 11:20 AM.
 
 |  |  
    |  |  |  |  
    |  |  |  |  
     |  |  |  |  
 |  |