commit
5e8cfa2153
2 changed files with 3 additions and 2 deletions
|
|
@ -1,5 +1,6 @@
|
||||||
Start-Transcript -Path '/var/log/dtch/matchparser.log' -Append
|
Start-Transcript -Path '/var/log/dtch/matchparser.log' -Append
|
||||||
Write-Output 'Running from'
|
Write-Output 'Running from'
|
||||||
|
(Get-Location).path
|
||||||
. .\..\includes\ps1\lockfile.ps1
|
. .\..\includes\ps1\lockfile.ps1
|
||||||
|
|
||||||
new-lock
|
new-lock
|
||||||
|
|
@ -166,7 +167,7 @@ foreach ($player in $all_player_matches.playername) {
|
||||||
$winratio_old = (($oldstats.all | Where-Object { $_.playername -eq $player }).winratio)
|
$winratio_old = (($oldstats.all | Where-Object { $_.playername -eq $player }).winratio)
|
||||||
$winratio = Get-winratio -player_wins $player_wins -player_matches $player_matches
|
$winratio = Get-winratio -player_wins $player_wins -player_matches $player_matches
|
||||||
$change = get-change -OldWinRatio $winratio_old -NewWinRatio $winratio
|
$change = get-change -OldWinRatio $winratio_old -NewWinRatio $winratio
|
||||||
|
|
||||||
write-output 'all'
|
write-output 'all'
|
||||||
write-output "Calculating for player $player"
|
write-output "Calculating for player $player"
|
||||||
write-output "new winratio $winratio"
|
write-output "new winratio $winratio"
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
Start-Transcript -Path '/var/log/dtch/update_clan_members.log' -Append
|
Start-Transcript -Path '/var/log/dtch/update_clan_members.log' -Append
|
||||||
Write-Output 'Running from'
|
Write-Output 'Running from'
|
||||||
Get-Location
|
(Get-Location).path
|
||||||
. .\..\includes\ps1\lockfile.ps1
|
. .\..\includes\ps1\lockfile.ps1
|
||||||
|
|
||||||
new-lock
|
new-lock
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue