1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 15:20:48 -05:00

added MySQL support

fixed login bug
IW3 official support
This commit is contained in:
RaidMax
2018-04-25 01:38:59 -05:00
parent 5e229b90be
commit 21e4bdb614
18 changed files with 63 additions and 463 deletions

View File

@ -17,8 +17,7 @@ using SharedLibraryCore.Exceptions;
using Application.Misc;
using Application.RconParsers;
using Application.EventParsers;
using IW4MAdmin.Application.EventParsers;
namespace IW4MAdmin
{
@ -608,7 +607,7 @@ namespace IW4MAdmin
else if (GameName == Game.UKN)
Logger.WriteWarning($"Game name not recognized: {version}");
else
EventParser = new IW4EventParser();
EventParser = new IW3EventParser(); // this uses the 'main' folder for log paths
var shortversion = await this.GetDvarAsync<string>("shortversion");
var hostname = await this.GetDvarAsync<string>("sv_hostname");
@ -658,7 +657,7 @@ namespace IW4MAdmin
CustomCallback = await ScriptLoaded();
string mainPath = EventParser.GetGameDir();
#if DEBUG
basepath.Value = @"\\192.168.88.253\Call of Duty Black Ops II";
basepath.Value = @"\\192.168.88.253\Call of Duty 4";
#endif
string logPath;
if (GameName == Game.IW5)