Previous Thread
Next Thread
Print Thread
Rate This Thread
Hop To
#3031705 - 06/15/10 09:50 AM Command line attributes for time of day  
Joined: Sep 2005
Posts: 172
AMRAAM Offline
Member
AMRAAM  Offline
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
#3032090 - 06/15/10 07:07 PM Re: Command line attributes for time of day [Re: AMRAAM]  
Joined: Jun 2006
Posts: 2,288
arneh Offline
Member
arneh  Offline
Member

Joined: Jun 2006
Posts: 2,288
Oslo, Norway
It appears that option doesn't exist anymore, so no wonder it doesn't work for you. Probably dissapeared when firebird did a rewrite of the options, but don't think it was on purpose.

#3032198 - 06/15/10 09:55 PM Re: Command line attributes for time of day [Re: arneh]  
Joined: Sep 2005
Posts: 172
AMRAAM Offline
Member
AMRAAM  Offline
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? smile )


"Don't worry soldier, they can stitch those back on"

[Ord.] General AMRAAM, Commander in Chief
#3032236 - 06/15/10 10:59 PM Re: Command line attributes for time of day [Re: AMRAAM]  
Joined: Jun 2006
Posts: 2,288
arneh Offline
Member
arneh  Offline
Member

Joined: Jun 2006
Posts: 2,288
Oslo, Norway
Yes, shouldn't be hard to do. Though it's not going to be high priority, so don't expect anyone to rush out a new version just to fix this one problem smile Could you report a bug in the bug database so we don't forget about this?

#3032310 - 06/16/10 01:55 AM Re: Command line attributes for time of day [Re: arneh]  
Joined: Sep 2005
Posts: 172
AMRAAM Offline
Member
AMRAAM  Offline
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
#3032761 - 06/16/10 04:11 PM Re: Command line attributes for time of day [Re: AMRAAM]  
Joined: Dec 2009
Posts: 264
CHADDOGG Offline
Member
CHADDOGG  Offline
Member

Joined: Dec 2009
Posts: 264
Chimacum, Wa
Cake? Did someone say cake???


http://www.vfa-41.net/Home_Page.php

My Sims: Jane's F/A-18, Pacific Fighters, Enemy Engaged 1.13, Falcon AF




#3051638 - 07/14/10 12:11 AM Re: Command line attributes for time of day [Re: CHADDOGG]  
Joined: Jun 2005
Posts: 675
FireBird_[WINE] Offline
Member
FireBird_[WINE]  Offline
Member

Joined: Jun 2005
Posts: 675
I searched the source code but have found no reference of such parameter.
The only time setting I found is "Midday/Morning/..." in user menu, not a specific time.
Are you sure you're talking about EECH?

#3051651 - 07/14/10 12:24 AM Re: Command line attributes for time of day [Re: FireBird_[WINE]]  

**DONOTDELETE**
Unregistered
BANITA
Unregistered


Originally Posted By: FireBird_[WINE
]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 wink

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 Offline
Member
AMRAAM  Offline
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
#3051839 - 07/14/10 08:21 AM Re: Command line attributes for time of day [Re: AMRAAM]  
Joined: Jun 2005
Posts: 675
FireBird_[WINE] Offline
Member
FireBird_[WINE]  Offline
Member

Joined: Jun 2005
Posts: 675
Hmmm... I haven't found player_initial_tour_of_duty too...
Well, I'll search deeper.

#3052260 - 07/14/10 08:10 PM Re: Command line attributes for time of day [Re: FireBird_[WINE]]  
Joined: Jun 2005
Posts: 675
FireBird_[WINE] Offline
Member
FireBird_[WINE]  Offline
Member

Joined: Jun 2005
Posts: 675
The guide also says that "APACHE_HAVOC" environment variable is used for options.
But EECH uses "COMANCHE_HOKUM" one.
Are you sure it is not "copy-paste" from EEAH's manual?

I searched sources for 1.11.0 and 1.10.1 too but haven't found "pitod" too.
Could you please specify any exact version where "pitod" worked?

#3052574 - 07/15/10 05:06 AM Re: Command line attributes for time of day [Re: FireBird_[WINE]]  
Joined: Dec 2009
Posts: 264
CHADDOGG Offline
Member
CHADDOGG  Offline
Member

Joined: Dec 2009
Posts: 264
Chimacum, Wa
Holy crap, firebird is back!!!! beercheers


http://www.vfa-41.net/Home_Page.php

My Sims: Jane's F/A-18, Pacific Fighters, Enemy Engaged 1.13, Falcon AF




#3053303 - 07/16/10 05:31 AM Re: Command line attributes for time of day [Re: CHADDOGG]  
Joined: Sep 2005
Posts: 172
AMRAAM Offline
Member
AMRAAM  Offline
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 Offline
Member
AMRAAM  Offline
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
#3055090 - 07/18/10 08:49 PM Re: Command line attributes for time of day [Re: AMRAAM]  
Joined: Jun 2005
Posts: 675
FireBird_[WINE] Offline
Member
FireBird_[WINE]  Offline
Member

Joined: Jun 2005
Posts: 675
I believe the entire command line was parsed in the single file. I've got the oldest version of it from the repository and searched for "pitod" - and failed. So, it's all strange.

But I opened aphavoc.exe in text editor - and yes, it has pitod and player_initial_tour_of_duty inside.

#3055326 - 07/19/10 07:57 AM Re: Command line attributes for time of day [Re: FireBird_[WINE]]  
Joined: Jan 2007
Posts: 1,142
Colonel_Kurtz Offline
Member
Colonel_Kurtz  Offline
Member

Joined: Jan 2007
Posts: 1,142
Australia
Perhaps if you start and save a campaign file then look within the save file for clues. There may be PITOD referance for loading the save file?


Moderated by  RacerGT 

Quick Search
Recent Articles
Support SimHQ

If you shop on Amazon use this Amazon link to support SimHQ
.
Social


Recent Topics
CD WOFF
by Britisheh. 03/28/24 08:05 PM
Carnival Cruise Ship Fire....... Again
by F4UDash4. 03/26/24 05:58 PM
Baltimore Bridge Collapse
by F4UDash4. 03/26/24 05:51 PM
The Oldest WWII Veterans
by F4UDash4. 03/24/24 09:21 PM
They got fired after this.
by Wigean. 03/20/24 08:19 PM
Grown ups joke time
by NoFlyBoy. 03/18/24 10:34 PM
Anyone Heard from Nimits?
by F4UDash4. 03/18/24 10:01 PM
RIP Gemini/Apollo astronaut Tom Stafford
by semmern. 03/18/24 02:14 PM
Copyright 1997-2016, SimHQ Inc. All Rights Reserved.

Powered by UBB.threads™ PHP Forum Software 7.6.0