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 03-18-2002, 10:16 AM
malnutrition
Fire Beetle
 
Join Date: Feb 2002
Posts: 10
Default db.sql and drwade's

Is there a reason noone has posted a db.sql that's already got drawde's info cut and pasted in already for the noob's? Can this be posted in the Files section? I have a copy that I'd be happy to send or host somewhere?
Reply With Quote
  #2  
Old 03-18-2002, 11:49 AM
PaulieWalnutz
Fire Beetle
 
Join Date: Mar 2002
Posts: 3
Default !

the reason is..

is because it's so easy to copy the info from drwades DB to the bd.sql

all you have to do it Open mysql.exe type use eq and then source the text files over.

source faction_list.txt

ect....
Reply With Quote
  #3  
Old 03-18-2002, 12:14 PM
h37lion
Sarnak
 
Join Date: Mar 2002
Posts: 52
Default

That is exactly how I imported the lists, and it worked fine. It was also a lot quicker than option # 1 (which is to cut/paste by hand the info tables in notepad..bah)

maybe for some people, a readme on the subject may help... heh
Reply With Quote
  #4  
Old 03-18-2002, 12:24 PM
TheClaus
Discordant
 
Join Date: Jan 2002
Location: Manteca, CA
Posts: 352
Default

Actually the real reason is that Drawde's DB addon pack has all orginal verant content which is something that the devs of the board do not want. It would give verant something to say if they wanted to fight the emu. Paulie is right though. Just source the db then source the addons.
Reply With Quote
  #5  
Old 03-18-2002, 03:07 PM
Lurker_005
Demi-God
 
Join Date: Jan 2002
Location: Tourist town USA
Posts: 1,671
Default

Perhaps Drwade can include something like this in his next release
Code:
mysql -f < npc_types.txt
mysql -f < merchants.txt
... 
cls
@echo off
echo Clean up imported files? (delete them)
Choice [y,n]
if errorcode goto
I forget all the file names but you get the idea. Name it import.bat and add instructions to copy the files to the mysql\bin dir and run the bat file. I am not sure if it would be better to use the -f option or not...

I'll try an post a working batch file up later.

anyhow my 2cp
Reply With Quote
  #6  
Old 03-18-2002, 04:10 PM
Lurker_005
Demi-God
 
Join Date: Jan 2002
Location: Tourist town USA
Posts: 1,671
Default

Here is a pretty functional install batch file for drwade's data, reasonable easy to edit if anything changes too.

Drwade, feel free to include this in your next release if you want, or anyone for that matter.

Code:
@echo off
IF "%1"=="" goto help
IF "%1"=="/?" goto help
IF "%1"=="-h" goto help
IF "%1"=="--help" goto help
set eqdb=%1


IF "%2"=="" goto defaultdir
set mysqlpath=%2
goto importdb

:defaultdir
set mysqlpath=c:\mysql\bin

:importdb
IF not exist %mysqlpath%\mysql.exe goto help
%mysqlpath%\mysql -f %eqdb% < faction_list.txt
%mysqlpath%\mysql -f %eqdb% < loot.txt
%mysqlpath%\mysql -f %eqdb% < merchantlist.txt
%mysqlpath%\mysql -f %eqdb% < npc_faction.txt
%mysqlpath%\mysql -f %eqdb% < npc_types.txt
%mysqlpath%\mysql -f %eqdb% < spawn2.txt
%mysqlpath%\mysql -f %eqdb% < spawnentry.txt
%mysqlpath%\mysql -f %eqdb% < spawngroup.txt
%mysqlpath%\mysql -f %eqdb% < zone_points.txt
goto exit


:help
cls
echo usage:
echo        import <database name> <mysql path>
echo.
echo  <mysql path> Path to mysql.exe
echo        may be ommited if it is c:\mysql\bin
echo.
echo  Example: import eq25 c:\mysql\bin
echo.
echo  or
echo        import /? for this help

:exit
Reply With Quote
  #7  
Old 03-18-2002, 11:08 PM
Drawde
Dragon
 
Join Date: Jan 2002
Posts: 521
Default

My world data doesn't include any "original Verant content", the NPC data is derived from ShowEQ data but has been extensively modified and added to, the only "Verant content" is the names of the NPCs, and I don't believe any of those are copyrighted.
If someone wants to make a compiled DB with my addons available on their FTP server or similar that's fine by me.
Reply With Quote
  #8  
Old 03-19-2002, 02:34 AM
TheClaus
Discordant
 
Join Date: Jan 2002
Location: Manteca, CA
Posts: 352
Default

Any proper name is orginal content. I think you would be safe with skellies, gnolls, goblins, etc... but any proper name is something they thought up and could be fought if they wanted to. That is my take on it. I could be wrong though.
Reply With Quote
  #9  
Old 03-19-2002, 08:11 AM
mythren
Sarnak
 
Join Date: Mar 2002
Posts: 53
Default Re: db.sql and drwade's

Quote:
Originally Posted by malnutrition
Is there a reason noone has posted a db.sql that's already got drawde's info cut and pasted in already for the noob's? Can this be posted in the Files section? I have a copy that I'd be happy to send or host somewhere?
Mal, could you (or anyone else) send that DB to: mythren@magiclink.com ?

Everyone has said how easy it is just to copy/paste it, but I can't find it in the first place .

Thanks!
__________________
"To see a world in a grain of sand, a heaven in a wild flower. Hold infinity in the palm of your hand and eternity in the hour."
Reply With Quote
  #10  
Old 03-19-2002, 08:33 AM
Ariak
Dragon
 
Join Date: Mar 2002
Posts: 633
Default !!

!!!
OMG WHERE CAN I GET IT?

Please
Reply With Quote
  #11  
Old 03-19-2002, 08:01 PM
h37lion
Sarnak
 
Join Date: Mar 2002
Posts: 52
Default

honestly, it takes no time to do yourself..

take all the .txt files drwade was cool enough to offer.. then put them in your mysql/bin directory

open mysql.exe

for example, if you have a faction_lists.txt file, to import it to the db, you type at the mysql prompt

mysql\ source faction_lists.txt

then it should run through it's thing. Just do this for each list. This is how I did it, and it worked perfectly.
Reply With Quote
  #12  
Old 03-19-2002, 08:02 PM
Shawn319
Demi-God
 
Join Date: Jan 2002
Posts: 2,073
Default

txt files source fine just as .sql's do.
__________________
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
  #13  
Old 12-02-2002, 01:37 PM
irageon
Sarnak
 
Join Date: Nov 2002
Posts: 35
Default

Quote:
Originally Posted by h37lion
honestly, it takes no time to do yourself..

take all the .txt files drwade was cool enough to offer.. then put them in your mysql/bin directory

open mysql.exe

for example, if you have a faction_lists.txt file, to import it to the db, you type at the mysql prompt

mysql\ source faction_lists.txt

then it should run through it's thing. Just do this for each list. This is how I did it, and it worked perfectly.
not work for me :-(( ...... my history :
When I first time install EQemu , I install DB addon and world data fine....

but now after 3 days when I completely reinstall Eqemu + mysql..
I can't install DB addon to sql :((
I use install.bat or manually update but result is same..
books.sql - imported fine
doors.sql - fine
items.sql - fine
spawns.sql - problems :( I get MANY errors
like error.. syntax..] blabla..line xy ...
and I have 0 spawns/ncp type/entry in my db and only few starting items.. for class shopkeeper..

Where is problem ? I using commands from install.bat
(mysql.exe use eq; source nameoffile.sql; )
or I must type now
-f eq < nameoffile.sql ??
__________________
Irageon, n00b|3 to EQ and butcherer of the english language!
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 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