darkdks / KF2ServerTool

Killing Floor 2 Server Tool
64 stars 7 forks source link

Interactive topic - Questions, suggestion and issues #1

Open darkdks opened 6 years ago

darkdks commented 6 years ago

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.

AiVo7z commented 6 years ago

Hey, not an issue with the tool itself, but the download is horrible slow from github :(

darkdks commented 6 years ago

Strange, for me it takes about 3-2 seconds to download.

AiVo7z commented 6 years ago

Hey darkdks, I've now found an issue. it appears that the maps drop out of map cycle, how to avoid this? I need to click reinstall item and then just check the box add map in cycle then I also get the message "list index out of bounds (3)" for every map I've in list, even if I updated only one. That the maps get removed from list, is only once in a while :/

darkdks commented 6 years ago

AiVo7z tryed to reproduce the issue, no sucess. Can you post the full steps to reproduce the bug and some screenshots?

oratex commented 6 years ago

I keep getting "Exception Adding item: failed to download." error when trying to put maps into the server from the workshop by ID, URL, every way possible.

AiVo7z commented 6 years ago

I redownloaded the tool, wiped configs and the error dissappeared somehow. As soon as I see that my maps aint in the map cycle anymore, I'll post a screenshot, probably the error will appear again then.

Last time that error appeared was after updating the dedicated Server from v1060 to v1061. Maybe Tripwire messed with the config and your tool was outputting that issue then. It's pretty much possible due to that error no longer appears after redownloading your tool.

You did a great Job btw, I used your tool from beginning and it improved well, I love the Option to update your Server also into beta! (esp. for newbs a must-have) and also having the webadmin implemented into your tool was a great idea. No Need to Close it after starting the Server.

One Thing I've noticed: if you're using the other method to have custom maps (Redirect from URL i.e. skillservers) it is not Shown in your list. That's common sense bcoz it got no relation/connection to the Workshop nor can you upload it. But in Server tab, it would be useful to have that in droplist.

Maybe, to improve your tool even more, add a section for Workshop maps and Redirect maps? So you could check a box to enable both, or the one you prefer and maybe make that automatic. Atm you Need to put the map in your PCServer-KFGame on your own as well as download the map and put it in your KFGame\BrewedPC\Maps Folder on your own as well (if you're using Redirect from URL). It would be a great Addition and more ppl would use your tool. Not every map,especially previous Version can be found on Workshop.

A map called deadly_house_hard is crazy but funny, not in Workshop but Redirect Server. You probably know about that second method ? If you dont, I could go more into Detail.

darkdks commented 6 years ago

oratex is it possible that you just forgotten the 'STEAMCMD' folder? the 'STEAMCMD' folder should also be placed in the server folder, along with the executable. If you forget the STEAMCMD folder will generate that kind of error.

AiVo7z Thank you for your feedback. About the maps droping from cycle list that happens sometimes when the server is updated. It's more about tripwire update than the tool. In fact the tool try to help put all maps back when that happens. Some versions ago had some errors regarding reinstalling the item, but I think this was fixed.

About adding redirect listing This is an excelent ideia, I will try to put this function soon, really needed.

oratex commented 6 years ago

Yeah i did not place steamcmd there. But somehow some maps got installed i tried doing more it didnt work. Ill try adding steamcmd later. Thanks for fast response

oratex commented 6 years ago

Placing steamcmd on server folder fixed the issue for previous maps i tried to add then it came back again for new ones.. idk why

darkdks commented 6 years ago

i think its because the tool added the maps to server subscribe list, so when you started the server it downloaded the new maps, and when you come back to the tool the maps were there. In the next version i'll put a steamcmd check to avoid that kind of mistake. Thanks for you feedback

AiVo7z commented 6 years ago

I've got another Idea. You could make it possible that the webadmin logs in automatically. Not ask for username/Password, nor that you even see the Screen. So if you started the Server it jumps right to the Screen like you logged in, the homescreen of webadmin. Make it an Option you can choice to have it or not. Imo it is not needed to Password protect it at that Point, nor isit a risc, since you've launched the tool and the Server anyway. It is just an useless step and improves it a Little.

There're also Little tweaks to the serveradmin Panel to have it work better. I.e. you can fix the shown rounds on endless mod as well as Display Level of each perk and the difficulty if you press "Server info" in webadmin. All you have to do is fix some lines of codes or add a few lines of 2-3 cfgs. It could be a button like "fix my webadmin to Show xyz". Theres a guide on what Needs to be changed, if you like and if that's allowed, I'd link it here. Found in Workshop of KF2 btw.

Also got more ideas, such as a the possibility to have more than one map cycle and activate it. Like 1 cycle got official maps only, one got a few custom maps and another one got all you have and or funmaps w/e. The tool only neds to rewrite the config then. Webadmin alrdy got that Option, but if you ask me it's horrible broken and kinda complicated/confusing at some Point. So I stopped using it.

Another Option you might want to add, to refresh the serveradmin by automatic, such as every 10 seconds. So you're always up to date whos on it, or the kicklist is up to date without tabbing out if your game/current window. Was a Little broken when I tried that with a browser and an app doing it. Maybe you've got more luck. Ofc all of that ideas should be able to being enabled or disabled by any time.

One last Thing :) if you want to make your tool even more attractive, find a way to Launch 2 Server with only 1 button to press. I tried that method you've mentioned (with Option -config if I can remember) and also 2nd configs but whatever I do, one Server isnt registering into steamservers and therefore not shown in serverbrowser list ingame.. Also always says it runs a 2nd instance if I'd like to kill it etc.

If a 2nd instance was launched, you could have like a 2nd webadmin opened and be able to maintance it all from your tool. I know you got to change the ports and also Forward it as an user (last Thing is something you cant do for us tho) but everything else can be done with Code. And I bet ppl will love it.

Thanks!

Plgue commented 6 years ago

I have an issue. Whenever I try to download a map off the workshop, it just says failed and put's it in unknown with the name "???"

darkdks commented 6 years ago

AiVo7z thanks for you feedback, some of that is already possible with kf2server tool and somes is plained for future=)

