egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

incith:weather (2.8p) (Dec. 18th, 2008)
Goto page Previous  1, 2, 3 ... 5, 6, 7 ... 19, 20, 21  Next
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
incith
Master


Joined: 23 Apr 2005
Posts: 275
Location: Canada

PostPosted: Sat Aug 09, 2008 9:43 pm    Post subject: Reply with quote

Branden wrote:
Tcl error [incith::weather::weather_handler]: invalid command name "clock"

Um, what version of Tcl are you using? Windrop or eggdrop? etc etc

There's no reason your Tcl should be missing the clock command..
_________________
; Answer a few unanswered posts!
Back to top
View user's profile Send private message
eXtremer
Op


Joined: 07 May 2008
Posts: 138

PostPosted: Tue Aug 12, 2008 10:51 am    Post subject: Reply with quote

incith, a question: there is nothin` to do with the language, from english (default) to change to another language, for example French.
http://www.wunderground.com - has the change language setting.

Is it possible ?
Back to top
View user's profile Send private message
incith
Master


Joined: 23 Apr 2005
Posts: 275
Location: Canada

PostPosted: Tue Aug 12, 2008 5:14 pm    Post subject: Reply with quote

eXtremer wrote:
incith, a question: there is nothin` to do with the language, from english (default) to change to another language, for example French.
http://www.wunderground.com - has the change language setting.

Is it possible ?

No, or I would have to make regexps for every language, e.g. russia is on ru.wunderground.com, etc etc. I have plans to add language functionality, using built-in language files.
_________________
; Answer a few unanswered posts!
Back to top
View user's profile Send private message
eXtremer
Op


Joined: 07 May 2008
Posts: 138

PostPosted: Wed Aug 13, 2008 2:53 am    Post subject: Reply with quote

incith wrote:
No, or I would have to make regexps for every language, e.g. russia is on ru.wunderground.com, etc etc. I have plans to add language functionality, using built-in language files.


Don't 4get about Romanian Wink

Back to top
View user's profile Send private message
speechles
Revered One


Joined: 26 Aug 2006
Posts: 1398
Location: emerald triangle, california (coastal redwoods)

PostPosted: Wed Aug 13, 2008 8:28 am    Post subject: Reply with quote

eXtremer wrote:
incith wrote:
No, or I would have to make regexps for every language, e.g. russia is on ru.wunderground.com, etc etc. I have plans to add language functionality, using built-in language files.


Don't 4get about Romanian Wink


http://romanian.wunderground.com/
http://russian.wunderground.com/

Not necessarily would you have to make regexp's for every language if you use html context to extract data rather than english words within the html markups. You would suffer problems dealing with encodings and utf-8 vs iso8859-1 during socket reads. The bot will confuse utf-8 with iso8859-1 and vice versa and does it everytime.
_________________
speechles' eggdrop tcl archive
Back to top
View user's profile Send private message
incith
Master


Joined: 23 Apr 2005
Posts: 275
Location: Canada

PostPosted: Wed Aug 13, 2008 11:32 am    Post subject: Reply with quote

eXtremer wrote:


Since you clearly cannot do even slight investigation on your own and choose to instead attempt some sort of insult upon me, indeed, it is russian.wunderground.com, sorry to have made such a horrendous mistake. It changes nothing.

speechles wrote:
http://romanian.wunderground.com/
http://russian.wunderground.com/

Not necessarily would you have to make regexp's for every language if you use html context to extract data rather than english words within the html markups. You would suffer problems dealing with encodings and utf-8 vs iso8859-1 during socket reads. The bot will confuse utf-8 with iso8859-1 and vice versa and does it everytime.


It will be easier to make language files... I have it envisioned!
_________________
; Answer a few unanswered posts!
Back to top
View user's profile Send private message
granddad
Voice


Joined: 19 May 2008
Posts: 5

PostPosted: Mon Aug 18, 2008 5:07 pm    Post subject: Reply with quote

