![]() |
Windows Server Host Question
I have a Windows 2000 server that I would like to use to host a few Dom 2 PBEM games. I've written a small script to upload .2h files to the server and keep track of who has submitted turns. Once everyone is in (or a fixed time duration has passed) I would like the server to run host, exit and send the new turn files out.
The problem is that I can't seem to get the script to run host and exit. I have tried calling dom2.exe directly, or via a bat file, with dom2.exe -g testgame --host -xxx When running this from commandprompt or by running the bat file, it works fine. But when launced from the script, a dom2.exe process is initiated, hangs and no turn is generated. Does someone more skilled in Win2k have a hint to what I might do wrong here? I've tried both with Cold Fusion script and PHP, both with the same result. The script service is set to be allowed to interact with the desktop. /Loke |
Re: Windows Server Host Question
Maybe you are in the wrong directory and it will work better if you add this line before trying to start dom2:
cd \program\dominions2 |
Re: Windows Server Host Question
I forgot to mention that I already did that.
echo batstart > runstatus.txt cd d:\dominions2\ dom2.exe -g testgame --host -xxx the echo was to check if the bat was executed at all, which it is... And the bat excutes dom2 fine when run normally. But not from a script or with Windows Scheduled Tasks. |
All times are GMT -4. The time now is 12:12 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.