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:google :)
Goto page Previous  1, 2, 3, 4 ... 17, 18, 19  Next
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
dMTOn
Voice


Joined: 30 Aug 2005
Posts: 6

PostPosted: Tue Oct 04, 2005 12:31 pm    Post subject: Reply with quote

Hi i'm not very skilled with TCL programming but could you paste here code or add a option in it to send results in NOTICE ?
btw i like the script Smile
Back to top
View user's profile Send private message
incith
Master


Joined: 23 Apr 2005
Posts: 275
Location: Canada

PostPosted: Thu Oct 13, 2005 10:27 pm    Post subject: Reply with quote

Sorry for not being around much.

madwoota will be releasing the next version, it will support the ability to notice as the above poster requested, local will be fixed, a video search might be added, answer searches (!g population of japan, etc) won't be trimmed, and various other small things will be fixed.
_________________
; Answer a few unanswered posts!
Back to top
View user's profile Send private message
madwoota
Halfop


Joined: 09 Aug 2005
Posts: 53

PostPosted: Sat Oct 15, 2005 1:22 pm    Post subject: Reply with quote

Well, as incith mentioned above, I'll be doing the ongoing maintenance addons, updates etc for the google script.

So, any bugs, feature reqs, general whinges, send em to me Smile

I'll be putting up a new version in the next couple days with several important fixes & a couple new features too - just doing some final testing and attempting to make sure I didnt severely break it on my first try.

Keep an eye out Smile
Back to top
View user's profile Send private message
rix
Halfop


Joined: 21 Sep 2005
Posts: 42
Location: Estonia

PostPosted: Mon Oct 24, 2005 2:21 pm    Post subject: Reply with quote

Code:

[23:25:06] <Kryptonate> .gf Belgium:Netherlands
[23:25:15] <segbot> Google fight: Belgium: 41700000 Netherlands: 54100000 winner: Netherlands


What about something like this? Go googlefight!
Back to top
View user's profile Send private message
madwoota
Halfop


Joined: 09 Aug 2005
Posts: 53

PostPosted: Tue Oct 25, 2005 6:54 am    Post subject: Reply with quote

Well, googlefight isn't really a part of google itself, so I'm a little disinclined to go down that path just yet.

I'll put it in the wishlist of things to think about one day tho.

Its a bit like the stock quotes part of google, its a legitimate google function, but it gets the data from Yahoo ... so the google script would have to go to Yahoo for the result.

*shrug* .. We'll see (I do like the idea tho.)

PS: New version has a LOT more changes than I thought it would need.
Damn google changing things on me.


Edit: double lookups would be legitimate, but its gonna be slow ... I'll leave this aside until I rewrite the actual data functions to speed it up a bit.
Back to top
View user's profile Send private message
rix
Halfop


Joined: 21 Sep 2005
Posts: 42
Location: Estonia

PostPosted: Tue Oct 25, 2005 8:11 am    Post subject: Reply with quote

Thanks for reply...

Second time already, Google script doesn't show results anymore. Weird, because I haven't touched anything, it even doesn't show any error or something. Last time it did like this, it started to working after some time.

When's next release coming?
Back to top
View user's profile Send private message
madwoota
Halfop


Joined: 09 Aug 2005
Posts: 53

PostPosted: Tue Oct 25, 2005 8:40 am    Post subject: Reply with quote

Once I finish the changes I'm working on right now Smile

I'm just polishing up the debugging crapola I had to put in to fix a few things.
And yes, I noticed several things broke recently.

Perhaps tonight, but I'll post here for sure Smile

/me puts the code monkey suit back on
Back to top
View user's profile Send private message
incith
Master


Joined: 23 Apr 2005
Posts: 275
Location: Canada

PostPosted: Thu Oct 27, 2005 1:24 am    Post subject: Reply with quote

Nice work woota, and thanks again for your help. =)
_________________
; Answer a few unanswered posts!
Back to top
View user's profile Send private message
anotheregglover
Voice