I am getting this error with 2.8L.
missing close-brace
while executing
"namespace eval incith {
namespace eval weather {
# [custom_format] : converts a string to the desired output
#
proc custom_format {htmla..."
(file "scripts/incith-weather.tcl" line 221)
invoked from within
"source scripts/incith-weather.tcl"
Cant find the missing close-brace .
Back to top
View user's profile Send private message
kelso
Voice


Joined: 31 Oct 2008
Posts: 3

PostPosted: Fri Oct 31, 2008 1:34 pm    Post subject: Reply with quote

Just wanted to point out, it looks like something changed again on multiple results. I tried to figure it out, it appears to be a slight change in HTML with the regexp, but im not able to get my self made changes to work.

!w united kingdom
!w miami
good examples, i have to keep muting / banning people abusing this.

Thanks
Back to top
View user's profile Send private message
incith
Master


Joined: 23 Apr 2005
Posts: 275
Location: Canada

PostPosted: Sat Nov 15, 2008 2:08 am    Post subject: Reply with quote

Sorry all, it seems I had 2.8m sitting around, thought I had released it. This will fix any spewing of html data.
_________________
; Answer a few unanswered posts!
Back to top
View user's profile Send private message
vip
Voice


Joined: 20 Nov 2008
Posts: 3

PostPosted: Thu Nov 20, 2008 8:32 pm    Post subject: Reply with quote

possible to add www.hurl.ws to the list ??
Back to top
View user's profile Send private message
kelso
Voice


Joined: 31 Oct 2008
Posts: 3

PostPosted: Thu Dec 11, 2008 9:12 am    Post subject: Reply with quote

it appears "south africa" is now spewing out a ton of extra data. Been looking through the tcl to see if i can fix it myself.
Back to top
View user's profile Send private message
incith
Master


Joined: 23 Apr 2005
Posts: 275
Location: Canada

PostPosted: Sat Dec 13, 2008 4:30 pm    Post subject: Reply with quote

2.8n released to fix windchill not showing up.

kelso wrote:
it appears "south africa" is now spewing out a ton of extra data. Been looking through the tcl to see if i can fix it myself.

Didn't see your post until I came to submit this. I do agree it's spewing a lot of data, but not HTML data, which was the point of prior fixes. I've been meaning to add an option that will limit the max length of output to some variable, so that these huge search results (and future HTML spewings) will not happen.
_________________
; Answer a few unanswered posts!
Back to top
View user's profile Send private message
incith
Master


Joined: 23 Apr 2005
Posts: 275
Location: Canada

PostPosted: Wed Dec 17, 2008 10:26 pm    Post subject: Reply with quote

Things seem to have broke today, I'm working on it for tonight.

Update: I may not finish it tonight. I've submitted a ticket to wunderground to get a question answered as well. The changes they did today basically, are now controlling whether temperature is being displayed in C or F (metric or english) or Both, are now being controlled by cookies, and so weather script is only looking for the F degrees, I'll have a bit of rewriting to do. I plan to use something else on wunderground (assuming they fix the issue in my ticket) that should basically make the weather script work forever afterwards.
_________________
; Answer a few unanswered posts!
Back to top
View user's profile Send private message
incith
Master


Joined: 23 Apr 2005
Posts: 275
Location: Canada

PostPosted: Thu Dec 18, 2008 3:48 am    Post subject: Reply with quote

2.8o available at incith.com

2.8p will have language support. I will soon be requesting translations once I have made a master language file, stay tuned!
_________________
; Answer a few unanswered posts!
Back to top
View user's profile Send private message
Hellster
Voice


Joined: 10 Aug 2006
Posts: 22

PostPosted: Thu Dec 18, 2008 9:43 am    Post subject: Reply with quote

just a heads up , all i get with the latest version is this error
[08:28] Tcl error [pub_wz]: can't read "mtemp": no such variable
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases All times are GMT - 4 Hours
Goto page Previous  1, 2, 3 ... 5, 6, 7 ... 19, 20, 21  Next
Page 6 of 21

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber