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
  #31  
Old 03-24-2003, 12:23 PM
darksun
Fire Beetle
 
Join Date: Dec 2002
Posts: 5
Default

Just finished loading it up, and what can I say....

Excellent work Drawde!!

Just wanted to let you know all your hard work is appreciated
Reply With Quote
  #32  
Old 03-24-2003, 09:27 PM
Paglioni
Fire Beetle
 
Join Date: Mar 2003
Posts: 11
Default Drawde addon

Quote:
Originally Posted by Trumpcard
I don't understand what can be wrong with his db.sql, it just sounds to me like you didnt know what to do with it. The db.sql does not go over the top of an existing database. If you didnt create a new database, and tried to lay in the new db.sql over the old one, no wonder you got a ton of errors. Thats a user error, not a problem in anything Drawde did. If you had dropped your original database, created a new one, source in the new db.sql, then applied the addon, you would have gotten nothing more than a couple of bugs in a couple of sql files (mostly dupe errors), which will be ignore with a mysql -f insert.
Just my 2 cents.
I know perfectly what to do with db.sql.. i created the db, i did a "mysql eq <db.sql" and i got errors (in tradeskillrecipes)

i fixed them, dropped created and imported again db.sql, and was ok.

But sourgin reloaddb.sql, i got MANY errors, most of them where duplicate keys (in many tables) that i double checked looking into the .txt files (many). And some others errors where of wrong column count in some insert statements (when i got an error of this type, i formatted the insert that was givin the error, and the insert before that like in a excell sheet... and i saw that the row giving error had some more or less columns than the one before).

I don't know if you guys are getting duplicate keys from the .txt files, but THEY ARE THERE...
do you want an example?

so...
from the db.sql in the 44dr1.zip


<quote>
CREATE TABLE tradeskillrecipe (
id int(11) NOT NULL auto_increment,
tradeskill smallint(6) NOT NULL default '0',
skillneeded smallint(6) NOT NULL default '0',
trivial smallint(6) NOT NULL default '0',
product smallint(6) NOT NULL default '0',
product2 smallint(6) NOT NULL default '0',
failproduct smallint(6) NOT NULL default '0',
productcount smallint(6) NOT NULL default '0',
i1 smallint(6) NOT NULL default '0',
i2 smallint(6) NOT NULL default '0',
i3 smallint(6) NOT NULL default '0',
i4 smallint(6) NOT NULL default '0',
i5 smallint(6) NOT NULL default '0',
i6 smallint(6) NOT NULL default '0',
i7 smallint(6) NOT NULL default '0',
i8 smallint(6) NOT NULL default '0',
i9 smallint(6) NOT NULL default '0',
i10 smallint(6) NOT NULL default '0',
notes text,
PRIMARY KEY (id),
UNIQUE KEY id (id),
UNIQUE KEY name (product)
) TYPE=MyISAM;

--
-- Dumping data for table 'tradeskillrecipe'
--


INSERT INTO tradeskillrecipe VALUES (1,68,14,16600,16500,10015,0,0,0,0,0,0,0,0);
INSERT INTO tradeskillrecipe VALUES (2,68,14,14600,16504,10015,0,0,0,0,0,0,0,0);
INSERT INTO tradeskillrecipe VALUES (3,68,30,14628,16504,10020,0,0,0,0,0,0,0,0);
INSERT INTO tradeskillrecipe VALUES (4,68,30,16656,16500,10020,0,0,0,0,0,0,0,0);
</quote>

do the insert have the same number of columns than the create table?

in the loot.txt, one example:
<quote>
INSERT INTO lootdrop VALUES (427,'InvisibleMan');
INSERT INTO lootdrop VALUES (427,'InvisibleManCaster');
</quote>

that is a duplicate entry... there are many...

same, for example, in merchantlist.txt
<quote>
INSERT INTO merchantlist VALUES (5750,12,11611); # warhammer of divine grace
INSERT INTO merchantlist VALUES (5750,13,3737); # breastplate of the holy rite
</quote>

then, a mismatch from db.sql and starting_items.txt

db.sql
<quote>
CREATE TABLE starting_items (
id int(11) unsigned NOT NULL auto_increment,
race int(11) NOT NULL default '0',
class int(11) NOT NULL default '0',
itemid int(11) NOT NULL default '0',
gm tinyint(1) NOT NULL default '0',
PRIMARY KEY (id,race)
) TYPE=MyISAM;
</quote>
and starting_items.txt
<quote>
INSERT IGNORE INTO starting_items (race, class, deityid, zoneid, itemid, item_charges) VALUES
</quote>

