Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Support > Archive::Windows Servers

Archive::Windows Servers Archive area for Windows Servers's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 01-24-2002, 11:52 AM
Nada
Sarnak
 
Join Date: Jan 2002
Posts: 87
Default 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.
Reply With Quote
  #2  
Old 01-24-2002, 12:22 PM
Shawn319
Demi-God
 
Join Date: Jan 2002
Posts: 2,073
Default

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
--------------------------
Reply With Quote
  #3  
Old 01-24-2002, 01:28 PM
Zeitgeist
Discordant
 
Join Date: Jan 2002
Posts: 289
Default

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
Reply With Quote
  #4  
Old 01-24-2002, 01:40 PM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

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..
Reply With Quote
  #5  
Old 01-24-2002, 01:42 PM
Nada
Sarnak
 
Join Date: Jan 2002
Posts: 87
Default

Thanks guys for all your help i just got it working.
Reply With Quote
  #6  
Old 01-27-2002, 11:13 AM
humphrey
Fire Beetle
 
Join Date: Jan 2002
Posts: 5
Default 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

=)
Reply With Quote
  #7  
Old 01-27-2002, 01:10 PM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

download the file i att. above, open it, drop it in the same directory as drawde's txt files.. then
type

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.
Reply With Quote
  #8  
Old 01-28-2002, 08:18 AM
Drawde
Dragon
 
Join Date: Jan 2002
Posts: 521
Default

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
Reply With Quote
  #9  
Old 02-04-2002, 10:35 PM
Timeout
Fire Beetle
 
Join Date: Feb 2002
Posts: 10
Default

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?
Reply With Quote
  #10  
Old 02-15-2002, 10:59 AM
Bean
Fire Beetle
 
Join Date: Feb 2002
Posts: 1
Default

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.
Reply With Quote
  #11  
Old 02-15-2002, 11:46 AM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

The new version of drawde's data has the extra field.

The new field was added in ver 0.2.3
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 02:59 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3