* Use min/mac level from dbc because anyway list real selectable
for player level bg/arena backets set min/max range.
* Drop related fields and update per team min/max values.
In part related broadcasts by explicit provided Map pointer (in different object GetMap() requested)
This is must fix recent crashes in Map::MessageBroadcast
* Rename `realmlist`.`color` field to `realmflags`
* Client 2.x and later support show in realm list supported
client version for specific realm.
For client 1.x this implemented by adding version to name
in similar way as it look in more recent clients.
For enable version show each affected realm must have in `realmflags` set
flag 4.
For realm work with not officially supported builds (build > last suported)
will show version 0.0.0 and correct build value.
We not have currently way set proper set skill step at loading,
but this not required, because important only for new learned rank have different step.
Also drop outdated (as tested) comment.
* Move step arg in SetSkill to end for make possible for it default value.
* Merge GetSkillStep function to SetSkill, base at fact that old GetSkillStep
code can be != 0 only for already known spell, so at update
* Avoid use explicit MailReciever/MailSender where not need.
Types specially added for autoconvertion from common cases.
* Prevent allow copy text auction mails. It anyway store encoded data.
Same for some another non-player mails.
This is must decrease amount of data send to network
at player enter to visibility radius for another player.
(based on SilverIce's repo commit 8c60a80)
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
(based on SilverIce's repo commit e226019)
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
Note: this changes not affect in any good/bad way recent problem with player guids.
This is resolve "none from players see each other" problem.
Please, reapply non-0 player guid only with or after this problem resolve.
Some ObjectGuid use cleanups added while reseach porblem source.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
Grr... git_id tool corrupt old sql update (it drop sometime all except guards)
and i copy old not fixed version for restore :/
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
Required DB data for real work. This is final part required at core side for support.
Also note that commit include
* generic implementation money cost gossip menu items so let
implement in DB many money cost gossip operations with _fixed_ cost.
* useful CONDITION_SPELL that let implemtn menu item visible if specific
spell known/don't known also wide used case for diff gossips.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>