....
Edit:
Run-Line
Code: Select all
UCC.EXE server ?Game=BotPack.DeathMatchPlus?Mutator=MapVoteLA_something.BDBMapVote,MyStarter.TheStart?difficulty=3 -log=server.log -ini=Server.ini
In Server.ini
Code: Select all
[URL]
Protocol=unreal
ProtocolDescription=Unreal Protocol
Name=The_Myself
Map=Entry.unr
LocalMap=Entry.unr
Host=
Portal=
MapExt=unr
SaveExt=usa
Port=7777
Class=Botpack.TFemale1
Code: Select all
class TheStart expands Mutator;
event PreBeginPlay()
{
SetTimer(1,False);
}
event Timer()
{
local string Map;
Map=Level.GetURLMap();
if ( Map ~= "Entry.unr")
{
if ( DeathMatchPlus(Level.Game) != None )
{
DeathMatchPlus(Level.Game).NetWait=0;
DeathMatchPlus(Level.Game).RestartWait=0;
DeathMatchPlus(Level.Game).bRequireReady=False;
DeathMatchPlus(Level.Game).bNetReady=False;
DeathMatchPlus(Level.Game).StartMatch();
DeathMatchPlus(Level.Game).TimeLimit=3;
DeathMatchPlus(Level.Game).RemainingTime=2;
}
}
else
{
log (Self$" won't react.");
return;
}
}