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.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #8  
Old 04-20-2002, 03:29 PM
Lurker_005
Demi-God
 
Join Date: Jan 2002
Location: Tourist town USA
Posts: 1,671
Default

Also here is a little SQL query to take a DB ans output the data for recreating it with Drawde's EQNPC program. (I uses it to get Ariak's spawn data back into EQNPC format) Thus no hand editing of the spawn numbers

Drawde any posibility of expanding the data EQNPC takes as input? Faction value, heading, and the other stuff it generates random right now? Or a source code release?


Usage:

mysql {database name} <recoverspawns.sql > {outputfile}

Open the file and edit the WHERE condition to output just the data you want.

It is output as a tab delimited file, you have to replace tabs with a space, and it is missing the field for "number of spawns" that is before the X Y Z values. I just openit in excel and add a column and fill the column with 1's, save it as a comma delimited file, edit it to replace commas with spaces.

Guess I should just figure out how to get mysql to output the file corectly for direct input into EQNPC :p
Reply With Quote
 


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 08:46 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