#3031705 - 06/15/10 09:50 AM
Command line attributes for time of day
|
Joined: Sep 2005
Posts: 172
AMRAAM
Member
|
Member
Joined: Sep 2005
Posts: 172
Auckland, New Zealand
|
In previous versions of EECH there was a command line switch that went like this:
/pitod:0900
It set the time of day that the campaign started at. While you can set this campaign start time from a few options when you are starting the game yourself. This was the only way to set the time of the campaign, when calling the campaign on a dedicated server (using dedicate.bat for example)
So, the whole line would look something like this:
cohokum /pitod:0900 dedicated:1 game_type:2 gunship_type:2 path:..\common\maps\map6 directory:camp03 filename:yemen.chc
I'm not sure which version it stopped working in, either 1.12.x or 1.13, but it seems this command no longer works.
The result of this command not working is that every time my dedicated server starts a new campaign (either because the previous one has finished, or crashed) it starts the campaign at 00:00 on the first day of the campaign. While this is not a problem (the campaign still starts) it does mean that for the first hours of the campaign it is night, and since the game is known to crash and restart, I have seen it where for several crashed campaigns, only night missions are flown.
Do any of the people who have looked at the code, know if this command is still viable? I have tried it with and without the "/" in front of it. And have tried it at the beginning and end of the command line, and it does not seem to work. Any guidance or light that could be shed on the subject would be greatly appreciated.
Thanks, AMRAAM.
"Don't worry soldier, they can stitch those back on"
[Ord.] General AMRAAM, Commander in Chief
|
|
#3032198 - 06/15/10 09:55 PM
Re: Command line attributes for time of day
[Re: arneh]
|
Joined: Sep 2005
Posts: 172
AMRAAM
Member
|
Member
Joined: Sep 2005
Posts: 172
Auckland, New Zealand
|
Thanks for the info Arneh. Not knowing much about the magic you coders do...would it be possible perhaps to get that option reinstated? P.S. I'll send the coder who does it a cake. (Everyone in IT likes cake right? )
"Don't worry soldier, they can stitch those back on"
[Ord.] General AMRAAM, Commander in Chief
|
|
#3032310 - 06/16/10 01:55 AM
Re: Command line attributes for time of day
[Re: arneh]
|
Joined: Sep 2005
Posts: 172
AMRAAM
Member
|
Member
Joined: Sep 2005
Posts: 172
Auckland, New Zealand
|
Thanks Arneh, I have logged a bug in the database.
"Don't worry soldier, they can stitch those back on"
[Ord.] General AMRAAM, Commander in Chief
|
|
#3051651 - 07/14/10 12:24 AM
Re: Command line attributes for time of day
[Re: FireBird_[WINE]]
|
**DONOTDELETE**
Unregistered
|
BANITA
Unregistered
|
]I searched the source code You can write how? Is it enough to a normal browser, As it was in DOS, whether it is appropriate for this tool? edit ok i found , sorry
Last edited by BANITA; 07/14/10 12:31 AM.
|
|
#3051749 - 07/14/10 03:38 AM
Re: Command line attributes for time of day
[Re: ]
|
Joined: Sep 2005
Posts: 172
AMRAAM
Member
|
Member
Joined: Sep 2005
Posts: 172
Auckland, New Zealand
|
Yep. It surely was.... I have used it successfully in my batch file for several years now... Just looking for some information on the net about it. it was listed in a strategy guide or some such. On page 43 of this guide is a list of the command line options and there is one that sets the time that the Players Tour of Duty starts. http://www.eechcentral.com/files/Manuals/EECH%20strategy%20guide.pdf
Last edited by AMRAAM; 07/14/10 03:41 AM.
"Don't worry soldier, they can stitch those back on"
[Ord.] General AMRAAM, Commander in Chief
|
|
#3053303 - 07/16/10 05:31 AM
Re: Command line attributes for time of day
[Re: CHADDOGG]
|
Joined: Sep 2005
Posts: 172
AMRAAM
Member
|
Member
Joined: Sep 2005
Posts: 172
Auckland, New Zealand
|
Hi Firebird. I'll roll the server back through the version and see if I can confirm the last version that it worked on.
I believe from memory that the last time it worked was when the switches were changed from requiring "/" or not. But I can not remember what version that was.
I will test and let you know.
Okay. Have tested back to 1.12.0 which is far back as I have backups of the Server, and it seems to not be working. Perhaps it did disappear many versions ago and I have just not been checking it? I'm just looking to see if I have the exes to go back further than that.
Last edited by AMRAAM; 07/16/10 06:05 AM.
"Don't worry soldier, they can stitch those back on"
[Ord.] General AMRAAM, Commander in Chief
|
|
#3054792 - 07/18/10 04:54 AM
Re: Command line attributes for time of day
[Re: AMRAAM]
|
Joined: Sep 2005
Posts: 172
AMRAAM
Member
|
Member
Joined: Sep 2005
Posts: 172
Auckland, New Zealand
|
Well I'm going to have to reinstall the server from scratch to get it working with EECH 1.9 or earlier. And the switch has not been working in any of my tests for later versions. So perhaps it stopped working in/around 1.10?
"Don't worry soldier, they can stitch those back on"
[Ord.] General AMRAAM, Commander in Chief
|
|
|
|