Changeset 34 for trunk/src/trinityrealm
- Timestamp:
- 11/19/08 13:25:37 (17 years ago)
- Location:
- trunk/src/trinityrealm
- Files:
-
- 3 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/trinityrealm/AuthCodes.h
r2 r34 69 69 // will only support WoW and WoW:TBC 2.4.3 client build 8606... 70 70 71 #define EXPECTED_MANGOS_CLIENT_BUILD {8606, 0} 71 //#define EXPECTED_MANGOS_CLIENT_BUILD {8606, 0} // - commented as builds are set in config 72 72 73 73 #endif -
trunk/src/trinityrealm/AuthSocket.cpp
r2 r34 370 370 ///- Check if the client has one of the expected version numbers 371 371 bool valid_version=false; 372 int accepted_versions[]=EXPECTED_MANGOS_CLIENT_BUILD;373 for(int i=0;accepted_versions[i];i++) 374 if(ch->build==accepted_versions[i]) 375 { 372 int MinBuild = sConfig.GetIntDefault("MinBuild", 8606); 373 int MaxBuild = sConfig.GetIntDefault("MaxBuild", 8606); 374 375 if(ch->build >= MinBuild && ch->build <= MaxBuild) 376 376 valid_version=true; 377 377 break; 378 378 } 379 else 380 valid_version=false; 379 381 380 382 /// <ul><li> if this is a valid version -
trunk/src/trinityrealm/trinityrealm.conf.dist
r33 r34 115 115 WrongPass.BanTime = 600 116 116 WrongPass.BanType = 0 117 118 ################################################################################################################### 119 # CLIENT BUILD OPTIONS 120 # 121 # Client Builds: 122 # 123 # MinBuild 124 # The minium client build allowed to connect 125 # 126 # MaxBuild 127 # The maximum client build allowed to connect 128 # 129 ################################################################################################################### 130 131 MinBuild = 8606 132 MaxBuild = 8606