For direct access use https://forums.oldunreal.com
It's been quite a while since oldunreal had an overhaul, but we are moving to another server which require some updates and changes. The biggest change is the migration of our old reliable YaBB forum to phpBB. This system expects you to login with your username and old password known from YaBB.
If you experience any problems there is also the usual "password forgotten" function. Don't forget to clear your browser cache!
If you have any further concerns feel free to contact me: Smirftsch@oldunreal.com

Unreal 1 2273 dedicated server

Unreal Unreal and more Unreal
User avatar
ChaoS(CoA)
OldUnreal Member
Posts: 38
Joined: Fri Oct 31, 2008 7:39 pm

Unreal 1 2273 dedicated server

Post by ChaoS(CoA) »

Hiya!

I have searched for this but I must be searching for the wrong thing because I have not found any examples of batch files to launch an Unreal 1 server.

I have tested running one from in-game but it crashes sometimes and with no startup file does not of course restart.

Can someone give me an example of a batch file to be used to start a deathmatch server?

Cheers!
Image
User avatar
Chaos13
OldUnreal Member
Posts: 951
Joined: Sat Feb 16, 2008 10:24 am

Re: Unreal 1 2273 dedicated server

Post by Chaos13 »

Hey and welcome to OldUnreal!
I'd recommend you to use smth like following batchfile:

Code: Select all

:Restart
Unreal DM-M_Deck16 -server -timestamplog
GOTO Restart
Try that...
Last edited by Chaos13 on Sat Nov 01, 2008 4:55 pm, edited 1 time in total.
Skydev = Chaos13 = Dimension4
User avatar
[§Ŕ] ŤhěxĐâŕkśîđěŕ
OldUnreal Member
Posts: 4425
Joined: Wed Sep 03, 2008 8:19 am

Re: Unreal 1 2273 dedicated server

Post by [§Ŕ] ŤhěxĐâŕkśîđěŕ »

Create a batch file, place it into Unreal's "System" folder and put this into it (for example if you want to run DmAriza):

Unreal DmAriza.unr?game=UnrealI.DeathmatchGame -server

You can customize it any way you like, for example:

Unreal DmAriza.unr?game=UnrealI.DeathmatchGame -server port=7778 log=server.log ini1=server1.ini

etc.

Cheers
ThexDarksider

EDIT: And, don't do that what Ikuto said. ::)
Last edited by [§Ŕ] ŤhěxĐâŕkśîđěŕ on Sat Nov 01, 2008 4:28 pm, edited 1 time in total.
User avatar
Chaos13
OldUnreal Member
Posts: 951
Joined: Sat Feb 16, 2008 10:24 am

Re: Unreal 1 2273 dedicated server

Post by Chaos13 »

Yeah sure do what ThexDarksider said and your server wont restart ^_____^
Skydev = Chaos13 = Dimension4
User avatar
[§Ŕ] ŤhěxĐâŕkśîđěŕ
OldUnreal Member
Posts: 4425
Joined: Wed Sep 03, 2008 8:19 am

Re: Unreal 1 2273 dedicated server

Post by [§Ŕ] ŤhěxĐâŕkśîđěŕ »

Waaait a minute, are you joking me?
Doesn't that kill your PC? :-?
User avatar
ChaoS(CoA)
OldUnreal Member
Posts: 38
Joined: Fri Oct 31, 2008 7:39 pm

Re: Unreal 1 2273 dedicated server

Post by ChaoS(CoA) »

Hmmm

Can you give an example of a completed batch file?

:-/

Image
User avatar
GreatEmerald
OldUnreal Member
Posts: 5347
Joined: Mon May 21, 2007 2:30 pm

Re: Unreal 1 2273 dedicated server

Post by GreatEmerald »

Code: Select all

@echo off

set XMPDIR=I:\u2xmp_dedicated_7710\U2XMP_Dedicated


:one

echo Starting dedicated server for %1%...

%XMPDIR%\System\ucc.exe %1% server xmp-garden

goto one
That's from an official Legend Dedicated Server package.

Just change the XMPDIR value to your Unreal folder, and add a map of your choice instead of XMP-Garden.
User avatar
[§Ŕ] ŤhěxĐâŕkśîđěŕ
OldUnreal Member
Posts: 4425
Joined: Wed Sep 03, 2008 8:19 am

Re: Unreal 1 2273 dedicated server

Post by [§Ŕ] ŤhěxĐâŕkśîđěŕ »

Hmm if that doesn't work, try this:

Code: Select all

Unreal DmElsinore.unr?game=UnrealI.DeathmatchGame -server port=7778 log=server.log
But replace DmElsinore with the map you want to run.

If in any case the above doesn't work, you could try this:

Code: Select all

Start Unreal.exe DmElsinore.unr?game=UnrealI.DeathmatchGame -server port=7778 log=server.log
For coop:

Code: Select all

Unreal NyLeve.unr?game=UnrealI.CoopGame -server port=7778 log=server.log
or

Code: Select all

