darkdks / kf2servertool Goto Github PK
View Code? Open in Web Editor NEWKilling Floor 2 Server Tool
Killing Floor 2 Server Tool
Describe the bug
Running the tool using -config with a confirmed working ini causes the tool to not work. Both -info and -addmap have the same behaviour while both without -config work.
To Reproduce
Steps to reproduce the behavior:
-config KFServerToolCMD.ini -info
Option: Custom ini is set to KFServerToolCMD2.ini
and Press ENTER
Error: status: Invalid arguments and no server info
Expected behavior
Tool works with a specified config file
Desktop (please complete the following information):
Describe the bug
When using 2 Screens the Tool starts inbetween both screens for me.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Should show up on only one of the screens.
Screenshots
...
Desktop (please complete the following information):
Additional context
Use poScreenCenter
instead of poDesktopCenter
or save the last position in the INI file then it happens only on the first run (I think it currently saves the window size, could add position).
Hey, simple mods take a long time to download, and a map already downloads like 20 minutes. Can't see this as normal. Have 300/300mbit internet.
Nvm, restarted and it works normally.
It would be awesome if this had the ability to run a server with a custom game mode like controlled difficulty, or any other custom workshop game modes.
Describe the bug
After adding a map with the CMD tool, server listens on port 0
To Reproduce
Steps to reproduce the behavior:
KF2ServerToolCMD -addmap https://steamcommunity.com/sharedfiles/filedetails/?id=643383080
(or any other map)[0000.02] Log: Automatically setting Steam query port to 19238 (server port is 0)
[0000.02] Log: Automatically setting Steam port to 12783 (server port is 0)
Expected behavior
Tool doesn't break the server config. Server should keep running on default ports.
Desktop (please complete the following information):
Additional context
Diff of config folders. DownloadManagers modified manually other changes by the tool.
https://gist.github.com/Lartza/53d523f09d2fec3064a04afa205e546d
Describe the bug
The new update included new maps, but they're not shown in the program.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The latest maps should be there.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
Hi, please add feature restart server, if crashed. today I have several crashs on my servers.
Hey, there 👋
The translation system is working fine but while translating I noticed, that it is probably hard to maintain the code and keep the translations up to date. There are some texts that are not translated and some are translated twice and so on. As it is not a bug or anything it's low priority.
I have some ideas for improvements but I'm not sure yet what would be the best way. Just posting this issue so that we can discuss it or at least have some kind of documentation for later reference. If I have time and it's OK i will try to implement the discussed changes and do a pull request (I need some practice 😉).
Pros:
#Comments
which is niceKF2ServerTool.lc
Cons:
KF2ServerTool.lc
KF2ServerTool_MissingLocalization.txt
is unnecessary debug for the user I thinkPros:
["$LANGNAME{-$LANGDIALECT}", "$LANGCODE"]
"$KEY"="{$VALUE}"
KF2ServerTool.lc
Cons:
KF2ServerTool.lc
\n
)lang
)KF2ServerTool.lc
into a separate readme filePortuguês_PT-BR.lc
)
English_EN-GB.lc
and rename their new file\n
from the values and do it dynamically so the user doesn't have to"This will erase the workshop data base file.\nAre you sure?"="This will erase the workshop data base file.\nAre you sure?"
[MAIN]
DLG_CLEAN_WORKSHOP_DATA="This will erase the workshop data base file.\nAre you sure?"
Are you sure?
is used ~4 times as part of longer texts and could have its own kv-pair like GENERAL_QUESTIONS_CONFIRM="Are you sure?"
toolLanguage.pas
or have its own constants classEnglish_EN-GB.lc
) from the constants (including sections, kv-pairs and comments)English_EN-GB.lc
(and a simple diff lets you change the other language files within minutes; could be automated later)There is no Game mode selection for objective.
Post here any simple questions, problems using the tool, feature request, feedback etc.
If you have a more complex or detailed bug, please check this template to open a bug report.
The issue is fixed when pressing alt+tab to any other program and coming back to the program to see the messagebox saying "finished"
hey, first off I love this app, it makes the server actually usable!! thank you so much
My issue is that I updated to the beta branch, verified, but the new map from the 2018 christmas beta won't show up in my server maplist
It's supposed to be an official map so it doesn't have a workshop ID. I've also made sure i'm on beta.
botton disappear in main window
Windows 10 64bit
https://i.imgur.com/w3Z7Xp5.png
Describe the bug
Per the following Steam post, this app is having issues with updating workshop items:
https://steamcommunity.com/app/232090/discussions/1/3409802983885748185/?ctp=2#c3464974615693560835
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Maps and other workshop items should be able to update on server launch.
Desktop (please complete the following information):
Additional context
N/A
^
My friend can find my server though which is weird! I would appreciate it if you fix this. thx
Note: I'm still able to join through open 127.0.0.1
Describe the bug
On initial server set (Selecting "Install a new server"), it does not matter what folder is selected it will default download the "game" folder to your desktop (at least my desktop, as I have the files extracted into a "Servers" folder on my desktop)
After files are downloaded, the program asks for the directory where server is installed (Existing server files), and then fails when selecting due to not having the folder "STEAMCMD" and steamcmd.exe in that folder.
To Reproduce
Steps to reproduce the behavior:
Steps for problem two:
Expected behavior
Desktop (please complete the following information):
Additional context
A basic guide written on the github on downloading + installing would be fantastic. I noticed that when run, you need to have a copy of steamCMD in the server files folder or else it will fail to update/download and this messed with me for a while. A simple guide such as:
English is not my native language.
Need someone to work in the wiki, to explain basic things, how the tool works, what you can do with the tool, what are the options inside the tool and some frequent questions.
The wiki is opened to edit, just edit it if you can. Thanks.
I could be missing something here, but is there not a way to use a workshop collection URL for adding custom maps to a server? It'd be very helpful with saving time instead of having to put in the URL for every single map I want to add.
Describe the bug
Weird/invalid characters in KFGame.ini break the tool
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Config files get read correctly and don't cause the tool to fail functioning
Server:
Additional context
The characters got put there by kf2-magicked-admin and are characters some people use in their Steam names. KF2 Server doesn't seem to mind the characters
Hi there, So far this utility does exactly what I need, but I'm looking for means to have the server startup automatically if the server reboots. Is this possible?
Just a nice to have: Being able to run it without admin privileges / UAC prompt.
I didn't have time yet to look for the reason it requires elevation. Maybe it's because of certain Windows API calls or just using maximum permissions for the files ystem access.
If I manage to understand the libraries better I can try to fix it myself and will add a PR.
Problem first started when updating to 1.37 I believe, or before that. I noticed in the KF2ServerTool that all the words just say "help us". This is all menu items and headers. The fields you have to fill are fine. The tool still works and I am able to launch my server, update maps and game files but I have to click on buttons sometimes until I find the right buttons. Obviously, not ideal.
I have included a link to a screenshot to show the problem.
When I first start the tool I get a message, "Failed to set language. Language with initial "EG" not found". I am not 100% certain if that message is related but I know I had that message before when the tool worked. I just wanted to include it just in case.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The expected behavior is for the menu headers, titles of options etc to have the normal words instead of "help us".
Screenshots
Here is the link
Backup - https://ibb.co/fpdhWnr
Desktop (please complete the following information):
Now you can translate the entire tool into your own language or help us improve the English which is the default language.
Just follow the header in this file
KF2ServerTool.lc
Your help will be appreciated
Would like to add a .kfm map i have saved on my drive, but Add Map > Manual is greyed out
Can't figure out how to fix it
Any ideas?
The map is deprecated and not on the Steam Workshop
pls add autoupdate
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.