• Please make sure you are familiar with the forum rules. You can find them here: https://forums.tripwireinteractive.com/index.php?threads/forum-rules.2334636/

Server Problems with HTTP Redirect

Demorte

FNG / Fresh Meat
Dec 23, 2009
1
0
I just recently got my server from gameserver, so i'm kinda new. I've read over the guide and decided to add custom maps to my server. I decided to use a pre-made collection I found online: http://pubredirect.gamerslifeline.com/kf/maps/

The code looks like this:

[IpDrv.HTTPDownload]
RedirectToURL=http://pubredirect.gamerslifeline.com/kf/maps/
ProxyServerHost=
ProxyServerPort=3128
UseCompression=True

I then copied all the map names under Kfmod.Maplist, so it looks like this:

[KFMod.KFMaplist]
MapNum=0
Maps=KF-BioticsLab
Maps=KF-Manor
Maps=KF-WestLondon
Maps=KF-Offices
Maps=KF-Farm
Maps=kf-bedlam
Maps=kf-crash
Maps=kf-departed
Maps=kf-filthscross
Maps=kf-foundry
Maps=kf-icebreaker
Maps=kf-waterworks
Maps=kf-wyre
Maps=kf-420-Ganja-Farm
Maps=KF-AquaStudy-V2
Maps=KF-AquaStudy-V2Fin
Maps=KF-AquaStudy-V2Final
Maps=KF-Arcade-Action-v2
Maps=KF-Arcade-Gas-Station-FIN
Maps=KF-Arcade-Gas-Station-KF
Maps=KF-Arcade-Gas-Station-v1
Maps=KF-Arcade-Hardcore
Maps=KF-Arcade-Shopping-Center-final
Maps=KF-Arcade-Shopping-FIN
...

But when i check on Webadmin, these maps do not show up, and nor do they show up during map votes.
 
the map handler is a bit more complicated than that, once you have put the *.rom files in your .\maps directory, the server will automatically recognise/import them as playable maps before loading every game. to add them to your rotation manually, you need to list them in

[Default KF MaplistRecord]

where they get duplicated in

[KFMod.KFMaplist]

[Default KF MaplistRecord] is used by the gametype and vote handlers, not sure why it's also duplicated in [KFMod.KFMaplist], because it does not include all playable maps, just the ones you've added to default. maybe stores the list of your current rotation, in case you create custom ones. the web admin ui will list all maps on the server, including those not in rotation, and seperate them into rotated/non rotated lists.

so in order for this to be done manually, you have to add them to the proper rotation, or you can use the web admin. web admin is faster imo, since you can do multi select with ctrl/shift and add them with a few clicks. then you don't have to take your server down to edit the lists, just copy/upload them into your .\maps dir and they are available to your server rotation on next map change/restart, remember to click both save/use.

the map rotation ui is through the 'defaults' link at the top of the webadmin page under 'maps', first page that link takes you to.
 
Upvote 0