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.

Reply
 
Thread Tools Display Modes
  #1  
Old 12-05-2003, 12:01 PM
Armanthuz
Sarnak
 
Join Date: Apr 2003
Posts: 72
Default EqWorldConverter1.0 (converts myseq data to mysql source)

Well i got bored.....


What this script does is take a text dump from myseq and convert it into mysql sourceable file.

Hats off to myseq@yahoo.com for helping me get a bug fixed in myseq and adding the heading feature to text dump on very short notice... THANKS!



What you need are...

MySeq which can be downloaded from...

http://www.dvolve.net/EQ/MySEQ/


And you can read about it here...

http://seq.sourceforge.net/forums/fo...?s=&forumid=60

ATTENTION!!- Almost every time liveeq patches you will have to change a few settings in myseq for it too work properly.


Youll also need to get and install perl from here....

http://www.perl.com/pub/a/language/info/software.html



Then you need the script from here...

http://www.geocities.com/rlh989/downloads.htm


Install perl, unzip myseq into its own folder, then install eqworldconverter into its own folder also...


Then you start the server module of myseq, log into eqlive, then start client portion of myseq.... Click GO button, and pick save mobs and it will dump a text file to client dir named by the date/time..

(for best results turn off all options but NPCs that myseq scans for)


Now you have a snapshot of all the mobs ina zone, with info.... Copy this text file to you eqworldconverter directory and name it whatever you want.

Open a command prompt and navigate to directory you have eqworldconverter in, and type 'perl eqworldconverter.prl;'

This will start the script it will then ask you for name of file you are converting..... (the text file from myseq) and then it will ask you for the starting number of db.... This means it is asking you for a row number in npc_types AFTER your existing data. Once it has that data it adds 20000 to number for purposes of filling in spawn tables and such.

The output is a *.sql file that you should be able to source directly into you existing database provided you set it up right from above.


This is still in beta phase, you can COUNT on having to run through the *.sql file after words and picking out a few errors here and there because i cant anticipate everything.

I took educated guesses on formulas for setting mobs hp, min dmg max dmg and so on, this WILL change over time most likely...

All i ask is that you SHARE the material you make successfully with this so everyone has a populated server to play on!


*edit*

What this file will convert directly from myseq data...

Name
Class
Race
Level
XYZ coords
Heading of MOB

I take guessimation shots at..

HP
min/max dmg
gender
spellcasting abilities


What i cant get or guess at yet( and this may be possible in near future)..

Size of MOB
Texture
Helm texture
Faction
hp and mana regen


Also some race models are either missing (very few) or everquest has changed the name of them since they have been listed here. If you find a mob that wont go through please find its name/zone/ and rough position and ill work it out...








*disclaimer - yes i am new to perl and it will show in the code, consider this a starting point from which we can build on.*
Reply With Quote
  #2  
Old 12-05-2003, 05:18 PM
arkaria's Avatar
arkaria
Discordant
 
Join Date: Oct 2003
Location: Victoria, BC
Posts: 253
Default

Props to ya if this works
__________________
Search
USE IT
Reply With Quote
  #3  
Old 12-05-2003, 11:11 PM
Armanthuz
Sarnak
 
Join Date: Apr 2003
Posts: 72
Default

Proof of concept anyhow... Took me about 30 mins from start to finish to take snapshot, convert it, pick out literally 3-4 lines, and sourced it into my server and ran through it....


http://www.strike9.com/comments.aspx...neofstorms.sql


This was on 5.2dr1 server, but i also tested it on 5.1 servers too, seems fine...
Reply With Quote
  #4  
Old 12-06-2003, 02:35 AM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

Thats just pretty darn cool !
__________________
Quitters never win, and winners never quit, but those who never win and never quit are idiots.
Reply With Quote
  #5  
Old 12-08-2003, 05:33 AM
Conan
Hill Giant
 
Join Date: Oct 2003
Posts: 145
Default

I have tested this and it seems to work. Few bugs need to be worked out though

ERROR 1064: You have an error in your SQL syntax near 'Guard,1,0,5440,2,0,0,0,2,
0,0,0,0,0,93,185,'',0,65,0,0,0,0,0,0,0,0,0,250,250 ,25,2' at line 2
ERROR 1054: Unknown column '126i' in 'field list'
ERROR 1064: You have an error in your SQL syntax near 'Guard,1,0,5440,2,0,0,0,2,
0,0,0,0,0,93,185,'',0,65,0,0,0,0,0,0,0,0,0,250,250 ,25,2' at line 2
ERROR 1064: You have an error in your SQL syntax near 'Guard,1,0,5200,2,0,0,0,2,
0,0,0,0,0,89,177,'',0,65,0,0,0,0,0,0,0,0,0,250,250 ,25,2' at line 2
ERROR 1064: You have an error in your SQL syntax near 'Guard,1,0,5200,2,0,0,0,2,
0,0,0,0,0,89,177,'',0,65,0,0,0,0,0,0,0,0,0,250,250 ,25,2' at line 2
ERROR 1064: You have an error in your SQL syntax near 'Guard,1,0,5200,2,0,0,0,2,
0,0,0,0,0,89,177,'',0,65,0,0,0,0,0,0,0,0,0,250,250 ,25,2' at line 2
ERROR 1054: Unknown column '126i' in 'field list'
ERROR 1064: You have an error in your SQL syntax near 'Guard,1,0,5200,2,0,0,0,2,
0,0,0,0,0,89,177,'',0,65,0,0,0,0,0,0,0,0,0,250,250 ,25,2' at line 2