Plgue is it possible that you just forgotten the 'STEAMCMD' folder? the 'STEAMCMD' folder should also be placed in the server folder, along with the executable. If you forget the STEAMCMD folder will generate that kind of error.

AiVo7z commented 6 years ago

@darkdks I've found an additional issue.

If I click on Server tab and I add a new Profile, the additional Parameters, such as mods aint saved. As soon as I Change Profile or restart the servertool, everything is saved like game length, difficulty, map etc. but the line additional Parameters is blank.

However, if I Change the Default Profile "max Players" it does save it. Your Parameter For max Players didn't work for me, or changed Slots to 1. You may should Change your Default line to "?Mutator=KFMutator.KFMutator_MaxPlayersV2?MaxPlayers=12?" and Change 12 to the amount of possible Slots.

For now, I can't save a Profile and add a mod without copying it on my own.

Thanks.

darkdks commented 6 years ago

AiVo7z Thanks for you feedback.

You are right, this happens with 1.1.5. On 2.0 Alpha i tested and it already fixed.

About the command line is true, i did a mistake when i took the printscreen, i just wrote the command by hand for an example, but ill fix it too in the readme, this can generate confusion and more mistakes. And oh, you can omit the last '?' at the end, the next param already have it.

i'll release version 2.0 in some weeks, for now I found a trick, change the additional paramenter and close the application to save it.

MaximoMidnight commented 6 years ago
  1. I downloaded 30 Maps from Workshop using Steam not your tool.( about 8GB ) , Its very time-consuming to add 30 single maps. So i thougt i can copy the downloaded files and put them in cache folder in same folder where the server is installed. Your tool recognizes the maps and i can play them. But then they get deleted and they became unknown.

How can i add already existing files to your tool without download them again ? Where must i put them?

  1. Please add the option that i can remove/delete multiple ??? files and not one for one.

  2. Please add desciptions off your features. What does Auto reconnect to wemadmin do , why should i use it ?

  3. Please add option to add muliply ID / or Links on the same time. I mean when i create a list with links your tool should recognize the links and add them to list. not one link only.

  4. When i add links from webbrowser the browser closes and i have to search for maps again. Please add function that i can add maps without closing the webbroswer