Start Unreal.exe NyLeve.unr?game=UnrealI.CoopGame -server port=7778 log=server.log
Hope that helps.
Last edited by [§Ŕ] ŤhěxĐâŕkśîđěŕ on Sat Nov 01, 2008 6:07 pm, edited 1 time in total.
User avatar
ChaoS(CoA)
OldUnreal Member
Posts: 38
Joined: Fri Oct 31, 2008 7:39 pm

Re: Unreal 1 2273 dedicated server

Post by ChaoS(CoA) »

Hi

Thanks for thre reply

I was looking at any example I could find - including the ones here - I came up with this:

@echo off
:10
c:\Unreal\system\Unreal.exe DmAcademy.unr PORT=7777 LOG=dm.log READINI=unreal.ini -server
copy onsserver.log onsservercrash.log
goto 10

Seems to be working. To kill it I have to kill the dos box running the batch file.

No errors in the startup file.

Any reason why this will not work?

8-)
Image
User avatar
Bane
OldUnreal Member
Posts: 493
Joined: Sun Mar 03, 2002 6:32 pm

Re: Unreal 1 2273 dedicated server

Post by Bane »

Waaait a minute, are you joking me?
Doesn't that kill your PC? :-?
What? Why would it?!
Hmmm

Can you give an example of a completed batch file?

:-/
Ikuto more or less did.

Code: Select all

:restart
c:\...\system\unreal.exe ?game= -server -log=logfile.log INI=unreal.ini
move logfile.log crash.log
GOTO restart
Replace c:\... with whever unreal is installed
with the map you want to start on (do not include the )
with the gametype you want to use
logfile.log with whatever file you want to put the log in. There should be a way to timestamp it so you don't keep overwriting the logfile every time you restart, but I don't know how (if there is a way, delete the 'move' line)
INI is whatever configuration you want to use. Some people have multiple config files for different servers, or one for playing and another for hosting.
Everything except the map and -server are optional. INI defaults to unreal.ini, log defaults to unreal.log
Any options (?blah=) that can be added to the 'open map' command will work in the command line, i.e. 'unreal.exe Dig?difficulty=4'

You might need to set up port= or multihome or something, but I don't know how to deal with that. Someone else explain it, please.
Author of Hide and Seek mod, and the NALIBALL mod

Hide and Seek can be downloaded from:
http://HideNSeek.5u.com
User avatar
[§Ŕ] ŤhěxĐâŕkśîđěŕ
OldUnreal Member
Posts: 4425
Joined: Wed Sep 03, 2008 8:19 am

Re: Unreal 1 2273 dedicated server

Post by [§Ŕ] ŤhěxĐâŕkśîđěŕ »

Waaait a minute, are you joking me?
Doesn't that kill your PC? :-?
What? Why would it?!
It kills the f*ck out of my PC.
User avatar
[§Ŕ] ŤhěxĐâŕkśîđěŕ
OldUnreal Member
Posts: 4425
Joined: Wed Sep 03, 2008 8:19 am

Re: Unreal 1 2273 dedicated server

Post by [§Ŕ] ŤhěxĐâŕkśîđěŕ »

...

[img]http://thedarkside.net63.net/lol1.jpg[/img]
[img]http://thedarkside.net63.net/lol2.jpg[/img]

Not funny...
Last edited by [§Ŕ] ŤhěxĐâŕkśîđěŕ on Sat Nov 01, 2008 6:40 pm, edited 1 time in total.
User avatar
ChaoS(CoA)
OldUnreal Member
Posts: 38
Joined: Fri Oct 31, 2008 7:39 pm

Re: Unreal 1 2273 dedicated server

Post by ChaoS(CoA) »

Yup

This indeed crashed my server:

@echo off
:10
Start Unreal.exe DmAcademy.unr -server PORT=7777 LOG=dm.log READINI=unreal.ini
copy onsserver.log onsservercrash.log
goto 10

LOL It started a bazillion copies of Unreal. I did manage to get server 2003 to shut off before the ship went down.

This on the other hand seems to work fine:

@echo off
:10
Unreal.exe DmAcademy.unr PORT=7777 LOG=dm.log READINI=unreal.ini -server
copy onsserver.log onsservercrash.log
goto 10

I will test that for a bit

:D

Image
User avatar
[§Ŕ] ŤhěxĐâŕkśîđěŕ
OldUnreal Member
Posts: 4425
Joined: Wed Sep 03, 2008 8:19 am

Re: Unreal 1 2273 dedicated server

Post by [§Ŕ] ŤhěxĐâŕkśîđěŕ »

"Restart button always handy."
User avatar
ChaoS(CoA)
OldUnreal Member
Posts: 38
Joined: Fri Oct 31, 2008 7:39 pm

Re: Unreal 1 2273 dedicated server

Post by ChaoS(CoA) »

LOL

By the way if you ask me what's Old is New Again.

Looking forward to getting back to roots and get in the game on Unreal 1 again.

Love the new patch - makes Unreal1 run sweet on the new rig (That I of course wished I had back in the day)

Image
User avatar
Bane
OldUnreal Member
Posts: 493
Joined: Sun Mar 03, 2002 6:32 pm

Re: Unreal 1 2273 dedicated server

Post by Bane »

I have absolutely no idea why it is doing that.

What is SUPPOSED to happen is that starting unreal causes the shell to wait for the process to finish. When it does finish (usually because it crashed), it goes back to the top and starts unreal again.
Author of Hide and Seek mod, and the NALIBALL mod

Hide and Seek can be downloaded from:
http://HideNSeek.5u.com
User avatar
[§Ŕ] ŤhěxĐâŕkśîđěŕ
OldUnreal Member
Posts: 4425
Joined: Wed Sep 03, 2008 8:19 am

Re: Unreal 1 2273 dedicated server

Post by [§Ŕ] ŤhěxĐâŕkśîđěŕ »

Hmm afaik if you type " ", cmd actually BECOMES that process, but if you type "Start ", it will RUN that process as a side-effect, not caring about it.

That's correct, if you type "Unreal DmRadikus?game=UnrealI.DeathmatchGame -server log=server.log" or something like that, it won't loop forever.

But you MUST omit the Start command!
User avatar
Chaos13
OldUnreal Member
Posts: 951
Joined: Sat Feb 16, 2008 10:24 am

Re: Unreal 1 2273 dedicated server

Post by Chaos13 »

Instead of copying log use -timestamplog option...
Skydev = Chaos13 = Dimension4
User avatar
ChaoS(CoA)
OldUnreal Member
Posts: 38
Joined: Fri Oct 31, 2008 7:39 pm

Re: Unreal 1 2273 dedicated server

Post by ChaoS(CoA) »

OK

So just replace:

copy onsserver.log onsservercrash.log

With:

-timestamplog

?
Image
User avatar
[§Ŕ] ŤhěxĐâŕkśîđěŕ
OldUnreal Member
Posts: 4425
Joined: Wed Sep 03, 2008 8:19 am

Re: Unreal 1 2273 dedicated server

Post by [§Ŕ] ŤhěxĐâŕkśîđěŕ »

Yeah. And, again. To anybody that didn't head what I said before:

DO NOT FORGET TO OMIT THE START COMMAND
Last edited by [§Ŕ] ŤhěxĐâŕkśîđěŕ on Sat Nov 01, 2008 8:00 pm, edited 1 time in total.
User avatar
Zombie
Administrator
Posts: 322
Joined: Thu May 09, 2002 11:44 pm

Re: Unreal 1 2273 dedicated server

Post by Zombie »

There is nothing wrong with the start command.

The start command must include the "/WAIT" switch for the goal here. These batch scripts here lack it. That's what pauses further execution until the process in the command terminates. Type "start /?" in the command prompt for more help information that could be useful.


-Zombie
User avatar
Chaos13
OldUnreal Member
Posts: 951
Joined: Sat Feb 16, 2008 10:24 am

Re: Unreal 1 2273 dedicated server

Post by Chaos13 »

Don't do copy. You need to do rather
Unreal ...*parameters*... -timestamplog
Skydev = Chaos13 = Dimension4
User avatar
ChaoS(CoA)
OldUnreal Member
Posts: 38
Joined: Fri Oct 31, 2008 7:39 pm

Re: Unreal 1 2273 dedicated server

Post by ChaoS(CoA) »

Cool

Thanks for the help everyone!
Image
User avatar
ChaoS(CoA)
OldUnreal Member
Posts: 38
Joined: Fri Oct 31, 2008 7:39 pm

Re: Unreal 1 2273 dedicated server

Post by ChaoS(CoA) »

So It should be like this:

@echo off
:10
Unreal.exe DmAcademy.unr PORT=7777 LOG=dm.log -timestamplog READINI=unreal.ini -server
goto 10

what does timestamplog do? Create a new one each time the server is restarted?
Image
User avatar
[§Ŕ] ŤhěxĐâŕkśîđěŕ
OldUnreal Member
Posts: 4425
Joined: Wed Sep 03, 2008 8:19 am

Re: Unreal 1 2273 dedicated server

Post by [§Ŕ] ŤhěxĐâŕkśîđěŕ »

There is nothing wrong with the start command.

The start command must include the "/WAIT" switch for the goal here. These batch scripts here lack it. That's what pauses further execution until the process in the command terminates. Type "start /?" in the command prompt for more help information that could be useful.


-Zombie
Lol...

Level of ThexDarksider's DOS commands knowledge:
[ch9484][ch9472][ch9516][ch9472][ch9472][ch9472][ch9472][ch9472][ch9472][ch9472][ch9472][ch9472][ch9472][ch9516][ch9472][ch9488]
[ch9474][ch9668][ch9474][ch9608][ch9618][ch9618][ch9618][ch9618][ch9618][ch9618][ch9618][ch9618][ch9618][ch9474][ch9658][ch9474]
[ch9492][ch9472][ch9524][ch9472][ch9472][ch9472][ch9472][ch9472][ch9472][ch9472][ch9472][ch9472][ch9472][ch9524][ch9472][ch9496]
Last edited by [§Ŕ] ŤhěxĐâŕkśîđěŕ on Sat Nov 01, 2008 8:32 pm, edited 1 time in total.
Post Reply

Return to “Unreal General Forum”