Nainstalovat Steam
přihlásit se
|
jazyk
简体中文 (Zjednodušená čínština)
繁體中文 (Tradiční čínština)
日本語 (Japonština)
한국어 (Korejština)
ไทย (Thajština)
български (Bulharština)
Dansk (Dánština)
Deutsch (Němčina)
English (Angličtina)
Español-España (Evropská španělština)
Español-Latinoamérica (Latin. španělština)
Ελληνικά (Řečtina)
Français (Francouzština)
Italiano (Italština)
Bahasa Indonesia (Indonéština)
Magyar (Maďarština)
Nederlands (Nizozemština)
Norsk (Norština)
Polski (Polština)
Português (Evropská portugalština)
Português-Brasil (Brazilská portugalština)
Română (Rumunština)
Русский (Ruština)
Suomi (Finština)
Svenska (Švédština)
Türkçe (Turečtina)
Tiếng Việt (Vietnamština)
Українська (Ukrajinština)
Nahlásit problém s překladem
My WebAdmin recently started displaying perk level as 25, independent of what the players' actual perk levels are. Has there been an update that changed the variable or is it just no longer allowing access to the perk level?
It used to work fine, and since I hadn't played for a while I do not know when exactly this stopped working for me.
I've booted up an old VMWare image (on which the perk level worked fine), but it just shows "25" no matter what the player's real perk level is.
Any suggestions/ideas to what causes this issue?
And hopefully a way to solve it?
# Selecting random map
$Array = @("KF-Map1", "KF-Map2", "KF-Map3", "KF-Map4")
$RandomMap = $Array | random
# Modify KF2Server.bat to use random map
$Launch = "start .\Binaries\win64\kfserver $RandomMap`?Difficulty=2?GameLength=2"
Set-Content .\KF2Server.bat $Launch
#Launch the KF2Server.bat
Invoke-Item .\KF2Server.bat
So paste that to notepad then save it as a .ps1, the icon should change.. Make sure it's in the same location as your KF2Server.bat file. Double click and enjoy a random map.
Also, modify the script $Launch variable instead of the .bat file from now on.
In the script, you would have an array of all the map names you'd declare.
$Array = @("KF-Map1", "KF-Map2", "KF-Map3")
Or have the script pull it from a list in notepad.
$File = C:\Maps.txt
Get-Content $File
Select a random from the list:
$RandomMap = $Array | random
...