Does this actually work? I have it set up (API key, timed event, my synchro.net we address, port 6667, port open on the network side, &Yes.
etc.). It's running seemingly without issue--no errors. And the only
output I get in my log is what you see below:
1/3 12:15:12a WEATHER Running timed event: WEATHER
1/3 12:15:12a WEATHER Timed event: WEATHER returned 0
However, no weather in my IRC room... :( Any idea what I may be doing
wrong?
Sorry, you said, "yes". Did you have a specific suggestion?
Re: Re: weather_functions.js
By: ansunent to Nelgin on Tue Jan 10 2023 10:31 am
did you get an api key from the website?
i have 2 different types of bots that do weather scripts but i couldn't get that synchronet weather bot to work. does it even have documentation yet?
Re: Re: weather_functions.js
By: ansunent to Nelgin on Tue Jan 10 2023 10:31 am
did you get an api key from the website?
i have 2 different types of bots that do weather scripts but i couldn't get that synchronet weather bot to work. does it even have documentation yet?
I haven't found any for the synchronet weather bot, but I think i have narrowed it down to this error: ""IRCBOT !JavaScript C:\sbbs\exec\load\modopts.js line 37: ReferenceError: argv is not defined". Still troubleshooting, but haven't found the resolution as of yet.
Where can I get this other bot?
Sorry, you said, "yes". Did you have a specific suggestion?
---
_ Synchronet _ ANSUN - ansun.synchro.net
Ok. So, I've narrowed down the issue.
The error I'm getting says, "owm.call_api is not a function".
In sbbs/exec/ircbots/weather/weather_commands.js, "owm.call_api" is called upon twice. Once on line 18 for the "weather" function and again line 60 for the "forecast" function.
It seems that this is an error in the script. I've tried various things (defining "owm.call_api", & etc.). So far, nothing has worked. I have no idea where else to go with this.
Re: Re: weather_functions.js
By: ansunent to MRO on Mon Jan 16 2023 04:35 am
you have to talk to the script creator. and ask him to please create some documentation , too. i suggest you just run eggdrop and i can give you a script that works for weather.
---
� Synchronet � ::: BBSES.info - free BBS services :::
Re: Re: weather_functions.js
By: ansunent to MRO on Mon Jan 16 2023 04:35 am
you have to talk to the script creator. and ask him to please create some documentation , too. i suggest you just run eggdrop and i can give you a script that works for weather.
---
Don't I have to install Unix to run egg drop? I have no idea who created
the script. It's not in the script unless I should just assume that DM made it.
Re: Re: weather_functions.js
By: ansunent to MRO on Wed Jan 18 2023 12:32 am
no
look in the script and then look who fucks with it in the git
---
� Synchronet � ::: BBSES.info - free BBS services :::
ansunent wrote to MRO <=-
Re: Re: weather_functions.js
By: ansunent to MRO on Wed Jan 18 2023 12:32 am
Eggdrop gave me errors when extracting from the tar and the zip.
Not looking like something I'd be eager to install.
Eggdrop gave me errors when extracting from the tar and the zip. Not looking like something I'd be eager to install.
I have modified KenDB's syncWX weather app to work with weatherapi.com. While it is NOT perfect, it does work for getting the weather displayed at logon and as an external app. You do have to setup to separate external (door) apps. Here is the link to the github for the files: https://github.com/mhansel7399/SyncWeather
I have modified KenDB's syncWX weather app to work with weatherapi.com. While it is NOT perfect, it does work for getting the weather displayed at logon and as an external app. You do have to setup to separate external (door) apps. Here is the link to the github for the files: https://github.com/mhansel7399/SyncWeather
I hope this helps.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
Sysop: | MarisaG |
---|---|
Location: | South San Francisco, CA |
Users: | 5 |
Nodes: | 10 (0 / 10) |
Uptime: | 230:00:26 |
Calls: | 123 |
Files: | 36 |
Messages: | 30,543 |