Jump to content

Location of Character stats now?


Recommended Posts

Posted

After the drop of the data column, where are the values stored for character agl, str, int, etc. are? Obvious columns are obvious in characters, just looking for these ones now that they've been moved somewhere.

Posted

Right now they are not saved anymore but calculated on login.

What do you need them for? You should be able to calculate them yourself by base stats and equipped items + talents.

If you need it for some external scripts, we might maybe save them independent from usual character save, like only on logout or so...

Which do you need exactly?

Posted

For MicroManager. Right now I display the following stats:

Health (Current/Max)

Mana (Current/Max) (or Power etc)

Strength

Agility

Stamina

Intellect

Spirit

Amor

Holy, Arcane, Fire, Nature, Frost, Shadow Res %

Block %

Dodge %

Parry %

Melee Power %

Ranged Power %

Crit %

Range Crit %

Posted

I think saving that data in a character_stats table would be the best choice. You should be able to configure whether you want it to be saved or not (if you don't use the data you don't need to waste resources on saving it). Saving it on character logout should be sufficient.

Any other suggestions?

Posted

That will be a lot more expensive than a simple readout xeross155, especially if it's to be used for multiple characters at once (for example: a list of online characters with their base stats). Not entirely sure it's even possible at the moment either.

With that said, is the information not still cached in the big characters.data field? If not, I don't see how you could still implement this - it'd go a bit far to require MicroManager users to apply a core patch before they could use MM...

Posted

Added new table character_stats in [9680].

Vladimir suggested to maybe add config to determine when to save (e.g. not only logout) which I consider to implement soon...

  • 3 weeks later...
Posted
You can either add it to character_stats or calculate it by equipped items...

hehe i know. I was just wondering if in the code there was seomthing that could give the value directly into character_stats. Thanks buddy.

  • 1 month later...
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use