Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

[Fixed] Random Time Function not working?

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Tech Support >> [Fixed] Random Time Function not working? Page: [1]
Login
Message << Older Topic   Newer Topic >>
[Fixed] Random Time Function not working? - 7/19/2021 10:12:12 AM   
BeirutDude


Posts: 2517
Joined: 4/27/2013
From: Jacksonville, FL, USA
Status: offline
In designing a scenario I noted that the Random Time Trigger doesn't seem to be working. So I set up a quick scenario that just pops up a message that says the Random Time Function triggered and ran for a month.

No triggers.

Attachment (1)

< Message edited by Rory Noonan -- 7/20/2021 1:55:39 PM >


_____________________________

"Some people spend an entire lifetime wondering if they made a difference. The Marines don't have that problem."
PRESIDENT RONALD REAGAN, 1985

I was Navy, but Assigned TAD to the 24th MAU Hq in Beirut. By far the finest period of my service!
Post #: 1
RE: Random Time Function not working? - 7/19/2021 1:57:25 PM   
michaelm75au


Posts: 13421
Joined: 5/5/2001
From: Melbourne, Australia
Status: offline
I narrowed the trigger down to 7 days, and it fired. So the trigger itself is working.





Attachment (1)

_____________________________

Michael

(in reply to BeirutDude)
Post #: 2
RE: Random Time Function not working? - 7/19/2021 9:28:52 PM   
BeirutDude


Posts: 2517
Joined: 4/27/2013
From: Jacksonville, FL, USA
Status: offline
Wonder if there is something wrong with my system because in the original scenario, over three days, I had 18 separate events based on the Random Time Function/Trigger and in two test runs on the base scenario 18 separate events didn't trigger, not once. That doesn't sound right, 18 events over a total of six days?. I even deleted and redid the trigger between tests one and two. And then I ran that scenario I posted for the month in rapid time and it didn't fire on my computer.

How often does it check (or do whatever it does)? I get the idea it is random but the above defies the laws of probability!

< Message edited by BeirutDude -- 7/19/2021 9:35:00 PM >


_____________________________

"Some people spend an entire lifetime wondering if they made a difference. The Marines don't have that problem."
PRESIDENT RONALD REAGAN, 1985

I was Navy, but Assigned TAD to the 24th MAU Hq in Beirut. By far the finest period of my service!

(in reply to michaelm75au)
Post #: 3
RE: Random Time Function not working? - 7/19/2021 10:18:50 PM   
BeirutDude


Posts: 2517
Joined: 4/27/2013
From: Jacksonville, FL, USA
Status: offline
So I ran it again, no joy.

I reloaded the C:MO program and...




Attachment (1)

< Message edited by BeirutDude -- 7/19/2021 10:19:54 PM >


_____________________________

"Some people spend an entire lifetime wondering if they made a difference. The Marines don't have that problem."
PRESIDENT RONALD REAGAN, 1985

I was Navy, but Assigned TAD to the 24th MAU Hq in Beirut. By far the finest period of my service!

(in reply to BeirutDude)
Post #: 4
RE: Random Time Function not working? - 7/20/2021 1:35:19 AM   
boogabooga

 

Posts: 389
Joined: 7/18/2018
Status: online
What is actually random and what "feels" random to a human are two very different thing.

(in reply to BeirutDude)
Post #: 5
RE: Random Time Function not working? - 7/20/2021 6:55:45 AM   
michaelm75au


Posts: 13421
Joined: 5/5/2001
From: Melbourne, Australia
Status: offline
I'm going to suggest adding the value of the 'random' time to the trigger screen when in Edit mode so it can be visual check of when to expect the trigger to fire.

_____________________________

Michael

(in reply to boogabooga)
Post #: 6
RE: Random Time Function not working? - 7/20/2021 7:22:53 AM   
michaelm75au


Posts: 13421
Joined: 5/5/2001
From: Melbourne, Australia
Status: offline
quote:

ORIGINAL: BeirutDude

Wonder if there is something wrong with my system because in the original scenario, over three days, I had 18 separate events based on the Random Time Function/Trigger and in two test runs on the base scenario 18 separate events didn't trigger, not once. That doesn't sound right, 18 events over a total of six days?. I even deleted and redid the trigger between tests one and two. And then I ran that scenario I posted for the month in rapid time and it didn't fire on my computer.

How often does it check (or do whatever it does)? I get the idea it is random but the above defies the laws of probability!


The first time the trigger is checked, it will calculate a 'random' time and use this value for any subsequent checks.

I'll check if that is the correct behavior.

Did you save and reload the scenario during these times? Thinking that when it reloaded and set the new random time, it was before the current time and didn't trigger for some reason.

< Message edited by michaelm75au -- 7/20/2021 8:10:32 AM >


_____________________________

Michael

(in reply to BeirutDude)
Post #: 7
RE: Random Time Function not working? - 7/20/2021 10:15:00 AM   
michaelm75au


Posts: 13421
Joined: 5/5/2001
From: Melbourne, Australia
Status: offline
I've revisited this and tried multiple cases, and it always seems to fire the trigger. The randomness in the 4 week scenario does seem to favor the higher end of the scale but that seems to be more a factor of the very large values being used - random (0, 2683800) seconds to add to the trigger 'earliest' date to get the trigger date.

_____________________________

Michael

(in reply to michaelm75au)
Post #: 8
RE: Random Time Function not working? - 7/20/2021 10:57:48 AM   
BeirutDude


Posts: 2517
Joined: 4/27/2013
From: Jacksonville, FL, USA
Status: offline
Thanks for checking but I really think now that something was corrupted on my computer. I did not save during any of the runs. I did run in the Scenario Editor but that shouldn't make a difference???? Really four runs like that without it firing says something was wrong, especially since it worked almost immediately right after I reloaded the program.

Something stuck I guess?

< Message edited by BeirutDude -- 7/20/2021 10:59:08 AM >


_____________________________

"Some people spend an entire lifetime wondering if they made a difference. The Marines don't have that problem."
PRESIDENT RONALD REAGAN, 1985

I was Navy, but Assigned TAD to the 24th MAU Hq in Beirut. By far the finest period of my service!

(in reply to michaelm75au)
Post #: 9
RE: Random Time Function not working? - 7/20/2021 1:55:02 PM   
Rory Noonan

 

Posts: 2816
Joined: 12/18/2014
From: Brooklyn, NY
Status: offline
The problem in your test scenario is the time settings are in 2019. The scenario is set in 2021.

It's a really easy mistake to make, I do it all the time.

_____________________________


(in reply to BeirutDude)
Post #: 10
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Tech Support >> [Fixed] Random Time Function not working? Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.164