Seems the Guard is the error in this case =)

INSERT INTO npc_types VALUES
(12366,'a_doomfire_guardian25',68,58 Guard,1,0,5440,2,0,0,0,2,0,0,0,0,0,93,185,'',0,65, 0,0,0,0,0,0,0,0,0,250,250,25,25,25,25,25,0);

Also I got the files yesturday so they are outdated, let me try the new files and see if I get the same error

Can be found in Plane of fire
Reply With Quote
  #6  
Old 12-08-2003, 06:10 AM
Armanthuz
Sarnak
 
Join Date: Apr 2003
Posts: 72
Default

redownload the latest script, i added some text that in effect replaces any corpse or player with the term "BOGUS ENTRY" which when you attempt to source it, will be refused by msql. This effectively strips out corpses and players that were taken in snapshot...


a new version of MYSEQ came out this weekend, i am in middle of testing, but at first glance it appears that everything is fine atm if you use the NEW SCRIPT.


Changes to the script and download links were done monday morning by me, so if you got stuff before that redownload BOTH myseq 1.15.13 client and script please
Reply With Quote
  #7  
Old 12-08-2003, 06:13 AM
Shredomatic
Fire Beetle
 
Join Date: Jan 2003
Posts: 8
Default

If this works well I'd be tempted to renew live for a month to collect data.
Reply With Quote
  #8  
Old 12-08-2003, 06:14 AM
Armanthuz
Sarnak
 
Join Date: Apr 2003
Posts: 72
Default

The one problem that will crop up with script is that even thou i used an extensive model conversion chart, i still am missing some race numbers for certain models. If you notice problems, try to note what MOB it was and where it can be found and ill try to add it too script.


I hope to have some more realistic HP formulas worked out by this upcoming weekend, and more minor tweaks....


Any feedback or suggestions for features is fine...
Reply With Quote
  #9  
Old 12-08-2003, 06:16 AM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

Love it... Very cool utility...

You should organize data gatherers to and release a series of zone upgrade .sql files once you get it tweaked to your hearts content...
__________________
Quitters never win, and winners never quit, but those who never win and never quit are idiots.
Reply With Quote
  #10  
Old 12-08-2003, 06:19 AM
Conan
Hill Giant
 
Join Date: Oct 2003
Posts: 145
Default

I plan on doing that trump as soon as the bugs are worked out =)

Also in the lastes zip for worldconverter there are 2 pl files do we still use the same one listed above?
Reply With Quote
  #11  
Old 12-08-2003, 10:50 AM
Armanthuz
Sarnak
 
Join Date: Apr 2003
Posts: 72
Default

Zip file fixed, only one in there now, my bad...

Plane of Fire bug fixed for solusek ro guardian...

Fixed several more text conversion bugs..

When its a monster gender is set to neutral, when its a playable race its set to male for now ( dont get this info in snapshot yet)

New Zip uploaded 7:40 pm CST
Reply With Quote
  #12  
Old 12-08-2003, 05:36 PM
fanoen
Fire Beetle
 
Join Date: Apr 2003
Posts: 21
Default re

U say go to directory and type in perl eqworldconvert.prl;
Well it says perl isnt reconized as a command...
Reply With Quote
  #13  
Old 12-08-2003, 11:11 PM
Armanthuz
Sarnak
 
Join Date: Apr 2003
Posts: 72
Default

Did you install perl, and is perl package in your path?
Reply With Quote
  #14  
Old 12-09-2003, 01:22 AM
Conan
Hill Giant
 
Join Date: Oct 2003
Posts: 145
Default

That is because in his new zip the name is different =) Well that is what I noticed anyways.

Try using pearlconverter.prl
Reply With Quote
  #15  
Old 12-09-2003, 01:33 AM
Armanthuz
Sarnak
 
Join Date: Apr 2003
Posts: 72
Default

:P

I double checked this morning, script is named Eqworldconverter.prl.. there was a typo in directions, i corrected that....


Trying to do bug fixes and corrections in between work and school
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 03:36 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