ASSERT hard use in predictable way because diff. 3rd party libs code
redefine it inf different ways and hard make sure that used in end
of mangos define version. This is real detected problem make some
expected assert checks ignored and so bugs not detected as expected from code.
In addition made related changes:
* Common.h header expected to be first include in any src/game/header except most simple cases.
* Related FILE.h header expected to be first include in FILE.cpp
* Fixed some absent includes and type forwards for safe build without PCH enabled.
* Avoid using MANGOS_ASSERT in src/framework code
* 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.
* Supported 1.12.1, 1.12.2, 2.4.3, 3.2.2a in same time as relams in same realmlist
* mangosd by self check correct for it client build and reject all incorrect cases
* realmd know from mangosd what builds supported each realm and
if realm not support it then in relamlist for specific client this relam show as offline.
Not need any manual settings for this.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
now they just getting executed when realmd is started
i think this will improve speed a bit.. cause we don't need to cleanup those
bans so often we just can check the conditions inside the select
* Revert realmd changes:
- typos in prev. commit prevent correct work of realmd code.
- useless log login packets
- and really horrible idea log of patch packets (how nice convert some MB in hex strings)
* Revert output world packet format to more readable old but output timestamp
* Drop outWorld, but use explcit fprintf calls into new outWorldPacketDump.
Not nice have 16 flush calls at hex line.