Real time weather (METAR) on your server missions HOW TO - Page 7 - ED Forums
 


Notices

Reply
 
Thread Tools Display Modes
Old 07-11-2018, 07:48 PM   #61
Maverick87Shaka
Member
 
Maverick87Shaka's Avatar
 
Join Date: Dec 2015
Location: Italy, Milano
Posts: 183
Default

Quote:
Originally Posted by Johnny_Rico View Post
open dcs_weather.py in notepad++

search for
b_change_time = False
change to
b_change_time = True

Sorry for not get back sooner, been busy trying to keep the server running
Hi Johnny,
regarding the TIME WorkAround to avoid night time on server,
I think there is a typo error on line 36

Code:
IF %HOUR% GEQ 18 TIME_CONTROL=6
should be:
Code:
IF %HOUR% GEQ 18 SET TIME_CONTROL=6
Maybe you can update the hosted package, it's also a problem shown on @Bottle-RUM logs
Code:
'TIME_CONTROL' is not recognized as an internal or external command
__________________
FlighRIG => CPU: RyZen 2700x | RAM: 32GB G.Skill 3200Mhz running at 2600Mhz (Damn RyZen!) | GPU: nVIDIA RTX 2080 FE | OS Storage: SSD NVMe Samsung 850 Pro 512GB, DCS Storage: SSD SATAIII Crucial MX300 750GB | Device: VirPil T-50, ThrustMaster TWCS Throttle and Pedals, TrackHat, MFD Cougar.
Server => [ITA] Banshee TEST server - PvE | Windows Server 2016 | i7-7700K | 32GB DDR4 @2400Mhz | SSD 970 EVO M.2, NVMe | 1Gbps Dedicated Fiber Connection
Maverick87Shaka is offline   Reply With Quote
Old 07-12-2018, 05:57 AM   #62
Johnny_Rico
Senior Member
 
Johnny_Rico's Avatar
 
Join Date: Jul 2017
Posts: 1,372
Default

Quote:
Originally Posted by Maverick87Shaka View Post
Hi Johnny,
regarding the TIME WorkAround to avoid night time on server,
I think there is a typo error on line 36

Code:
IF %HOUR% GEQ 18 TIME_CONTROL=6
should be:
Code:
IF %HOUR% GEQ 18 SET TIME_CONTROL=6
Maybe you can update the hosted package, it's also a problem shown on @Bottle-RUM logs
Code:
'TIME_CONTROL' is not recognized as an internal or external command

Good man finding that, the batch file is a cut down version of the one I use to manage our server, fixed it now
__________________
METAR weather for DCS World missions

Guide to help out new DCS MOOSE Users -> HERE
Havoc Company Dedicated server info Connect IP: 94.23.215.203
SRS enabled - freqs - Main = 243, A2A = 244, A2G = 245
Please contact me HERE if you have any server feedback or METAR issues/requests
Johnny_Rico is offline   Reply With Quote
Old 07-13-2018, 08:17 PM   #63
Bottle-RUM
Junior Member
 
Bottle-RUM's Avatar
 
Join Date: Dec 2015
Location: Netherlands
Posts: 31
Default

Spoiler:
Quote:
Originally Posted by Johnny_Rico View Post
open dcs_weather.py in notepad++

search for
b_change_time = False
change to
b_change_time = True

Sorry for not get back sooner, been busy trying to keep the server running
Quote:
Originally Posted by Maverick87Shaka View Post
Hi Johnny,
regarding the TIME WorkAround to avoid night time on server,
I think there is a typo error on line 36

Code:
IF %HOUR% GEQ 18 TIME_CONTROL=6
should be:
Code:
IF %HOUR% GEQ 18 SET TIME_CONTROL=6
Maybe you can update the hosted package, it's also a problem shown on @Bottle-RUM logs
Code:
'TIME_CONTROL' is not recognized as an internal or external command


i tried both of these but sadly still no real time is injected, the time is not really a big deal, i can use the the time given in cmd log to put it in the mission editor.

thanks for helping and your time Johnny_Rico & Maverick87Shaka
__________________
Intel® Core™ i7-6900K Processor (watercooled) - Asus ROG Rampage V Edition 10 (watercooled) motherbord - 8 x 8Gb Corsair Vengeance LPX DDR4-3333Mhz RAM (watercooled) - 2 x ROG-STRIX-GTX1080TI-11G-GAMING (watercooled)
- Creative X-Fi Titanium Fatal1ty Pro - Logitech G910 Orion Spark - Asus PG348 34'' LCD screen - Razor Tiamat 7.1 - Thrustmaster HOTAS Warthog Replica USAF A-10C - TrackIR 5 - Pro Flight Cessna Rudder Pedals - VAICOM 2.5 PRO
Bottle-RUM is offline   Reply With Quote
Old 09-08-2018, 06:50 PM   #64
tn_prvteye
Member
 
