Support Board
Date/Time: Tue, 28 Oct 2025 20:16:49 +0000
Post From: Error with Sim Lock & Orders being executed
| [2024-06-24 13:57:03] |
| ForgivingComputers.com - Posts: 1150 |
|
This doesn't compile as-is. These should be part of the scsf (above or below SetDefaults): int Hour = sc.BaseDateTimeIn[sc.Index].GetHour();
int Minute = sc.BaseDateTimeIn[sc.Index].GetMinute(); int Second = sc.BaseDateTimeIn[sc.Index].GetSecond(); LockEndTime = sc.CurrentSystemDateTime + 15 * MINUTES; // Set lock duration to 15 minutes
MINUTES is undefined. Correct code: LockEndTime = sc.CurrentSystemDateTime + SCDateTime::MINUTES(15); // Set lock duration to 15 minutes
Date Time Of Last Edit: 2024-06-24 14:08:59
|
