alter table `item_stats` fails

This forum is for problems that arise with the Database Schema as it is developed, or questions you have regarding how to utilize the database.

Moderator: Team Members

Forum rules
Make sure your questions are detailed, intelligent, and relating to the default EQ2Emulator Database Schema.

Questions about how to build your own custom server content will not be addressed here.
Post Reply
Anora
Posts: 4
Joined: Sat Aug 15, 2009 9:21 pm

alter table `item_stats` fails

Post by Anora » Sun Aug 16, 2009 5:28 am

I ran the world server it download's and updates it self than it run into this table and cant do anything, I have looked at the table and its only got item_id in it none of the rest, i tried deleting the hole DB and re download and that didn't work.

ALTER TABLE `item_stats` ADD UNIQUE `ItemStatsIDX` (`item_id`, `type`, `subtype`
, `text`)': #1061: Duplicate key name 'ItemStatsIDX'
[20090816 09:26:12] [Error] Attempting to update database table 'items' ...
FAILED!

User avatar
John Adams
Retired
Posts: 9684
Joined: Thu Jul 26, 2007 6:27 am
EQ2Emu Server: EQ2Emulator Test Center
Characters: John
Location: Arizona
Contact:

Re: alter table `item_stats` fails

Post by John Adams » Sun Aug 16, 2009 11:27 am

Yeah, this is apparently a problem that I created, which I believe is now fixed. Some updates made during a "bad update" may get effected down the road, but in the future I will try and work around these when it comes time.

Drop your entire DB and fetch a new one. Remember to run EQ2World a few times to get ALL updates and note that you get no Failures. Let me know how it turns out.
John Adams
EQ2Emulator - Project Ghost
"Everything should work now, except the stuff that doesn't" ~Xinux

Anora
Posts: 4
Joined: Sat Aug 15, 2009 9:21 pm

Re: alter table `item_stats` fails

Post by Anora » Sun Aug 23, 2009 10:12 am

it defenitly fixed it, but now i get a mutch difrent problem, dumped the db 3 times to confirm it was not my side whit several updates atempts

[20090823 13:45:13] [Error] Unable to find parent command 'zones' for subcommand
: 'set'
Every subcommand must have a parent command!
[20090823 13:45:13] [Error] Unable to find parent command 'zones' for subcommand
: 'details'
Every subcommand must have a parent command!

dose not seam to be something that afects gameplay it self, mostly GM command's

User avatar
John Adams
Retired
Posts: 9684
Joined: Thu Jul 26, 2007 6:27 am
EQ2Emu Server: EQ2Emulator Test Center
Characters: John
Location: Arizona
Contact:

Re: alter table `item_stats` fails

Post by John Adams » Sun Aug 23, 2009 10:39 am

Yeah again, another typo on my part (I should not commit DB changes when sleepy ;))

You should just have to run eq2world a second time to clear that warning. You might need the latest EQ2World.exe too. I reported an issue with data updates to LE about this, but haven't heard back yet. Mine did eventually update tho. And yes, it is non-critical unless you want to use the new /zone details or /zone set functions, which are non-essential to just playing around. More a DB Team tool.

Anora
Posts: 4
Joined: Sat Aug 15, 2009 9:21 pm

Re: alter table `item_stats` fails

Post by Anora » Tue Aug 25, 2009 4:35 pm

that's great, Id love to be able to participate in fine tuning the DB if possible

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests