AI server: removed the USER_BAND stuff (confusing for the most part and VERY easy to break), replaced it with a flag to indicate whether the target's set.
AI server: CUser now inherits base Unit functionality.
AI server: CUser class is more exposed to inherited functionality. Removed m_MagicProcess & ensured the correct map class is used per-server (...).
AI server: ensure CUser & CNpc classes initialise the base Unit class properly.
AI server: remove CUser::m_lUsed & CUser::m_bLogOut.
AI server: removed CUser::m_curZone & CUser::m_pMap.
AI server: replaced explicit position use with the generic position getters
SQL: Fixes SQL error when updating the USERDATA.Exp column (if a constraint is set). Closes #101.
AI server: started replacing range checks with inherited Unit class logic (also extended it a little for some later porting).
AI server: cleaned up CNpc::IsInRange() & renamed it to the slightly more accurate CNpc::isInSpawnRange().
AI server: replaced a manual range check (doesn't even use their standard logic...)
AI server: replaced a couple of direct m_bNation uses
AI server: cleaned up another point range check
AI server: removed some unused code
AI server: removed redundant m_MagicType4 code (system being ported, so can't entirely replace it/it's broken anyway).
AI server: fixed a crash in CNpc::SetDamage()
AI server: partially reverted the type3 init code (will remove it completely when I care to do type3...).
Further fixes (legacy build hack behaves differently on different distros) 64-bit ODBC use for unixODBC pre-2.3.1. Resolves #102.
Allowed for gcc's 64-bit integer format specifiers.
AI server: removed MagicProcess.cpp (was only preserved for reference).