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-17-2003, 02:07 AM
Guest
 
Posts: n/a
Default 5.2 databases

I've tried almost every db out there that say they work with 5.2
and yet all of these posted DB's none of them work by sourceing them freash into a new eq DB.

I can get 5.2 dev DB to work fine but withanything sourced in or sourced by itself nothing works and yes I droped the DB and resourced about 50 times.

anyone else havething this problem or is it just a MYSQL problem ??
Reply With Quote
  #2  
Old 12-17-2003, 02:19 AM
Muuss
Dragon
 
Join Date: May 2003
Posts: 539
Default

Post a more detailed description of your trouble, like what's happening when you start world.exe or when you try to connect.
btw, have you added a user to log with ?
__________________
Muuss - [PEQGC] Dobl, the ogre that counts for 2 !
http://www.vilvert.fr/page.php?id=10
Reply With Quote
  #3  
Old 12-17-2003, 02:36 AM
Guest
 
Posts: n/a
Default yes the char select screen loads fine.

Yes im able to create a char and everything loads fine.
the problem is when trying to enter a zone.
world.exe reports :
Received unknown opcode: 0x02d2 size:0 bytes
now it was explained to me that this has nothing to do with the DB
but is probbly client releated.
it makes no sense tho because
Im able to log in to any other server in the list fine also
im able to log into my own server useing the
dev DB prebuilt with 5.2.
the problem seems to be that
when I install any other DB built for 5.2 zone exe don't like it
I have installed 5.0 and 5.1 fine and they run perfectly.
minus the dev bugs.
im pretty much baffeled as to why this is happeneing.
Reply With Quote
  #4  
Old 12-17-2003, 02:46 AM
Conan
Hill Giant
 
Join Date: Oct 2003
Posts: 145
Default

Just any fyi most the current db release's have been full database's and do not need the db.sql and update0.5.2.sql.

Just trying to help.
Reply With Quote
  #5  
Old 12-17-2003, 02:52 AM
Guest
 
Posts: n/a
Default you are right

Yes I tried the both ways just for kicks.

I can't get any of them to work it's wierd.
I do know I can get db.sql to work fine so im not sure why im having such a hard time with all these other db's.

I deleted everything and started fresh and nither way works.
Reply With Quote
  #6  
Old 12-17-2003, 02:55 AM
mattmeck
Guest
 
Posts: n/a
Default

Quote:
Received unknown opcode: 0x02d2 size:0 bytes
I rember from 4.x That that was just a debug message and no real error occured. It didnt not crash anything or do anything at all other then spamm World with that everytime someone logged in or zones. I think its still that way with 5.x
Reply With Quote
  #7  
Old 12-17-2003, 03:04 AM
Kroeg's Avatar
Kroeg
Hill Giant
 
Join Date: Oct 2003
Posts: 241
Default