Sorry for my bad english

Thank you for this great tool.

darkdks commented 6 years ago

How can i add already existing files to your tool without download them again ? Where must i put them? If the maps/mods shows in unknown tab is because there are entrys for workshop, but these files are missing in the cache directory. The cache directory is in KFGame\Cache, and the struture needs to be with ID, like when the server download the files. ie: KF2_SERVER\KFGame\Cache\772927125\BrewedPC

Please add the option that i can remove/delete multiple ??? files and not one for one. In 1.1.5 already there's this option in mod/maps tab, maybe just the unknowed there is no.

Please add desciptions off your features. What does Auto reconnect to wemadmin do , why should i use it ? Yeh, it's true, i need to do a full documentation, in my version 2.0 the tool will show some tips. And the connect to webadmin checkbox will open automaticaly the webadmin inside the tool when the webadmin goes online.

Please add option to add muliply ID / or Links on the same time. I mean when i create a list with links your tool should recognize the links and add them to list. not one link only. There is a option in add button to add multiple items in a queue to download and install at the same time. But make a backup of list of maps and put they back again to application is a thing that i'm really thinking about.

MaximoMidnight commented 6 years ago

Thank you for the quick answer.

i added question / possible feature Nr.5 :

When i add links from webbrowser the browser closes and i have to search for maps again.How about the function that i can add maps without closing the webbroswer

NicholasJonesCode commented 6 years ago

darkdks first i want to thank you for your efforts. I've been working on setting up a kf2 server for a few days, and this tool is a big help to the community.

I'm having a bit of a problem with the installation. I copied the proper files and cmd folder in my KF2_server folder, and I installed it, then when I start it up, i get this:

image

here is my D:\kf2_server\KFGame\Config image

if you could please help that would be appreciated. I started both the installation and the program as admin, also. Anyway, I really don't wanna do a big manual server setup again, cause i deleted it xD. That's why im trying to use your tool. I'm at home pretty often, so I will help in any way I can : )

darkdks commented 6 years ago

NicholasJonesCode Just start the server one time to create the configs files and try again

NicholasJonesCode commented 6 years ago

lol that worked, thanks man <3

NicholasJonesCode commented 6 years ago

I'm getting a LOT of fails to download, is there a reason for that? https://steamcommunity.com/sharedfiles/filedetails/?id=1258411772 this one right now. I got a couple of others to work, but only have many tries

darkdks commented 6 years ago

That happens for any map/mod or just for some items? A picture is welcome too Just added this item, no problem, worked fine http://prntscr.com/jckrkp

NicholasJonesCode commented 6 years ago

it happens with pretty much any map :/ image

image

darkdks commented 6 years ago

Did you put the steamcmd folder that was in the rar along with the tool?

NicholasJonesCode commented 6 years ago

D:\kf2_server - image

yes i did. Just got another 2 maps to work again last night, but then start acting up again.

darkdks commented 6 years ago

Well, it's strange. Since 1.2.1 is a newer version, try with the version 1.1.5. https://github.com/darkdks/KF2ServerTool/releases/tag/1.1.5 Give me a feedback about 1.1.5, if it works.

If the problem still happens for some reason you have the option to let the server download the maps and just the use the tool to help you with the rest:

How to do it

NicholasJonesCode commented 6 years ago

Thank you so much for the advice and input, dark, I appreciate it. I will let you know how it goes.

NicholasJonesCode commented 6 years ago

1.1.5 seems to be working like a charm! Thanks man! I have another question, and that's how to get weapon skins to work? Or is that even possible for a server to do that? When I download a skin in the Mods tab, I get this: image https://steamcommunity.com/sharedfiles/filedetails/?id=649269921

darkdks commented 6 years ago

Thanks for your feed back. It looks like I have to add the skins extension in the tool to fix that. if 1.1.5 is working fine and 1.2.1 not i need check what i changed in download code.

add me in steam, just find darkdks, i'll send an debug version of 1.2.2 to find out where is the download problem with 1.2.1 since i can't reproduce the bug here. If you can, sure.

n1ouk commented 6 years ago

Hi, KF2ServerToolCMD has been deleted from code folder. How can I download it for linux ?

Thanks =)

darkdks commented 6 years ago

I reinstaled my IDE some days ago, so the lastest version was not compiled. it's missing in the current git code folder. Browsing some older codes releases i found, try download from here:

https://github.com/darkdks/KF2ServerTool/blob/7b2de24fefce22c5d8130f5552376426911b5008/code/KF2ServerToolCMD

n1ouk commented 6 years ago

Thank you =)

GreenGhost21 commented 6 years ago

No matter what I try, I can't get the redirect option to accept any redirect, even Tripwire's official one.

Any chance you could take a look at this?

darkdks commented 6 years ago

What redirect are you trying?

GreenGhost21 commented 6 years ago

Well, apparently it's just listing the directory that counts it as invalid. If I manually put in the map name and hit OK, it downloads fine.

I was trying my own server's redirect, as well as Tripwire's own redirect, which I linked to in my previous post.

Even though it will work for my purposes, I still think you should take a look at it.

darkdks commented 6 years ago

I tested now with tripwire and it's really not working, looks i need to adapt my code to get the maps list from diferents webservers. with skillzserver is ok. I will publish an update to fix it soon. Easy to fix. Thanks for your feedback.

GreenGhost21 commented 6 years ago

No problem, glad to help.

Let me know if you'd like me to also send you the link to my server's redirect, since it is formatted differently from Tripwire's. It'd probably also help anyone else using NFOservers as their host if the redirect worked with mine.

darkdks commented 6 years ago

Just released a release with some code change for redirect servers, check it out if is working now.

GreenGhost21 commented 6 years ago

Well, other than the fact that the KillingFloor2DKS theme somehow disappeared (which isn't really an issue for me anyways), the update worked perfectly! I'm able to browse my own redirect within the server tool. Thank you very much!

EDIT: "manager" to "tool"

darkdks commented 6 years ago

Ohh it's true lol, i forgot to put back the kf2 theme, some days ago i was testing how much the theme affects the exe size. For new downloads from 1.2.5 it's fixed, thanks for your feedback! đź‘Ť

Fr33domJustice commented 6 years ago

hi man, i was not using this tool since 6 month ago,

now TW came up with a new update also new maps. can i still use this current version of the tool with my server bro?

thanks in advance

darkdks commented 6 years ago

@Fr33domJustice yes, the tool is updated working without problems

GreenGhost21 commented 6 years ago

Hey, I'm back.

Having some trouble adding this specific map to my server:

https://steamcommunity.com/sharedfiles/filedetails/?id=1097832055

It has multiple files that the map requires, so I think the manager is having trouble handling it as one map.

Could you take a look at it for me?

darkdks commented 6 years ago

GreenGhost21 What's the problem? Working without problems here.

GreenGhost21 commented 6 years ago

image

image

KF-KF1_Farm isn't getting a map entry, and Collision_KF1_Farm is, but KF-KF1_Farm is supposed to be the thing getting a map entry and being added to the map cycle.

darkdks commented 6 years ago

What version are you using? I'll check it latter

GreenGhost21 commented 6 years ago

Nevermind, the error I originally posted in this post was 100% my fault.

On the bright side, the new update fixed the issue I was having.

EDIT: I gave running the server a try, but apparently it hasn't been properly updating. When I try to connect, it says the server needs to be updated to the latest version of the game.

Also edited the first statement for clarity.

EDIT 2: Further clarity

EDIT 3: Again, my fault with the server not updating, turns out SteamCMD doesn't like spaces in file paths.

GreenGhost21 commented 6 years ago

I would just like to make sure you’ve seen my comment in its current state, since the issue was added after the comment was posted.

EDIT: Nevermind, no input needed.

asdagh commented 6 years ago

Hello, so I decided to give this a go for making it easier for people to get the maps I roll on my server cycle. But as I try to open it, I get the message "to use this tool you need to select the path of your existing server or install new one" and it just wont let me select the server folder? I tried running the install it offers too, but nothing changed. I did run them as admin. Help!