EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   trying to update items (https://www.eqemulator.org/forums/showthread.php?t=22024)

njlinus 12-06-2006 12:43 PM

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

sesmar 12-06-2006 12:48 PM

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?

njlinus 12-06-2006 12:51 PM

I followed the directions in the wiki and copied the db.ini to the c:\perl folder

bufferofnewbies 12-06-2006 01:25 PM

try useing ax_peq instead of ax, and see if that works.

njlinus 12-06-2006 01:31 PM

Just tried ax_peq and got the same message. ill keep trying, it has to be something

cavedude 12-06-2006 02:56 PM

The database is ax in the installer, and there shouldn't be a need to update the items, they are the newest.

bufferofnewbies 12-06-2006 03:00 PM

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..

cavedude 12-06-2006 03:03 PM

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.

bufferofnewbies 12-06-2006 03:08 PM

whew, so I'm not totally as senile as I thought..

John Adams 12-07-2006 01:43 AM

Quote:

Originally Posted by bufferofnewbies
whew, so I'm not totally as senile as I thought..

Well, let's not get hastey.

njlinus 12-07-2006 06:38 AM

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

bufferofnewbies 12-07-2006 06:46 AM

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..

John Adams 12-07-2006 08:17 AM

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.

sesmar 12-07-2006 08:46 AM

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.

John Adams 12-09-2006 06:27 PM

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.


All times are GMT -4. The time now is 10:43 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.