I've been seeing that unknown opcode for days. It hasn't caused anything to noticably work incorrectly (from what I've seen).

Sdabbs: DBs are a little frustrating if you don't know what you're getting into... they hold tons of data and one wrong move can cause the entire db to not work. I'll always suggest TCS & Team's MWnpcmovDBs, as the members of the team that put this db together interact with higher members of the eqemu team and make fixes according to code changes. Although there are other fine DBs out there to check out, I suggest MW_051_052_alpha3.2 (if using 5.2) or MW_052_053_alpha1 (if using any build above 5.2 official).

Where can these be found? Well you can check the forums, or log into IRC and join #npcmovdb (on eqemulator.net IRC). We always list the latest DB for release in there.

All of the MWnpcmovDBs are standalone complete DBs; IE, never include other DB files into it (eg, the 5.2 update, etc). Each DB has all the updated values it needs (we did the work of getting it together so you don't have to). Source the DB in a clean mysql database container (ie, 'eq' or 'eq52') and then just run it. No further configuration should be required (besides eqemu configuration... make sure all of your .INI files are correct).

The DB works, you just need to be real careful and follow all of the setup guides that have been made available.
Reply With Quote
  #8  
Old 12-17-2003, 03:45 AM
Guest
 
Posts: n/a
Default well thanks

I thinks it's a MYSQL problem but im unable to isolate it.
next step is to uninstall MYSQL completely and rebuild from scratch.
I have already sourced all those with a clean DB and none of them work but like I said DB.SQL works fine.
Reply With Quote
  #9  
Old 12-17-2003, 04:28 AM
theobeo92
Fire Beetle
 
Join Date: Mar 2003
Posts: 2
Default

yes like kroeg said they can crash with the click of a button. They are freaking agonizing to make and make it work but the rewards are perfect.

What I did was, I had 2 bugs, one a crash in 3 specific zones, and an item disappaer, i fixed item bug, but i realized that the crash for zones was because i f-ed up the quest database on an npc in that zone. I just erased it and it started working again. Check all things that even might not have anything to do with it. like...datarate is sitting on top, you think its latest, you check other things, and you check that and thats it. Cover all bases.

As I say "I Have the Greatest Weapon of All, My Mind and My Logic"
__________________
To see a world in a grain of sand, and heaven in a wild flower
Infinity in the palm of your hand and eternity in an hour
Reply With Quote
  #10  
Old 12-17-2003, 06:16 AM
Scorpious2k's Avatar
Scorpious2k
Demi-God
 
Join Date: Mar 2003
Location: USA
Posts: 1,067
Default Re: well thanks

Quote:
Originally Posted by sdabbs
I have already sourced all those with a clean DB and none of them work but like I said DB.SQL works fine.
Myra's is compatable with the current db.sql, what is the error you have been getting?
__________________
Maybe I should try making one of these servers...
Reply With Quote
  #11  
Old 12-17-2003, 06:39 AM
Guest
 
Posts: n/a
Default well...

see the first post, im being told it's not db related but that does not explain why i can source the dev released db and not the others it must be something funky in MYSQL.
I deleted the db's and restarted mysql created new db, and then s ource them alone with the same exact results.

also not I can load up 5.0 and 5.1 perfectly. "shrug"
Reply With Quote
  #12  
Old 12-17-2003, 07:24 AM
Kroeg's Avatar
Kroeg
Hill Giant
 
Join Date: Oct 2003
Posts: 241
Default

Have you bothered trying to compare the db.sql you claim works, and another db that doesn't work?

Database values change in almost every single release of eqemu... don't be surprised if you find yourself unable to use 1 db for more than 1 release.

Let me recommend a program called SQLyog (www.webyog.com/sqlyog/)

With this program you can visually compare two databases side-by-side, with color syntax highlighting. Use mysql-front 2.5(if you don't know where to find this.. im going looking for mattmeck =P) to edit the values once you understand what changed.

Ok, so at this point ... make note of the syntax that highlights in SQLyog, and open up mysql-front and dump each table one at a time (via .sql files). Make sure to check the "drop table if exists" option, and to uncheck the "create database" option if it is checked.

Once you dump all tables from there, open a mysql command prompt and type the following
(in this step you are going to use the empty db)

mysql -u root
mysql>use emptydb;
Database Changed.
(here you should be sourcing back in the files .sql that you dumped previously)
mysql>source account.sql;
mysql>source anotherdumpedfile.sql;
mysql>source yetanother.sql;

Pull one table over one at a time, and boot the server each time you add a table (this really teaches you what effects what).

If you get a 'column count doesn't match at key 'whatever'', that means the columns you are trying to copy over are off, or in a different order/have different values. To correct this use mysql-front (easy enough to figure out if you take the time to learn the interface... and you should =P )

With so many servers running just fine, you'd have to stop and think that the problem may just be on your end and not have anything to do with whatever DB you decide to use. Make sure mysql is set correctly (big emphasis on mysql here... 99% of the time, the problem is in your mysql configuration).

This may not be an adequate answer, but I have a feeling it's the best you'll get.
Reply With Quote
  #13  
Old 12-17-2003, 07:59 AM
Guest
 
Posts: n/a
Default best answer yet.

well hmm thats what I get for trying to use something that is suppose to be used for 52 and 53 out of the box I suppose.
but this is not isolated to just one db source.
it's more than likely a mysql error since i deleted the db and resourced so many times maybe it got confused or invalid data somehow.
im just going to delete it all and see what happens.
i will keep you updated this is valuable information to someone who is just starting a server and switching versions.
I have not seen an error like this before and it's probbly just one of those winblows errors that i never seen untill now.
you know how confused winblows gets if you use it to much <G>.
athis actually does help and what do you know iv'e actually learned a little more about mysql than i ever wanted to know hehe.
I was really interested if this was just me or if other had this same problem before.
Reply With Quote
  #14  
Old 12-17-2003, 01:19 PM
Vaelene
Fire Beetle
 
Join Date: Aug 2003
Posts: 13
Default

If you are using the 5.2 builds and mw_052_053_alpha1.sql there is a problem in the zone_points table. It looks like the layout in dq.sql is very different than the layout in mw_052_053_alpha1.sql.
All of the fields are there but they are layed out differently. I was having the same problems with unknown opcodes untill i compared the databases and changed the zone_points table layout to match the db.sql layout. Once i did that most of the unkown opcode errors went away. I compared all of the tables and there are a few other tables with minor differences that i think are responsible for the few unknown opcodes i am still getting. The following tables had minor changes.

Start_Zones had the fields bind_id and player_choice missing in db.sql.

Tradeskillrecipe had the field product set as indexed with no duplicates in db.sql.

sharedbank had the field color missing in db.sql.

npc_types had a new field lastname in db.sql.

ground_spawns had the field respawn_timer missing in db.sql.

altadv_vars had the skill_id field set to not indexed in db.sql.

All the rest of the tables appeared to have the same structure and layout. And once i changed the zone_points table most of the unknown opcodes and crashes ended.
Reply With Quote
  #15  
Old 12-17-2003, 01:27 PM
Guest
 
Posts: n/a
Default ahhhh at last the truth comes out..

Thanks Vaelene I thought I was going nuts.

your my #1 hero of the day.
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:19 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3