Join Date: Apr 2008
Posts: 239
Default

Is the download no longer available? I think I screwed mine up. I can't open missions in DCS after I've run this program on an existing mission in the folder. I probably just hosed something on my end and wanted to re-download just in case.
tn_prvteye is offline   Reply With Quote
Old 09-13-2018, 02:34 PM   #65
Picchio
Junior Member
 
Join Date: May 2012
Posts: 90
Default

Quote:
Originally Posted by tn_prvteye View Post
Is the download no longer available? I think I screwed mine up. I can't open missions in DCS after I've run this program on an existing mission in the folder. I probably just hosed something on my end and wanted to re-download just in case.

I'd say it's caused by one (?) of the recent updates; I didn't have this issue before, but now I also cannot open any mission edited with this mod. Shame because there's nothing like it for Normandy
Picchio is offline   Reply With Quote
Old 09-13-2018, 03:37 PM   #66
tn_prvteye
Member
 
Join Date: Apr 2008
Posts: 239
Default

Well, at least I'm not going crazy. Maybe the 'mission' file permissions have changed or something. Encoding? Attributes? No idea. But the files themselves don't look any different in a text editor (aside from the time and weather changes, of course).
tn_prvteye is offline   Reply With Quote
Old 09-14-2018, 03:32 PM   #67
tn_prvteye
Member
 
Join Date: Apr 2008
Posts: 239
Default

I got a message from Johnny_Rico (he's deep behind enemy lines and can't respond right now ).

Quote:

" Hi folks, the latest couple of patches have introduced a bug when saving out mission files.
The issue is to do with if the mission you are editing is older (been editing it for a while), it seems to strip out one of the lines used for controlling fog)


Brand new missions created in the editor appear to be un effected .... but unsure if it will stay the same going forward.


I am trying to work out how to fix this, will try to get it doe ASAP, as we rely upon this ourselves


Johnny
"
__________________
METAR weather for DCS World missions

Havoc Company Dedicated server info Connect IP: 94.23.215.203
SRS enabled - freqs - Main = 243, A2A = 244, A2G = 245
Please PM me if you have any server feedback/issues
tn_prvteye is offline   Reply With Quote
Old 09-14-2018, 10:22 PM   #68
tn_prvteye
Member
 
Join Date: Apr 2008
Posts: 239
Default

Johnny_rico has updated the file. It works for me, and the download is available again. Thanks Johnny!
tn_prvteye is offline   Reply With Quote
Old 09-17-2018, 01:03 PM   #69
Maverick87Shaka
Member
 
Maverick87Shaka's Avatar
 
Join Date: Dec 2015
Location: Italy, Milano
Posts: 183
Default

Thanks Johnny for the update!
It's safe for me stay with the "old" version or I need to upgrade my script?
On the old version I did some customization to achive the injection of mission time with real time and night bias along all 24 hours of the server operation.

Thanks.
__________________
FlighRIG => CPU: RyZen 2700x | RAM: 32GB G.Skill 3200Mhz running at 2600Mhz (Damn RyZen!) | GPU: nVIDIA RTX 2080 FE | OS Storage: SSD NVMe Samsung 850 Pro 512GB, DCS Storage: SSD SATAIII Crucial MX300 750GB | Device: VirPil T-50, ThrustMaster TWCS Throttle and Pedals, TrackHat, MFD Cougar.
Server => [ITA] Banshee TEST server - PvE | Windows Server 2016 | i7-7700K | 32GB DDR4 @2400Mhz | SSD 970 EVO M.2, NVMe | 1Gbps Dedicated Fiber Connection
Maverick87Shaka is offline   Reply With Quote
Old 09-22-2018, 09:16 PM   #70
Johnny_Rico
Senior Member
 
Johnny_Rico's Avatar
 
Join Date: Jul 2017
Posts: 1,372
Default

HERES JOHNNY!



you can use the new version it should be fine
__________________
METAR weather for DCS World missions

Guide to help out new DCS MOOSE Users -> HERE
Havoc Company Dedicated server info Connect IP: 94.23.215.203
SRS enabled - freqs - Main = 243, A2A = 244, A2G = 245
Please contact me HERE if you have any server feedback or METAR issues/requests
Johnny_Rico is offline   Reply With Quote
Reply

Tags
daws, dcs server, metar, real time, weather

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 11:40 PM. vBulletin Skin by ForumMonkeys. Powered by vBulletin®.
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.