Raised This Month: $12 Target: $400
 3% 

ELEMENT|Live Weather with windage cvar. (Updated AUG 14TH 2022.)


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Event Related       
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 07-28-2014 , 15:44   ELEMENT|Live Weather with windage cvar. (Updated AUG 14TH 2022.)
Reply With Quote #1

Click below for Snow demo.

Modern Amxx weather feed and generation for all mods.

This is a fork of Autoweather by TeddyDesTodes.

Some things that makes this weather plugin unique.
  • It works on all mods.
  • Attempts to make weather on mods that do not have it in the dll have been strenuously made.
  • Sophisticated debugger.
  • Windage.
  • Companion plugin 'clientemp' gets the temperature for clients as they connect and speaks it. Same API token.


Rain, snow, skies, dusk, dawn, and wind are all brought into your server.


Commands, Cvars, FAQ, and known limits.
Spoiler

QUICK INSTALL INSTRUCTIONS AND OVERVIEW
Download Script
Get this from Github.
Compile script locally and install the skies as well as plugin.

Once running plugin checks if there is an openweathermap.org key added as CVAR.
Server will then produce weather automatically based on locale from CVAR, sv_region.
Incompatible with Amxx 1.82.

Last edited by DJEarthQuake; 08-16-2022 at 17:24. Reason: Updated!
DJEarthQuake is offline
internel
Member
Join Date: Nov 2012
Old 07-28-2014 , 18:05   Re: Element
Reply With Quote #2

Thank you so much for updating that plugin. I couldn't answer your PM, but you know, If you want to add ML support, I'll be glad to help with Spanish ^^

I'm going to test it!
internel is offline
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 07-28-2014 , 22:01   Re: Element
Reply With Quote #3

You are most welcome internal.

Last edited by DJEarthQuake; 08-05-2022 at 10:34. Reason: Original offered to expland for fishing and other useless data.
DJEarthQuake is offline
internel
Member
Join Date: Nov 2012
Old 07-29-2014 , 17:42   Re: Element
Reply With Quote #4

This is AWESOME!! I just tested it, and it works perfectly!! , you sir did a great job here !

thank ye!

Last edited by internel; 07-29-2014 at 17:42.
internel is offline
Vivo
Senior Member
Join Date: May 2014
Old 07-29-2014 , 22:34   Re: Element
Reply With Quote #5

Sounds great
__________________
ViRuSeS # The best Servers and Host: viruses.ga
CSGO: 185.107.96.150:27015 or viruses.ga:27015
TeamSpeak3: 185.107.96.150:9987 or viruses.ga
Welcome! Good luck and have fun enjoy your time.
Vivo is offline
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 07-31-2014 , 04:49   Re: Element
Reply With Quote #6

Ironically I almost forgot the earthquake condition. I have seen maps with such an effect that will be perfect here. Those are rare. Therefore this is placed at an extremely low priority.

A proposed windy condition will make us have to check the wind direction and compensate at range.

Already existing plugin Shot Administration (by Nomexous) or similar will be used to handle the trigger of high wind.
Accuracy fix could be used then disabled when it gets windy. I also noticed ever since CS 1.6 got to Steam it wasn't accurate.

The sky is off at noon and shows a night sky still. This will be corrected too. Let me know what else. I appreciate the salutations.

Last edited by DJEarthQuake; 09-23-2018 at 15:46. Reason: Selecting plugin to handle windy condition
DJEarthQuake is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 08-01-2014 , 21:43   Re: Element
Reply With Quote #7

Quote:
Originally Posted by DJEarthQuake View Post
Ironically I almost forgot the earthquake condition.

A proposed windy condition will make us have to check the wind direction and compensate at range.
So, epic.

I will wait for this update. Just let we all know, when it is ready.

Last edited by zmd94; 08-01-2014 at 21:45.
zmd94 is offline
Old 08-19-2014, 16:05
DJEarthQuake
This message has been deleted by DJEarthQuake.
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 08-22-2014 , 15:40   Re: Element
Reply With Quote #8

I made an update to the source. Debugging was enabled. Now it is disabled. Majority of the log is currently too cryptic. I had an update earlier this week. I promptly took it down. Sky tuning is still underway. IE | Night sky showing at noon.
DJEarthQuake is offline
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 08-26-2014 , 01:15   Re: Element
Reply With Quote #9

I like how OpenWeatherMap.org has current wind condition.

$~telnet api.openweathermap.org 80
Trying 162.243.53.59...
Connected to api.openweathermap.org.
Escape character is '^]'.
[
Code:
GET /data/2.5/weather?id=4887398&units=imperial&APPID=register-for-a-openweathermap&u=c HTTP/1.0
...PRESS ENTER TWICE...

HTTP/1.1 200 OK
Server: openresty
Date: Sun, 02 Apr 2017 00:57:51 GMT
Content-Type: application/json; charset=utf-8
Content-Length: 438
Connection: close
X-Cache-Key: /data/2.5/weather?APPID=register-for-a-openweathermap=4887398&u=c&units=imperial
Access-Control-Allow-Origin: *
Access-Control-Allow-Credentials: true
Access-Control-Allow-Methods: GET, POST

{"coord":{"lon":-87.65,"lat":41.85},"weather":[{"id":800,"main":"Clear","description":"cl ear sky","icon":"01n"}],"base":"stations","main":{"temp":50,"pressur e":1022,"humidity":46,"temp_min":46.4,"temp_m ax":53.6},"visibility":16093,"wind":{"speed":6.93,"deg" :110},"clouds":{"all":1},"dt":1491093300,"sys":{" type":1,"id":1007,"message":0.1218,"country": "US","sunrise":1491132670,"sunset":1491178654 },"id":4887398,"name":"Chicago","cod":200}
Connection closed by foreign host.

This is a good start. If anybody else wanted to collaborate or spin-off with the sniping section! Hint hint wink wink nudge n u d g e.

Last edited by DJEarthQuake; 09-22-2018 at 02:10. Reason: register-for-a-openweathermap
DJEarthQuake is offline
Dare.Devil
Member
Join Date: May 2014
Old 08-27-2014 , 15:54   Re: Element
Reply With Quote #10

where exactly in yahoo can I find the region code??..

you said in first post e.g chicago 2379574 ..

how do I get this serial code??

thanks in advance
Dare.Devil is offline
Reply


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 -4. The time now is 11:38.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode