Tripwire Interactive Forums

Go Back   Tripwire Interactive Forums > Killing Floor Forums > Technical Support > Dedicated Server Support

Reply
Click here to go to the first Dev post in this thread.  
Thread Tools Display Modes
  #1  
Old 05-18-2009, 11:50 AM
SlayVus SlayVus is offline
Junior Member
 
Join Date: May 2009
Posts: 26
Default Login to your KF server through Web Admin IN-GAME in Steam

This will be a small tutorial on how to login into the Web Admin in-game using the Steam overlay.

This can be really useful when you want to change maps fast, kick or ban players, edit difficulty on the fly or turn on mutators. Just remember changes made will not take effect until a new map has been loaded.

While in-game press Shift+Tab to bring up the Steam overlay.

In the bottom right corner, click the "Web" button. This will bring up a window with an address bar which should already have a website loaded.

Now, you will need to type this in to get into your web admin BECAUSE there are no pop up windows that will ask for your user name and password when you use this method.

Code:
http://YourUsername:YourPassword@YourServer'sIPAddress:Server'sWebAccessPort (Default 8075)
The web admin is much easier to use than the console in-game and I would suggest using over the in-game console.

Quote:
Originally Posted by gH0sTy View Post
Here is another way to access the WebAdmin from the Overlay Browser.
This solution requires the modification of one steam file (url_list.txt).

  1. Download the Zip file and extract the web.admin.mod.html into the "Public" folder of your steam installation.
    Code:
    I:\Program Files (x86)\Steam\Public
  2. Open the web.admin.mod.html with an html or text editor of your choice and change the following to the URL of your KF WebAdmin
    Code:
    http://YourName:YourPW@111.222.333.444:8075/
  3. Change the following to the URL of your community control panel (copy and paste the URL from your steam client)
    Code:
    http://steamcommunity.com/id/YourSteamCommunityID/home
  4. Save the file, double click it to open it in the web browser and copy the URL from the browser's address bar... should look like this
    Code:
    file:///I:/Program%20Files%20(x86)/Steam/Public/web.admin.mod.html
  5. Create a backup of "url_list.txt" (it's also in the Public folder)
  6. Open the "url_list.txt" and look for
    Code:
    SteamIDControlPage
    {
        url            "%community%/profiles/%steamID%/home"
        method        "community"
    }
  7. Replace the "url" part of it with the URL of the web.admin.mod.html you just copied from the browser's address bar so it would look like this
    Code:
    SteamIDControlPage
    {
        url            "file:///I:/Program%20Files%20(x86)/Steam/Public/web.admin.mod.html"
        method        "community"
    }
  8. Save the file, done
If you now click on the Steam Overlay "Community" button it will open the web.admin.mod.html and give you two links as you can see in the attached picture. If you click on the KF WebAdmin link a new browser window will open and load your WebAdmin page. Click on the Steam Community link to go to your Steam Community Control Panel.
Attached Images
File Type: jpg steam.jpg (32.2 KB, 621 views)
Attached Files
File Type: zip WebAdminMod.zip (849 Bytes, 826 views)

Last edited by SlayVus; 05-18-2009 at 09:41 PM.
Reply With Quote
  #2  
Old 05-18-2009, 01:09 PM
arramus's Avatar
arramus arramus is offline
Senior Member
 
Join Date: May 2009
Location: Residing in Japan
Posts: 1,140
Default

This method works well in place of long, complex and time consuming console commands. Nice tut.

__________________
Killing Floor Vehicle Mod at moddb
Reply With Quote
  #3  
Old 05-18-2009, 02:44 PM
emspilot emspilot is offline
Junior Member
 
Join Date: May 2009
Posts: 3
Default

Worked great!!!! Thank You.
Reply With Quote
  #4  
Old 05-18-2009, 04:12 PM
bfsilas bfsilas is offline
Junior Member
 
Join Date: May 2009
Posts: 29
Default

I know this is a stupid question and i tend to find stuff like this scattered around the files, but unfortunatly i can't find this one...

I prefer to use the dedicated server launched by the game itself, and i got the webadmin interface working, but i can't find the default username and password or set them...

If there is a workaround out there or something i've missed let me know!
Reply With Quote
  #5  
Old 05-18-2009, 04:17 PM
SlayVus SlayVus is offline
Junior Member
 
Join Date: May 2009
Posts: 26
Default

Put this in the .bat file.

?adminname=whatever?adminpassword=whatever

Put in whatever you want and that will become your user name and password.
Reply With Quote
  #6  
Old 05-18-2009, 04:29 PM
bfsilas bfsilas is offline
Junior Member
 
Join Date: May 2009
Posts: 29
Default

Quote:
Originally Posted by SlayVus View Post
Put this in the .bat file.

?adminname=whatever?adminpassword=whatever

Put in whatever you want and that will become your user name and password.
There is no ucc file for me, as i'm using the dedicated server which comes within the game.
Reply With Quote
  #7  
Old 05-18-2009, 04:59 PM
SlayVus SlayVus is offline
Junior Member
 
Join Date: May 2009
Posts: 26
Default

In the killingfloor.ini in C:\Program Files\Steam\steamapps\common\killingfloor\System under [Engine.GameReplicationInfo] try putting whatever you want next to AdminName=. Then under [Engine.AccessControl] next to AdminPassword= put whatever password you want.

After you've done that, make sure the server isn't on during this, turn on the server and try using the information you just put in.

Okay, so I just tried using a different user name then the one in my .bat file and it worked, just make sure you have the password typed in right.

Last edited by SlayVus; 05-18-2009 at 05:01 PM.
Reply With Quote
  #8  
Old 05-18-2009, 05:10 PM
Deek Deek is offline
Senior Member
 
Join Date: May 2008
Posts: 218
Default

Great! Thanks for this. Works like a charm.
Reply With Quote
  #9  
Old 05-18-2009, 05:14 PM
shah3211 shah3211 is offline
Member
 
Join Date: May 2009
Posts: 82
Default

this didn't work for me, im not sure why.
for example. say my ...

admin name is "steam"
admin password is "powered"
and my KF server ip is 217.163.10.158:7707
and my web access port is 8075

is this what i type in steam in-game web browser...

http://steamowered@217.163.10.158:8075

what am i doing wrong?
Reply With Quote
  #10  
Old 05-18-2009, 06:03 PM
SlayVus SlayVus is offline
Junior Member
 
Join Date: May 2009
Posts: 26
Default

If it didn't work that means you didn't put in the right password. The password is case sensitive.
Reply With Quote
  #11  
Old 05-18-2009, 09:15 PM
gH0sTy gH0sTy is offline
Member
 
Join Date: May 2009
Posts: 78
Default

Here is another way to access the WebAdmin from the Overlay Browser.
This solution requires the modification of one steam file (url_list.txt).

  1. Download the Zip file and extract the web.admin.mod.html into the "Public" folder of your steam installation.
    Code:
    I:\Program Files (x86)\Steam\Public
  2. Open the web.admin.mod.html with an html or text editor of your choice and change the following to the URL of your KF WebAdmin
    Code:
    http://YourName:YourPW@111.222.333.444:8075/
  3. Change the following to the URL of your community control panel (copy and paste the URL from your steam client)
    Code:
    http://steamcommunity.com/id/YourSteamCommunityID/home
  4. Save the file, double click it to open it in the web browser and copy the URL from the browser's address bar... should look like this
    Code:
    file:///I:/Program%20Files%20(x86)/Steam/Public/web.admin.mod.html
  5. Create a backup of "url_list.txt" (it's also in the Public folder)
  6. Open the "url_list.txt" and look for
    Code:
    SteamIDControlPage
    {
        url            "%community%/profiles/%steamID%/home"
        method        "community"
    }
  7. Replace the "url" part of it with the URL of the web.admin.mod.html you just copied from the browser's address bar so it would look like this
    Code:
    SteamIDControlPage
    {
        url            "file:///I:/Program%20Files%20(x86)/Steam/Public/web.admin.mod.html"
        method        "community"
    }
  8. Save the file, done
If you now click on the Steam Overlay "Community" button it will open the web.admin.mod.html and give you two links as you can see in the attached picture. If you click on the KF WebAdmin link a new browser window will open and load your WebAdmin page. Click on the Steam Community link to go to your Steam Community Control Panel.
Attached Images
File Type: jpg kfwebadminmod.jpg (29.7 KB, 146 views)
Attached Files
File Type: zip WebAdminMod.zip (849 Bytes, 153 views)
__________________
Reply With Quote
  This is the last developer post in this thread.   #12  
Old 05-18-2009, 09:21 PM
[TW]Ramm-Jaeger's Avatar
[TW]Ramm-Jaeger [TW]Ramm-Jaeger is offline
Tripwire Interactive President
 
Join Date: Oct 2005
Posts: 1,724
Default

Awesome stuff guys, and good find. We didn't even think of this
Reply With Quote
  #13  
Old 05-18-2009, 09:24 PM
arramus's Avatar
arramus arramus is offline
Senior Member
 
Join Date: May 2009
Location: Residing in Japan
Posts: 1,140
Default

Thank you for expanding the tut and offering another convenient method. It's great to see the reciprocal benefits of utilising the Steam app and Web Admin Interface at the same time. I hope this gets stikkied. I shall add a link to the dedicated server tutorial at least to ensure its getting the exposure it deserves.
__________________
Killing Floor Vehicle Mod at moddb

Last edited by arramus; 05-18-2009 at 09:25 PM.
Reply With Quote
  #14  
Old 05-19-2009, 02:27 AM
Death_Point Death_Point is offline
Member
 
Join Date: May 2009
Posts: 85
Default

How come it won't let me write anything into the address bar? i.e greyed out.

Edit: got it sorted.

Thanks for a great useful tip!

1 thing though - about the second method - got it to work - i got the new html page with the 2 links, if i click on the community link everything is OK but if i click on the webadmin link nothing happens?
__________________
killing floor fansite - WorldWide.

Last edited by Death_Point; 05-19-2009 at 02:43 AM.
Reply With Quote
  #15  
Old 05-19-2009, 06:16 AM
fabi fabi is offline
Junior Member
 
Join Date: May 2009
Posts: 24
Default

Ghosty - THANK YOU!

Your method works like a charm and it is SO useful. If this were the steam forums you'd get +rep 1000 for this.
Reply With Quote
  #16  
Old 05-19-2009, 07:06 AM
gH0sTy gH0sTy is offline
Member
 
Join Date: May 2009
Posts: 78
Default

The WebAdmin link only works while in-game using the steam overlay.
This is because the IE doesn't support user names and passwords in Web site addresses (http, https) but there's a workaround.
There's not really a need to use this workaround as you will get the login pop-up if you open your WebAdmin and don't use the steam overlay.
http://support.microsoft.com/kb/834489/EN-US/
__________________

Last edited by gH0sTy; 05-19-2009 at 07:35 AM.
Reply With Quote
  #17  
Old 05-19-2009, 09:07 AM
shah3211 shah3211 is offline
Member
 
Join Date: May 2009
Posts: 82
Default

Quote:
Originally Posted by SlayVus View Post
If it didn't work that means you didn't put in the right password. The password is case sensitive.

i did put the password in right.
my password was numbers so i changed it to a word so now it works.
Thanks

Last edited by shah3211; 05-19-2009 at 09:21 AM.
Reply With Quote
  #18  
Old 05-19-2009, 11:22 AM
FcUK_A FcUK_A is offline
Junior Member
 
Join Date: May 2009
Posts: 11
Default

Cheers works a treat.
Reply With Quote
  #19  
Old 05-19-2009, 11:48 AM
Floyd Floyd is offline
Senior Member
 
Join Date: Feb 2006
Location: Waterproof
Posts: 3,746
Default

I admin four servers.

Is it possible to have the menu give a choice for all four? If so, what would the code look like? (Lets assume the adminname and password remain the same for all four).

I've never really used the Steam Overlay so I'm not that familiar with it.
The method given by the original poster works great. However, being able to get to range of servers would be wonderful (if possible).

TIA,
Floyd
__________________
Reply With Quote
  #20  
Old 05-19-2009, 12:14 PM
gH0sTy gH0sTy is offline
Member
 
Join Date: May 2009
Posts: 78
Default

Quote:
Originally Posted by Floyd View Post
I admin four servers.

Is it possible to have the menu give a choice for all four? If so, what would the code look like? (Lets assume the adminname and password remain the same for all four).

I've never really used the Steam Overlay so I'm not that familiar with it.
The method given by the original poster works great. However, being able to get to range of servers would be wonderful (if possible).

TIA,
Floyd
Use this one.
Attached Files
File Type: zip WebAdminMod.zip (869 Bytes, 72 views)
__________________
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:38 AM.


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©2005 - 2013, Tripwire Interactive, LLC