Joined: 13 Jan 2005
Posts: 38

PostPosted: Thu Oct 27, 2005 10:46 am    Post subject: from today google.tcl doesn't work? Reply with quote

hello world and hello incith (thanks for your big work) Smile

i think which from today google.tcl (v 1.52 with http 2.5) doesn't work.

it work only like calculator but not like search engine.

this is the error which appears:
(4:39:02) <@XXXXXX> !google linux
(4:39:04) <YYYYY> Sorry, no search results were found.

thanks for your 'potential' Very Happy help
bye
Back to top
View user's profile Send private message
rix
Halfop


Joined: 21 Sep 2005
Posts: 42
Location: Estonia

PostPosted: Fri Oct 28, 2005 2:03 pm    Post subject: Reply with quote

anotheregglover, same problem here, but bot doesn't reply at all. :S
Back to top
View user's profile Send private message
madwoota
Halfop


Joined: 09 Aug 2005
Posts: 53

PostPosted: Fri Oct 28, 2005 2:36 pm    Post subject: Reply with quote

Well, its been delayed & delayed, but I think I'm done on the next version.
I've tested & retested almost every single function to find any remaining bugs, fixed a bunch of typos & started on a massive codebase cleanup! Razz

The changelog for v1.6 is in the tcl as per usual, but heres a snippet:
    fixed google search returning no results
    fixed descriptions getting cut short on 'answers'
    fixed bug where some urls were returned invalid
    fixed google local searches returning no results
    fixed google print searches returning invalid links
    changed 'did you means' to get returned first as well
    added google weather: !g weather <city|zip>
    - note: US weather only (blame google!)
    added travel info, eg: !g sfo airport | !g united 134
    added config option to send output via /notice
    - forum req by 'dMTOn'
    added initial attempt at parsing google video (!gv)


The file has been submitted to the archive, but heres a (temporary) link if you cant wait any longer for a working version.

Here.

So, feel free to send any more bugs, requests, etc to me.
-madwoota


Last edited by madwoota on Wed Nov 23, 2005 8:04 am; edited 3 times in total
Back to top
View user's profile Send private message
madwoota
Halfop


Joined: 09 Aug 2005
Posts: 53

PostPosted: Sun Oct 30, 2005 10:28 am    Post subject: Reply with quote

Well crap.
I found another bug, but fortunately, its a pretty low grade one.

If there are no results for a "!g define:" search, you'll get a tcl error in your bot log and no results returned.
It works fine if there *is* a match tho.

Fixed (intelligently) in next version Smile

-madwoota
Back to top
View user's profile Send private message
rix
Halfop


Joined: 21 Sep 2005
Posts: 42
Location: Estonia

PostPosted: Mon Oct 31, 2005 1:34 pm    Post subject: Reply with quote

Damn, there's something really wrong. No reply and no sign of bad behaviour in partyline. :S

Im afraid that http 2.5 is causing it. Could anyone share http 2.3? Smile
Back to top
View user's profile Send private message
madwoota
Halfop


Joined: 09 Aug 2005
Posts: 53

PostPosted: Mon Oct 31, 2005 11:31 pm    Post subject: Reply with quote

You could just grab a copy of tcl 8.3 from tcl.tk and grab the http.tcl from that.

I know its annoying grabbing a 2.5meg file to get a 25k file, but hey Smile

Note, I should probably have put that I only tested this on windows with tcl 8.4 with http 2.4.

(.4 & .3 in Linux tho.)

-madwoota
Back to top
View user's profile Send private message
rix
Halfop


Joined: 21 Sep 2005
Posts: 42
Location: Estonia

PostPosted: Tue Nov 01, 2005 11:41 am    Post subject: Reply with quote

Well, i got http 2.3 from other source already but the result is same. It just doesn't work. :S I also tryed http 2.4. Nothing...im starting to think it may be my shell provider's (Rulex) problem.
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, 4 ... 17, 18, 19  Next
Page 3 of 19

 
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