diff --git a/addons/sourcemod/scripting/shavit-replay.sp b/addons/sourcemod/scripting/shavit-replay.sp index 903ce02b..842eb056 100644 --- a/addons/sourcemod/scripting/shavit-replay.sp +++ b/addons/sourcemod/scripting/shavit-replay.sp @@ -1275,6 +1275,7 @@ bool LoadReplay(int style, int track, const char[] path) return false; } + void WriteReplayHeader(File fFile, int style, int track, float time, int steamid, int preframes, int timerstartframe, int iSize) { fFile.WriteLine("%d:" ... REPLAY_FORMAT_FINAL, REPLAY_FORMAT_SUBVERSION); diff --git a/addons/sourcemod/scripting/shavit-stats.sp b/addons/sourcemod/scripting/shavit-stats.sp index 3716004d..45c229e6 100644 --- a/addons/sourcemod/scripting/shavit-stats.sp +++ b/addons/sourcemod/scripting/shavit-stats.sp @@ -1083,11 +1083,17 @@ public void SQL_GetWRHolders_Callback(Database db, DBResultSet results, const ch int type = results.FetchInt(3); if (type == 0) + { gI_WRHolders[track][style] = total; + } else if (type == 1) + { gI_WRHoldersAll = total; + } else if (type == 2) + { gI_WRHoldersCvar = total; + } } } diff --git a/addons/sourcemod/scripting/shavit-zones.sp b/addons/sourcemod/scripting/shavit-zones.sp index c99684d9..5dd87437 100644 --- a/addons/sourcemod/scripting/shavit-zones.sp +++ b/addons/sourcemod/scripting/shavit-zones.sp @@ -3005,7 +3005,7 @@ public void StartTouchPost(int entity, int other) char special[sizeof(stylestrings_t::sSpecialString)]; Shavit_GetStyleStrings(Shavit_GetBhopStyle(other), sSpecialString, special, sizeof(special)); - if(status != Timer_Stopped && Shavit_GetClientTrack(other) == gA_ZoneCache[gI_EntityZone[entity]].iZoneTrack && (num > gI_LastStage[other] || StrContains(special, "segments") != -1)) + if(status != Timer_Stopped && Shavit_GetClientTrack(other) == gA_ZoneCache[gI_EntityZone[entity]].iZoneTrack && (num > gI_LastStage[other] || StrContains(special, "segments") != -1 || StrContains(special, "TAS") != -1)) { gI_LastStage[other] = num; char sTime[32];