so, i'm not stating that drawde is doing a bad work... never want to say that..
i'm only saying that many of those errors where present a long time ago, and are still here.

if drawde try to source those files himself, he can find and fix those problems (duplicate keys and wrong column count) in less than a hour, so nobody (including himself) will have to think about that anymore.

If drawde want, i can make those fix myseld and pass the fixes to him... the only problem is that i can change keys, or add columns, but i'll be never sure if my fixes are correct (wrong values added?)

Sorry for my long posting and for my bad english.
And thanks to drawde for his work (even if i yet have to see his work running on my machine).
Reply With Quote
  #33  
Old 03-25-2003, 03:50 AM
tcsmyworld's Avatar
tcsmyworld
Discordant
 
Join Date: Feb 2002
Posts: 452
Default Dump of Drawde's DB - complete, just source and go.

I loaded up Drawde's DB ( excellent work IMHO ), then dumped it to a single sql file that I then zipped to attatch here.
Should be very simple, unzip into mysql bin folder, then...
create a fresh DB and source, includes everything , shouldn't be any errors.
Use with EqEmu 4.4DR1 for best results.

updated DB with missing items and NPC magery turned on and the EXE's I'm using with it here-
http://forums.eqemu.net/viewtopic.php?t=6717
Reply With Quote
  #34  
Old 03-25-2003, 04:29 AM
brainleacher
Fire Beetle
 
Join Date: Mar 2003
Posts: 17
Default

Great work Dawde, I love your db. It's very complete and fun to play in. Please ignore the whiners, I agree with Trump, the users should do a little leg work, it doesn't hurt. Hey who knows, if all the users learned sql a little more, maybe they can use their skills to get a job later.. hmm? Plus, they should read all the threads fully before posting.
Reply With Quote
  #35  
Old 03-25-2003, 04:36 AM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

My only problem with the response is that it came across as 'why dont you check your work and make sure ALL errors are corrected before you post something'

Drawde specifically mentioned, as I did that there were a couple of bugs, but other than that it worked great....

The problem seems to be that the wrong db.sql is being used.
Its really not his job to go and put everything together for you and make a full release, if you want to use his BETA database, then you should go to CVS on sourceforge and download the latest db.sql file, rather than complaining about the one he provided. CVS is freely available to everyone, so use it. Otherwise, we'll just cut CVS updates off completely, and not make anything available until a stable version is released so we dont have people whining about not being able to attatch an updated part A to an updated part B because they expect everything to be done for them. When I set up the Sourceforge CVS updates, thats exactly what I was afraid of in the 1st place.

As Drawde notes in his version, it's beta, and no offense, but he's been releasing them for well over a year now, and has always done a smash up job, so the 'why dont you test it' tone kind of got under my skin'

He did offer to help fix the errors in a later post, which I think would have been more apprioate in the first post. Messages of this sort are appreciated..

'Hey, noticed a bug, you need to modify X to Y and that will correct it, in fact, I modified it and pasted it here !'

as opposed to

'Hey, noticed a bug.. We dont you fix these things before you release them?'

Like I said, I'm sure that's not what was meant, but the tone of the message came across as rude.
__________________
Quitters never win, and winners never quit, but those who never win and never quit are idiots.
Reply With Quote
  #36  
Old 03-25-2003, 04:48 AM
Paglioni
Fire Beetle
 
Join Date: Mar 2003
Posts: 11
Default

Quote:
Originally Posted by Trumpcard
Like I said, I'm sure that's not what was meant, but the tone of the message came across as rude.
It wasn't my intention... my problem is that i don't know english enough to explain what i think, in the way i think it.

I was only stating that if he, or me, or someone else, is going to fix those duplicate keys one time, we will not get those errors in the future. At the moment, every person that want to use the db has to fix it himself.

And there are some ppl that have no sql know how.
Reply With Quote
  #37  
Old 03-25-2003, 04:55 AM
brainleacher
Fire Beetle
 
Join Date: Mar 2003
Posts: 17
Default

Drawde said that some of the duplicate entries are there on purpose cuz he's waiting for the engine support that allows the same item to be created via different trade recipes. He also said that for the final release, he will make the db as complete and error free as possible. I also personally don't see how the duplicate entries really effect any of the end users. So take it easy, go load up the db, fire up the emu and enjoy the game, and wait for Drawde's final release..... I know I'm looking forwards to it. Peace...
Reply With Quote
  #38  
