1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 23:31:13 -05:00

[application] added chat context to profile page

[iw4script] reworked balance to balance based on performance rating
[stats] log penalty context to database
This commit is contained in:
RaidMax
2018-06-05 16:31:36 -05:00
parent 389f526b2b
commit 7def173957
37 changed files with 1390 additions and 170 deletions

View File

@ -30,6 +30,17 @@ namespace IW4MAdmin.Application.EventParsers
}
}
if(cleanedEventLine.Contains("JoinTeam"))
{
return new GameEvent()
{
Type = GameEvent.EventType.JoinTeam,
Data = cleanedEventLine,
//Origin = server.GetPlayersAsList().First(c => c.NetworkId == lineSplit[1].ConvertLong()),
Owner = server
};
}
if (cleanedEventLine == "say" || cleanedEventLine == "sayteam")
{
string message = lineSplit[4].Replace("\x15", "");