Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 12-06-2006, 12:43 PM
njlinus
Sarnak
 
Join Date: May 2006
Posts: 56
Default trying to update items

hey guys, i have a fresh install with the new serverpack I am using AX database. when i try to update the items i realized a few things that might just be my problem but i figured id see if anyone else is having the same problems.
When putting the load_13thfloor_items.pl file into perl..i cant find it in the source folder in mt eqemu directory
I got an older copy i had and when trying to run the
"perl load_13thfloor_items.pl -d eqemu_config.xml <items.txt"
command i get an error(could be because i got a different load13thfloor file)
the error is "invalid db.ini, missing one of:Host,user,password,database


here is my db.ini
###Your current database configuration is as follows:
##db.ini:

[Database]
host=localhost
user=eq
password=eq
database=ax


thanks in advance
Brad
Reply With Quote
  #2  
Old 12-06-2006, 12:48 PM
sesmar
I built it I will Support it!
 
Join Date: Jun 2005
Location: Michigan
Posts: 214
Default

This may sound like I am pointing out the obvious here but your db.ini file is in the same directory that you are running the perl script from?
__________________
Reply With Quote
  #3  
Old 12-06-2006, 12:51 PM
njlinus
Sarnak
 
Join Date: May 2006
Posts: 56
Default

I followed the directions in the wiki and copied the db.ini to the c:\perl folder
Reply With Quote
  #4  
Old 12-06-2006, 01:25 PM
bufferofnewbies
Hill Giant
 
Join Date: Dec 2005
Location: Lurking in KY
Posts: 239
Default

try useing ax_peq instead of ax, and see if that works.
Reply With Quote
  #5  
Old 12-06-2006, 01:31 PM
njlinus
Sarnak
 
Join Date: May 2006
Posts: 56
Default

Just tried ax_peq and got the same message. ill keep trying, it has to be something
Reply With Quote
  #6  
Old 12-06-2006, 02:56 PM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

The database is ax in the installer, and there shouldn't be a need to update the items, they are the newest.
Reply With Quote
  #7  
Old 12-06-2006, 03:00 PM
bufferofnewbies
Hill Giant
 
Join Date: Dec 2005
Location: Lurking in KY
Posts: 239
Default

Quote:
Originally Posted by cavedude
The database is ax in the installer
ahh, totally my bad. For some reason I always had it as ax_peq. Must have been something I did to keep them seperated and merely forgot that I did it.

I tend to do that alot..
Reply With Quote
  #8  
Old 12-06-2006, 03:03 PM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

By default the database installs itself as ax_peq, but for the installer pack I shortened it to just ax since I believe Angelox's is a database to its own and doesn't need the PEQ name in front of it.
Reply With Quote
  #9  
Old 12-06-2006, 03:08 PM
bufferofnewbies
Hill Giant
 
Join Date: Dec 2005
Location: Lurking in KY
Posts: 239
Default

whew, so I'm not totally as senile as I thought..
Reply With Quote
  #10  
Old 12-07-2006, 01:43 AM
John Adams
Demi-God
 
Join Date: Jul 2006
Posts: 1,552
Default

Quote:
Originally Posted by bufferofnewbies
whew, so I'm not totally as senile as I thought..
Well, let's not get hastey.
Reply With Quote
  #11  
Old 12-07-2006, 06:38 AM
njlinus
Sarnak
 
Join Date: May 2006
Posts: 56
Default

thanks for the replies, When searching the 13thfloor for items i noticed some of the items werent coming up in eqmu so i figured i needed to update my items.
thanks
Reply With Quote
  #12  
Old 12-07-2006, 06:46 AM
bufferofnewbies
Hill Giant
 
Join Date: Dec 2005
Location: Lurking in KY
Posts: 239
Default

careful about loading some of the items, if you dont have the sv corruption field.

Not sure what all is in the system, as Im lazy and rarely look (bad DM, bad!) but if the items arent compatable with your current database setup, it will error them out.

13th floor adds items from live, so they use the current live fields. Our database may/ may not be up to date with those, since that save field isnt necessary for Titanium atm.

Ignore this if we do have it. I guess I should go check before I open my big mouth..
Reply With Quote
  #13  
Old 12-07-2006, 08:17 AM
John Adams
Demi-God
 
Join Date: Jul 2006
Posts: 1,552
Default

I am almost certain you can add the new columns for the newer 13th floor stuff to your eq database. The server shouldn't care, cuz if we do a select *, it'll only use what it needs... and in many cases, I see us do a select [field-list] anyway, so again, newer columns *should* be ignored. The problem will come in writing TO the database - if we do not provide the exact field names for our VALUES () statement.

Ie., INSERT INTO items (field-list) VALUES (values);

Without the field-list on an insert, you will get invalid column count errors. But reading should be ok.
Reply With Quote
  #14  
Old 12-07-2006, 08:46 AM
sesmar
I built it I will Support it!
 
Join Date: Jun 2005
Location: Michigan
Posts: 214
Default

The problem with the 13th floor items, at least from pre-DoN to post-DoN was that some of the field mappings had changed. Also the perl script used to read the file did not know how to insert all the fields into the database correctly because of this. Another issue that may arise is using the perl script to insert the 13th floor items into a server using MySql 5. I do not know if this problem has been fixed but the load items script would not work with MySql 5 when I last tried but it would load them into MySql 4 with out a problem.
__________________
Reply With Quote
  #15  
Old 12-09-2006, 06:27 PM
John Adams
Demi-God
 
Join Date: Jul 2006
Posts: 1,552
Default

Sesmar, could your mySQL 5 problem related to "strict mode"? Just a thought.

...and I forgot the 13th floor stuff is loaded via perl script. That script would have to be edited to match columns, then. Sounds like it isn't written that way currently.
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 06:31 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