Old 03-25-2003, 05:14 AM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

Quote:
It wasn't my intention... my problem is that i don't know english enough to explain what i think, in the way i think it.
Its not a problem, don't worry about it a bit. We're just a big, happy global community around here Except for the french...
We hate the french... Paglioni sounds Italian to me...
__________________
Quitters never win, and winners never quit, but those who never win and never quit are idiots.
Reply With Quote
  #39  
Old 03-25-2003, 06:16 AM
thedavee's Avatar
thedavee
Fire Beetle
 
Join Date: Mar 2003
Location: Here
Posts: 12
Default Thanks

Thanks a lot drawde and all db builder :p nice work!
Reply With Quote
  #40  
Old 03-25-2003, 11:13 AM
Paglioni
Fire Beetle
 
Join Date: Mar 2003
Posts: 11
Default

Quote:
Originally Posted by Trumpcard
Quote:
It wasn't my intention... my problem is that i don't know english enough to explain what i think, in the way i think it.
Its not a problem, don't worry about it a bit. We're just a big, happy global community around here Except for the french...
We hate the french... Paglioni sounds Italian to me...
That's true.. i'm italian... and we too hate the french.. or at least I hate them... they tend to think the are better than anyone else...
Reply With Quote
  #41  
Old 03-25-2003, 11:35 AM
Lurker_005
Demi-God
 
Join Date: Jan 2002
Location: Tourist town USA
Posts: 1,671
Default

Congrats Drawde on getting your DB updated and released.

To people having having trouble loading the DB, go back and re-read Drawde's instructions and follow them. Also take a little time and read the mySQL documentation. Look up the error and fix it. Then send Drawde a polite message with the problem, file and line it is on, nad it's solution. He can then fix it for everyone for the next release. And don't bother him with the dupe tradeskill lines that are intentional.

For those complaining, go spend a year making your own DB and show us just how easy it is. :twisted:
__________________
Please read the forum rules and look at reacent messages before posting.
Reply With Quote
  #42  
Old 03-25-2003, 10:41 PM
Drawde
Dragon
 
Join Date: Jan 2002
Posts: 521
Default

Thanks for mentioning those bugs anyway, I've fixed some of them now.
However this DB addon is a beta and so isn't 100% complete or error free, plus it's very easy for errors to creep in in hand-typed data like the merchant lists and loot (the NPC and faction data is auto-generated, but even that can have errors when there are typos in the source file.
Reply With Quote
  #43  
Old 03-25-2003, 11:04 PM
Paglioni
Fire Beetle
 
Join Date: Mar 2003
Posts: 11
Default

Quote:
Originally Posted by Drawde
Thanks for mentioning those bugs anyway, I've fixed some of them now.
However this DB addon is a beta and so isn't 100% complete or error free, plus it's very easy for errors to creep in in hand-typed data like the merchant lists and loot (the NPC and faction data is auto-generated, but even that can have errors when there are typos in the source file.
so, if you want i can help you... i'll find those errors and i'll report to you... then you can fix them in the way you want ( i noticed that some dupe key are really mistyped numbers, and in this case i'll send you the file already patched).

The only thing i need is your updated db, because we don't have a CVS for it, and i don't wont to fix errors you already fixed, or lose your recent changes

you can send it in my email (info@darkangel.net) or via icq 104459
i'll test it as quick as possible.
Reply With Quote
  #44  
Old 03-26-2003, 03:12 AM
DEXTER78
Fire Beetle
 
Join Date: Sep 2002
Posts: 9
Default

Hi, i run a server (Dexter's EQ Server) and i use other people's DB's and edit them a small amount. the small edits i do are very complicated.. i couldent imagine starting one from scratch. I consider Drawde and Telmet as gods for doing this. I am currently using Telmet's DB, which i have edited to make mobs attack, and cast, also added in some loot to some named mods(doomshade, rumblecrush, ect.) i have tested Drawde's DB and it is great! only reason im still using telmets as it has most the mobs in ALL zones. But i cant wait till drawde's is done, im looking forward to quests and easyer tradeskills and other things he has implanted. KEEP UP THE GOOD WORK GUYS!!
Reply With Quote
  #45  
Old 03-26-2003, 12:42 PM
Smarto's Avatar
Smarto
Fire Beetle
 
Join Date: Feb 2003
Posts: 17
Default I love you Drawde

Your the best

Thanks for your hard work!
Reply With Quote
Reply

Thread Tools
Display Modes

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 06:00 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