Closed Tesch1933 closed 3 years ago
Hey man! Sorry for the delayed response on this!
I can't think of a reason why the environment becomes stale over time, not including the environment variable... If you could git pull
and cargo build --release
and try with the latest code. That would be great.
If you are still having the issue, please feel free to re-open!
Hi. First of all, a big thank you for your second variant (BATTLEMETRICS_SEARCH). I have now tested the variant for more than a month. At some point there is always a problem. The following message appears in the terminal after two days at the latest:
...
Updating channel to: 'player-count: 10' Updating channel to: 'player-count: 10' Updating channel to: 'player-count: 10' thread '' panicked at 'BATTLEMETRICS_SERVER_ID environment variable not found!: NotPresent', src\main.rs:184:14
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
error: process didn't exit successfully: target\release\dayz_time_rs.exe (exit code: 0xc000013a, STATUS_CONTROL_C_EXIT)
After this message the error persists and the boots does not continue to work. A restart fixes the problem. Do you have any idea why this could be?