Starting Items bug

Old bugs stored here for reference.
Locked
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:

Starting Items bug

Post by John Adams » Sat Feb 28, 2009 11:31 pm

Just noticed that when you truncate your character_items table to repop players with Starting Items, the account_id column is not getting set. I don't think it uses it really, because the items are there and working... but just wanted you to know.
character_items.jpg

A second thing with this, and this may have been intentional, but starting_items populates into character_items each time you zone if you have no inventory. I thought it should be only on initial login... because as we're testing and blowing away our inventories, it keeps coming back like bad luggage.
You do not have the required permissions to view the files attached to this post.

LethalEncounter
Team: Zombie
Posts: 2717
Joined: Wed Jul 25, 2007 10:10 pm

Re: Starting Items bug

Post by LethalEncounter » Sun Mar 01, 2009 7:07 am

John Adams wrote:Just noticed that when you truncate your character_items table to repop players with Starting Items, the account_id column is not getting set. I don't think it uses it really, because the items are there and working... but just wanted you to know.
The account_id field is used for the shared bank and these starting items aren't initially being place in the shared bank, so the field isn't needed.
John Adams wrote: A second thing with this, and this may have been intentional, but starting_items populates into character_items each time you zone if you have no inventory. I thought it should be only on initial login... because as we're testing and blowing away our inventories, it keeps coming back like bad luggage.
Good point, I'll try to only check when they initially login.

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: Starting Items bug

Post by John Adams » Sun Mar 01, 2009 9:27 am

LethalEncounter wrote:The account_id field is used for the shared bank and these starting items aren't initially being place in the shared bank, so the field isn't needed.
Ahh, that's right. I think I was thrown off because any item I manually summon or gain via loot/gathering does provide an account ID. I didn't think it mattered, so if you do not, then please ignore the first part.

Thanks again.

LethalEncounter
Team: Zombie
Posts: 2717
Joined: Wed Jul 25, 2007 10:10 pm

Re: Starting Items bug

Post by LethalEncounter » Sun Mar 01, 2009 10:04 am

It *should* be fixed in the latest (along with a bunch of other item/merchant fixes)

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: Starting Items bug

Post by John Adams » Sun Mar 01, 2009 10:58 am

Hehe, merchant fixes?

You're gonna kill me. See my private post about a merchants revamp.

~runs like hell~

Locked

Who is online

Users browsing this forum: No registered users and 0 guests