[svn] * Removing useless data accidentally committed.

* Applying ImpConfig patch.
* Note: QUEUE_FOR_GM currently disabled as it's not compatible with the ACE patch. Anyone care to rewrite it?
* Note2: This is untested - I may have done some mistakes here and there. Will try to compile now.

--HG--
branch : trunk
This commit is contained in:
XTZGZoReX
2008-10-10 13:37:21 -05:00
parent ded2714f89
commit 479fe8b767
42 changed files with 392 additions and 660 deletions
+1 -1
View File
@@ -68,6 +68,6 @@ enum LoginResult
// others will not and opposite
// will only support WoW and WoW:TBC 2.4.3 client build 8606...
#define EXPECTED_MANGOS_CLIENT_BUILD {8606, 0}
//#define EXPECTED_MANGOS_CLIENT_BUILD {8606, 0} // - commented as builds are set in config
#endif
+6 -4
View File
@@ -369,13 +369,15 @@ bool AuthSocket::_HandleLogonChallenge()
///- Check if the client has one of the expected version numbers
bool valid_version=false;
int accepted_versions[]=EXPECTED_MANGOS_CLIENT_BUILD;
for(int i=0;accepted_versions[i];i++)
if(ch->build==accepted_versions[i])
{
int MinBuild = sConfig.GetIntDefault("MinBuild", 8606);
int MaxBuild = sConfig.GetIntDefault("MaxBuild", 8606);
if(ch->build >= MinBuild && ch->build <= MaxBuild)
valid_version=true;
break;
}
else
valid_version=false;
/// <ul><li> if this is a valid version
if(valid_version)
+17 -1
View File
@@ -113,4 +113,20 @@ ProcessPriority = 1
RealmsStateUpdateDelay = 20
WrongPass.MaxCount = 0
WrongPass.BanTime = 600
WrongPass.BanType = 0
WrongPass.BanType = 0
###################################################################################################################
# CLIENT BUILD OPTIONS
#
# Client Builds:
#
# MinBuild
# The minium client build allowed to connect
#
# MaxBuild
# The maximum client build allowed to connect
#
###################################################################################################################
MinBuild = 8606
MaxBuild = 8606