LE,
I looked in the code for how World determines an items 'weight', and saw a struct comment that says "num/10", which is correct according to SOE live data. Something that weighs 2 has a value of 20, and a storage box for instance with a weight of 100 in live terms is 1000. The raw data is right, but I am finding moving this to the World DB, our tinyint(3) isn't cutting it.
I have a slew of database updates to apply, so don't bother altering the table just yet. The question is, if I stuff a 1000 into an items "weight" field, will World know what to do with that? I don't think weight is a consideration currently, but wanted to know how you want the data. I can have the data loadter adjust this to num/10 if we need to.
Item 'Weight'
Moderator: Team Members
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
-
LethalEncounter
- Team: Zombie
- Posts: 2717
- Joined: Wed Jul 25, 2007 10:10 pm
Re: Item 'Weight'
Ahh good catch! Nah just leave it like SOE has it. The reason it is /10 is so that you can have decimal numbers in a smaller value (int16 is 2 bytes while float is 4 bytes).
Who is online
Users browsing this forum: No registered users and 0 guests