ut server from commandline

  • Hey - turns out IRC is out and something a little more modern has taken it's place... A little thing called Discord!

    Join our community @ https://discord.gg/JuaSzXBZrk for a pick-up game, or just to rekindle with fellow community members.

~viper~

~dzz~
Oct 29, 2006
51
0
purpose: to play around with ut from the commandline, and potentially create an irc pugbot written in ruby

lo, i've just beginning to experiment w/ running a ut server from the commandline, but i'm not sure how to specifically make it do certain things. my first attempt was
Code:
ucc server as-frigate?game=Botpack.Assault ini=server1.ini log=server1.log

server1.ini does not exist, but server was nevertheless created effectively. i still had some questions as to setting, for instance,
1) number of bots
2) LeagueAS gametype, as opposed to regular AS
3) number of players, number of specs
4) map rotation, for instance, or else remote command for the server so as to switch map on the fly (and obv. store an array of picked maps in ruby)
5) tips on restarting server during crash, although http://unreal.epicgames.com/utservers.htm has one such piece of advice

it's my guess that the .ini file should provide all of this, and if so, could someone perhaps share a sample server.ini file?

thx,
~viper~
 
One way of making an ini is to start up ut as normal, start up a new multiplayer from the menu and change the bot numbers, spec slots, server details etc that you would like.

Start up server in that way then after it's finished loading stop it. Next copy your ut.ini to server.ini and you will find the settings are saved there. Then you don't need to add anything extra to command line.

For command line options see http://unreal.epicgames.com/UTConsole.htm
 
Sample command line to start server with LAS mode:
ucc server AS-Frigate.unr?game=LeagueAS140.LeagueAssault? -nohomedir ini=UnrealTournament.ini log=server.log


Sample ini with LAS support and settings in attachement. You need to read it and fill all required options like amdin passwords and stuff. Also make sure you got all mentioned server packages uploaded as well.
 

Attachments

  • UnrealTournament.rar
    5.5 KB · Views: 48