Page 1 of 1
Starting Items bug
Posted: Sat Feb 28, 2009 11:31 pm
by John Adams
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.
Re: Starting Items bug
Posted: Sun Mar 01, 2009 7:07 am
by LethalEncounter
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.
Re: Starting Items bug
Posted: Sun Mar 01, 2009 9:27 am
by John Adams
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.
Re: Starting Items bug
Posted: Sun Mar 01, 2009 10:04 am
by LethalEncounter
It *should* be fixed in the latest (along with a bunch of other item/merchant fixes)
Re: Starting Items bug
Posted: Sun Mar 01, 2009 10:58 am
by John Adams
Hehe, merchant fixes?
You're gonna kill me. See my private post about a merchants revamp.
~runs like hell~