View Single Post
  #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